Commit Graph

8481 Commits

Author SHA1 Message Date
Martin Hibdon
0e550e0857 Make sync settings less confusing.
b/10602459
It was possible to turn off syncing for an account in global
settings, but we'd continue displaying some sync frequency
in the in-app settings.
Now, we only display the sync frequency if sync is actually
enabled. If it's disabled we always display "never". Also,
when the user changes a sync setting, if it's set to "never",
we leave the frequency in the database as it is, but disable
sync for that account. If it's set to anything else, we store
that in the database and ensure that sync for the account is
enabled. This means we should not have any apparent disagreement
between in-app settings and global settings as to whether or
not syncing will happen.

Change-Id: I1cc54e76aafd25dc4db0f1b713e7d7cbc30bf77f
2013-09-16 11:57:35 -07:00
Tony Mantler
7d761f3de3 Fix "Load More" for IMAP search
Also kill some warnings while I'm at it.

b/8607507

Change-Id: I8bfa90e9144d71e964799d6f2dab5e79f48b277f
2013-09-16 11:56:11 -07:00
Yu Ping Hu
e984940465 Fix MessageStateChange to include mailbox id.
Also ignore messages without server ids for moves and
state changes.

Also cleanup to match needs of EAS upsync.

Bug: 10678136
Change-Id: Id4d5229b8479e61bd718b707b0d2bc77a9e68046
2013-09-15 15:43:35 -07:00
Yu Ping Hu
ed610f749c Merge "Only set sync mailbox to inbox if none was specified." into jb-ub-mail-ur10 2013-09-15 02:55:04 +00:00
Baligh Uddin
7caf043787 Import translations. DO NOT MERGE
Change-Id: I3cef9eea5e6cad55387774e7508e1749fa0228af
Auto-generated-cl: translation import
2013-09-14 01:12:53 -07:00
Yu Ping Hu
c48670a569 Only set sync mailbox to inbox if none was specified.
Follow up to I9e62d5de10222f1d81b47a68dd0b3ab05de5436d.

Bug: 10729228
Change-Id: I8100a0a5d965e4c4c86dccb6c94dfe26cc6e49a0
2013-09-13 17:54:50 -07:00
Tony Mantler
e85736a174 Merge "Disable RTL support" into jb-ub-mail-ur10 2013-09-13 23:20:54 +00:00
Tony Mantler
99e3ee7c97 Add mail.ru to providers.xml
b/9862569

Change-Id: If95d0c4a4f0173dba5c7739a038db96e9f671af3
2013-09-13 15:06:59 -07:00
Martin Hibdon
1a7838eed7 Update folder structure on every POP or IMAP sync
b/10729228

Change-Id: I9e62d5de10222f1d81b47a68dd0b3ab05de5436d
2013-09-13 13:42:42 -07:00
Tony Mantler
1a903dbdcf Disable RTL support
b/10609607

Change-Id: Id4b1cb8370f550d9bc43e966e2d576c9257197ee
2013-09-13 13:31:12 -07:00
Alice Yang
17d014dfdf Disable attachment previews
Change-Id: Ic2314f89b813956a6351bed51bfa6881e51605ff
2013-09-13 00:43:55 -07:00
Martin Hibdon
24bb2dabd9 Kill the process when an account is deleted.
b/10653370
This prevents NPEs if a serviec happens to still be running
when an account is deleted.
This mirrors a similar pattern in the gmail app.

Change-Id: I6fd8ae5ffe41580df0a321ec22535403e3f32eee
2013-09-12 18:21:18 -07:00
Martin Hibdon
64690e9452 Merge "Delete POP emails when they are removed from the server" into jb-ub-mail-ur10 2013-09-12 21:55:19 +00:00
Martin Hibdon
e25e6b2937 Delete POP emails when they are removed from the server
b/10461973

Change-Id: Iccd455b4b71d83318c7f5429f399fe5db2558e42
2013-09-12 14:38:55 -07:00
Tony Mantler
da42d856b8 Don't skip attachment saving if the attachment is not yet saved.
Also tidy up warnings

b/10461356

Change-Id: I65ac4c5b512cd67a39c81606391a2b044213f269
2013-09-12 11:04:49 -07:00
Tony Mantler
4f63f1eec1 Merge "Purge views after they're supposed to be destroyed to avoid spurious callbacks" into jb-ub-mail-ur10 2013-09-12 16:28:07 +00:00
Baligh Uddin
fd9ec82bb8 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-09-12 03:39:11 +00:00
Martin Hibdon
92e13548ed Merge "Fix a bug in Pop3 sync" into jb-ub-mail-ur10 2013-09-12 00:49:58 +00:00
Martin Hibdon
85ff07a00a Fix a bug in Pop3 sync
b/10413188
There are still several issues with attachments generally,
but this fixes the most glaring problem: We were short circuiting
in a loop that needed to populate a hash table of remote message
Ids, so not all of them would be present. The later code intended
to load attachments expected it to be fully populated.
There are still several problems, notably that if downloading
doesn't work, it just spins forever, but this fixes the first
problem.

Change-Id: I2b23dcb841edabe108096933fea2350ef61a10f1
2013-09-11 17:19:00 -07:00
Tony Mantler
ecac654c66 Purge views after they're supposed to be destroyed to avoid spurious callbacks
b/10565885

Change-Id: I7ef18fdac566975d15ffd1a19f756a5e5d2aee8a
2013-09-11 16:47:47 -07:00
Baligh Uddin
eb659e88b5 Import translations. DO NOT MERGE
Change-Id: Ic5f79dff6a32c34eb81753f51ab4dc32514ed6cc
Auto-generated-cl: translation import
2013-09-11 16:44:24 -07:00
Tony Mantler
463ed11857 Disable account setup debug screen.
b/10446166

Change-Id: I6703c1950559e9896f168a0cbaec10040eac9589
2013-09-11 15:17:42 -07:00
Tony Mantler
78c166b4cc Disallow duplicate accounts
b/10210901

Change-Id: I11b759246fafabafe29fd8f4d20f6e973f9679a4
2013-09-11 15:15:38 -07:00
Tony Mantler
9ae3ae576a Merge "Remove subtitle from "Confirm before X" preferences" into jb-ub-mail-ur10 2013-09-11 20:27:18 +00:00
Tony Mantler
08b2a505d0 Remove subtitle from "Confirm before X" preferences
b/10696931

Change-Id: I6353f045322d49c26b69d7e96357ec7a8ef426f8
2013-09-11 13:25:56 -07:00
Tony Mantler
de8b97c72e Postpone initialization of notification URIs until the EMAIL_PACKAGE_NAME is known
b/10693908

Change-Id: Ia232dda55e03e02db24040b9d17c383addaff0b0
2013-09-11 11:48:38 -07:00
Tony Mantler
2bae64df29 Merge "Notify combined account when individual accounts change" into jb-ub-mail-ur10 2013-09-11 16:21:34 +00:00
Tony Mantler
9a1d9a7dbb Merge "Reorder db update/notify and clean up warnings in EmailProvider" into jb-ub-mail-ur10 2013-09-11 16:21:15 +00:00
Alice Yang
af459c6f4f Merge "xxhdpi assets for Email" into jb-ub-mail-ur10 2013-09-11 06:51:44 +00:00
Alice Yang
60924def01 xxhdpi assets for Email
Bug 10490770

Change-Id: I2fbc893e2473b63b1cff1dd8d6f792c4b82e495b
2013-09-10 17:28:15 -07:00
Tony Mantler
fc906340f9 Notify combined account when individual accounts change
b/10610684

Change-Id: I675a5b2dfd9ccdb412f2746f5785c8f1141f6a76
2013-09-10 16:44:13 -07:00
Tony Mantler
9e9caaee7c Reorder db update/notify and clean up warnings in EmailProvider
Change-Id: I6c65c18ea19bd1afd956b455ac296a4c2d402662
2013-09-10 16:20:31 -07:00
Tony Mantler
2fb5d2f9dd Don't spam the log with null columns.
My bad.

Change-Id: Ia9bcf2b09f905e3f720814b50453df59d5341038
2013-09-10 11:38:34 -07:00
Yu Ping Hu
7cadaa5388 Merge "Add the MessageMove & MessageStateChange tables." into jb-ub-mail-ur10 2013-09-10 18:02:01 +00:00
Baligh Uddin
a09826df46 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-09-10 14:30:42 +00:00
Yu Ping Hu
8534157c38 Increment Email version.
Change-Id: I208f150caf6fcf32ba2c05ca26e5b33e9895c95c
2013-09-09 16:11:42 -07:00
Yu Ping Hu
ca79aba675 Add the MessageMove & MessageStateChange tables.
We need to track changes that need to be unsynced. Because
Exchange handles moves differently from other changes, we
create two different tables. The tables are structured as
change logs to better handle error cases.

Change-Id: I4df90c75f36707fa117aed9718508426e60e0749
2013-09-09 15:47:26 -07:00
Baligh Uddin
626143f176 Import translations. DO NOT MERGE
Change-Id: Icacafafde534f884d9e151017016657b65d3b503
Auto-generated-cl: translation import
2013-09-09 14:43:42 -07:00
Tony Mantler
582bc439ea Tidy warnings
Change-Id: I08517af26c27a85fddabccf15dd1a50316df5b5c
2013-09-09 09:52:54 -07:00
Scott Kennedy
8ce0432ec4 Remove unused resource directories
Change-Id: I37961b4a0a358730390ac5dacdaf7a7e5381691a
2013-09-06 10:23:02 -07:00
Baligh Uddin
6354d622cd Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-09-06 04:42:58 +00:00
Tony Mantler
33bc3df32b Always mark messages as seen when we return to the folder list
b/10533884

Change-Id: If1e0774b70a379884cc435fab9965d39531efb58
2013-09-05 14:10:56 -07:00
Baligh Uddin
0be1ae1b49 Import translations. DO NOT MERGE
Change-Id: I27b7b43c0ff4d09daf5785b763002d459a2a8e79
Auto-generated-cl: translation import
2013-09-05 13:58:09 -07:00
Tony Mantler
19c11c0b77 Merge "Tidy warnings in AccountSettingsFragment" into jb-ub-mail-ur10 2013-09-05 18:04:07 +00:00
Tony Mantler
39f29d0481 Tidy warnings in AccountSettingsFragment
Change-Id: I933529dac9f37d0734fa7b98a43e8f41eb143698
2013-09-05 11:00:06 -07:00
Scott Kennedy
ca064b2f84 Merge "Allow going back to search results" into jb-ub-mail-ur10 2013-09-05 03:58:10 +00:00
Baligh Uddin
76c53f0594 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-09-05 02:54:44 +00:00
Scott Kennedy
e743a06ddf Allow going back to search results
If you went from search results to conversation view, then hit the
back button, we were taking you out of search results to the inbox,
because we didn't know you had search results.

Now, we're tracking this (through the use of a folder type), so we
take you where you should go.

Bug: 10591438
Change-Id: I12ad81323fe3e1f199d9dd06a1a4e18f765b01ee
2013-09-04 14:24:00 -07:00
Yu Ping Hu
4df0d993b6 Increment Email version.
Change-Id: I99514e12774c0ddf3601410f0a93a74e1026977d
2013-09-04 12:53:19 -07:00
Tony Mantler
67855d3117 Merge "Make UnsavedChangesDialogFragment public so the framework can find it" into jb-ub-mail-ur10 2013-09-04 19:03:21 +00:00