cketti
94b5758eea
Use cache when marking message as read on view
2013-03-18 17:53:18 +01:00
cketti
a364d6262d
Fix cache cleanup
2013-03-18 17:44:33 +01:00
Danny Baumann
538b81b6ec
Make notification task back stack consistent to activity flow.
...
Fixes #4956 .
2013-03-15 13:25:25 +01:00
Danny Baumann
195686cbd6
Fix NPE when clicking on a notification with >= 2 messages on SDK < 16.
...
Seemingly the intents in the task back stack got confused when the
pending intent was updated in those versions (the Accounts intent was
delivered to MessageList). Avoid that by not updating the current
intent, but dropping the old one.
Fixes issue #4955 .
2013-03-15 12:48:04 +01:00
cketti
b4c599d514
Merge pull request #281 from k9mail/fix_webview_autoscroll
...
Hack around WebView's initial auto-scrolling past the message header
2013-03-13 19:22:05 -07:00
cketti
a3802a7a8e
Only Jelly Bean seems to have the auto-scroll issue
2013-03-14 03:19:42 +01:00
Danny Baumann
3ff522c9c4
Include a full activity back stack when building notification intents.
2013-03-13 11:03:51 +01:00
Danny Baumann
d523caa61b
Also clear back stack when a new intent arrives.
...
This should make sure there aren't any old fragment instances in that
case.
2013-03-13 11:03:51 +01:00
cketti
a619a9df93
Hide delete policy "Mark as read on server" for POP3 accounts
2013-03-13 06:34:14 +01:00
cketti
8dcc769c50
Hack around WebView's initial auto-scrolling past the message header
2013-03-12 07:54:38 +01:00
cketti
625c5f1874
Fix "Empty trash" functionality for POP3 accounts
...
Previously messages in the local Trash folder were marked as deleted,
then deleted from the server. During the next sync the placeholders for
deleted messages are removed from the database.
Obviously this doesn't work for POP3 accounts because the Trash folder
can't be synchronized with the server. So, for POP3, we now immediately
clear out all messages in that folder.
2013-03-10 21:45:36 +01:00
cketti
0319ee4a5d
Move KOI8-U -> KOI8-R fixup to charset fall-back table
2013-03-10 09:55:25 +01:00
cketti
4b42d0e062
Code cleanup
2013-03-10 09:39:03 +01:00
eagan
c5802ed8ef
Java5 style 'for'
2013-03-10 09:25:28 +01:00
eagan
a5f4ddae91
Enhancement for charset fallback.
...
Fallback rule is defined in CHARSET_FALLBACK_MAP.
Multi-level fallback is supported.
2013-03-10 09:25:13 +01:00
cketti
337487e2ae
Merge pull request #211 from colund/master
...
Close stream in case of an exception
2013-03-10 00:11:53 -08:00
cketti
aea95b1493
Disable server side full text search for the moment
...
The server search itself does work. But the results are not displayed
to the user because only the message headers of found messages are
downloaded and the subsequent search in the local database won't return
those messages.
2013-03-10 03:00:16 +01:00
cketti
658b5dbff6
Fix and vastly simplify the query for the threaded message list
...
This requires another database schema change. With this change messages
at the root of a thread reference themselves in the 'threads' table,
i.e. 'root' contains the value of 'id' for these messages. It makes
selecting all messages in a thread much simpler.
2013-03-08 01:15:26 +01:00
cketti
6b3a3f7ee0
Fix message list item background color
2013-03-07 00:11:05 +01:00
Danny Baumann
ae28b1aa38
Center folders without status (e.g. outbox) in folder list again.
2013-03-06 10:30:23 +01:00
cketti
f990e6f032
Fix indentation and code style
2013-03-06 07:53:39 +01:00
Uni-
323159ef97
Fix error duplicating false accounts when adding an account
2013-03-06 07:52:32 +01:00
cketti
4202ffe57d
Merge branch 'improve_import'
2013-03-06 07:49:53 +01:00
cketti
7ff0da0b52
Refactor code to start Accounts activity to import settings
2013-03-06 06:26:04 +01:00
cketti
dc8cb3ba17
Fix indentation/code style
2013-03-06 06:16:07 +01:00
Uni-
4f5ab86be3
Add settings import on Welcome
2013-03-05 16:31:45 +09:00
Uni-
91a32e9c92
Fix NPE on isAccountNameUsed
2013-03-05 16:29:03 +09:00
cketti
754c0f2b93
Don't load resources when activity is not attached
2013-03-05 04:18:54 +01:00
cketti
c07f94e877
Fix NPE when moving a message from Unified Inbox (multiple accounts)
2013-03-05 04:09:47 +01:00
cketti
fe02f0c44a
Avoid NPE reported via Play Store
2013-03-05 03:54:27 +01:00
cketti
df8ea306b8
Avoid NPE
2013-03-05 03:35:09 +01:00
cketti
e77c341542
Avoid NPE reported via Play Store
2013-03-05 03:31:18 +01:00
cketti
5270ebd629
Avoid NPE
2013-03-05 03:26:09 +01:00
cketti
41244ef448
Don't finish() MessageList when forwarding or replying to a message
2013-03-04 21:19:08 +01:00
cketti
78dc5e5194
Use different background for selected messages in message list
2013-03-03 22:52:03 +01:00
cketti
04e1bf6976
Restore code to remember the last direction messages were displayed in
2013-03-01 22:38:09 +01:00
cketti
207e2a1e56
Notification icon update
...
Android 2.2: use old icon
Android 2.3: new icon, (try to) follow icon guidelines for 2.3
Android 3.0+: new icon, follow guidelines for 3.0+
See http://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar.html
2013-02-26 20:34:52 +01:00
cketti
556503318c
Rework code for predefinied account colors
2013-02-26 18:29:12 +01:00
dzan
f7bef247f5
Fix setChipColor call.
2013-02-26 09:42:49 +01:00
dzan
6735592204
Add a series of predefined account colors and pick those if any remain before generating complete random one.
2013-02-25 14:34:53 +01:00
cketti
eed64a37f8
Remove unused batch button settings
2013-02-22 23:40:42 +01:00
cketti
906163b538
Use correct string for notification title
2013-02-21 05:42:04 +01:00
cketti
d6d9effbec
Remove unused stuff
2013-02-21 02:00:12 +01:00
cketti
92c21ece6d
Fix showing unread count in pre-Honeycomb notifications
...
Fixes issue 4904
2013-02-20 23:55:46 +01:00
cketti
fdfaf03b7a
Fix dialog message when deleting multiple messages from a notification
2013-02-19 05:38:48 +01:00
cketti
3379fdb573
Merge pull request #266 from m0vie/npe-fix
...
message view / list: fix NPE when list is empty
2013-02-18 20:33:25 -08:00
cketti
1a034d3e59
Merge pull request #265 from jca02266/master
...
If there is no message, it should return to a MessageList.
2013-02-18 20:32:16 -08:00
cketti
50fcff76fd
Add a caching layer to EmailProvider
...
Database updates can be surprisingly slow. This lead to slow updates of
the user interface which in turn made working with K-9 Mail not as fun
as it should be. This commit hopefully changes that.
2013-02-19 04:45:14 +01:00
m0viefreak
dd5d8561cd
message view / list: fix NPE when list is empty
...
This happened for example in a starred-message-only view when
un-starting the last message. This led to isFirst() and isLast()
causing a NullPointerException when trying to update the
previous / next buttons.
2013-02-18 19:02:22 +01:00
Koji Arai
7da4c7cc1b
Avoid IndexOutOfRangeException.
...
If there is no next message, it should return to a MessageList.
2013-02-19 02:06:36 +09:00