1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00
Commit Graph

320 Commits

Author SHA1 Message Date
cketti
f2880d08b3 Changed scrollbar style back to outsideInset. 2010-05-02 17:45:31 +00:00
Jesse Vincent
d0e0dceab7 Widen folder and account list chips to better match message-view 2010-05-02 15:53:26 +00:00
Daniel Applebaum
6e9145f037 Adjunct to the new variable font sizes, allow the Account list and
Folder list items to vary in size based on the font sizes.
2010-05-02 04:54:09 +00:00
cketti
9eadd15c09 In message view:
- Changed scrollbar style
- Changed button heights to default
- Wider "Open" and "Save" buttons for attachments
2010-05-02 00:27:42 +00:00
cketti
d67307a2f8 Changed message view header to get rid of overlapping texts.
Fixes issue 808
2010-05-02 00:04:27 +00:00
cketti
7cb0797afc Prettified message_compose.xml 2010-05-01 22:42:32 +00:00
cketti
98d711c668 Set background color of message compose view to white (so it won't look strange with the dark theme). 2010-05-01 22:09:20 +00:00
cketti
732b282ddc Updated polish translation (provided by borszczuk). Discussion in issue 1321 2010-04-29 21:53:45 +00:00
Daniel Applebaum
488301d03e Revert r1611. The extra alignment constraints made the stars go blank
when there was more than one digit for the starred count.
2010-04-27 03:18:41 +00:00
cketti
02f4d08396 - Added 1dip bottom margin to "number of starred messages" in account and folder list (looks nicer with dark theme)
- Prettified folder_list_item.xml
2010-04-26 22:22:23 +00:00
cketti
d082809524 Used LinearLayout + android:layout_weight to simplify account + message list. Fixes color chip height issue in the message list. 2010-04-26 19:50:25 +00:00
cketti
b7297f774b @id -> @+id 2010-04-26 18:28:22 +00:00
cketti
e0e5da2d01 Display long account names or email addresses nicely in account list (issue 1478). 2010-04-26 18:26:10 +00:00
cketti
9fa9389386 - Removed the fixed height for message list items
- Sender name doesn't overlap the date anymore
- Sender name and date go below subject (don't overlap)

For now the color chip on the left doesn't use the full height of the message list item because of limitations of RelativeLayout.

First shot at fixing issue 1478.
2010-04-26 17:36:33 +00:00
cketti
bad67d5e17 - Changing the order of the date and subject TextViews in the XML file should fix the overlapping text issues
- Prettified message_list_item_touchable.xml

Fixes issue 1350
2010-04-26 17:10:46 +00:00
Jesse Vincent
0e4028d458 right-align stars in folder and account lists 2010-04-26 14:52:04 +00:00
Daniel Applebaum
267f02fc48 Add a color chip to the left side of the message headers so that it is
possible to tell in which account the message is located.  Especially
useful when traversing search results in the MessageView.
2010-04-25 16:33:32 +00:00
Jesse Vincent
c649073fa7 Finish removing the old Android 1.0 chips 2010-04-25 08:59:59 +00:00
Jesse Vincent
d6bc0765d8 Allow users to set the account 'Chip' color per account. 2010-04-25 08:47:24 +00:00
Daniel Applebaum
f185240f67 Make stars and envelopes on folder active. 2010-04-24 19:10:57 +00:00
Daniel Applebaum
8e0ee1a6e1 Star and envelope are now active for regular accounts. 2010-04-22 04:58:50 +00:00
Daniel Applebaum
41c5dc5986 Fixes Issue 1448
Fixes ClassCastException.

Also:
Envelope and star in Accounts Activity are now both "hot".  Tapping
the main part of the search opens the full search; tapping the
envelope opens the search only for unread messages; tapping the star
opens the search but only for starred messages.

The envelope and star are a bit small to reliably tap.  Both options
should be available via long-press, also.

Methodology will be extended to real accounts, as well.
2010-04-22 02:20:35 +00:00
cketti
f8695f9a61 Added preference screen to pick font sizes for all important information in account list, folder list, message list and message view.
Fixes issue 7
2010-04-20 16:37:03 +00:00
Daniel Applebaum
cb4504cc33 Fixes Issue 1055
Provide a visually more interesting unread mail counter box that works
in both light and dark themes.
2010-04-20 04:17:15 +00:00
Daniel Applebaum
e22f3d2c1b Provide user control over the account size measurement and search
result counting that are displayed in the Accouts Activity.  These can
both be slow, so some users may opt-out.
2010-04-19 02:55:02 +00:00
Daniel Applebaum
5bd24fe425 Fixes Issue 1410
Fixes Issue 1431

Present flagged message count inside a star, matching the visual
presentation on individual messages.

Provide display of unread and flagged message counts for canned
searches.

Perhaps the message counts for searches and account size display
should be defeatable for improved speed.
2010-04-17 03:32:17 +00:00
Daniel Applebaum
1079e03495 Fixes Issue 1430
Displaying the progress in the list was way too slow.
2010-04-16 14:44:01 +00:00
cketti
a518f224b8 Updated polish translation (see Issue 1321) 2010-04-14 14:12:22 +00:00
cketti
491886d02b - Added polish translation (thanks to borszczuk)
- Added russian translation (thanks to dbriskin)
- Removed date_format_* strings from polish and russian translation so default values will be used
- Removed region code for most translations

Fixes issue 1321
Fixes issue 1393
Fixes issue 1414
Fixes issue 1087
2010-04-14 13:34:27 +00:00
Daniel Applebaum
9a8126d89c Addresses Issue 1348 and Issue 95
Not done, yet, but available for developers to use.

Definite things to be done in the short term:
1) Allow user to hide canned searches in Accounts Activity
2) Make newly arrived mail immediately appear in search results.

Possible improvements:
3) User-definable searches
4) Make newly deleted mail immediately disappear search results.
5) Make message with flag changes immediately appear/disappear from
   search results.
6) Show search result size in Accounts Activity.
2010-04-06 02:54:48 +00:00
cketti
0e45438234 Updated german translation. Thanks to henning.stummer
Fixes issue 1253 (again)
2010-03-27 14:10:40 +00:00
Daniel Applebaum
6a984b3aee Incorporate Vincent Lum's ShowFolders2-48.png as the icon for the
"Folders" option menu in the Folder List.
2010-03-18 12:06:08 +00:00
Daniel Applebaum
8ae83fa488 Fixes Issue 1286 2010-03-13 04:53:30 +00:00
Daniel Applebaum
9d5803b174 Fixes Issue 981
Allow user to turn off gesture-based control.

Also, consolidate so that gestures could be used by other subclasses
of K9Activity.  Probably should be made usable to K9ListActivity, too,
by making MyGestureDetector its own class and make it used by
K9Activity and K9ListActivity, and have the Activities implement a
callback interface for onNext and onPrevious.
2010-03-07 23:43:27 +00:00
Daniel Applebaum
f0808fb3e0 Fixes Issue 1291
Provides for the user to elect to have certain folders displayed first
in the FolderList.  Folders so elected are displayed in alphabetical
order first, then folders not so elected are displayed alphabetical
order.

No special handling is done for Inbox any more, except that it is in
"top group" by default, to preserve current behavior until the user
changes the settings.
2010-03-07 17:02:21 +00:00
Daniel Applebaum
df4c768fea Remove SD card strings, as the compiler complains that there is no
default localization.
2010-03-07 16:57:19 +00:00
Daniel Applebaum
2212236418 Should have been committed with r1491 for Issue 1224 2010-03-07 00:39:26 +00:00
Daniel Applebaum
ecc10e572f Fixes Issue 1224
Implement DEFLATE compression for IMAP communication, enabled by
default.  User can disable compression for Wi-Fi, Mobile, or Other
networks, if it causes problems or if uncompressed communication is
faster, which is possible on Wi-Fi and wired networks, especially.

"Other" is to allow for the Android platform to introduce new
networking types without having to immediately change K-9 Mail.
However, as those arise, new network types should be added as explicit
types in K-9 Mail.
2010-03-07 00:30:40 +00:00
Robert Jacob
8eb8e392ca Issue 1253
Updated german localization with new strings.
2010-02-24 22:50:33 +00:00
Jesse Vincent
f9d39e4814 Back out Attachments-on-SD support (it's on a feature branch now, while
Bao-Long makes it extra-awesome)

This commit should revert:
r1445
r1437
r1436
r1449
r1442
r1441
r1419
r1414
r1413
2010-02-18 03:28:31 +00:00
cketti
f2f3b4263d Fixed editable TextView 2010-02-13 18:20:08 +00:00
Daniel Applebaum
58048a4e19 Correct silly text error 2010-02-13 02:08:24 +00:00
cketti
80ae0402e5 Fixes issue 1199 2010-02-09 15:41:40 +00:00
Daniel Applebaum
23e5a132d4 Provide title bar display of next polling time 2010-02-09 03:26:40 +00:00
cketti
033e0d40de Optional signatures on per identity basis. Original patch by jiri.tyr (thanks!) slightly modified by me.
Fixes issue 461
2010-02-08 17:47:00 +00:00
cketti
58f3005a28 Removed duplicate shortcut/hotkey from forward (alternate) 2010-02-07 23:11:57 +00:00
cketti
20fc93c101 Updated german translation with patch from wertarbyte (thanks!).
(Poorly) translated missing strings (cketti)

Fixes Issue 1088
2010-02-07 23:02:07 +00:00
Daniel Applebaum
1fb03a45a0 Fixes Issue 1059
Provides for menu items to quickly change the mode of displayed
folders.  Also, reorganizes the menu to have an Advanced sub-menu,
like Accounts page has.

Desparately needs a new icon for the Folders menu item.
2010-02-06 23:23:22 +00:00
Daniel Applebaum
4fa4f22f2c Fixes Issue 494
Allow for setting the Outbox to have any name, as tying it to a server
side folder does not make sense.  It is never synced.
2010-02-06 22:36:22 +00:00
Bao-Long Nguyen-Trong
55dac7ee4e Added option to have attachments store on sd card
(this is still a rough implementation)
2010-02-06 15:22:59 +00:00
Bao-Long Nguyen-Trong
49b223e20c Fixed issue 140 and issue 950: for partially downloaded messages, displaying what we already have while downloading the full message in the background
TODO: Need better icon indicating that the message is being fetched
2010-02-06 14:49:36 +00:00
Daniel Applebaum
6f064e1193 Partial implementation for Issue 1059. Doesn't help those without
physical keyboards, though, and should be modified to only re-setup
pushers.  Current implementation causes a wasteful reschedule of
polling.

Also gets the help Toast for the folder up-to-date after the
FolderList/MessageList split.
2010-02-06 05:55:40 +00:00
Daniel Applebaum
d114fa1bc3 Fixes Issue 1058
Add 's' hotkey for Select/deselect
2010-01-31 15:41:26 +00:00
Jesse Vincent
b702c67529 Fix checkboxes for message_list_item_touchable. 2010-01-25 03:39:12 +00:00
Jesse Vincent
08ed1ed389 Fix checkbox width issue on Android 1.5 2010-01-24 20:40:42 +00:00
Jesse Vincent
c59aeb2c78 Patch from Scott Kister to give us better new-message notifications,
somewhat worked over by me
2010-01-21 18:49:11 +00:00
Jesse Vincent
9e9f3d4697 Normalize "flag" to "star" - Fixes Issue 1057 2010-01-21 02:21:39 +00:00
Bao-Long Nguyen-Trong
f86cebdd28 . Updated default signature to use K-9 Mail instead of only K-9
. Updated signature delimiter to DASH DASH SP fixing issue 995
2010-01-20 23:24:34 +00:00
Jesse Vincent
43476a7ed4 Dan feels strongly that "unselect" isn't proper English. 2010-01-19 03:12:45 +00:00
Jesse Vincent
c5fa25151a unselect->deselect 2010-01-19 02:58:17 +00:00
Jesse Vincent
a145d3c616 "Deselect all" -> "Unselect all" (at a code level)
"Deslect all" -> "Done" (at a UI level)
2010-01-19 00:51:02 +00:00
Jesse Vincent
ae029762cf Add a new preference to always show multiselect checkboxes. 2010-01-19 00:43:52 +00:00
Jesse Vincent
8ab09d8d9b Fix our star image so it looks better on the dark theme. 2010-01-18 02:24:30 +00:00
Jesse Vincent
9301aabc8c CRAM-MD5 for SMTP is now configurable 2010-01-18 00:10:49 +00:00
Jesse Vincent
591ca5bc5e Fix batch operations menu
* Add an explicit configuration option for stars
* Replace now-outdated "left handed" widgets config option, now that
  select widgets are always on the left.
* since the multi-modality of the message list was now only a "toggle
  stars" option, kill that, as it was lots of code and rather redundant
2010-01-17 22:49:03 +00:00
Daniel Applebaum
4aca44c1aa Hide the explicit "ring enabled" boolean behind the ringtone selection. 2010-01-17 18:14:17 +00:00
Jesse Vincent
591a3af6dc Eliminate "select" mode in favor of a unified swipe and context menu -based
always-available select action.  For the moment, this means
that widgets_on_left does nothing at all. based on feedback, I may kill
the preference and multi-mode behaviour entirely in favor of "show stars?"
(and possibly "show stars on left"

Stars, "checkboxes" and color bars updated to actually fit in wide mode.
2010-01-17 04:20:39 +00:00
Jesse Vincent
0de7b15aa1 Swipe to select/deselect from touchmode 2010-01-17 04:20:22 +00:00
Daniel Applebaum
6c22507dfb Implementation of a Receiver and Service to provide for the capability
to accept control from other Android applications.  Allows for
changing both Account-level and global settings.  Account-level
settings can be applied to a single Account or to all Accounts.

The file class file derived from src/com/fsck/k9/K9RemoteControl.java
will be bundled into a JAR file for use by external applications.

This facility will be used for:
Issue 215
Issue 730
Issue 864
Issue 884
2010-01-14 04:33:50 +00:00
Jesse Vincent
752b5c59f1 Add a bunch of ime hinting to the setup flows 2010-01-14 01:57:59 +00:00
Jesse Vincent
34379dc9be Improved batch button behavior for touch view 2010-01-14 01:07:13 +00:00
Jesse Vincent
0061b3da81 steal a more compact android-standard checkbox style from AOSP. Tighten
up the touchview
2010-01-14 00:33:05 +00:00
Jesse Vincent
045eb93e3c Switch from "preferences" to "Settings" to conform to platform standards 2010-01-14 00:00:44 +00:00
Jesse Vincent
9bfc01ca32 Add a preference for the new "touch friendly" view. 2010-01-13 03:37:13 +00:00
Jesse Vincent
d5c185545b Add a "done" to the batch buttons.
Make the "done" entry in batch buttons only show up in touch mode
2010-01-13 03:37:04 +00:00
Jesse Vincent
b1c9d8918f Bury some advanced account context menu options under "Advanced" 2010-01-13 03:36:55 +00:00
Jesse Vincent
7ab9b8ee3c Added a first-pass view optimized for high-rez devices with both select and star 2010-01-13 03:36:43 +00:00
Bao-Long Nguyen-Trong
1c5d240564 Made batch op button's text sensitive to which messages are selected 2010-01-12 19:39:20 +00:00
Bao-Long Nguyen-Trong
47f9b38d2e Re -ordered batch ops menu options 2010-01-12 19:35:49 +00:00
Bao-Long Nguyen-Trong
230428d16a Fixed issue 1017: Added 'Search' menu option in account list screen 2010-01-12 00:56:51 +00:00
Daniel Applebaum
2e4672a8c9 Needs to be explicit to make sure it is not confused with 'Auto sync'
device-wide setting.
2010-01-10 06:50:35 +00:00
Jesse Vincent
9db97e214d Restore Bao-long's original design for "widgets on the left" being a
global config option rather than a per-account one. (But with a new
implementation.) - As we now have views that show messages across
accounts, this needed to become a global)
2010-01-09 23:02:40 +00:00
Jesse Vincent
d48449c7e7 Some message rephrasing for clarity andd cinciseness 2010-01-09 23:02:29 +00:00
Jesse Vincent
b6836c222b Until dan and I finish duking it out about having both a "silent"
ringtone and a ring checkbox, at least put "should I ring" above "what
ringtone should I use"
2010-01-09 21:50:27 +00:00
Daniel Applebaum
56a4b94748 Put the color chip with read/unread controlled brightness at all
levels except MessageView
2010-01-06 05:23:32 +00:00
Daniel Applebaum
41729af9b2 Add explicit ring setting for notifications 2010-01-04 00:40:41 +00:00
Jesse Vincent
2a77001acc First steps toward adding search results 2009-12-27 16:52:26 +00:00
Jesse Vincent
151ae5a2a3 First pass at adding "Searchable" infrastructure 2009-12-27 16:50:37 +00:00
Daniel Applebaum
1ea96796d6 Add a global preference for enabling animations, beyond those that are
necessary.  Defaults to "enabled."
2009-12-27 00:54:19 +00:00
Daniel Applebaum
070fd635d4 Allow user to set a limit on the number of folders to be handled with
push technology.  This provide a layer of safety in case of
misconfiguration (accidentally setting too many folders to push using
classes), which can bog down the device till it is unusable.  On a G1,
25 folders is a very large load.  Fixes Issue 871.

Also, move some pending commands to the background to make way for
more important user interface activity.
2009-12-24 18:08:23 +00:00
Jesse Vincent
022b0241a1 250, 500 and 1000 messages may now be synced per folder. 2009-12-21 18:39:45 +00:00
Bao-Long Nguyen-Trong
361cc4cbb1 Reverted r1108 as it causes issue 892 on Android 1.5 2009-12-21 05:53:16 +00:00
Daniel Applebaum
41d7ca51a3 Implementation of complete IMAP two-phase "delete/expunge" behavior.
On each IMAP account, the expunge behavior can be set to expunge
messages in a folder as soon as a move or delete is performed on the
folder ("immediately"), each time the folder is polled, or only when
executed manually.

In the Message List, there is now an Expunge action in the option
menu.

In the Folder List, there is now an Expunge action in the context
menu (long-press on the folder).

For IMAP accounts, it is also possible to disable the copying of deleted messages to the
Trash folder, by setting the Trash folder to -NONE-.

Fixes Issue 536.

Separately, in WebDAV accounts, the user can now choose the
server-side equivalents of the special folders, just like for IMAP.
2009-12-20 23:13:49 +00:00
Jesse Vincent
369718f8c0 fix the grey background for not-yet-downloaded messages in landscape mode 2009-12-20 16:30:55 +00:00
Jesse Vincent
e82bb72a97 non-downloaded messages once again have a grey background.
Fixes Issue 899
2009-12-20 06:54:30 +00:00
Jesse Vincent
5a85446779 Initial implementation of CRAM-MD5 support for IMAP and SMTP.
Patch contributed by Russ Weeks <rweeks@gmail.com> in
<605ac1c0-808a-4f67-8c4d-736eec9587f8@e27g2000yqd.googlegroups.com>
2009-12-20 05:15:20 +00:00
Daniel Applebaum
921b022fb5 Enhanced header in Accounts, MessageList and Folder to show the unread
count, scoped for the Activity, the in-progress operation, the account
on which the operation is in progress, the folder for the operation,
when appropriate, and the progress of the operation, when it applies
to multiple items.  For the MessageList, also use the determinate
progress bar to show progress for synchronization of the folder being
displayed.

Fixes Issue 924.

Also, a minor change that might help with Issue 913, by putting the
insertion of the pending command into a background thread.
2009-12-20 00:02:46 +00:00
Jesse Vincent
4f42907315 preferences doesn't actually tie to an account. it shouldn't be in the account context menu 2009-12-18 03:49:52 +00:00
Jesse Vincent
f318a6e481 slightly simplify message list item (and fix errors about missing drawables) 2009-12-16 05:26:37 +00:00
Jesse Vincent
32a3f366ff remove unused strings 2009-12-16 05:26:30 +00:00