1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00
Commit Graph

255 Commits

Author SHA1 Message Date
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
Daniel Applebaum
9e00cc7863 Incorporate Vincent Lum's new icon for the batch ops sub-menu 2009-12-12 03:28:20 +00:00
Daniel Applebaum
0cd2dfb77d Implements new "Batch ops" option menu in Message List. Provides for
flag/unflag, mark as read/unread and delete.  Also provides explicit
mode changing, and select/deselect all.  Move and copy are partially
implemented, but disabled.

Desperately needs a new icon.

The "Sort by..." menu now toggles ascending/descending when the
currently selected sort mode is clicked.

Also, an ineffective change to setting the title in the Message List.
A bit more work is in order on that.
2009-12-10 05:26:16 +00:00
Jesse Vincent
c47db7c255 Fix display of message color "chips" - Fixes issue 887 2009-12-08 18:53:53 +00:00
Bao-Long Nguyen-Trong
561f45bbae Vertically center text in landscape mode as columns are not bigger due to widgets 2009-12-08 08:05:28 +00:00
Jesse Vincent
cd7de68186 reimplement the "list widgets on the left?" preference I'd previously complained about as an account preference 2009-12-08 07:08:05 +00:00
Jesse Vincent
6fdf69d45b Revert "Fixed issue 858: Added option to choose which side the widgets in message list will be on"
This reverts commit b334e397431225280f30e5297f73392f331f2dc3.
2009-12-08 07:07:03 +00:00
Bao-Long Nguyen-Trong
4117175b0f Fixed issue 858: Added option to choose which side the widgets in message list will be on 2009-12-08 01:32:59 +00:00
Jesse Vincent
a9283ad435 Improvements to the fsck.com pre-defined mail provider 2009-12-07 00:52:36 +00:00
Daniel Applebaum
5f05ab0bf6 Fixes Issue 857 2009-12-04 03:58:37 +00:00
Jesse Vincent
0ebebace82 make the "bulk update" buttons not cover part of the listview. 2009-11-30 22:39:01 +00:00
Jesse Vincent
4383e79b1f updated icon from Vincent. 2009-11-30 22:12:44 +00:00
Daniel Applebaum
61319d8c21 Fixes Issue 835 2009-11-29 06:25:03 +00:00
Daniel Applebaum
d871d2d2ee Fixes Issue 827
Fixes Issue 734

On reconnection, IMAP IDLE folders will now fetch up to the most
recent 10 message that arrived while a IDLE connection was not
available.

Fixes Issue 232

A serving of NAMESPACE-based auto-configuration on the side.  If the
IMAP prefix is empty, and the IMAP server supports NAMESPACE, use the
IMAP prefix supplied by NAMESPACE.  Also, if the user manually puts
the separator as the last character in the prefix, don't append the
separator.

Also:
Improved reliability of IMAP IDLE incoming message and flag state
change handling.  Reduction (but not elimination) of multiple
connections under startup conditions.
2009-11-28 14:51:44 +00:00
Jesse Vincent
900bcb434c Now that we have multiselect mode, kill the "quick delete" mode. 2009-11-28 05:09:28 +00:00
Jesse Vincent
72ca05e1bd add a test autoconfig provider I can actually test 2009-11-28 04:57:05 +00:00
Jesse Vincent
e2fd488e66 Fix multiselect so that one can use touch or the dpad or scroll ball to select
TODO: a preference to disable this behavior for folks who don't think like me
2009-11-27 03:28:26 +00:00
Jesse Vincent
d5a4a93738 added an .svg version of K-9_mail logo by Vincent Lum and removed an accidental bit of white background. 2009-11-26 17:28:52 +00:00
Jesse Vincent
3c468ac22f Vincent Lum's new icon! 2009-11-26 16:55:30 +00:00
Bao-Long Nguyen-Trong
3525337075 1st wired up version of multi-select + delete button (still rough on the edges) 2009-11-26 15:47:58 +00:00
Jesse Vincent
e4427f4f17 Added a "show no widgets" entry into the widgets rotation.
Eventually, we should have a preference per account for whether listview
starts in no-widgets or flag mode.
2009-11-25 16:21:01 +00:00
Jesse Vincent
beec4ee3e1 make star-mode let you click through to messages but not select mode or
delete mode
2009-11-25 15:35:07 +00:00
Jesse Vincent
622155a57a make the Delete, Select and Star buttons share the same screenspace.
right now we toggle per row. next up is toggle all at once
2009-11-25 02:25:56 +00:00
Bao-Long Nguyen-Trong
e3727e1d91 Very early shot at batch message action UI 2009-11-24 18:05:53 +00:00
Jesse Vincent
68e7a56963 add a beta app name string, so we don't need to hardcode it in tools/build-beta 2009-11-24 16:55:24 +00:00
Jesse Vincent
ee463b32ff Overhaul our setup wizard to have a more reasonable bottom bar and to reuse that layout code where possible; standardize the id of the 'next' button 2009-11-23 00:23:34 +00:00
Jesse Vincent
cbe7ab7081 fix the header background color to not ignore theme in horizontal mode 2009-11-22 21:23:17 +00:00
Jesse Vincent
7a46a584c6 When flipping messages, be sure we jump to the top as we display 2009-11-22 21:23:00 +00:00
Daniel Applebaum
3f98e3204b Fixes Issue 784 2009-11-22 19:42:44 +00:00
Daniel Applebaum
ddf8baca68 Change phrase for initial push configuration (see r945) 2009-11-22 17:26:58 +00:00
Jesse Vincent
115c4cb6ef New sort-by and reverse-sort icons by Vincent Lum 2009-11-19 22:55:06 +00:00
Jesse Vincent
c392e778e6 Add "starring" to MessageView 2009-11-18 01:59:41 +00:00
Jesse Vincent
d25811c929 slight cleanups to various messages 2009-11-18 00:40:01 +00:00
Jesse Vincent
d884fb40ae Fix our user-agent to be K-9 Mail 2009-11-18 00:39:54 +00:00
Jesse Vincent
08450ef138 remove the non-working version number from the x-user-agent string 2009-11-17 21:13:42 +00:00
Jesse Vincent
a9f294f0c2 Implement starred state for landscape layouts 2009-11-17 16:52:31 +00:00
Jesse Vincent
b328cbe991 A first implementation of "starred" messages in portrait list views 2009-11-17 16:52:23 +00:00
Bao-Long Nguyen-Trong
5338aea100 Making the date column a bit wider to fully view time timestamp and view more of the date in landscape mode 2009-11-17 05:59:32 +00:00
Jesse Vincent
80cd3a172a normalize padding in setup widgets; turn off "fading edges" in setup widgets 2009-11-17 00:50:59 +00:00
Jesse Vincent
e76d3da3fd more strings cleanup 2009-11-17 00:50:48 +00:00
Jesse Vincent
4cc22f8208 Remove duplicated "make this account the default" option during setup 2009-11-16 19:33:23 +00:00
Jesse Vincent
84ab290046 Give the user the choice of whether to enable Push as they create a new IMAP account.
TODO: explanatory prose underneath
2009-11-16 19:33:01 +00:00
Bao-Long Nguyen-Trong
2c04ee6af6 Fixed issued 606 using modified patch from mark.himsley 2009-11-16 19:26:09 +00:00
Jesse Vincent
20d9a19a97 Reorgnaize the Account Settings page, regrouping options by "what a reasonable user might want to change at the same time"
Make our use of email/mail consistent. It's "mail" except for "Email address"
Rephrase a number of unclear or oddly phrased messages (many dating from AOSP)
2009-11-16 17:50:40 +00:00
Daniel Applebaum
133964fbf3 Fixes Issue 59 (provides 2 - 24 poll check periods)
Improves Issue 742 (makes push settings more obvious)
2009-11-14 15:07:12 +00:00
Daniel Applebaum
11a1a09e97 Make push mail setting more obvious 2009-11-14 14:07:02 +00:00
Jesse Vincent
3a740c199d tiny layout tweaks to account setup flow 2009-11-14 04:49:27 +00:00
Jesse Vincent
d854190df7 get the account setup options "next" placed correctly 2009-11-14 04:49:06 +00:00
Jesse Vincent
2605ee9473 get that "new account" button off the account list page 2009-11-14 04:48:39 +00:00
Jesse Vincent
f6b59512fe make the "outgoing account settings" 'next' button not scroll off the page 2009-11-14 00:28:03 +00:00
Jesse Vincent
e7d708af44 Make sure that we actually fill the whole page when building the incoming account pane 2009-11-14 00:27:55 +00:00
Jesse Vincent
2497e53e61 "setup incoming account" next button is no longer hidden by scrolling 2009-11-14 00:14:27 +00:00
Jesse Vincent
394d9856ef slightly better margin for the accounts create page 2009-11-14 00:14:18 +00:00
Jesse Vincent
a377c18826 On the initial welcome page, don't scroll the 'next' button off the
page.
2009-11-13 23:42:52 +00:00
Jesse Vincent
417efefed4 List folders -> Folder list to make it clearer that it's not just "enumerate folders" 2009-11-13 04:10:52 +00:00
Jesse Vincent
47d0e42d15 All our layouts now use dip instead of px, for great weird-resolution weird-screen-size justice 2009-11-13 00:38:26 +00:00
Jesse Vincent
ebfc55361f Starting to move some of our layouts to actually using dip consistently rather than specifying px. 2009-11-13 00:28:00 +00:00
Bao-Long Nguyen-Trong
0408788a16 Better italian translation by tauromenion 2009-11-10 05:25:29 +00:00
Bao-Long Nguyen-Trong
221888c45a Removed unused entries which was causing the warning at build time 2009-11-09 04:01:17 +00:00
Daniel Applebaum
b9642ee5f3 Fixes Issue 738
Fixes Issue 133

Really, just displays a Toast and allows K-9 to continue in some
situations that otherwise cause a crash.  Will hopefully allow users
of Android 2.0 to use K-9, but may just provide better info about what
is going wrong.
2009-11-07 16:21:47 +00:00
Daniel Applebaum
8ba2c713c5 Undo r883, as it removes the boxes in the light theme.
Clearly, both themes are using the wrong text_box, which won't work
very well.
2009-11-03 12:53:17 +00:00
Daniel Applebaum
626c35de12 Fixes Issue 482. 2009-11-03 04:35:07 +00:00
Daniel Applebaum
0ec5e9a67e Add single quotes around Background data 2009-10-31 18:54:40 +00:00
Daniel Applebaum
eabc9af9b3 Fixes Issue 668
Fixes Issue 577

K-9 has earned its Canine Good Citizen.

K-9 now respects the Android-global Background data preference, by
default.  However, there is an override, allowing K-9 to ignore the
global preference, by either always running around and synchronizing
in the background, or staying put and not synchronizing.

A user can now elect to turn off mail synchronization across all
accounts in either the K-9 Preferences page by setting Background
synchronization to Never, or leaving that value as "When 'Background
data' is checked" and deselecting the Android-global Background data
preference.
2009-10-31 18:51:59 +00:00
Daniel Applebaum
581486fbd5 Eliminate secret debug preferences activity. Add debug preferences to
global preferences.
2009-10-31 17:10:54 +00:00
Daniel Applebaum
94c9454c75 Fixes Issue 538 2009-10-29 02:26:40 +00:00