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

132 Commits

Author SHA1 Message Date
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
Jesse Vincent
297e859b90 Revert "Add context action bar on FolderList activity." - We are not ready for this
sort of future yet ;)

This reverts commit a5b8ce8064.

Conflicts:
	res/drawable-hdpi/ic_action_read_light.png
	res/drawable-ldpi/ic_action_read_light.png
	res/drawable-mdpi/ic_action_read_light.png
	res/drawable-xhdpi/ic_action_read_light.png
	res/menu/folder_context.xml
2012-09-10 07:41:37 -04:00
Jesse Vincent
20e3335bc1 Remove "flag" as a meessage view menu option (duplicates tapping on the star) 2012-09-09 13:45:34 -07:00
Jesse Vincent
87e437b388 Move "move" and "copy" out of a submenu 2012-09-09 13:45:33 -07:00
Sander Bogaert
20b155ec8b Add icons for the dark theme and make them active. 2012-09-09 13:45:32 -07:00
Jesse Vincent
8314b65e72 cleanup; actually use the newly extracted icons 2012-09-09 13:39:14 -07:00
Jesse Vincent
f80318d98a More extracting of icons 2012-09-09 13:39:14 -07:00
Jesse Vincent
9fe0a299d1 Initial example of theme-specific icons. 2012-09-09 13:39:13 -07:00
Sander Bogaert
a5b8ce8064 Add context action bar on FolderList activity. 2012-09-09 13:39:11 -07:00
Sander Bogaert
0f51eb54c1 Context actionbar for the account screen. 2012-09-09 13:37:13 -07:00
Sander Bogaert
85b8f2df8c Move 'share' to message options in the MessageView. 2012-09-09 13:24:27 -07:00
Sander Bogaert
13dc96eca9 Have the cc/bbc and attachment action on top with nice icons. 2012-09-09 13:13:43 -07:00
Sander Bogaert
cfc12ba8f2 Changed order of actions on the bar as suggested. Compose on the right now. 2012-09-09 13:13:42 -07:00
Sander Bogaert
c31c8923c2 Add an actionbar to the MessageView activity. 2012-09-09 13:13:40 -07:00
Sander Bogaert
7a035a73b0 Moved context actionbar options around a bit to make more sense. 2012-09-09 13:13:40 -07:00
Sander Bogaert
592aeb0b03 Add forward, reply, reply all, same sender back in the MessageList context actionbar. 2012-09-09 13:13:39 -07:00
Sander Bogaert
6daa8a3c0c Add refresh to actionbar for Accounts activity. 2012-09-08 22:26:31 -07:00
Sander Bogaert
0b89cdd0fc Add send button to compose activity and use new icon for it. 2012-09-08 22:23:39 -07:00
Sander Bogaert
f0eafdf143 Make folderlist use new icons. 2012-09-08 22:21:12 -07:00
Sander Bogaert
2e530be2c8 Have a compose on the accounts screen. 2012-09-08 22:21:12 -07:00
Sander Bogaert
7c9a6b8592 Always show search button on actionbar of Accounts activity. 2012-09-08 22:21:11 -07:00