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

463 Commits

Author SHA1 Message Date
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
cac85a29d4 partially revert "Remove unused strings" - bring back our "stars" preference
This reverts commit 4e8c8e35de.

Conflicts:
	res/values-ca/strings.xml
	res/values-cs/strings.xml
	res/values-da/strings.xml
	res/values-de/strings.xml
	res/values-el/strings.xml
	res/values-es/strings.xml
	res/values-fi/strings.xml
	res/values-fr-rCA/strings.xml
	res/values-fr/strings.xml
	res/values-gl/strings.xml
	res/values-hu/strings.xml
	res/values-it/strings.xml
	res/values-iw/strings.xml
	res/values-ja/strings.xml
	res/values-ko/strings.xml
	res/values-nl/strings.xml
	res/values-pl/strings.xml
	res/values-pt-rBR/strings.xml
	res/values-ru/strings.xml
	res/values-sv/strings.xml
	res/values-tr/strings.xml
	res/values-uk/strings.xml
	res/values-zh-rCN/strings.xml
	res/values-zh-rTW/strings.xml
	res/values/strings.xml
2013-08-22 20:56:55 -04:00
cketti
20fcd6f63d Add setting to toggle colored background of fallback contact pictures 2013-08-16 18:43:00 +02:00
cketti
e6d6744f55 Rename string to better convey the meaning
notification_action_read -> notification_action_mark_as_read
2013-07-23 20:12:48 +02:00
Jesse Vincent
f494035e02 Update the invalid ssl warning string a bit 2013-07-21 08:26:30 -04:00
David Nahodyl
27bddd8dd3 Issue 1292 - Updated invalid certificate message to be a bit more user-friendly. 2013-07-21 08:24:52 -04:00
cketti
61bd371bc1 Rename "SSL" to "SSL/TLS" and "TLS" to "STARTTLS"
Fixes issue 5775
2013-07-18 20:02:54 +02:00
cketti
2a48ad2170 Remove preference summary attribute when empty string was used
This will display the preference title vertically centered. Some
translations still had text for the summary, so their preference title
might need to be changed to adjust for possible loss of information.
2013-07-09 23:18:10 +02:00
cketti
de1c56e557 Move another XML comment 2013-07-09 17:21:59 +02:00
cketti
01103238b8 Move comment so the sync_translation script won't copy it to the output 2013-07-09 17:21:49 +02:00
Jesse Vincent
2e74d28da9 Merge branch 'Issue_4503_auto-fit_messages_option' of https://github.com/zjw/k-9 into zjw-Issue_4503_auto-fit_messages_option
* 'Issue_4503_auto-fit_messages_option' of https://github.com/zjw/k-9:
  Revert "Don't show a disabled preference if there is nothing a user can do to enable it."
  Fix indentation
  Correct preference version number.
  Issue 4503: Auto-fit messages option
  Don't show a disabled preference if there is nothing a user can do to enable it.
2013-05-07 21:49:12 -04:00
cketti
c7024af9a1 Merge branch 'message-list-sender-sorting' 2013-04-26 02:39:48 +02:00
Vincent Untz
9da0d4416f Update message_compose_reply_header_fmt to have only one newline
The PREFIX quote style was using an empty line between the header and
the quote. But mail apps using this way of quoting style do not have an
empty line between the quote header and the quote.
2013-04-14 20:06:00 -07:00
David Miller
e63afa55d3 Make the label on the "mark read" action on Jelly Bean notifications less confusing 2013-04-06 13:29:39 -04:00
Joe Steele
d9979cb1a2 Issue 4503: Auto-fit messages option
Create a preference option to automatically shrink messages
to fit the screen width (default setting is "shrink").
2013-04-04 17:11:17 -04: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
7defa122f8 Remove "Last" from the text of the "Refreshed" string 2013-03-14 12:01:57 -04:00
cketti
1b442f5be8 Add placeholders for missing strings / remove unused strings 2013-02-21 05:36:55 +01:00
Danny Baumann
49d1bdbcb0 Improve last folder update time formatting. 2013-02-13 11:20:40 +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
Jesse Vincent
a0be890b4d iadd a slightly less-bad label for the reply/forward submenu 2013-02-11 15:20:54 -05:00
Danny Baumann
0fac8e999d Clean up date handling.
Remove home-grown date formatting, and replace it by usage of the
DateUtils class which is present since API level 3.
2013-02-11 15:19:15 +01:00
m0viefreak
865151fef8 merge date and time font size preference into one
The header changes merged those, so remove the now unneeded preferece, too.
2013-02-11 13:05:52 +01:00
Jesse Vincent
c4b941b9b9 Switch our font sizes to have a "default", which is the size described in the XML.
Unify the text field size setting code. We should put it in a better place
2013-02-10 19:02:17 -05:00
Erkan
0ccc8807a0 Update res/values/strings.xml 2013-02-09 17:53:37 +01:00
cketti
c27a5a8104 Add setting to toggle contact pictures 2013-02-08 15:37:28 +01:00
Danny Baumann
bd154c4c0f Allow changing the message composer theme (background and text color). 2013-02-08 15:24:02 +01:00
Danny Baumann
2ea0961006 Move message view theme setting from message view menu to global prefs
by default.

The message view theme isn't something the user is likely to change on a
regular basis, so we don't need to clutter the message view menu with
this setting. The menu item can still be enabled for those who want it.
2013-02-08 15:24:01 +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
5d1e42c453 Improve certificate failure notifications.
The commit that introduced those notifications also introduced a rather
... interesting design pattern: The CertificateValidationException
notified the user of its pure existance - it's no longer a 'message'
only, but defines policy. As this is more than unusual, replace this
pattern by the MessagingController treating
CertificateValidationException specially when accessing remote folders.

Also make clear which account failed when constructing the notification.
2013-02-02 13:04:41 +01:00
cketti
3cd1b13833 Update help text for hotkeys 2013-02-01 21:30:07 +01:00
cketti
9a4b674282 Extract string to strings.xml 2013-02-01 03:34:35 +01:00
cketti
c5b1e1d0e5 Add setting to configure the splitview mode 2013-01-24 20:30:07 +01:00
Jesse Vincent
0519e34b09 tweak some phrasing for brevity 2013-01-15 15:36:38 -05:00
Jesse Vincent
f8414ffe99 Merge remote-tracking branch 'zjw/folder_search'
* zjw/folder_search:
  Provide message search capability from the folder list.
  Eliminate unused code.
  Switch to using the action bar for folder searches.
  Use a more appropriate title when diplaying folder search results.
  Switch to using the action bar for folder searches.
  Provide new action bar "find folder" icons
  Create action buttons to search for folders.
  Readjust settings version number based on current master
  Control wrapping of folder names programmatically only
  Permit the folder list item to expand vertically.
  Create new preference option for wrapping folder names in folder list view.
  Issue 1911:  Permit folder names to wrap on multiple lines in folder list view so users can see the entire name.
2013-01-15 15:19:12 -05:00
Joe Steele
29f15d715d Fix Issue 2389: Self signed certificate expiry causes silent send/receive failure.
With this fix, a CertPathValidatorException or CertificateException will
create a "Certificate error:  Check your server settings" notification
in the status bar.  When the user clicks on the notification, they are
taken to the appropriate server settings screen where they can review their
settings and can accept a different server certificate.
2013-01-10 16:49:55 -05:00
Joe Steele
26fe9b7757 Create new preference option for wrapping folder names in folder list view.
Revert to using an ellipsized folder name as the default.
2013-01-10 16:42:23 -05:00
Danny Baumann
0bf3dddafc Add delete action to notification. 2013-01-04 10:40:48 +01:00
Danny Baumann
8cee3ee18d Add actions to notifications.
- If there's only a single message in the notification, add 'Reply' and
  'Read' (marks as read) buttons.
- If there's more than one message pending, add only 'Read'.
2013-01-02 14:17:20 +01:00
Danny Baumann
694a46c6c1 First stab at new notifications. 2013-01-02 14:11:07 +01:00
Andrew Chen
5188fc37e5 One-liner to clean up translations.
We shouldn't have to write the same one-liner over and over again.
2012-12-23 14:10:05 -08:00
Andrew Chen
e123d378f4 Add interaction_preferences back. Remove localization of other strings from d06e7728d7 2012-12-23 14:05:22 -08:00
Andrew Chen
d06e7728d7 Remove unused strings from c530a00e5b. 2012-12-18 16:27:28 -08:00
Andrew Chen
bcc29632e9 Disable Cryptography setup menu if APG isn't installed. 2012-12-18 16:18:00 -08:00
Andrew Chen
c530a00e5b Unify some Account Settings into General Settings and Reading Mail settings
Eliminate the "Interaction" account setting category, which only had one setting under it.
2012-12-18 16:06:13 -08:00
cketti
caa26311f1 Use HTML to format welcome message / make URL clickable 2012-12-17 12:41:12 +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
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
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
Jesse Vincent
989d214b23 Two typo fixes from zjw 2012-11-27 12:25:25 +08:00
Jesse Vincent
3bfeed8b42 more string tweaking 2012-11-24 17:38:21 -05:00
Jesse Vincent
95a49f1427 more wordsmithing 2012-11-24 14:43:18 -05:00
Jesse Vincent
e856dd47cf Tighten up some of our english language prose 2012-11-24 14:22:59 -05:00
cketti
349b1e997e Use type of compose action as action bar title
I.e. one of "Compose", "Reply", "Reply all", "Forward"
2012-11-21 01:42:19 +01:00
cketti
4e8c8e35de Remove unused strings 2012-11-19 08:06:57 +01:00
cketti
b97d69333a Move strings containing the app name to special section in strings.xml 2012-11-19 00:01:30 +01:00
cketti
77f08a34c9 Move app-specific string to appropriate section of strings.xml 2012-11-18 23:36:43 +01:00
cketti
704fb8c181 Don't refer to the device we're running on as "phone" 2012-11-18 22:45:08 +01:00
cketti
08615f205f Merge branch 'content_provider' 2012-11-18 16:50:31 +01:00
cketti
60ebe8a0bd Remove unused string 2012-11-15 22:00:17 +01:00
cketti
4eefcb3a31 Fix crash when remote search fails after search screen has been left
Also, change error message to be less technical.
2012-11-15 21:28:05 +01:00
cketti
5778d135fb Add global setting to enable/disable threaded view 2012-10-28 20:10:52 +01:00
cketti
952c40710e Added setting to disable using the background as (un)read indicator 2012-10-02 22:56:06 +02:00
Andrew Chen
03db11f70c Remove parenthesis around MessageList status messages.
Since sync status is now on a separate line (and not after the folder name) in the title, there's no need to wrap it in parens.
2012-09-30 18:53:33 -07:00
Andrew Chen
1491935465 Prevent remote search if we have no network connectivity. 2012-09-30 10:44:20 -07: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
Jesse Vincent
2c486e31b6 option to put the sender of a message above the subject 2012-09-24 19:11:21 -04: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
cketti
0334ba88c5 Removed 'compact layout' for now
See issue 4556
2012-09-18 03:43:54 +02:00
cketti
7bb11c09b2 Display concrete action instead of "Toggle (un)read" & "(Un)star" 2012-09-18 03:33:37 +02:00
m0viefreak
771b5122d6 MessageView theme toggle: change the theme of the whole activity and not just the background of the WebView
Using dark theme with white WebView background looks very ugly,
especially when a "download complete message" or a "show images"
button is present.

This change applies the theme to the whole activity.

Also changed the text for the toggle menu. It's also shorter now,
and isn't cut off anymore on hdpi/480px wide devices.
2012-09-15 07:22:25 +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
Rob Bayer
fdb1267cb1 Add remote IMAP search support.
* rbayer/IMAPsearch: (21 commits)
  More cleanup
  Code Cleanup getRemoteSearchFullText -> isRemoteSearchFullText line wraps for preference items
  Refactor to allow fetching of extra search results beyond original request.  Most code moved out of ImapStore and ImapFolder and into MessagingController.searchRemoteMessagesSynchronous.  Should make it easier to add remoteSearch for other server types.
  Prevent delete of search results while search results open
  remove duplicated code block
  Don't hide Crypto when IMAPsearch disabled
  Code Style Cleanup: Tabs -> 4 spaces Remove trailing whitespace from blank lines
  tabs -> spaces (my bad...)
  Fix opening of folders to be Read-Write when necessary, even if they were previously opened Read-Only.
  add missing file
  Working IMAP search, with passable UI.
  UI improvements
  Simple help info when enabling Remote Search
  Dependency for preferences
  Basic IMAP search working
2012-09-13 09:10:37 -07:00
cketti
20a608e1a0 Removed "Manage back button" setting 2012-09-10 17:54:27 +02:00
Sander Bogaert
595f591245 Make selection text a bit more generic. 2012-09-09 13:39:12 -07:00
Sander Bogaert
0f51eb54c1 Context actionbar for the account screen. 2012-09-09 13:37:13 -07:00
Sander Bogaert
29b6d046d3 Separate the welcome message in it's own activity. Cleaner solution and it prevents it from having the same actionbar as the Accounts activity. 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
592aeb0b03 Add forward, reply, reply all, same sender back in the MessageList context actionbar. 2012-09-09 13:13:39 -07:00
Sander Bogaert
92bb3f4229 Fix spelling mistake. 2012-09-08 22:21:11 -07:00
Sander Bogaert
08174e212e New nice ICS icons for our actionbar. 2012-09-08 22:21:09 -07:00
cketti
933a8fdcd5 Made actionbar_selected a format string 2012-09-08 22:21:04 -07:00
Sander Bogaert
24d7416e61 Implemented the (Un)start and (Un)read toggles. 2012-09-08 22:13:06 -07:00
Sander Bogaert
e01232a500 Selection with context actionbar working. 2012-09-08 22:05:41 -07:00
Sander Bogaert
67ab08383f Created new string resource for folderacitvity title. 2012-09-08 21:39:43 -07:00
cketti
2e454f0af7 Removed "System zoom controls" setting
We always allow zooming but hide (provided the Android version supports
it) the on-screen zoom controls if the device supports multi-touch,
hence pinch-to-zoom.
2012-08-15 00:21:22 +02:00
cketti
d9f1690741 Added option to always show the CC/BCC text input fields 2012-08-10 03:38:10 +02:00
cketti
3e6d161c18 Show current value for the 'notification_hide_subject' ListPreference 2012-08-02 02:43:10 +02:00
cketti
8c11ec18a9 Code style/documentation cleanup (no functional changes) 2012-08-02 02:31:54 +02:00
Bernhard Redl
4028505d69 Extended setting to hide subject in notification area (never, when locked, always)
Fixed issue 2595
2012-08-02 01:47:20 +02:00
cketti
853b4681b2 Hide 'Background data' option on ICS+ devices 2012-07-19 05:25:23 +02:00
cketti
36c2e058d6 Fixed a typo 2012-05-30 14:50:45 +02:00
cketti
7355b3578a Removed date format strings from translations 2012-05-28 19:45:17 +02:00
cketti
c7fd341eb8 Changed some strings for esthetical reasons (backport from Kaiten) 2012-05-28 02:21:54 +02:00
cketti
904e3e2942 Removed unused stuff 2012-05-24 06:17:48 +02:00
cketti
7a509a8e6a Fixed "errors" in translations
Mostly replacing "..." with ellipsis character "…"
2012-05-24 06:17:46 +02:00
cketti
31ed240f88 Grouped app-specific and store-specific strings
First step to make it easier to change the branding in forks and support
different app stores.
2012-05-24 06:17:44 +02:00
Andrew Chen
b5a57fe40c Capitalize "Hotmail" 2012-04-25 11:04:48 -07:00
cketti
9c2d7635ba Extracted some strings to constants.xml 2012-04-23 15:05:29 +00:00