Commit Graph

2984 Commits

Author SHA1 Message Date
cketti 81b4fef4aa Change protection level for READ_MESSAGES and DELETE_MESSAGES to "dangerous" 2012-02-14 00:49:34 +01:00
cketti dfd47702bc Fixed rare NullPointerException 2012-02-14 00:27:28 +01:00
cketti 485a505ca0 More tweaks to the unread widget 2012-02-13 12:25:03 +01:00
cketti 64f4f7e4a3 Use the new AccountList activity when creating launcher shortcuts 2012-02-13 12:25:03 +01:00
cketti f36d2a6b23 Tweak widget layout 2012-02-13 12:16:20 +01:00
cketti 7a252bf002 Changed method to update the unread widget 2012-02-13 12:16:20 +01:00
cketti 98461e5a21 Notify listeners if unread count changed due to a copy/move operation 2012-02-13 12:16:19 +01:00
cketti d4bc664c41 Removed unused method 2012-02-13 12:16:19 +01:00
cketti e87f4cd98a Code cleanup. No functional changes. 2012-02-13 12:16:19 +01:00
cketti 29e1a68288 Added widget to display the unread count for an account 2012-02-13 12:16:18 +01:00
cketti 328701e87e Fixed JavaDoc 2012-02-13 00:57:06 +01:00
cketti 53604be914 Fixed NullPointerException 2012-02-13 00:56:34 +01:00
wilian-cb e766f75da2 Creating and initializing special accounts in Accounts activity to avoid NullPointerException when it's resumed. Constant added to represent the number of special accounts. 2012-02-12 11:57:34 -06:00
wilian-cb 02b07f34a1 Issue 3280: Add launcher shortcuts for special accounts/folders ("Unified Inbox" and "All messages") 2012-02-10 00:24:32 -06:00
Jesse Vincent 700ba1d781 Bumped manifest to 4.108 2012-02-06 23:11:12 -05:00
cketti 7ef5f9d37e Set flagged and unread count to 0 when emptying the trash folder 2012-02-04 21:06:35 +01:00
cketti 898f65e081 Changed the way we set flags to update the original Message object 2012-02-04 21:06:34 +01:00
Nick Nikolaou 46bf2c5be7 Add discard confirmation dialog when pressing back 2012-02-02 19:33:49 -06:00
cketti 35b5aebdb3 Add debug message when saving an attachment to SD card fails 2012-02-03 01:22:37 +01:00
cketti b1a1de8f7b Restore mark as unread in message view
Fixes issue 3958
Fixes issue 3319
2012-01-27 08:39:10 +01:00
cketti 1165787129 Changed regular expression for invalid characters in a file name 2012-01-27 03:39:08 +01:00
cketti 6c23e204ba Replace invalid characters in file name instead of removing them 2012-01-27 03:21:20 +01:00
cketti 68f5f009f1 Whitespace cleanup 2012-01-27 03:07:44 +01:00
wilian-cb 9a0f650cd9 3674: Displaying the final file name. 2012-01-27 02:44:01 +01:00
wilian-cb 193450cd63 3674: Illegal characters used in file names are being removed when saving them on the device. 2012-01-27 02:44:01 +01:00
cketti e8eae37389 Reset unread/flagged count on "empty trash" 2012-01-27 00:51:18 +01:00
cketti 5a8ddaa039 Make sure draft id points to a valid message before deleting it
Avoids IllegalArgumentException in LocalStore.getMessage()
2012-01-26 00:37:25 +01:00
cketti aae734c175 Don't Log.w() full stacktrace if file wasn't found
This happens regularly when AttachmentView tries to get a thumbnail for
attachments that haven't been downloaded yet.
2012-01-24 22:14:21 +01:00
cketti 4e5d116713 Delete attachment metadata and thumbnails when deleting attachments 2012-01-24 16:15:45 +01:00
cketti c6696f632a Code cleanup, fixed some warnings, rearranged some stuff 2012-01-24 16:15:44 +01:00
cketti 7a3cadbf1c Refactored AttachmentProvider.openFile() 2012-01-24 16:15:44 +01:00
Ashley Willis c69e6dc97c Merge pull request #120 from ashleywillis/msu
added montclair.edu to res/xml/providers.xml based on http://oit.montcla...
2012-01-23 17:56:27 -08:00
ashley willis bd700127de added montclair.edu to res/xml/providers.xml based on http://oit.montclair.edu/documentation/msu_apps/email/AndroidPhoneSettingUpYourMSUEmailAccount.pdf 2012-01-23 19:51:30 -06:00
Jesse Vincent 99e9bee724 Bumped manifest to 4.107 2012-01-22 23:12:16 -05:00
cketti 4bbc5de1ba Code cleanup / fixed lots of warnings 2012-01-22 06:25:06 +01:00
cketti 45faad041e Don't finish() MessageCompose in onPause() 2012-01-22 05:32:52 +01:00
cketti bddacf6b64 Use database ID to keep track of the current draft
By using the database ID we avoid having to deal with the problem of
changing UIDs. First the message has a local UID, then, when the upload
to the server is completed, it gets a remote UID.
2012-01-22 05:20:41 +01:00
cketti 96f827d291 Modified LocalStore to use UPDATE when replacing existing messages
This way we can later use the database ID to keep track of drafts.
2012-01-22 05:20:41 +01:00
Jesse Vincent 16003abcc1 Bumped manifest to 4.106 2012-01-20 23:42:30 -05:00
cketti be2aac52a8 Reload accounts after writing imported account settings to storage
This makes sure that when the next account is imported it will see the
account just imported. That's necessary e.g. when going though all
accounts to find the next free account number, or when avoiding account
name conflicts.
2012-01-21 03:10:40 +01:00
cketti 0625e13380 Canceling notifications once should be enough 2012-01-20 23:32:55 +01:00
cketti a8f91b0f70 Minor code cleanup 2012-01-20 23:32:12 +01:00
cketti 7eccc1701d Merge branch 'issue3508' 2012-01-20 23:19:22 +01:00
cketti 2c5f640b9e Minor cleanup 2012-01-20 23:15:11 +01:00
wcb 457e65010e Issue 3139: notifications of new messages removed when unified inbox is selected 2012-01-20 11:55:04 -08:00
Andrew Chen 4c74001a28 Merge pull request #116 from levysiqueira/patch-1
Issue 4014: Correction of few translation errors and translating some of the NEW strings
2012-01-20 11:10:30 -08:00
Nick Nikolaou 773d1e30f1 Simplied code and added curly brackets to if/else 2012-01-20 19:10:11 +00:00
cketti 32a29f131b Make sure an IOException is always passed through as MessagingException
This is important for the code handling pending actions in
MessagingController. If a non-permantent MessagingException is
encountered, the pending action is retried later.

Fixes issue 3696
2012-01-20 19:50:07 +01:00
Nick Nikolaou 1a01c10fc5 Don't save to drafts if drafts folder is -NONE- 2012-01-20 17:02:35 +00:00
levysiqueira 18e4557b1e Correction of few translation errors and translating some of the NEW strings. 2012-01-18 16:17:37 -02:00