Commit Graph

37 Commits

Author SHA1 Message Date
Jesse Vincent 54c7d93f78 Let IntelliJ optimize our import statements 2009-12-10 03:16:42 +00:00
Jesse Vincent 244bad1115 Cleaned up style drift using astyle 1.23
find  src/com/android/email/ -name \*.java|xargs astyle --style=ansi --mode=java  --indent-switches --indent=spaces=4 --convert-tabs --unpad=paren
2009-12-07 00:56:06 +00:00
Daniel Applebaum 3126298b46 Bulk delete for WebDAV 2009-11-29 18:33:42 +00:00
Daniel Applebaum f1abdbb769 Bulk flagging (read/unread, flag/unflag) implemented.
Message List batch ops wired to bulk flagging.

Manage batch button state when messages are deleted (from outside
agents) while in batch mode.

Remove throws clause from Folder.close() to make it easier to close
folders where necessary.

Eliminate some cruft from MessageList

Consolidate unreadMessageCount fetching in notifyAccount
2009-11-29 16:55:35 +00:00
Jesse Vincent 9cac2cd5b7 applied compromise code reformatting:
find  src/com/android/email/ -name \*java|xargs astyle --style=ansi \
    --mode=java  --indent-switches --indent=spaces=4 --convert-tabs \
    --unpad=paren
2009-11-25 00:40:29 +00:00
Jesse Vincent 35ab566f43 Cleanup of the LocalFolder perf optimization from last night. 2009-11-17 19:25:46 +00:00
Jesse Vincent c6b5a626bd Merge branch 'skip-deleted-in-sqlite'
* skip-deleted-in-sqlite:
  Create branch skip-deleted-in-sqlite
  First pass at doing our "don't show deleted messages in lists" filtering in SQL
2009-11-17 16:54:50 +00:00
Daniel Applebaum f14ecdd66e Fixes Issue 574 2009-11-15 15:19:39 +00:00
Daniel Applebaum f43b13446e Comment out intended comment. 2009-10-25 13:47:59 +00:00
Daniel Applebaum 75868b5aa4 Enhancements to WebDAV (Exchange) capabilities:
1) Automatically add / separators if not supplied by user.  Fixes
   Issue 290

2) Enable Move and Copy.

3) Enable setting a message to unread state.

4) Set authentication header for downloading and sending messages, so
   that those functions work with sites using Basic authentication.

5) Don't swallow log Exceptions.  Instead, allow Exceptions to
   percolate up to higher levels so that they can be logged into
   K9mail-errors.

6) Provide appendMessages function, so that Drafts get stored on the
   server.

7) Enable server-side message deletion, using user-selected Trash
   folder.
2009-10-25 02:58:26 +00:00
Jesse Vincent 718e27dab9 WebDavStore updates to fix authentication issues - based on design and counselling from ismarc31 2009-05-07 03:17:26 +00:00
Matthew Brace 1b5fdb99d9 Fix for authentication issue describe in issue 359. 2009-04-02 01:52:00 +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
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
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
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
Matthew Brace f184350aec Fix for index out of bounds exception (regression) from r330 2009-01-31 22:09:16 +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
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
Matthew Brace 483857ed74 A missed hardcoded value. This should resolve most 400 Bad Request issues. It is unknown if this affects the Invalid Verb responses. 2009-01-22 03:53:09 +00:00
Matthew Brace 1cda221fa3 Added support for Exchange path. This is not specifying the path for authentication or for the mailbox. This is support for situations like "https://www.myserver.com/owapath" for authentication. 2009-01-21 05:27:22 +00:00
Matthew Brace b50a782c1c New DataSet data model for XML parses from HTTP responses. Much less memory used for a negligible hit in processor usage. Some additional whitespace cleanup. 2009-01-18 02:43:15 +00:00
Matthew Brace 7d5d29e078 Added support for non-Exchange 2003 standard login paths (web scraping for login URL).
Added support for default mailbox path setting if we can't automatically determine what it is.
Fixed a bug exposed by changes relating to a fix for non-relative email paths being returned.
2009-01-08 05:47:10 +00:00
Bradley Young 2e4ee5b59f Fix for sending mail; additional logging when there is an invalid (non-http-2xx) response. 2009-01-06 01:31:57 +00:00
Bradley Young 8221094570 self-signed cert support for WebDav. 2009-01-05 00:05:43 +00:00
Bradley Young 73006c65a3 Disabling self-signed certs for webdav (not IMAP); they are currently causing issues. 2009-01-03 10:15:56 +00:00
Bradley Young 51b6a03f8c Added self-signed/mismatched domain handling for HTTP over SSL connections in WebDav. 2009-01-01 08:56:19 +00:00
Matthew Brace 72c4095ceb Finished initial refactoring of fetch(). Some slight formatting and cleanup changes as well. 2008-12-29 00:25:19 +00:00
Matthew Brace 34be0269f8 Added stubs for the added functions needed for the DAMail merge. Did not add @Override. Doing it this way to allow easier testing/modifications in preparation for the merge to trunk. All trunk changes will be committed to the DAMail merge branch next. 2008-12-26 06:52:07 +00:00
Matthew Brace 2dede98463 Refactored how the HTTP calls were to reduce the growing volume of duplicated code. 2008-12-26 06:47:00 +00:00
Matthew Brace 409acd0134 Added support for proper deletions in WebDAV. Deleting a message the first time moves it to the (currently hardcoded) Deleted Items. Deleting an item in 'Deleted Items' will remove it completely. 2008-12-25 08:38:55 +00:00
Matthew Brace 46d4619ffb Fix for date/time issues prior to fetch(BODY) or fetch(BODY_SANE) is called. 2008-12-25 01:08:34 +00:00
Matthew Brace dc7a1a0532 Fixed an issue where some Exchange servers wouldn't mark messages as read. Fixed incorrect URL encoding in some folder path names. Removed some unneccessary headers from the envelope request. 2008-12-24 03:09:37 +00:00
Matthew Brace 18c51bae5c Removed unneeded header fields from WebDav requests. Fix for some instances of subfolders not working. 2008-12-22 22:14:02 +00:00
Jesse Vincent 28e8827827 Even more progressive rename/unfork work 2008-12-16 23:34:01 +00:00
Jesse Vincent ac55d3034b oops 2008-12-16 23:09:23 +00:00