1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 21:45:14 -05:00
Commit Graph

152 Commits

Author SHA1 Message Date
cketti
a32068f6cd Remove icons from the "Refile" submenu
We don't show icons in any other submenu.
2013-08-29 21:13:28 +02:00
cketti
fc14eff097 Add icon for the copy action 2013-08-29 20:54:36 +02:00
Leon Handreke
22639a7361 Make actions shown in message view menu configurable
Fixes #5850.
2013-08-24 19:26:06 +01:00
Jesse Vincent
99e354bc9f Add back select/deselect action to return it to the context menu where users keep looking 2013-08-22 20:56:56 -04:00
Jesse Vincent
375d62fb7d Add an actionbar item for "add account" to the account list (if there's room)
This should be backported to 4.4
2013-07-30 21:32:35 -04:00
Jesse Vincent
c72fc3b190 Revert "lift the 'share' menu item for messages out of the 'send' menu to make it discoverable"
(There's something funny going on with the menu item hiding code

This reverts commit 71bec832c0.
2013-07-17 22:11:08 -04:00
Jesse Vincent
71bec832c0 lift the 'share' menu item for messages out of the 'send' menu to make it discoverable 2013-07-17 21:38:55 -04:00
Jesse Vincent
0a029561d1 Back, by popular demand, an empty trash button in the accounts context menu 2013-06-30 18:54:27 -04:00
Jesse Vincent
4baaafcd88 Add a "Folders" menu item back to the message list to ease nav discoverability 2013-06-30 18:54:13 -04:00
cketti
08e249a2e9 Remove submenu from the account context menu
There seems to be a bug in Android that makes submenus inaccessible on
some devices, e.g. the Samsung Galaxy S2.
https://code.google.com/p/android/issues/detail?id=53239
2013-06-13 02:48:01 +02:00
cketti
c7024af9a1 Merge branch 'message-list-sender-sorting' 2013-04-26 02:39:48 +02:00
cketti
0c5bdf2c97 Add "Mark all as read" action to message list 2013-04-02 19:17:58 +02:00
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
Jesse Vincent
d92a30f807 Experimental change to move most of our refile buttons into a refile submenu. Specifically to elicit feedback. I don't expect this change to stick around in its current form. But I do want to get a sense of whether it's something that makes people happy or angry 2013-02-11 15:28:53 -05:00
cketti
cf988cad7e Use new holo-themed icons when possible 2013-02-10 01:16:46 +01:00
cketti
cb15975dab Remove ugly (placeholder?) icons 2013-02-10 01:16:45 +01:00
Jesse Vincent
7714bc3cfa Move "show all headers" into the menu (and out of the UI) 2013-02-07 15:27:22 -05:00
Danny Baumann
5c779f05ab Swap previous and next buttons in MessageViewFragment.
Makes sure to keep behaviour consistent with previous versions.
2013-02-05 16:11:49 +01:00
m0viefreak
2c87efe5f3 Put back prev/next buttons to non-split message views for now.
Some people prefer them over swiping / volume keys.

They could probably be made optional so they can be hidden.

Also: delete the now unused message_view_fragment.xml and message_view_option.xml.
2013-02-04 19:26:04 +01:00
cketti
ad2a6d7a9b Add message view menu items to MessageList 2013-01-29 01:19:53 +01:00
Joe Steele
ad16bf94cd Provide message search capability from the folder list.
The search is performed in all folders for the account
to which the folders belong.
2013-01-13 22:35:59 -05:00
Joe Steele
fa857f7d09 Switch to using the action bar for folder searches.
Eliminate the old-style search dialog box.  A similar change
was previously made when searching from the folder list.  This
change is applicable when searching while choosing a
folder (e.g. a destination folder for a copy operation).
2013-01-10 17:41:15 -05:00
Joe Steele
d7cb89880a Switch to using the action bar for folder searches.
Eliminate the old-style search dialog box.
2013-01-10 17:41:13 -05:00
Joe Steele
1ea9502844 Provide new action bar "find folder" icons 2013-01-10 16:49:18 -05:00
Joe Steele
11ce4fc6ea Create action buttons to search for folders. 2013-01-10 16:49:17 -05:00
Danny Baumann
a75947dd87 Add back account settings to account context menu. 2013-01-10 10:00:37 +01:00
Danny Baumann
4b4412b666 Add back 'refresh' and 'settings' to folder context menu.
Both items are commonly used even by the average user (and likely both
are used more commonly than 'clear local messages'), so it makes
sense to provide them in the context menu as well as the action bar.
2013-01-08 13:12:47 +01:00
Jesse Vincent
212a331313 reorder folder list menu to emphasize useful things a bit more 2012-11-24 14:42:21 -05:00
cketti
d209c0cce3 Merge branch 'master' into content_provider
Conflicts:
	src/com/fsck/k9/activity/MessageList.java
	src/com/fsck/k9/fragment/MessageListFragment.java
2012-11-05 04:52:45 +01:00
Jesse Vincent
21c5ab5d14 Reorder the accounts menu for consistency with the message list menu 2012-10-30 12:49:37 -04:00
Joe Steele
f70d835404 Provide menu option to search messages.
Recent phones frequently do not have a hardware search key, so
there is no way to initiate a search without a menu option.

Related to issues 3386, 3428, 4523, and 4643.
2012-10-30 12:42:51 -04:00
cketti
faa666394c Do sorting in MergeCursor when merging the query results
Disabled "sort by sender" for now because the database can't sort by
contact names from the contacts database. We probably have to
special-case that and do in-memory sorting.
2012-10-27 02:15:30 +02:00
cketti
bbcc4988ba Converted message view to a fragment
The fragment should be fully functional. The only thing missing is the
animation when showing the next/previous message.
2012-10-05 18:14:07 +02:00
Andrew Chen
39e2a973a1 Merge branch 'imapsearch'
* imapsearch:
  Change settings version to 18 to match what's currrently on master.
  Handle aborted imap searches by nuking in-progress connections.
  Move IMAP search into the Folder level.
  Remove duplicate notification on remote search start.
  Rename variables
  changed PREFERENCE_CLOUD_SEARCH_ENABLED from "cloud_search_enabled" to "remote_search_enabled" in activity/setup/AccountSettings.java to resolve FC.
  Add cloud search icon to local search result screen. Implement pull-to-remote-search.
  Log remote search exceptions in addition to toasting them.
  Add settings export for remote search settings.
  Whitespace; no functional changes.
  Handle implicit vs. explicit searches in ActionBar home button behavior.
  Whitespace fix; no functional changes.
  Add remote search actionbar icons.
  IMAP Search: log exceptions on remote search, properly dispatch MessageList changes.
  modified loadMessageForView() to dowload message if neither X_DOWNLOADED_FULL nor X_DOWNLOADED_PARTIAL.
  Add remote IMAP search support.

Conflicts:
	res/menu/message_list_option.xml
	res/values/attrs.xml
	res/values/themes.xml
	src/com/fsck/k9/activity/MessageList.java
	src/com/fsck/k9/preferences/Settings.java
2012-09-25 16:01:52 -07:00
Andrew Chen
360b3f1be8 Add cloud search icon to local search result screen. Implement pull-to-remote-search. 2012-09-22 09:40:46 -07:00
m0viefreak
728d672627 swap 'compose' and 'check mail' buttons in message lists
now account list, folder list, and message list are consistent
2012-09-18 22:23:20 +02:00
cketti
7bb11c09b2 Display concrete action instead of "Toggle (un)read" & "(Un)star" 2012-09-18 03:33:37 +02:00
Bernhard Redl
76d8e11703 +toggle option in message view to change message display theme (dark,light) permanently (Issue 1674) 2012-09-14 03:16:36 +02:00
cketti
0878de5936 Go back to the old behavior for batch mark as (un)read, (un)flag
If there is at least one unread message among the selected messages the
action is "mark as read". Otherwise, "mark as unread".
If there is at least one unstarred message among the selected messages
the action is "add star". Otherwise, "remove star".
2012-09-14 00:34:25 +02:00
Jesse Vincent
3a68360e30 remove lots of duplicate menu ui, particularly cutting down on context menu stuff. 2012-09-12 23:30:27 -07:00
Jesse Vincent
5d4a2132d8 Remove "mark all as read" from the UI. (leaving the backend support for now)
User-facing "select all, mark as read" is slightly different but less confusing and cluttered than the duplicated option
2012-09-12 23:30:27 -07:00
cketti
d9fad383eb Added "select all" to action mode menu 2012-09-13 06:46:32 +02:00
Jesse Vincent
7b40e5b14a remove single message items from the Action bar 2012-09-12 20:47:24 -04:00
Jesse Vincent
be1e376094 add a menu for message list item menus 2012-09-12 20:45:30 -04:00
Jesse Vincent
8d6b2c2290 move move and copy out of an extra level of submenu
move "more from this sender" out of the "reply" menu
2012-09-12 01:03:37 -04:00
cketti
047b5287b3 Got rid of icons in sub-menus 2012-09-10 16:48:55 +02:00
cketti
4f86e5ed3e Got rid of the "Advanced" submenu in the Folders activity 2012-09-10 16:48:55 +02:00
cketti
04796106f6 Made "Settings" the last menu item in each activity 2012-09-10 16:48:54 +02:00
cketti
078e5dd867 Formatting cleanup. No functional changes. 2012-09-10 16:48:54 +02:00
Jesse Vincent
46edd8f793 Revert "Context actionbar for the account screen."
We're not ready for this sort of living in the futre yet.

This reverts commit 0f51eb54c1.

Conflicts:
	res/drawable-hdpi/ic_action_settings_light.png
	res/drawable-ldpi/ic_action_settings_light.png
	res/drawable-mdpi/ic_action_settings_light.png
	res/drawable-xhdpi/ic_action_settings_light.png
	res/menu/accounts_context.xml
	res/values/strings.xml
	src/com/fsck/k9/activity/Accounts.java
2012-09-10 07:56:35 -04:00