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

266 Commits

Author SHA1 Message Date
Daniel Applebaum
9f7a4b05d8 Elminate harmful selection of delete policy on Incoming settings page. 2009-03-12 01:50:06 +00:00
Daniel Applebaum
272bb699c9 Use format, instead of hardcoded concatenation, for formatting
recipient display.  (suggested by dumbfile in Comment 12 of Issue 10)
2009-03-12 01:31:55 +00:00
Daniel Applebaum
49c2708f4c Patch ImapFolders.r389.patch submitted in Comment 3 of Issue 214 by
dumbfile on Feb 28, 2009.

One change of my own, putting the actual folders name outside the
parentheses, and the functional/special name inside the parentheses.
2009-03-12 01:13:26 +00:00
Daniel Applebaum
3e90811a20 Add explicit memory argument for dex build 2009-03-10 18:57:15 +00:00
Daniel Applebaum
45227e2708 Delete now uses LocalFolder.moveMessages
Copy now copied body (but attachments might not work right).

Move is now reliable (needed to open the destination folder), and
leaves a placeHolder message behind in the source folder so that
messages are not resynced.
2009-03-07 07:20:15 +00:00
Daniel Applebaum
6d5b158787 Restore ability to delete server-side messages for POP3 and WebDAV 2009-03-05 13:43:05 +00:00
Daniel Applebaum
014691bac9 Fix reverse sorting when in sort-by-date mode. 2009-03-05 08:08:37 +00:00
Daniel Applebaum
7b2a754009 Cleanup of minor issues with r395. r395 and this revision are to
address Issue 2, not Issue 3 as previously stated.
2009-03-05 07:50:53 +00:00
Daniel Applebaum
15e5cb4eaf Provides the ability to move and copy messages between folders. Issue
3.

Each remote Store (IMAP, POP3, WebDAV) can provide indications to the
higher level classes as to whether copy and move are implemented.
Currently, copy and move are only provided by ImapStore.java.  When
the facilities are not available, the user interface suppresses the
menu options.

The available destination folders can be configured using folder
classes.

Copy results in null message bodies in the destination copy of the
message until the next sync.  This is a problem that occurred with
deletes previously, and is likely a fault with the copyMessages method
of LocalStore.java.

Utilizes a modified version of the ChooseFolder.java Activity that
debuachedsloth contributed in a patch attached to Issue 285 on 16 Feb
2008.
2009-03-05 07:32:45 +00:00
Bao-Long Nguyen-Trong
db426c44b7 . Applied patch from dumbfile which fixes issue 307 and issue 265 related to date format when running on a device with a non US locale 2009-03-04 19:49:39 +00:00
Daniel Applebaum
73d5e16178 Fix for problem with r386 found by kanisdragon. 2009-03-02 00:47:27 +00:00
Daniel Applebaum
19c93d1816 Issue 10
All messages in all folders that were sent from the email address
associated with the account display the recipient, preceeded by To:,
instead of the sender.
2009-02-28 17:40:39 +00:00
Matthew Brace
91573e19ac Fix for null pointer exception when there is an exception thrown and the caught in processRequest without properly terminating checks (ie, during the recursive calls, resulting in a null data set being returned). 2009-02-26 06:56:30 +00:00
Daniel Applebaum
6f8a243bcc Issue 318
When performing a database upgrade, clear all cached attachments and
attachment thumbnails
2009-02-25 03:35:25 +00:00
Daniel Applebaum
2615d70a1d Issue 321
Add null checks around more uses of mMessage
2009-02-25 02:32:20 +00:00
Daniel Applebaum
99553cbcab Redo of r382 (I'm so fickle) 2009-02-25 02:15:12 +00:00
Daniel Applebaum
59dd2bd06e Undo r382 2009-02-25 02:09:02 +00:00
Daniel Applebaum
9df60b9a31 Issue 308 2009-02-25 02:02:09 +00:00
Daniel Applebaum
2d31b4e52d Issue 179 and Issue 320
Puts quotes around username and password for IMAP authentication.

Also, if authentication fails, closes the connection so that it will
be retried.  Otherwise, there is no way to fix the problem, say, by
changing the password in the Incoming Settings.
2009-02-25 01:50:20 +00:00
Daniel Applebaum
0e9d1f195e Issue 319
Do not reset all folder settings when a database upgrade occurs. (Or
any other event that wipes all of the local folders.
2009-02-24 05:03:28 +00:00
Matthew Brace
acea3ab3b5 Pull destination url from OWA login page. Order of priority for destination is: User specified mailbox path, destination form value on OWA login page, "/" character. 2009-02-19 04:35:15 +00:00
Jesse Vincent
7cd031e8ad 0.100 2009-02-16 01:38:01 +00:00
Bradley Young
16252e4ad4 Removed @Override flag from compareTo method, since it isn't in the superclass. 2009-02-15 16:30:37 +00:00
Matthew Brace
7e492a0505 Prevent needlessly downloading every message > 5K the first time it's opened (affected POP3 and WebDav) 2009-02-12 22:59:02 +00:00
Daniel Applebaum
0bf5dcf95b Required for r371 2009-02-12 21:49:20 +00:00
Bradley Young
61aba8fa78 Changed host from static to instance. Should help to prevent conflicts with multiple accounts. 2009-02-11 21:07:25 +00:00
Daniel Applebaum
ca9d220a52 Issue 262
ConcurrentHashMap seems to serialize as a HashMap.  Not sure why or
how.

This change has re-enabled the saving of the unread counts during an
orientation change, giving somewhat fast response.  If it fails again,
just comment out the block of code.
2009-02-10 04:11:34 +00:00
Daniel Applebaum
3e4843e756 Issue 131
Provide two options for each Account:
Compact (which VACUUMs the accounts and prunes recreatable
attachments)

Clear all data (danger!) (which wipes all messages and attachments in
the account, except placeholder deleted messages)

Displays a Toast when the Compact or Clear is queued, and another
Toast with the shrinkage results.

(Also, a small change to increase probability of seeing messages after
a sync, by setting the needsRefresh on all folders when a sync is done.)
2009-02-10 03:18:42 +00:00
Matthew Brace
8c466c35ba Add proper handling for relative paths from initial login page for WebDav. Provides support for Exchange 2007. 2009-02-09 06:48:57 +00:00
Matthew Brace
da46773f74 Fix potential index issues when less than 10 emails are in the folder when fetching messages in WebDavStore. 2009-02-09 01:50:31 +00:00
Daniel Applebaum
7a5b4d27e1 Changed terminology from Thread to Sort. Added sorting on sender,
flag, unread and attachments.

Really, really, needs better icons.
2009-02-07 19:41:33 +00:00
Daniel Applebaum
cd386b17b3 Didn't mean to undo Bao-Long's change 2009-02-07 19:36:30 +00:00
Daniel Applebaum
c0b3c9dafa Disable restoring unread message counts on Accounts page after
orientation change (onResume) until I figure out the
ClassCastException

Will slow down display of unread message counts, but they will show up
after a slight delay.
2009-02-07 03:11:58 +00:00
Daniel Applebaum
98ff7af644 Just can't believe the prior code was right. Possible fix for Issue 234. 2009-02-06 20:11:36 +00:00
Daniel Applebaum
465172f1c7 Fix threading in Accounts main screen. Move all UI updates to UI
thread.  

Push unread message counting into the background.

Should increase startup performance and reduce black-screens-of-death
that some Market "commentators" report.

Also, updates the per-account unread message count when email account
is finished synchronizing.
2009-02-06 04:28:29 +00:00
Daniel Applebaum
8fd9c4e77c Get rid of suppression logging 2009-02-04 04:56:11 +00:00
Jesse Vincent
1a6c2f10fb 0.99 2009-02-04 03:29:05 +00:00
Bao-Long Nguyen-Trong
c78db1c327 . Automatically open inbox folder when opening an account 2009-02-01 07:22:26 +00:00
Bao-Long Nguyen-Trong
8721b64e66 . Nofifications are not cancelled anymore when viewing account screen 2009-02-01 07:21:30 +00:00
Bao-Long Nguyen-Trong
f4c8f88251 . Now displays the number of new messages on the new email notification icon 2009-02-01 07:20:49 +00:00
Bao-Long Nguyen-Trong
41dc1ca8d8 Now display a new email notification per account. Each notification now opens the account (does not go to the Accounts screen anymore)
Note: Notifications are displayed after all accounts are sync'ed but are delayed to be 1sec. apart
TODO: Display notifications at the end of each individual sync
2009-02-01 07:19:08 +00:00
Daniel Applebaum
3dfabbbd0c Provide folder threading support. When threading is on, messages in
folders are sorted first by subject, then by date.  Subject sorting is
case insensitive and disregards leading re:, fw: and fwd: prefixes.

Threading can be toggled via the T hotkey or the option menu.

The icons could use improvement.

Threading state is maintained during a run of K-9, among all
accounts.
2009-02-01 00:08:14 +00:00
Matthew Brace
f184350aec Fix for index out of bounds exception (regression) from r330 2009-01-31 22:09:16 +00:00
Jesse Vincent
7ac3fe2ebe 0.98 2009-01-29 16:44:27 +00:00
Daniel Applebaum
fe2dfb76d0 Refactor suppression of deleted messages into MessagingController.
Re-enable instant deletes in MessageView

Deleted message suppression should be generalized into a flag cache,
serving Seen, Flagged, and Answered flags, as well.

Copy message to Trash still needs work, so that no duplicates are ever
visible and server-sync is more clean.  This will be especially
important, as the same code will be needed for the future "message
copy/move" facility.
2009-01-29 13:35:43 +00:00
Jesse Vincent
9fe3656391 0.97 2009-01-28 19:02:48 +00:00
Matthew Brace
0a6bc9bdd4 Changed authentication method. Added support for authentication if the server returns a 401 status code. No longer requires form based authentication. 2009-01-27 05:39:41 +00:00
Daniel Applebaum
1bd3f31b95 Attempt to fix Issue 192; making deleted messages stay deleted. 2009-01-27 03:13:54 +00:00
Jesse Vincent
5517d3c2a4 marker for 0.96 2009-01-26 20:09:20 +00:00
Matthew Brace
de24b6a166 Added support for optional Form Based Authentication login path and user mailbox path in account settings. 2009-01-25 07:37:10 +00:00