Commit Graph

88 Commits

Author SHA1 Message Date
Andrew Stadler
432d1ec3ed Add custom item view to MessageList
* Stores per-message metadata
* Fix a number of todo's in MessageList
* Clicking on checkbox toggles state, updates checked list
* clicking on star toggles favorite state

To do:  When one or more messages are checked, we should slide in a
panel with action buttons.
2009-07-07 13:43:24 -07:00
Mihai Preda
54693e8446 am 543b50d7: Revert "Add Cox email server information."
Merge commit '543b50d71794ea2baa1d0ff21b494d225b1a14a0'

* commit '543b50d71794ea2baa1d0ff21b494d225b1a14a0':
  Revert "Add Cox email server information."
2009-07-01 22:44:47 -07:00
Andrew Stadler
bb0f962dbb Enable message read/unread toggling
* Automatically marked read when entering MessageView
* Marked unread via menu selected during MessageView
* Provider updated (directly - see note)
* Enable context menu in MessageList and enable "open" & toggle unread

NOTE: Does not use the correct service notifications yet;  Just updates
the providers.

NOTE: The UI for the context menu is incomplete, it says "mark as read"
but it actually toggles the state.  The true UI is to flip the text to
match the current state e.g. "mark as read" or "mark as unread".  That
will be much simpler to implement when we switch to a custom list item
view class, where we can cache the read/unread state (and other tidbits).
2009-07-01 16:04:30 -07:00
Andrew Stadler
48c8cc34b7 Add "favorite" star to MessageView
* Shown next to subject (non-final layout)
* Value taken from provider data
* Tapping star toggles state
* State writes back to provider

NOTE:  I am currently doing the provider writeback via direct provider
calls (using the synced-message URI) but not doing it with a service call,
so at this point there is no triggering of any server-side update.
However a sync engine might "discover" the change.

NOTE:  I made a global change of "mMessage" to "mOldMessage" because
there is still a lot of legacy code in MessageView and I wanted to clearly
demarcate the code that still needs to be redone.
2009-07-01 12:11:47 -07:00
Android (Google) Code Review
696b8749b5 am 984b4ed5: Merge change 5395 into donut
Merge commit '984b4ed57fe02b68a6a2b371c84c8d7d6ee2325c'

* commit '984b4ed57fe02b68a6a2b371c84c8d7d6ee2325c':
  Add Cox email server information.
2009-07-01 11:18:11 -07:00
Andrew Stadler
7c3de93429 Add attachments, favorites, and selections to MessageList.
* Attachment icon is displayed when message.mAttachment != 0
* Favorite icon is set/cleared from message but not clickable
* Selection icon is not clickable

Further progress requires implementing a custom child view which can
handle sub-clicks properly.
2009-07-01 10:47:23 -07:00
Andrew Stadler
4765472db8 Add MessageList activity
* Add MessageList Activity class and Manifest entry
* Add appropriate layouts, views, etc.
* Wire into FolderMessageList

Lots to do, but this gives us a useable screen.
2009-06-30 15:15:07 -07:00
Mihai Preda
543b50d717 Revert "Add Cox email server information."
This reverts commit f6ab8aaec8.

Revert because TMO IPs are rejecteb by Cox SMPT server for
spam reasons (spamhouse filtering).

Revert while waiting for a solution to be found by TMO/Cox.
2009-06-30 11:26:49 -07:00
Mihai Preda
f6ab8aaec8 Add Cox email server information.
Bug 1942352.
2009-06-29 15:40:11 -07:00
Mihai Preda
ed0e683d86 Don't drop invalid addresses while editing & check that all addresses are valid before send.
BUG: 1542391
add unit tests.
2009-06-24 15:44:08 -07:00
The Android Open Source Project
a244abdad0 Do not merge. Merge commit '14f3e16' into donut 2009-06-15 00:08:40 -07:00
The Android Open Source Project
14f3e16793 IA 149719: Display Bcc: field if present... 2009-06-15 00:01:17 -07:00
Eric Fischer
b726b7a01b Update Portuguese translations. 2009-06-10 15:11:01 -07:00
Eric Fischer
a2a6f5436b am 0c2e5408: AI 149721: Import Portuguese translations.
Merge commit '0c2e540856d057e4d692e9db7864d673ab0708cd' into donut

* commit '0c2e540856d057e4d692e9db7864d673ab0708cd':
  AI 149721: Import Portuguese translations.
2009-06-10 12:30:05 -07:00
Eric Fischer
0c2e540856 AI 149721: Import Portuguese translations.
Automated import of CL 149721
2009-06-10 12:26:07 -07:00
Mihai Preda
0dff228dc7 AI 149714: Download inline images for viewing if necessary and don't
delete attachment cache files if these are inline images.
  The purpose of original logic of loadAttachmnet() is to keep
  at most one attachment cache, probably to limit the size of
  cached file.  But it also purges all inline images.
  Integrates CL 149551 from DocomoEmail.
  BUG=1884385,1860250

Automated import of CL 149714
2009-06-10 10:48:32 -07:00
Mihai Preda
23a2769796 Merge branch 'readonly-p4-donut' into donut 2009-06-05 11:38:31 -07:00
Mihai Preda
a00eb291f1 AI 149607: Add relevant title to attachment file chooser.
Delete the original source message only when the message is in Drafts folder.
  If the original message is in the other folder than Drafts, it should be
  retained.
  Integrates 149194,149306,149459 from DocomoEmail.
  BUG=1860250,1887835

Automated import of CL 149607
2009-06-05 11:36:17 -07:00
Mihai Preda
cf4a3aea3f Merge branch 'readonly-p4-donut' into donut 2009-06-05 10:50:26 -07:00
Mihai Preda
7eb313fb00 AI 149604: Localized the special folders name in FolderMessageView.
Integrates 149049,149217 from DocomoEmail.
  BUG=1860091,1860250

Automated import of CL 149604
2009-06-05 10:48:20 -07:00
Mihai Preda
9c62910550 Merge branch 'readonly-p4-donut' into donut 2009-06-05 10:35:38 -07:00
Mihai Preda
c099563834 AI 149603: Show progress dialog while loading attachment. Fixed possible ArrayIndexOutOfBoundsException in message view.
Integrates 149422,149510,149516 from DocomoEmail.
  In some situation, email header From: might be empty or have
  illegal email address.  The assumption that From: must exist
  will be violated and causes ArrayIndexOutOfBoundsException.
  BUG=1741969,1890770,1860250

Automated import of CL 149603
2009-06-05 10:33:22 -07:00
Mihai Preda
d9c1e51d84 Merge branch 'readonly-p4-donut' into donut 2009-06-01 12:40:16 -07:00
Mihai Preda
39137e51aa AI 149446: Add sending pending outbox message feature; integrates 148664, 148823 from imode to donut.
BUG=1860250,1793767

Automated import of CL 149446
2009-06-01 12:38:20 -07:00
Andrew Stadler
ba38ae2764 Remove the msgId string-stealing-hacks because we will do new translations for donut. 2009-05-21 16:40:20 -07:00
Andy Stadler
1eba4b57f3 Merge branch 'readonly-p4-donut' into donut 2009-05-07 14:32:46 -07:00
Andy Stadler
3cf41764e3 AI 148485: Clean up the scrollview layout so the button bar is always on the
bottom of the screen.
  Also removed an extra ':' in a string on the screen (none of the other
  label strings have ':').
  BUG=1740626

Automated import of CL 148485
2009-05-07 14:30:53 -07:00
Andy Stadler
9833868fe6 Merge branch 'readonly-p4-donut' into donut 2009-05-06 17:47:56 -07:00
Andy Stadler
63a22008c7 AI 148376: Two policy changes for lookback window: (1) Change default
for new accounts to "1 day".  (2) Remove "all" from the list
  of available lookback window sizes, to prevent runaway
  during our simplistic sync model.
  BUG=1789913

Automated import of CL 148376
2009-05-06 17:46:25 -07:00
Andy Stadler
c98f9775ad Merge branch 'readonly-p4-donut' into donut 2009-05-04 10:19:57 -07:00
Andy Stadler
1e2ca965e7 AI 148255: Don't show "Outgoing Settings" preference when sender does not
provide a class for launching the settings editor.
  BUG=1812798

Automated import of CL 148255
2009-05-04 10:17:27 -07:00
Andy Stadler
3a0985b83a Merge branch 'readonly-p4-donut' into donut 2009-05-01 15:32:04 -07:00
Andy Stadler
9197f42894 AI 148216: Provide UI for fixed sync window sizes, as required by EAS.
When in fixed sync window size mode, change "load more
  messages" to "refresh".
  BUG=1789913

Automated import of CL 148216
2009-05-01 15:30:33 -07:00
Eric Fischer
c31d5eae5b am 9e5757b: AI 148147: Import lots of zh_TW translation changes.
Merge commit '9e5757b5316f88d252b5d80fab1e3964ce19bbdf' into donut

* commit '9e5757b5316f88d252b5d80fab1e3964ce19bbdf':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 17:37:33 -07:00
Eric Fischer
9e5757b531 AI 148147: Import lots of zh_TW translation changes.
Automated import of CL 148147
2009-04-30 17:32:16 -07:00
Eric Fischer
3a7175d66b am 6e57772: AI 148026: Update zh_TW translations.
Merge commit '6e5777228bf98403f6ffc80bea5dd420ebec6cd5' into donut

* commit '6e5777228bf98403f6ffc80bea5dd420ebec6cd5':
  AI 148026: Update zh_TW translations.
2009-04-30 17:10:40 -07:00
Eric Fischer
6e5777228b AI 148026: Update zh_TW translations.
Automated import of CL 148026
2009-04-30 16:48:34 -07:00
Andy Stadler
694e76814a Merge branch 'readonly-p4-donut' into donut 2009-04-29 17:11:48 -07:00
Andy Stadler
c05afb24bb AI 148019: Add "accountInstanceLimit" to stores.xml so a given type of connection
(e.g. EAS) can limit itself to n (usually 1) accounts per device.
  The UI for this is really simple - don't show the EAS button when the
  limit is reached.  More work would be required in
  AccountSetupAccountType.java in order to do a more sophisticated UI
  (e.g. show the button but pop a toast if the limit is reached.)
  BUG=1740626

Automated import of CL 148019
2009-04-29 17:10:25 -07:00
Eric Fischer
06460df68f am 33fabe8: AI 147962: Import updated zh_TW translations.
Merge commit '33fabe840087a06df61c2ef5dc9a2473c6df8014' into donut

* commit '33fabe840087a06df61c2ef5dc9a2473c6df8014':
  AI 147962: Import updated zh_TW translations.
2009-04-28 21:57:25 -07:00
Eric Fischer
cb9120caa8 am 939d53c: AI 147492: Update zh_TW translations.
Merge commit '939d53c7614da6e35c95ee455e34aabac12e2843' into donut

* commit '939d53c7614da6e35c95ee455e34aabac12e2843':
  AI 147492: Update zh_TW translations.
2009-04-28 21:57:25 -07:00
Eric Fischer
33fabe8400 AI 147962: Import updated zh_TW translations.
Automated import of CL 147962
2009-04-28 15:48:40 -07:00
Eric Fischer
939d53c761 AI 147492: Update zh_TW translations.
Automated import of CL 147492
2009-04-23 11:59:15 -07:00
Eric Fischer
31e3dbe0b2 AI 146517: Import translation changes.
DO NOT MERGE

Automated import of CL 146517
2009-04-16 11:01:06 -07:00
Eric Fischer
9a79d70c6f AI 146365: Import revised translations.
DO NOT MERGE

Automated import of CL 146365
2009-04-15 13:30:19 -07:00
Andy Stadler
4836f3c289 AI 146331: Make the download window sizing adjustable on a per-store basis.
The default values are 25 (default) and 25 (increment).  This is fine
  for Stores that control downloads by # of messages, but won't work for
  stores that use other measurements - e.g. EAS windows the download in #
  of days.  So for this change:
  1.  Allow the StoreInfo to provide non-default values
  2.  Remove the hardcoded references to the default values
  3.  Use StoreInfo values everywhere
  4.  Set the values to 1,1 in EAS store info
  BUG=1789913

Automated import of CL 146331
2009-04-15 10:58:59 -07:00
Eric Fischer
3a8bad2563 AI 146175: Import updated translations.
Automated import of CL 146175
2009-04-14 12:10:43 -07:00
Eric Fischer
014e0444f4 AI 145782: Import updated translations.
DO NOT MERGE

Automated import of CL 145782
2009-04-10 16:38:00 -07:00
Eric Fischer
9b8be65244 AI 145711: Import a few changed translations.
DO NOT MERGE

Automated import of CL 145711
2009-04-10 10:45:19 -07:00
Eric Fischer
ff36efb76e AI 144977: Import revised translations.
DO NOT MERGE

Automated import of CL 144977
2009-04-07 18:15:15 -07:00