Commit Graph

1220 Commits

Author SHA1 Message Date
Marc Blank
81b0f74efa Create requireSetup attribute; use it for gImap
Change-Id: Id5f37861e4d6f2c2ed0fe98bd8b4d7eb73868c09
2012-09-08 13:08:50 -07:00
Marc Blank
9a341d85f0 Merge "Improve trash folder picker upon account creation" into jb-ub-mail 2012-09-06 17:49:34 -07:00
Marc Blank
2616405471 Improve trash folder picker upon account creation
* Use setup intent uri
* TODO: More cleanup

Bug: 7077441

Change-Id: Ieab5b0ed33b73b7a0e9012aedd6becf867db1566
2012-09-06 16:01:45 -07:00
Baligh Uddin
c713035238 Import translations. DO NOT MERGE
Change-Id: I8c7968c624f3d7bc2dd31a1504fc48bd62bd41c8
Auto-generated-cl: translation import
2012-09-05 10:32:27 -07:00
Baligh Uddin
2c2508607c Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-09-04 11:57:16 -07:00
Marc Blank
6eac1c9f1c Show "Creating account..." dialog during account creation
Bug: 7100373
Change-Id: Ic86d8b8c8fafe628a69e867d93719bb986c7c583
2012-09-03 16:44:33 -07:00
Marc Blank
b82ae909d7 Add support for "load more" for Imap2
* Use new attribute in services.xml to indicate support
* Initial implementation

Change-Id: Ia8709d606d521c6d495c343a47ee074b5024d340
2012-09-01 15:58:46 -07:00
Marc Blank
e714bb9d15 Convert authorities, intents, and account manager types
* Tested ok on wiped Nexus
* Tested ok on S3
* Upgrade verified on Nexus

Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
2012-08-31 23:26:36 -07:00
Baligh Uddin
a0a713505b Import translations. DO NOT MERGE
Change-Id: I5c4d713426d4f5f9bd0c6e19d6b57379dea4b4cc
Auto-generated-cl: translation import
2012-08-31 07:51:16 -07:00
Baligh Uddin
6e22a960dc Import translations. DO NOT MERGE
Change-Id: Id2452d3d26174d4538245c350a8b80ca8b5826bd
Auto-generated-cl: translation import
2012-08-23 16:28:07 -07:00
Baligh Uddin
6767a03ee2 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-08-22 20:45:07 -07:00
Marc Blank
70edcf0538 Integrate Imap2 into Email
* Also, convert imap accounts to imap2
* The original imap service remains, but is no used
* There remain some questions about how the upgrade
  should work in terms of settings

Change-Id: I0e05edad6a1553f428a2c2fa3daf1df878d4b5f7
2012-08-22 14:17:57 -07:00
Baligh Uddin
f1c9939ec0 Import translations. DO NOT MERGE
Change-Id: If8e556953d64e5f6cd567ead729088864f087537
Auto-generated-cl: translation import
2012-08-22 09:39:53 -07:00
Baligh Uddin
0c66dd6520 Import translations. DO NOT MERGE
Change-Id: I28ed9c36ec419f002aa147b31f5c2865c4eb5d88
Auto-generated-cl: translation import
2012-08-21 09:19:36 -07:00
Baligh Uddin
d23d514bd1 Import translations. DO NOT MERGE
Change-Id: I853db6ca13e7e3efd21159d881d87e6627771489
Auto-generated-cl: translation import
2012-08-20 08:07:15 -07:00
Marc Blank
277dd4a9ba Show alert message (if any) after Imap2 validation failure
Change-Id: Ibfee4526330184dd9780f56dd52292a10d7b6f41
2012-08-17 15:14:04 -07:00
Marc Blank
20dfb4107e Improve progress strings
Bug: 7009089
Change-Id: Icdfb133f7ac7d62006adf82c31014d64295b8411
2012-08-17 14:11:17 -07:00
Marc Blank
b89744ecfb Use appropriate prefix to infer server address
Bug: 6999072
Change-Id: I71aa184b1cfa0b6926f4dae8861f071f27d3acb2
2012-08-16 14:11:11 -07:00
Baligh Uddin
bb7363cecd Import translations. DO NOT MERGE
Change-Id: Iac0e63ae002877e7a2d5d08c3ee2fb273f4a6652
Auto-generated-cl: translation import
2012-08-14 09:58:56 -07:00
Baligh Uddin
7d015353a9 Import translations. DO NOT MERGE
Change-Id: I259940cf92b6fdb08412a5e97eca5e954eb6107a
Auto-generated-cl: translation import
2012-08-10 09:07:13 -07:00
Baligh Uddin
0a4d2a89d1 Import translations. DO NOT MERGE
Change-Id: Ic9d688856798a84d352e7b454ff888bf980bc686
Auto-generated-cl: translation import
2012-08-09 10:10:30 -07:00
Baligh Uddin
d0dbda3a1d Import translations. DO NOT MERGE
Change-Id: Iec7e40a0f67fa2827e284957fb6ffd82331764b5
Auto-generated-cl: translation import
2012-08-06 10:47:09 -07:00
Ying Wang
2837d7e970 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-08-03 14:27:43 -07:00
Ying Wang
ded82f6d4c Import translations. DO NOT MERGE
Change-Id: I9d2ea1a6347b86b3df0e748bf3d5200b22161573
Auto-generated-cl: translation import
2012-08-03 11:14:12 -07:00
Mindy Pereira
c86cd8fb81 Just use a regular text view.
Change-Id: Ib9f589392475222d34183f66f33da6d82110d47a
2012-08-03 10:48:14 -07:00
Marc Blank
26b1e9d944 Add laposte.net to providers.xml
* At the request of Samsung and Laposte (France)

Bug: 6889030

Change-Id: Ib1da3c2527b69d9ca1d8d0a62f626f2ec79ea817
2012-08-03 09:07:02 -07:00
Marc Blank
f6db592c31 POP3 renovation
* Much, much faster
* Remove message length pass and lots of other useless code
* Create pseudo-attachment for long messages (click to download) that
  includes size (so user can determine whether it's worth it)
* Handle download of message via pseudo-attachment; real attachments
  are then created as necessary.

TODO: Add real UI with UX input (or modify existing to clean up the
loose ends)
TODO: Optimizations for loading the whole message
TODO: Get server delete working (isn't working currently anyway)

Change-Id: I31f3809fc5a2f9fd490d33cfed70d2930654e71d
2012-08-02 15:26:30 -07:00
Ying Wang
1bdae57a80 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-08-01 15:12:06 -07:00
Marc Blank
3a83ec1cf8 Don't save connection manager for autodiscover/validation
* Also add outlook.com to providers file

Change-Id: I2c334d1307b84899c3b64bd0c3f0cd92c190576e
2012-08-01 13:51:19 -07:00
Marc Blank
2647d7d33a Revert "Can't explain that!"
This reverts commit 8709ada866

Change-Id: Icab70f86972e5ed0e53ede5509517c9506237169
2012-08-01 11:38:15 -07:00
Marc Blank
8709ada866 Can't explain that!
Change-Id: I2d51fb35cad90ad6788a7cf74261e3e6503dac49
2012-08-01 11:26:49 -07:00
Ying Wang
0c0120b4dc Import translations. DO NOT MERGE
Change-Id: Id7b1d007421f7bc83d30c252811b52ccfef2ee88
Auto-generated-cl: translation import
2012-08-01 11:19:36 -07:00
Ying Wang
c6a9a42b7f Import translations. DO NOT MERGE
Change-Id: Ibef5fe776b1a0392d0ba6cc2ff661c2294ddd42b
Auto-generated-cl: translation import
2012-07-30 11:08:54 -07:00
Marc Blank
446e2c109f Merge "Linkify and show URL's if they are incuded in ALERT messages" into jb-ub-mail 2012-07-27 15:50:08 -07:00
Marc Blank
1bd4630d3d Linkify and show URL's if they are incuded in ALERT messages
* Gmail does this, for example...

Change-Id: I3b8d7b38e490bbac286f688c11cb62e6874121c2
2012-07-27 15:38:17 -07:00
Ying Wang
6a980c1409 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-07-27 14:17:27 -07:00
Marc Blank
dba0b20d95 Handle ALERT response to login command
* Allow AccountService loginFailed API to take a reason string
* Present the reason string in the dialog shown from the login
  failure notification
* Handle ALERTs in IMAP login responses (for example, some servers
  will occasionally require web login and we need to inform them,
  rather than simply saying the password is wrong)
* This fixes a longstanding bug in our Imap1 implementation

Change-Id: I8b270cd5d4746559b6c8a78bce02f0e7c525bdea
2012-07-27 13:36:41 -07:00
Ying Wang
a49508967a Import translations. DO NOT MERGE
Change-Id: I04852df5edf2e18c251e6f94555c669211312f0d
Auto-generated-cl: translation import
2012-07-27 10:23:49 -07:00
Paul Westbrook
9c89f85b07 Set CHAR LIMIT on string
Bug: 6871973
Change-Id: I56f8115baf695660b634fc8da1ed6ae0b9bbd721
2012-07-26 18:58:48 -07:00
Ying Wang
b901f47f59 Import translations. DO NOT MERGE
Change-Id: Idea5d43cdeaa4c1ec3de0f828369eca282c57181
Auto-generated-cl: translation import
2012-07-26 12:37:54 -07:00
Marc Blank
b225298b13 Add swipe-to-delete general preference
Change-Id: I83aa62526ba7a74cea27930300340227b147340f
2012-07-26 09:40:56 -07:00
Ying Wang
810b776b53 Import translations. DO NOT MERGE
Change-Id: I92e9e1ae0b7ff0a4783fd4a04ffa37565c130afe
Auto-generated-cl: translation import
2012-07-25 10:31:29 -07:00
Ying Wang
03973e74ee Import translations. DO NOT MERGE
Change-Id: I84cce22aaa57c3f737be5830f2d788983472d561
Auto-generated-cl: translation import
2012-07-24 10:53:21 -07:00
Ying Wang
e1b325d611 Import translations. DO NOT MERGE
Change-Id: I4f97d595dc5a650fa502b53817edc7557ffcb700
Auto-generated-cl: translation import
2012-07-23 10:37:17 -07:00
Ying Wang
b1f88ba216 Import translations. DO NOT MERGE
Change-Id: Ie154e2a86d0fa71efa0c20ac2993707e78006dfe
Auto-generated-cl: translation import
2012-07-20 11:02:03 -07:00
Marc Blank
77a9966f46 Merge "More work on Imap2" into jb-ub-mail 2012-07-19 14:27:49 -07:00
Marc Blank
a8b683cf3f More work on Imap2
* Handle sending mail and moving to sent folder
* Implement picker for sent folder
* Upload sent items to server
* Add support for "automatic" sync window
* Move some files from Email -> emailcommon
* The added files are copied directly from Email (and can be
  removed if/when Imap2 is merged back with Email)

Change-Id: I3a6a3d224826e547748be2f1b567b6294ad5db89
2012-07-19 14:27:17 -07:00
Ying Wang
000dc719c4 Import translations. DO NOT MERGE
Change-Id: I9a939c978e8917a6b6051b6405b177a3fb5d2944
Auto-generated-cl: translation import
2012-07-19 12:14:11 -07:00
Ying Wang
6c19c167e6 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-07-18 13:44:41 -07:00
Ying Wang
2d9514ff54 Import translations. DO NOT MERGE
Change-Id: I24670541b9400d7b804d87cc844322f758cedc05
Auto-generated-cl: translation import
2012-07-18 12:28:15 -07:00
Marc Blank
c6089bc01f Initial Imap2 implementation
This CL includes the following:
* New Imap2.apk generation (not included in builds)
* "Push IMAP" option for accounts when Imap2.apk present
* Account creation/setup
* 2-way sync of messages, deletions, flag updates
* Push (messages, flags)
* Folder list hierarchy handling
* Message text (one plain or html part)
* Picker UI for trash folder (placeholder)
* Capabilities handling/UI command

Major Imap2 new features:
* Push
* Multiple folder sync
* Sync window (like EAS)

TODO:
* Picker UI for sent folder
* Upload of sent messages to server
* Search
* Multiple viewable parts
* Probably lots more, incl. unit tests

Change-Id: Ia5d74073d9c307e0bdae72a7f76b27140dde7d14
2012-07-18 11:32:26 -07:00
Ying Wang
a0aff17b05 Import translations. DO NOT MERGE
Change-Id: I1af802f89db2b8537975645cb50b97924fd26637
Auto-generated-cl: translation import
2012-07-16 10:35:03 -07:00
Ying Wang
2c90434c1b Import translations. DO NOT MERGE
Change-Id: I4d215cfa2d8a94f6f1022513f5ee78b43322bf60
Auto-generated-cl: translation import
2012-07-13 10:55:37 -07:00
Ying Wang
bbc357980d Import translations. DO NOT MERGE
Change-Id: Ib5be7b82086eacdb7dcc59a1c486f8d657df4bc9
Auto-generated-cl: translation import
2012-07-12 10:56:15 -07:00
Ying Wang
428e0b9630 Import translations. DO NOT MERGE
Change-Id: If882fa6b3038534648628e52b11bea2cdc8bd6f8
Auto-generated-cl: translation import
2012-07-11 10:40:17 -07:00
Ying Wang
d12c1ce9a0 Import translations. DO NOT MERGE
Change-Id: Ic9ac9dcb6408b1368355f3c6390ee584540c77f4
Auto-generated-cl: translation import
2012-07-03 11:14:46 -07:00
Ying Wang
22efbc3800 Import translations. DO NOT MERGE
Change-Id: I6bd525f3effcd4696974667b58b2f1a6f9227fa3
Auto-generated-cl: translation import
2012-06-29 10:42:30 -07:00
Marc Blank
c5afb16430 Add a bunch of stuff missed earlier
Change-Id: I7f707446a963912fe5786dacb5569e68db572d1c
2012-06-28 12:16:59 -07:00
Marc Blank
f419287f22 DO NOT MERGE: Move emailcommon2 sources to emailcommon
Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
2012-06-28 11:15:06 -07:00
Eric Fischer
f8f97bb1ef Import translations. DO NOT MERGE
Change-Id: Ifcfb1289a255ed007a09e25a3a18a4cab73f1bb3
2012-05-15 15:52:33 -07:00
Eric Fischer
3b6f470ef2 Import translations. DO NOT MERGE
Change-Id: Iad8ed5cfdad8c8cc39c8bc5f7558c5d243fe1e43
2012-05-14 11:50:19 -07:00
Eric Fischer
ca1c8af924 Import translations. DO NOT MERGE
Change-Id: I7d6d234de4be71a35d293b0bdf641c3bfcbda665
2012-05-11 12:34:38 -07:00
Eric Fischer
6ad51ff2cc Import translations. DO NOT MERGE
Change-Id: I4103ff42285f6e591e26aa25457ea7a3766951d8
2012-05-03 13:15:20 -07:00
Eric Fischer
f3a27fec56 Import translations. DO NOT MERGE
Change-Id: I3a0a145ea84893c83d0d2a887c16faac2480a903
2012-05-02 11:37:25 -07:00
Eric Fischer
928d1352cf Import translations. DO NOT MERGE
Change-Id: I8bbc937076df8bd0045dfb289fdce6f6bea20a35
2012-04-26 12:01:59 -07:00
Marc Blank
03cd72805d Revert to old Email app
* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
2012-04-25 13:58:23 -07:00
Eric Fischer
aadbdda5a1 Import translations. DO NOT MERGE
Change-Id: I237bfbee1a477059ce7d6eb97399a71457d0aec9
2012-04-19 11:29:36 -07:00
Eric Fischer
fc093a7b88 Import translations. DO NOT MERGE
Change-Id: I9b0c4c8816e5fff58e72c10118b2352a23e282c7
2012-04-13 11:31:43 -07:00
Eric Fischer
fae8cc96a2 Import translations. DO NOT MERGE
Change-Id: I3fb15518d09788a9906456dfd4064df9cdf5faf2
2012-03-27 11:04:11 -07:00
Eric Fischer
17aeb1e0a8 Import translations. DO NOT MERGE
Change-Id: I0e024f4192810d011db4e95edc64b486b78c24a1
2012-03-23 11:30:40 -07:00
Eric Fischer
03d1f7b8fa Import translations. DO NOT MERGE
Change-Id: Ia9eeb643c49acadcf6610108bc0e382650ba4e77
2012-03-13 12:32:48 -07:00
Eric Fischer
cba5a03825 Import translations. DO NOT MERGE
Change-Id: Id2cadfb3d46977b2a076978e9c487495ebc45d36
2012-03-12 12:13:58 -07:00
Eric Fischer
d2c105e13f Import translations. DO NOT MERGE
Change-Id: Idebec4356e561ecf8e118e5fd2816e08bb46af5c
2012-03-09 11:02:56 -08:00
Eric Fischer
af99847e39 Import translations. DO NOT MERGE
Change-Id: I11d56ddc18a2a49ebfb47bc51959c285df7076bc
2012-03-08 11:08:54 -08:00
Eric Fischer
fc395fbeef Import translations. DO NOT MERGE
Change-Id: If90878326bff24f70a26e6944d763f669d8b36e0
2012-03-07 11:33:24 -08:00
Eric Fischer
98ea0bd9fb Import translations. DO NOT MERGE
Change-Id: I65a5571213f308b4e4d5e9b67869c9e9e1d7888e
2012-03-06 11:14:37 -08:00
Eric Fischer
08c6aabf06 Import translations. DO NOT MERGE
Change-Id: Ia0d47022963e6ea8b984b5460f21d4bf565ecf3f
2012-03-05 12:42:41 -08:00
Eric Fischer
504f3df8c4 Import translations. DO NOT MERGE
Change-Id: Ia048fa5a05d849c742d634b42972cb966f57f3d3
2012-03-02 11:33:43 -08:00
Eric Fischer
1d5cac2414 Import translations. DO NOT MERGE
Change-Id: I12e853250f5b0f27e1b7c4bd84f4e76c51b914d1
2012-02-22 11:34:52 -08:00
Eric Fischer
1010a700ce Import translations.
Change-Id: I51f4d8cdbb71d12671191ee11929c03cfa645ad6
2012-02-17 10:43:35 -08:00
Marc Blank
c84467afe1 Start of IMAP conversion to Service architecture
* Handle startSync and loadMore
* Use SyncManager rather than MailService for periodic sync
  and upload sync
* First of many CL's to disentangle sync from UI
* Note that the large majority of this CL is a refactoring
  of IMAP specific code out of MessagingController and into
  ImapService; MessagingController will eventually be
  removed entirely from the app, as will much of Controller

Change-Id: I13546d0694479b33cf93c25920dedc1d38227f6c
2012-02-13 11:04:56 -08:00
Eric Fischer
8368bb8ba1 Import translations. DO NOT MERGE
Change-Id: I360517bad7e868ee97739fbbec433db4d703f13c
2012-02-09 10:10:17 -08:00
Eric Fischer
8b270b16e7 Import translations. DO NOT MERGE
Change-Id: I7846fc94a02995eb745a99ea2cf2eca6ffe6c3f4
2012-01-31 11:36:38 -08:00
Eric Fischer
f4470edba0 Import translations. DO NOT MERGE
Change-Id: Ia8a84e5f7491036049be69c8d7463538c5d8916a
2012-01-30 14:59:45 -08:00
Eric Fischer
31cff20ea0 Import translations. DO NOT MERGE
Change-Id: Ibf2da5b4209fa38d30ee519e7b887263f50e0afd
2012-01-26 13:55:48 -08:00
Eric Fischer
6dd5834458 Import revised translations.
Change-Id: Ia7c67cf329c73f2f472f6b3cd5677b4ae0ead4c0
2011-12-29 12:10:49 -08:00
Marc Blank
919e59044b Handle UI part of enforcing email lookback limit
Bug: 5792217
Change-Id: I4351ae4d8505965a32690ecb5e6338765fb3770f
2011-12-21 17:44:59 -08:00
Mindy Pereira
68c38d119f Increase allowed chars for sync calendar string.
Fixes b/5748113 tk_source_broad_ Android_GoogleJob [190999/ - ]-GTT_request character extension

Change-Id: I29ec26a9d2278a0c02f4cc055d8ae55460a8bf22
2011-12-13 09:34:33 -08:00
Andy Huang
a7d1b5c58c Fix various text size problems when system font size is huge
This CL to replace Iafd5d1dc.

* use common styles for spinner anchor and dropdown text
  (introduced in I3063cfea)
* allow dropdown item height to scale beyond fixed height to fit
  huge text

Other fixes:
* use Gmail's color for dropdown and folder list header text
* remove spurious divider in dropdown items that precede a
  header

Bug: 5687252
Change-Id: I3e46cff736a045c4a59a0ff8810977e39f903a14
2011-12-08 13:24:51 -08:00
Mindy Pereira
c756389817 Revert "Fix various text size problems when system font size is huge"
This reverts commit 19bc1921f2
2011-12-08 09:33:30 -08:00
Andy Huang
19bc1921f2 Fix various text size problems when system font size is huge
* use common styles for spinner anchor and dropdown text
  (introduced in I3063cfea)
* allow dropdown item height to scale beyond fixed height to fit
  huge text

Other fixes:
* use Gmail's color for dropdown and folder list header text
* remove spurious divider in dropdown items that precede a
  header

Bug: 5687252
Change-Id: Iafd5d1dc7c3809393c3892138b42b7274fb03a27
2011-12-07 18:28:41 -08:00
Claudia de Veaux
76e273e3c8 Edit to strings per UI text standards.
* Used standard language ("Allows this app..." for permission descriptions.
* Messages and toasts use ending punctuation.
* Checkbox labels do not use ending punctuation.
* Toast language should be cryptic.
* Use "unsuccessful" instead of failed, or "Couldn\'t ...".
* Use contractions.

Bug: 5165745
Bug: 5162667
Bug: 5163232
Change-Id: I4417a4c7b06b278ceb2a61f61493842c9bf922e1
2011-12-07 11:50:44 -08:00
Mindy Pereira
333cdbaef4 Tweak padding slightly to match the EditTextPreference screens.
The edittextpreference uses a default system screens, but since this isn't really a preference
screen, it isn't usable here.

Change-Id: I770c12a5ec3a33906f5d6d1c9d0b7a6b027460da
2011-12-02 11:36:34 -08:00
Mindy Pereira
d637dc245b Fix layout for edit quick response dialog.
Fixes b/5528659 Quick Response "create new" dialog is janky

Change-Id: Ib78d677114f9af1969ce8314e6f58002d2ad727f
2011-12-02 11:11:21 -08:00
Mindy Pereira
377a4ff7fe Merge "Fix message list width and margins" 2011-12-01 07:56:07 -08:00
Mindy Pereira
29738358a9 Fix message list width and margins
Fixes b/5691557 Email tablet split view convo list text alignment has regressed

Change-Id: Ia00ef382bb7b7879c4535b4571acbdb4e6ac2dd4
2011-11-30 16:42:56 -08:00
Minh Pham
fba2dbb35b am 16439d5e: Fix date margin
* commit '16439d5e23ea4a4bb86e7f4d23a473525e043007':
  Fix date margin
2011-11-30 10:50:53 -08:00
Minh Pham
16439d5e23 Fix date margin
- Use a specific margin for date in normal mode.
Bug: 5685616

Change-Id: I38843b66e8e2cbc077f2d7421a4e1cb86b274dc5
2011-11-29 17:40:12 -08:00
Eric Fischer
cbf700f85b Import revised translations. DO NOT MERGE
Change-Id: I238d3246e725ddfa38c2b53d842c7e97c2d00bf8
2011-11-29 13:15:11 -08:00
Eric Fischer
7a52f832cc Import revised translations.
Change-Id: I6f7573020c772af80589c7f60f0f2bd079ef20d2
2011-11-29 10:57:31 -08:00