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

1209 Commits

Author SHA1 Message Date
Danny Baumann
f51f675021 Simplify and improve message view header layout.
The star was displayed partially off-screen before.
2013-02-05 11:15:55 +01:00
Jesse Vincent
12c3f7fb1e changelog update 2013-02-04 22:10:05 -05:00
m0viefreak
a74d57cb71 MessageView: Theme fix when global and message view theme differ
- Since the split-view change, MessageView is only a fragment, so we
  can't call setTheme() anymore so easily.
  Instead, use a ContextThemeWrapper and use that to inflate the
  layout. This way the message header and attachment view
  are styled correctly.

- The HTC WebView fix in SingleMessageView was returning the wrong
  background color, when message view theme and global theme differ,
  because it always used the global theme to retrieve it.
  Fix: Specifically put the light/dark values in the themes.xml,
  and get them using getContext().getTheme().resolveAttribute().
  getContext() will use the ContextThemeWrapper from above, so
  even if the global and message view themes differ, it aleays
  returns the correct one.
  The getThemeBackgroundColor() method added to the K9ActivityMagic
  interface in 309eeb72ac is now not
  needed anymore, and was removed.
2013-02-04 19:30:40 +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
Danny Baumann
bed0d16304 Update German translation. 2013-02-04 11:39:25 +01:00
maniac103
debbb27dc2 Merge pull request #244 from rk4an/master
Update French translation
2013-02-04 02:32:32 -08:00
Erkan
5c384b1b62 Update res/values-fr/strings.xml 2013-02-04 09:22:21 +01:00
Jani Kinnunen
d2e59af3fa Finnish translation updated 2013-02-04 07:55:41 +02:00
cketti
8899031a3b Update changelog 2013-02-03 15:06:56 +01:00
Sander Bogaert
565adb8aa3 Small dutch translation fix. 2013-02-02 14:25:21 +01: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
cce969a6b6 Merge branch 'split_view'
Conflicts:
	res/values-de/strings.xml
	src/com/fsck/k9/fragment/MessageListFragment.java
2013-02-02 05:30:30 +01:00
cketti
156e921814 Merge pull request #239 from maniac103/improve-pref-layout
Improve layout of preference screens
2013-02-01 19:48:30 -08:00
cketti
b02e338b49 Add animation when switching from message list to message view 2013-02-02 02:21:20 +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
546b9434de Remove unused layouts 2013-02-01 03:24:00 +01:00
cketti
3439a2326d Use theme-specific color for message list divider 2013-02-01 03:18:04 +01:00
cketti
6b143d845a Set MessageList title in action bar depending on display mode 2013-02-01 02:50:00 +01:00
Danny Baumann
cc805894c5 Update and improve German translation. 2013-01-31 10:42:09 +01:00
Danny Baumann
f27fc78922 Improve Account settings -> notifications layout.
It makes no sense to display ringtone and vibration as children, but not
doing that for the vibration pattern and length. As double indention is
not available, un-indent ringtone and vibration and indent the vibration
parameters instead.
2013-01-31 10:39:38 +01:00
Danny Baumann
5d713ace01 Re-order global preferences -> display.
Put folder list options between account list options and message list
options, so the order matches the order the respective activities appear
on screen.
2013-01-31 10:39:31 +01:00
cketti
554616b311 Merge branch 'master' of github.com:k9mail/k-9 2013-01-30 19:31:35 +01:00
cketti
ad2a6d7a9b Add message view menu items to MessageList 2013-01-29 01:19:53 +01:00
m0viefreak
dae3b776ff MessageList: add setting to allow 0 preview lines 2013-01-28 04:45:03 +01:00
cketti
0a14d584e9 Add 1px divider between message list and message view in split view 2013-01-25 12:19:09 +01:00
cketti
c5b1e1d0e5 Add setting to configure the splitview mode 2013-01-24 20:30:07 +01:00
cketti
573058bffc Add marker in message list for currently opened message 2013-01-24 15:36:59 +01:00
cketti
933dd95047 First very basic version of a split screen for message list + view 2013-01-24 13:04:06 +01:00
Erkan
8f17f7294b Update res/values-fr/strings.xml 2013-01-19 11:08:40 +01:00
cketti
24c10f0fd3 Explicitly set layout used in a ListActivity 2013-01-18 12:33:31 +01:00
cketti
ffda532612 Add (heavily modified) HoloColorPicker 2013-01-17 09:03:11 +01:00
Jesse Vincent
3898a9920a changelog updates 2013-01-16 16:52:56 -05:00
Jani Kinnunen
57d1780223 Finnish translation updated 2013-01-16 09:20:22 +02: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
Jesse Vincent
841e565a49 Merge remote-tracking branch 'zjw/progress_indicators'
* zjw/progress_indicators:
  Provide a progress indicator while loading remote search results.
  Remove the progress bar from the message list footer.
  Provide progress indicator for searches.

Conflicts:
	src/com/fsck/k9/activity/MessageList.java
2013-01-15 15:06:23 -05:00
Jesse Vincent
ae6c7e37ca Merge remote-tracking branch 'zjw/issue_2389_cert_error_notice2'
* zjw/issue_2389_cert_error_notice2:
  Fix Issue 2389:  Self signed certificate expiry causes silent send/receive failure.
2013-01-15 14:44:21 -05:00
cketti
e732cb2d52 Update Spanish translation (enriquefeas) 2013-01-15 11:19:42 +01:00
Andrew Chen
cdd5694931 Merge pull request #229 from jkinnunen/UpdatedFinnishTranslation
Finnish translation updated.
2013-01-13 23:17:34 -08:00
Andrew Chen
cacc8c39b8 Merge pull request #226 from rk4an/patch-1
Update res/values-fr/strings.xml
2013-01-13 23:16:42 -08: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
Jani Kinnunen
942621cb63 Finnish translation updated. 2013-01-13 20:39:28 +02:00
cketti
1c7cf9b5ff Update changelog 2013-01-12 23:55:31 +01:00
Joe Steele
512d67a10e Merge branch 'wrap_folder_name_2' into folder_search
Conflicts:
	src/com/fsck/k9/activity/FolderList.java
2013-01-11 17:51:16 -05:00
Erkan
1b98bd6795 Update res/values-fr/strings.xml 2013-01-11 21:13:24 +01: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
218823d7b2 Remove the progress bar from the message list footer.
More often than not, it's scrolled out of view.
Other progress indicators have been implemented that
are always in view.
2013-01-10 16:50:21 -05:00
Joe Steele
689f69ca49 Provide progress indicator for searches.
Searches can be slow, so users need an indicator.  The indicator is
also used when opening a message list or when refreshing it, or when
loading more messages.

This also removes some unused code.
2013-01-10 16:50:20 -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
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
Joe Steele
d5a2c6b5c7 Control wrapping of folder names programmatically only
This removes the default settings (ellipsized, single line) from the layout
xml file and implements them programmatically.  This fixes the problem where:
You are viewing a folder list while wrapping is currently on, then you go into settings
and turn wrapping off, after which you are back at the folder list, but the
list is still wrapped.
2013-01-10 16:42:26 -05:00
Joe Steele
2c20413af6 Permit the folder list item to expand vertically.
Prior to this, in cases where the folder name wraps to mulitiple lines,
it could overflow its box and the overflow was hidden.
2013-01-10 16:42:25 -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
Joe Steele
7459f1c6b5 Issue 1911: Permit folder names to wrap on multiple lines in folder list view so users can see the entire name.
Reduce the default font size used in folder list view to a reasonable size so that long folder paths wrap to fewer lines.
2013-01-10 16:42:22 -05:00
Andrew Chen
076650f3a3 Merge pull request #224 from maniac103/extend-folder-menu
Add Refresh' and Settings to folder context menu.

Also add Account Settings to the account context menu.
2013-01-10 12:07:33 -08: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
cketti
f548e822d6 Add ckChangeLog to display a change log after an app upgrade 2013-01-08 09:17:35 +01:00
Andrew Chen
1ff0bb6289 Merge pull request #222 from maniac103/jb-notifications
Merge branch 'jb-notifications' of https://github.com/maniac103/k-9

* 'jb-notifications' of https://github.com/maniac103/k-9:
  Strip off signatures from preview.
  Reset list of unseen messages when the user clears the notification.
  In the new-style notification, directly go to message if new message count is 1.
  Cancel notification when viewing message by clicking on notification.
  Directly go to message when clicking on a single-message notification.
  Fix message overflow.
  Incorporate review comments.
  Some fixes to notification behaviour.
  Add German translation for message delete notification action.
  Add delete action to notification.
  Update summarized notification if a message is deleted or read remotely.
  Fixed deprecation warnings.
  Simplify code and beautify pre-jellybean notifications by using bold sender span for those.
  Respect "Show contact names" option when determining sender for notification.
  Fix marking messages as read from notification.
  Add German translation for new strings.
  Add actions to notifications.
  First stab at new notifications.
  Remove own Notification.Builder abstraction.
  Update android support library to latest version.
2013-01-07 20:44:35 -08:00
Danny Baumann
be38d9eb17 Add German translation for message delete notification action. 2013-01-04 10:41:10 +01:00
Danny Baumann
0bf3dddafc Add delete action to notification. 2013-01-04 10:40:48 +01:00
Danny Baumann
42605a7ea9 Simplify code and beautify pre-jellybean notifications by using bold
sender span for those.
2013-01-02 17:02:57 +01:00
Danny Baumann
2159f1c9bd Add German translation for new strings. 2013-01-02 14:21:31 +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
Jani Kinnunen
bcb86a2988 Finnish translation updated 2012-12-31 09:15:21 +02:00
Erkan
619ed98ed3 Update res/values-fr/strings.xml 2012-12-26 10:34:22 +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
e7be8151fe Convert translations of 'accounts_welcome' to HTML 2012-12-17 19:00:17 +01:00
cketti
caa26311f1 Use HTML to format welcome message / make URL clickable 2012-12-17 12:41:12 +01:00
ashley willis
f793831498 fixed last commit 2012-12-16 13:54:30 -06:00
Erkan
d3d7adabd9 Update res/values-fr/strings.xml 2012-12-15 12:27:31 +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
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
igavio
5ac8d4e5db Update res/values-el/strings.xml
Translation of 4 new strings
2012-12-07 14:48:15 +02: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
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
Erkan
182b76d706 Update res/values-fr/strings.xml 2012-12-04 19:52:41 +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
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
Andrew Chen
f4fb907eca Merge pull request #208 from igavio/patch-7
Update of greek translation
2012-11-26 20:34:06 -08:00
Andrew Chen
88f911d38a Merge pull request #209 from jacky672/master
Update app/res/values-fr/strings.xml
2012-11-26 20:33:06 -08: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
212a331313 reorder folder list menu to emphasize useful things a bit more 2012-11-24 14:42:21 -05:00
Jesse Vincent
e856dd47cf Tighten up some of our english language prose 2012-11-24 14:22:59 -05:00
Jesse Vincent
16de720661 Better style the thread count indicators 2012-11-24 13:22:21 -05:00
Erkan
4a2b914fc2 Update res/values-fr/strings.xml 2012-11-21 11:27:14 +01:00
cketti
44b37449aa Fix typo in german translation 2012-11-21 01:44:15 +01: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
7678210807 Add missing placeholders to translations 2012-11-20 02:12:45 +01:00
igavio
410f9dd899 Update of greek translation
Last greek update containing latest new entries and a few corrections of past ones
2012-11-19 11:24:04 +02:00
cketti
4e8c8e35de Remove unused strings 2012-11-19 08:06:57 +01:00
cketti
e2e5fdfb19 Fix format string in el translation 2012-11-19 05:19:34 +01:00
cketti
c5b552af08 Add placeholders for missing strings in translations 2012-11-19 03:29:21 +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
9814833008 Merge branch 'master' into content_provider 2012-11-08 20:32:12 +01:00
Leo Yang
9187b00b17 Traditional Chinese update 2012-11-06 16:43:48 -05:00
Jesse Vincent
9be4efe58f Get the Folder list to use the new common icons 2012-11-06 16:18:00 -05:00
Jesse Vincent
e318b5483a refactor a common component 2012-11-06 16:17:31 -05:00
Jesse Vincent
446cda8618 Clean up the icons in account list 2012-11-06 16:02:08 -05:00
Jesse Vincent
a47a8c2ccd Slightly better whitespace symmetry in the messagelist 2012-11-06 15:20:27 -05:00
Koji Arai
9ae4a6b3dc Updated Japanese translation. catch up with 952c407. 2012-11-06 22:47:52 +09: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
5778d135fb Add global setting to enable/disable threaded view 2012-10-28 20:10:52 +01: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
9d802e807e Clean up pt-BR translation 2012-10-21 20:32:52 +02:00
cketti
24b100dfc3 Merge commit '68b6df6e1c0a683b195e90d7fe6fddce1c418edd' 2012-10-21 20:23:52 +02:00
cketti
b373dec04e Merge commit 'e482e32ee4cc224db6cfed6f33bea26b27710bf8' 2012-10-21 20:22:54 +02:00
cketti
1ac666bbd1 Fix italian translation 2012-10-21 19:21:26 +02:00
Marcio Zomb13
68b6df6e1c Update res/values-pt-rBR/strings.xml 2012-10-17 21:30:00 -03:00
Marcio Zomb13
e482e32ee4 Update res/values-pt-rBR/strings.xml
Another update (there are many new strings), i will make some updates later.
Thanks.
2012-10-16 13:22:03 -03:00
cketti
795540e6a5 Merge pull request #192 from voda/patch-1
typo in czech translation
2012-10-16 07:58:16 -07:00
cketti
4400434302 Cleaned up pt-BR translation 2012-10-16 16:49:53 +02:00
cketti
c8ed05f895 Merge commit '3033447c90877a221473f2c207fe4a784541854c' 2012-10-16 16:48:19 +02:00
cketti
18831fc634 Merge commit 'cf223dd18036d5bcb67703a4a3c51e834b19aa26' 2012-10-16 16:31:02 +02:00
cketti
e293ff3257 Removed credits from the hungarian translation
We don't credit translators (or developers) inside the app.
2012-10-16 16:29:11 +02:00
cketti
cb41ae36c3 Merge commit 'b24e7e3d57ccc3c37ecdac73b51d552e038a255d' 2012-10-16 16:10:17 +02:00
marciozomb13
cf223dd180 Update res/values-pt-rBR/strings.xml
Big update on new strings! Please add them!
2012-10-15 12:47:55 -03:00
marciozomb13
3033447c90 Update res/values-pt-rBR/strings.xml
Update 15/10/2012
2012-10-15 11:54:23 -03:00
RootRulez
b24e7e3d57 Update res/values-hu/strings.xml
Hi!

I'm RootRulez. I translated some strings to hungarian.

Best Regards!
2012-10-14 23:20:35 +03:00
Alexey
f206373e62 Update res/values-ru/strings.xml
Some typos fixes and traslations.
2012-10-14 14:23:21 +04:00
Ondřej Vodáček
1173d5da0e typo in czech translation 2012-10-12 00:30:51 +03:00
Jesse Vincent
4e6453e7bb remove vestiges of a deleted setting 2012-10-09 21:31:19 -04:00
Jesse Vincent
e9ae328164 Bring back the checkboxes option for messagelist 2012-10-09 18:22:00 -04:00
cketti
63b6b497a0 Early version of message threading
Missing:
- UI support for threading when polling
- code to upgrade existing installations
- UI elements to switch from/to threaded display mode
- threading of messages with same subject
2012-10-08 22:51:29 +02:00
Sander Bogaert
335c54575e Fix unescaped single quote. 2012-10-08 21:54:39 +02:00
Erkan
9651beffc0 Update res/values-fr/strings.xml 2012-10-08 22:36:24 +03:00
cketti
93b13362b4 Converted message list to a fragment 2012-10-06 03:41:32 +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
cketti
db370c5b40 Removed unused layout 2012-10-05 18:14:06 +02:00
Jesse Vincent
19aad0d9a1 bump up the chip sizes a bit 2012-10-03 21:56:28 -04:00