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

3860 Commits

Author SHA1 Message Date
cketti
efd1c5b4a9 PullToRefresh: use setMode() to restore mode in onRestoreInstanceState()
When restoring a mode != DISABLED with the current mode being DISABLED
the header and/or footer layout weren't added to the view. That's why we
now call setMode() instead of setting mMode directly.
2012-12-14 12:01:25 +01:00
cketti
bcd52a6707 Fetch in-reply-to header when downloading envelope on IMAP accounts 2012-12-13 17:03:35 +01:00
cketti
9d66a5e3ba Remove (now redundant) background from layouts to reduce overdraw 2012-12-13 07:28:35 +01:00
cketti
b426cd847c Use entirely black background in dark theme (not the default gradient) 2012-12-13 07:28:35 +01:00
Jesse Vincent
2fd047a406 Bumped manifest to 4.317 2012-12-11 20:46:24 -05:00
Francis Devereux
c1efeb135c Ignore IntelliJ IDEA .iws files (they are user-specific) 2012-12-11 12:35:41 -08:00
cketti
c78ec01962 Allow removing the empty view of the pull-to-refresh container 2012-12-10 23:36:11 +01:00
cketti
bc2f099c3c Fix pull-to-refresh
- disable pull-to-refresh while showing the "Loading..." view
- move initialization code from onResume() to initializePullToRefresh()
and call it from onCreateView()
2012-12-10 23:21:00 +01:00
cketti
44348e08a4 Create non-existent IMAP folders when copying/moving messages 2012-12-10 21:42:57 +01:00
cketti
edd2a44201 Don't display negative unread count in message list 2012-12-10 20:06:18 +01:00
cketti
7db33ce8c6 Ignore null-rows in results of SQL queries 2012-12-10 17:34:48 +01:00
cketti
ba691612dd Add support for "Unified Inbox" and "All messages" to unread widget 2012-12-08 18:15:34 +01:00
cketti
cc3580c675 Remember across activity restarts whether remote search was performed 2012-12-08 17:29:05 +01:00
cketti
e5d8e1965e Restore call to remoteSearchFinished() when stopping MessageListFragment 2012-12-08 17:28:46 +01:00
cketti
19a1549d52 Remove unused code 2012-12-08 17:11:17 +01:00
cketti
36a17eae91 Retain selected messages when restarting MessageListFragment 2012-12-08 17:06:15 +01:00
cketti
99ae73ebb9 Remove the setting to hide the refile buttons
With the introduction of the action bar there is no longer a separate
button bar for refile actions. So it's no longer necessary to hide the
buttons to save screen space.
2012-12-08 11:51:10 +01:00
Andrew Chen
d121a68baa Merge pull request #215 from igavio/patch-8
Update res/values-el/strings.xml
2012-12-07 16:47:57 -08:00
cketti
8d652b2f61 Fix some compiler warnings 2012-12-07 15:50:55 +01:00
cketti
7b49f67c51 Remove unused methods 2012-12-07 15:47:15 +01:00
cketti
bc4fb530d0 Remove all code using the old unread/flagged count database columns 2012-12-07 15:45:36 +01:00
cketti
04ec2abd2c Use local unread/flagged count in folder list and message list 2012-12-07 15:04:53 +01:00
cketti
41d608f3be Refresh action bar title in FolderList when unread count was calculated 2012-12-07 14:25:30 +01:00
cketti
cf390861d6 Use constant "UUID" for search accounts
This way we can match the account stats to the search accounts when the
Accounts activity is restarted.
2012-12-07 14:06:03 +01:00
igavio
5ac8d4e5db Update res/values-el/strings.xml
Translation of 4 new strings
2012-12-07 14:48:15 +02:00
cketti
4ccb1c952a Set action bar title for Accounts activity in onCreate() 2012-12-07 13:43:42 +01:00
cketti
144884080d Retain unread count in Accounts activity during configuration changes 2012-12-07 13:35:49 +01:00
cketti
8100e00523 Remove leading space in action bar title of Accounts activity 2012-12-07 13:08:01 +01:00
cketti
d3e840a9ee Only list messages in searchable folders under "All messages" 2012-12-07 12:55:32 +01:00
cketti
251428e963 Restore behavior of unread/flagged filtered message list
The unread/flagged count/view for accounts now excludes special folders
and only includes displayable folders as specified by the display class.
2012-12-07 12:03:04 +01:00
cketti
73757af680 Only count local messages for unread/flagged count
Currently only the Accounts activity uses the new count.

While working on this I realized that the unread/flagged search for
accounts currently looks for unread/flagged messages in all folders, not
all displayable folders without special folders (Trash, Spam, Outbox,
Sent, Drafts) like we used to.
Also, the "All messages" search currently doesn't limit the search to
searchable folders like it is supposed to.
2012-12-07 05:34:44 +01:00
Andrew Chen
9a380c69ad Strip RE/FW from the MessageList subject line for thread subjects.
"Be like Outlook."
2012-12-06 17:41:39 -08:00
Andrew Chen
c81f68af33 Remove the progress spinner when not in use so that the "Load more..." text is centered. 2012-12-06 17:25:56 -08:00
cketti
9a16ecce3d Merge pull request #214 from jacky672/patch-1
Update res/values-fr/strings.xml
2012-12-06 13:13:02 -08:00
cketti
b4bd80baa2 Fix "up" logic in MessageList
Fixes issue 4727
2012-12-06 06:26:39 +01:00
cketti
26b462a90e Refresh the list when returning to the message list activity 2012-12-06 06:26:39 +01:00
cketti
b04f1b4319 Add an "empty view" to the message list
This will display a spinning progress indicator while the message list
is loaded from the database.
2012-12-06 06:26:39 +01:00
cketti
d5bb462917 Don't create Message objects when changing flags of selected messages
This changes the interface to MessagingController and the way flags are
updated in the database. Now messages aren't changed one by one but in
batches of 500. This should give better performance, but breaks the
unread and flagged count. I'm not very sad about this, because now we
can move towards only displaying the number of unread/flagged messages
in the local database.
2012-12-06 06:26:38 +01:00
Jesse Vincent
2b98e1fa8d Bumped manifest to 4.316 2012-12-05 12:54:10 -05:00
Erkan
182b76d706 Update res/values-fr/strings.xml 2012-12-04 19:52:41 +01:00
cketti
c0b5255e24 Make most important flags separate database columns
This is the first step to speed up searches and flag updates.
2012-12-04 05:13:58 +01:00
cketti
d30cda26fb Fix database version cache logic 2012-12-04 04:55:52 +01:00
Andrew Chen
301c8549e0 Fix ru XML formatting. 2012-12-03 16:25:51 -08:00
Andrew Chen
2800ca3805 Merge pull request #212 from 0x2102/patch-4
Update res/values-ru/strings.xml
2012-12-03 15:43:23 -08:00
cketti
fcc9e37f66 Add file missing in last commit 2012-12-01 08:29:25 +01:00
cketti
b2098c8d1c Add activity that is displayed during database upgrades
See UpgradeDatabases.java for a detailed description of the upgrade
process.
2012-12-01 08:02:55 +01:00
Alexey
7410eb000c Update res/values-ru/strings.xml
The main part has been translated.
2012-11-28 12:34:32 +04:00
cketti
f67d543510 Remove unused imports 2012-11-27 17:22:58 +01:00
cketti
2db8034c31 Use one database transaction when doing bulk flag changes
Previously we used one transaction per message. For 500 messages the
database updates alone took over 30s on my Nexus 7.
2012-11-27 16:46:59 +01:00
cketti
3b022cd72f Remove excessive debug logging 2012-11-27 16:33:53 +01:00