1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-01 08:05:08 -04:00
Commit Graph

4383 Commits

Author SHA1 Message Date
m0viefreak
d85af1bfe0 reenable sorting by sender in messagelist
This was disabled in faa666394c
because it isn't possible to extract the name of the android
contact in the 'ORDER BY...' clause when querying the database.
Instead it simply sorts by the email address.

This may cause the same contact to appear multiple times in
the list, if they have multiple email addresses assigned.

But in most cases this is good enough and surely better than
not having the option to sort by sender at all.

Desktop mail clients such as Thunderbird also simply use the
sender email information when sorting the column.

This also adds a SenderComparator for usage in the MergeCursor.
2013-03-27 13:08:42 +01:00
cketti
2fc3909ec3 Fix NullPointerException 2013-03-22 19:51:58 +01:00
cketti
597e954798 Avoid NullPointerException (reported via Play Store) 2013-03-21 23:19:11 +01:00
cketti
9ea46cf03b Merge branch 'Issue_4019_pinch_zoom'
Conflicts:
	src/com/fsck/k9/view/MessageWebView.java
2013-03-19 21:09:23 +01:00
Jesse Vincent
d885482bbd Bumped manifest to 4.330 2013-03-19 13:36:32 -04:00
cketti
1d1429f37f Update changelog 2013-03-19 18:20:09 +01:00
cketti
d56896945d Merge branch 'fix_unread_widget' 2013-03-19 17:38:00 +01:00
cketti
04f7ba32ad Merge pull request #283 from kiike/i18n-catalan
Update Catalan translation
2013-03-19 08:46:55 -07:00
cketti
53f58d7e31 Merge pull request #284 from jkinnunen/UpdatedFinnishTranslation
Update Finnish translation
2013-03-19 08:37:05 -07:00
Jani Kinnunen
d0303a08ca Finnish translation updated 2013-03-19 08:14:17 +02:00
cketti
55ca846ced Avoid NullPointerException when message contains no subject 2013-03-19 03:08:18 +01:00
cketti
9118097dcb Avoid NullPointerException when decoding contact pictures 2013-03-19 02:59:05 +01:00
cketti
1c75590e7a Fix crash due to ambiguous column name in SORT clause 2013-03-19 02:32:47 +01:00
cketti
aff9bec92b Work around a bug in ListView 2013-03-18 22:56:56 +01:00
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
Enric Morales
27128e9cb5 Minor correction in the notifications section 2013-03-18 12:02:08 +01:00
cketti
6b6f73dfd3 Change appearance of unread widget
* New icon
* Fix 2x2 bug on Nexus 4
* Add preview image
2013-03-16 01:57:21 +01:00
Enric Morales
7a736362e4 Paperera made distinguishing from Spam and Trash folders 2013-03-15 23:19:21 +01:00
Enric Morales
953fc8dff9 Fixed some errors (comment tags) 2013-03-15 21:51:01 +01:00
Enric Morales
5e5b81e2a8 Extra whitespace at the beginning.
An extra space slipped in the beginning of the file.
2013-03-15 21:06:54 +01:00
Enric Morales
85f662a5c6 Updated translations for Catalan. 2013-03-15 21:01:36 +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
Andrew Chen
a6bad91f32 Merge pull request #282 from janekx/master
Change of the word meaning
2013-03-14 14:50:36 -07:00
Jesse Vincent
7defa122f8 Remove "Last" from the text of the "Refreshed" string 2013-03-14 12:01:57 -04:00
Jan Urbánek
6a831cd83d meaning tuning 2013-03-14 16:46:35 +01:00
Jesse Vincent
1ccd9d70ec Bumped manifest to 4.329 2013-03-13 22:59:56 -04:00
cketti
520801f03d Update changelog 2013-03-14 03:49:13 +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
31801a2be6 Fix a number of lint warnings by marking list value arrays as
untranslatable.
2013-03-13 11:23:22 +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
d09519cb67 Merge pull request #276 from Uni-/master
Update Korean translation
2013-03-09 21:43:32 -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
e118917090 Use theme-specific image for 'add contact' button 2013-03-08 18:00:41 +01:00
cketti
0c16b8cec8 Change style for button bar in setup (Android 3+)
Use the button bar layout from Roman Nurik's WizardPager example:
https://code.google.com/p/romannurik-code/source/browse/misc/wizardpager
2013-03-08 03:17:22 +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