Commit graph

1308 commits

Author SHA1 Message Date
cketti
000918fb06 Add "Move to Drafts" action to message view 2020-10-22 19:26:31 +02:00
cketti
251071c58e Don't allow messages in Outbox to be starred or marked as read via message view 2020-10-22 18:17:02 +02:00
cketti
8abcba90c0 Don't allow messages in Outbox to be starred or marked as read via message list 2020-10-22 17:36:13 +02:00
cketti
bea08ccb68 Remove EolConvertingEditText 2020-10-22 03:01:19 +02:00
cketti
78a70c305b Version 5.722 2020-10-21 01:11:58 +02:00
cketti
3917c102e7 Update translations 2020-10-21 00:34:33 +02:00
cketti
c7ed0ec8e4 Clean up 'SaveMessageTask' 2020-10-20 03:45:06 +02:00
cketti
1c57b31900 Clean up retrieving dependencies in 'MessageCompose' 2020-10-19 10:09:00 +02:00
cketti
f11b170a42 Make MessagingController.saveDraft() return message database ID 2020-10-19 09:25:56 +02:00
cketti
54e5d8af9c Change the way we replace drafts on the server
Don't overwrite the previous draft in the database. Create a new message entry and convert the previous one to a 'deleted' placeholder.
This also introduces a new pending command 'replace'. It is implemented as upload + delete.
2020-10-19 09:25:56 +02:00
cketti
45bf5d0aef Inline constant parameter value (we always upload drafts if possible) 2020-10-18 21:53:34 +02:00
cketti
36c9e799f1 Don't use magic value when draft message ID is missing 2020-10-18 21:53:34 +02:00
cketti
1873593dc5 Format Kotlin code 2020-10-16 16:41:19 +02:00
cketti
ed8009d9fa Update ktlint-gradle to 9.4.1, ktlint to 0.39.0
Apply ktlint-gradle plugin to all Gradle subprojects.
2020-10-16 14:27:23 +02:00
cketti
5aac50d1ee
Merge pull request #5009 from anadi198/automaticIdentityForwarding
Apply automatic identity selection for forwarding emails based on `to:` field of mail being forwarded
2020-10-15 19:04:49 +02:00
Anadi Kashyap
9a464eb6f1 Apply automatic identity selection to forwarding emails 2020-10-15 18:48:50 +02:00
Anadi Kashyap
f757ce9148 Replaced CDATA[] for unknown_recipient and unknown_sender with < and > in strings.xml 2020-10-15 21:06:17 +05:30
cketti
e3178a5117
Merge pull request #5003 from k9mail/show_recipient_name
Show recipient name for all messages in Sent, Drafts, and Outbox folders
2020-10-13 03:41:10 +02:00
cketti
604c87b130 Always show contact picture of sender in message view 2020-10-12 01:48:36 +02:00
cketti
5f05b8bb07 Show sender/recipient name in message list based on folder
The recipient name is shown for messages in the Sent, Drafts, and Outbox folders. For messages in all other folders the sender name is shown.
2020-10-12 01:48:36 +02:00
cketti
427aecb2ab Remove unused properties from MessageListItem 2020-10-12 00:06:05 +02:00
cketti
9227206872 Display up to 3 lines of the subject by default
Clicking the subject text will toggle between showing all lines and 3 lines max.
2020-10-11 23:06:51 +02:00
cketti
2c95b7df65
Merge pull request #4994 from k9mail/message_batch_actions
Don't show archive or spam action when displaying the corresponding folder
2020-10-09 22:58:49 +02:00
cketti
617dd1641e Don't show archive or spam action when displaying the corresponding folder 2020-10-08 22:56:05 +02:00
cketti
3b7c5ea10f Display message headers in the original order 2020-10-08 16:16:50 +02:00
cketti
e7bcfe7e3e Version 5.721 2020-10-07 17:07:23 +02:00
cketti
4fd51cf313 Add "copy link text to clipboard" option when long-pressing links 2020-10-07 02:04:53 +02:00
cketti
6c097b47da Version 5.720 2020-10-06 20:21:55 +02:00
cketti
388a7f263e Add zero-width space to changelog version values
For some reason version attributes like "5.700" are displayed as "5.7". We work around that by adding a zero-width space at the end.
2020-10-06 20:21:55 +02:00
cketti
3133573139 Rewrite Share functionality in message view screen
The shared text now contains subject, date, sender, and recipients in addition to the message body text.
2020-10-05 05:38:54 +02:00
cketti
d541eaef51 Version 5.719 2020-10-04 19:12:01 +02:00
cketti
2c4744da60 Update translations 2020-10-04 18:33:09 +02:00
cketti
19eb78de30 Small code cleanup 2020-10-02 19:03:26 +02:00
starshipcoder
7f32c9e0d8 In recipient contact selection, display favorites first
Fix: sorting was case sensitive
2020-10-02 19:03:26 +02:00
cketti
7992be9068 Return empty result when EmailProvider query fails
In developer mode we still crash for all errors except for malformed MATCH expressions (which are rather easy to generate given that we pass user input to SQLite).
2020-09-22 18:13:28 +02:00
cketti
bedf26d19b
Merge pull request #4931 from GNUDimarik/issue_4914
Use correct OpenPGP key when sending signed-only email
2020-09-20 19:27:43 +02:00
cketti
0c97e2a4e0 Update Robolectric to 4.4
Replace usage of classes from transitive dependencies that are no longer available.
2020-09-18 03:14:46 +02:00
Dmitry Adzhiev
d718b33ef6 Use correct OpenPGP key when sending signed-only email 2020-09-18 00:38:48 +06:00
cketti
3211e3942c Show image previews even when wrong MIME type is used
More precisely, show image preview when the MIME type is application/octet-stream and the file extension maps to a supported image MIME type.
2020-09-09 12:16:03 +02:00
Dmitry Adzhiev
bf83ff3a90 Display SHA-1, SHA-256 and SHA-512 fingerprints of TLS certificates 2020-09-01 16:27:30 +02:00
cketti
c82b2f827e Version 5.718 2020-08-18 16:27:19 +02:00
cketti
97211358df Update translations 2020-08-17 14:12:36 +02:00
cketti
daa75579b5 Another attempt at fixing image loading for recipient chips 2020-08-13 22:12:36 +02:00
cketti
4a92388ed4 Refactor code for readability and consistency 2020-08-13 17:56:55 +02:00
Victor Frandsen
009050567d Don't show standard message actions for messages in the Outbox 2020-08-13 17:42:16 +02:00
cketti
00d48de228
Merge pull request #4897 from starshipcoder/hide_empty_footerview
Message list: hide footer view if empty
2020-08-13 16:01:29 +02:00
cketti
05fe558ea6 Refactor MessageListFragment.updateFooter() 2020-08-13 15:33:07 +02:00
lwerneke
fa5b2b77f1
Add method for launching MessageList with an account 2020-08-13 15:17:40 +02:00
starshipcoder
2410ed5cb1 Message list: hide footer view if empty 2020-07-30 14:28:14 +02:00
cketti
97619c07ed Don't display address label in recipient token 2020-07-29 17:40:48 +02:00
cketti
8d2314fa79 Relayout recipient token view when switching to alternate email address 2020-07-29 17:40:48 +02:00
cketti
5b62e6c6a2 Fix baseline issues with RecipientSelectView 2020-07-29 17:40:48 +02:00
cketti
423575051d Change recipient token layout to support dynamic text sizes 2020-07-29 17:40:48 +02:00
cketti
74c5e4c068 Dismiss "recipient alternates popup" when pressing the back button 2020-07-23 16:46:58 +02:00
cketti
28adf89426 Don't use custom touch handling to detect RecipientTokenSpan clicks 2020-07-23 16:44:54 +02:00
cketti
c186395ead Update TokenAutoComplete to 4.0.0-beta01 2020-07-23 16:39:18 +02:00
cketti
2d1c00a93c Remove unused resources 2020-07-22 20:20:06 +02:00
cketti
988966d190 Update Glide to 4.11.0 2020-07-17 23:37:17 +02:00
cketti
057d1c804d Update Robolectric to 4.3.1 2020-07-15 19:40:32 +02:00
cketti
445cd12651 Remove unnecessary JDOM dependencies 2020-07-15 18:36:27 +02:00
cketti
8e7fe76e49 Update AndroidX SwipeRefreshLayout to 1.1.0 2020-07-15 17:59:17 +02:00
cketti
4aa5eab751 Use variable for AndroidX LocalBroadcastManager artifact version 2020-07-15 17:57:21 +02:00
cketti
63e93ef8b7 Rename file to match class (AboutFragment) 2020-07-11 01:10:48 +02:00
Tobias Preuss
7bd92aebb9 Use "View#isVisible" extension function. 2020-07-09 09:33:49 +02:00
Tobias Preuss
b1119adfc7 Use "Context#withStyledAttributes" extension function. 2020-07-09 09:31:11 +02:00
Tobias Preuss
d2d4614601 Make function somewhat more concise. 2020-07-08 19:20:49 +02:00
Tobias Preuss
f7e9cbae3e Use Kotlin "Any#toString" function. 2020-07-08 14:04:06 +02:00
Tobias Preuss
f075de1c7a Let constant be "const". 2020-07-08 14:01:27 +02:00
Tobias Preuss
35b1d17244 Use property access syntax. 2020-07-08 14:00:23 +02:00
Tobias Preuss
0bb1cc73d9 Use Long#compare convenience function. 2020-07-08 13:58:57 +02:00
Tobias Preuss
9c6d08142a Infer type. 2020-07-08 13:58:23 +02:00
cketti
0c40a77273
Merge pull request #4863 from starshipcoder/bugfix-2136
Restart message list activity after display settings have been changed
2020-07-03 18:40:45 +02:00
starshipcoder
c4c97d85d3 Fixed Issue#2136 Global display settings changes are not applied immediately 2020-07-03 18:12:47 +02:00
cketti
0de4dc8e77 Update SafeContentResolver to version 1.0.0 2020-06-24 03:17:15 +02:00
cketti
4e35ad736d Version 5.717 2020-06-19 21:54:44 +02:00
cketti
ebc11cfaf0 Update translation 2020-06-19 17:41:18 +02:00
cketti
14bf32cea4 Rename Backend.supportsSeenFlag to supportsFlags 2020-06-17 14:45:41 +02:00
cketti
1a96ef4641 Remove Folder.serverId property 2020-06-13 02:02:56 +02:00
cketti
5558f8a709 Remove unnecessary code from FolderSettingsViewModel 2020-06-13 02:02:56 +02:00
cketti
b175a6aa8b Introduce RemoteFolder class 2020-06-13 02:02:56 +02:00
cketti
00fc6708cc Change MessagingController.deleteMessagesSynchronous() to use folder ID 2020-06-12 18:53:11 +02:00
cketti
4976d4e178 Change MessagingListener.folderStatusChanged() to use folder ID 2020-06-12 18:53:11 +02:00
cketti
fd59bee315 Version 5.716 2020-06-04 03:13:49 +02:00
cketti
ec8bf39252 Update translations 2020-06-03 20:44:26 +02:00
cketti
81b99bd307
Merge pull request #4810 from k9mail/wording
Fix names of some identifiers
2020-06-03 20:19:09 +02:00
cketti
8fa8b485c0 Replace the term 'blacklist' in the change log 2020-06-02 17:23:26 +02:00
cketti
c4e5e6b1ed Rename PROVIDER_BLACKLIST to DISALLOWED_PROVIDERS 2020-06-02 17:22:39 +02:00
cketti
63145dc7df Make the sticky footer play nice with swipe-to-refresh in the drawer 2020-05-31 12:12:40 +02:00
cketti
a2287ce31c Avoid NullPointerException when reading attachment 2020-05-29 12:40:17 +02:00
cketti
405b207449 Version 5.715 2020-05-27 01:24:35 +02:00
cketti
e3e132e5ef Update translations 2020-05-26 16:31:13 +02:00
cketti
43cf0d78a5 Merge pull request #4780
Use day of week in message list
2020-05-26 16:13:41 +02:00
Simon Tenbeitel
da350055c1 Use day of week in message list
Closes #4715
2020-05-26 16:07:55 +02:00
cketti
ca2c6b460c Allow using the new 'add account' screen during onboarding
To enable this add the following line to your global gradle.properties:

k9mail.useNewSetupUi=true
2020-05-22 02:14:20 +02:00
cketti
8c953c0907 Add a way to access the new setup UI in debug builds 2020-05-22 01:15:35 +02:00
cketti
543164e516 Add :app:ui:setup module for new setup UI 2020-05-22 01:15:35 +02:00
cketti
6bb407087e Move NavigationExtensions.kt to :app:ui:base 2020-05-21 22:14:29 +02:00
cketti
779f2a7b9a Move toolbar layout to :app:ui:base module 2020-05-21 22:00:43 +02:00
cketti
21c14c49bd Add :app:ui:base module and move K9Activity to it 2020-05-19 18:16:15 +02:00
cketti
dc82a53713 Rename :app:ui to :app:ui:legacy
The goal is to split this module into smaller, more focused modules.
2020-05-19 18:16:15 +02:00
cketti
633b843f16 Inject style resource IDs into ThemeManager via ThemeProvider 2020-05-19 18:16:15 +02:00
cketti
b2a99a8cb7 Convert 'K9Activity' to Kotlin 2020-05-19 18:16:15 +02:00
cketti
f2587d3f16 WIP: Renaming file 'K9Activity' with Kotlin extension 2020-05-19 18:16:15 +02:00
cketti
c0b9db4643
Merge pull request #4769 from k9mail/fix_special_local_folders
Fix special local folders
2020-05-19 18:15:43 +02:00
cketti
7638a4b5be
Merge pull request #4774 from k9mail/permissions
Move Android permission handling out of K9Activity
2020-05-19 00:39:12 +02:00
cketti
bb0b59dabc
Merge pull request #4772 from k9mail/fix_disable_encryption
Disable encryption when selecting "disable encryption" in dialog
2020-05-19 00:37:11 +02:00
Olivia Mackintosh
d5f82fd041 Split autodiscovery methods into gradle builds
This commit should be faily self-explainatory. It splits the
three autodiscovery methods into their own gradle builds so
they can be plugged in and out easily. This commit doesn't
necessarily make the latter possible though.

Dependency graph should look something like this now:

  app:ui
  \
   \app:autodiscovery:api
    |
    |\app:autodiscovery:providersxml
    |
    |\app:autodiscovery:srvrecords
    |
     \app:autodiscovery:thunderbird
2020-05-18 23:04:06 +01:00
cketti
f393c3a00f Move Android permission handling out of K9Activity 2020-05-18 20:44:43 +02:00
cketti
fee3f2e00c Disable encryption when selecting "disable encryption" in dialog 2020-05-17 20:40:41 +02:00
Olivia Mackintosh
7c95e428c6 Allow ThunderbirdAutoconfig to return multiple in/out configs
In a similar fashion to SrvServiceDiscovery, this commit allows
ThunderbirdAutoconfig to only get the type of service needed
depending on DiscoveryTarget

Rename sorting Comparator to mailServicePriority
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
cd2a89ebdb Make SrvServiceDiscovery cond. get in/out servers
SRV autodiscovery should only find either INCOMING; OUTGOING or
INCOMING_AND_OUTGOING services depending on the new DiscoveryTarget
enum
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
4493d8c76e ConnectionSettingsDiscovery should return list of in/out settings
Creates a new data class: DiscoveryResults that holds a list of incoming
and outgoing DiscoveryServerSettings. This commit also creates a wrapper
for the currently used ProvidersXmlDiscovery to convert the new
DiscoveryResults object into ConnectionSettings.

In the future, this process will have a less-lazy algorithm that will be
smart enough to handle more than one incoming/outgoing server but this
commit assumes there are still one of each (by assertion).

Use enum to determine discovery target

Sort SrvServiceDiscovery results using pickMailService
2020-05-17 18:44:36 +01:00
cketti
ffe75e464f
Merge pull request #4762 from ByteHamster/pull-to-refresh-all
Add swipe to refresh to drawer
2020-05-16 21:17:53 +02:00
ByteHamster
e6beeb1aed Refresh all accounts in unified inbox and account list 2020-05-16 17:50:18 +02:00
cketti
35e5fceb0c Display localized names for special local folders 2020-05-15 19:56:44 +02:00
cketti
981e12965a Add isLocalOnly property to Folder 2020-05-15 19:55:26 +02:00
cketti
118450e31d Only create special local folders once
Previously special local folders were created every time the server
settings were checked. The folders weren't created when the server settings
check would encounter an error, e.g. if there was no internet connectivity,
but the user decided to continue anyway.
2020-05-15 18:14:54 +02:00
cketti
482e8df663 Create SpecialLocalFoldersCreator to create special local folders
That's "Outbox" for all account types. And additionally "Drafts", "Sent",
and "Trash" folders for POP3 accounts.
2020-05-15 17:21:47 +02:00
cketti
686ad00cd3 Tweak progress view position and swipe behavior in drawer 2020-05-14 15:07:07 +02:00
cketti
842ee9ed2a Version 5.714 2020-05-13 23:50:45 +02:00
cketti
26563cc7d0
Merge pull request #4764 from k9mail/update_list_of_libraries
Update list of libraries in About screen
2020-05-13 23:44:37 +02:00
cketti
1673b424da
Merge pull request #4760 from k9mail/do_not_close_drawer
Keep drawer open after selecting an account
2020-05-13 23:43:51 +02:00
ByteHamster
e1273e28b7 Added swipe to refresh to drawer 2020-05-13 17:48:01 +02:00
cketti
94df5a0c64 Update list of libraries in About screen 2020-05-13 17:36:11 +02:00
cketti
f302179d3d
Merge pull request #4761 from ByteHamster/made-progressbar-easier-to-see
Made it easier to see progress bar
2020-05-13 14:43:52 +02:00
ByteHamster
8dd05862a7 Made it easier to see progress bar 2020-05-13 11:01:52 +02:00
cketti
d4d6600ef1 Keep drawer open after selecting an account 2020-05-13 01:14:11 +02:00
cketti
23e0ff0a11
Merge pull request #4750 from k9mail/remove_showcaseview
Replace ShowcaseView with SimpleHighlightView
2020-05-12 01:00:19 +02:00
cketti
28ee0a69e5 Replace ShowcaseView with SimpleHighlightView
It's ShowcaseView stripped of everything we don't need.
2020-05-12 00:44:39 +02:00
cketti
083b1c1066 Remove unused views from accounts_item layout 2020-05-09 21:20:34 +02:00
cketti
f5eb16c844 Use AppCompat's 'srcCompat' attribute to reference drawables
This way AppCompat's VectorDrawable implementation will be used. It works
around a couple of platform bugs.
We can't use this mechanism in layouts that we don't inflate ourselves,
e.g. the message list widget layout.
2020-05-09 17:16:26 +02:00
cketti
03369f3c27 Version 5.713 2020-05-08 23:18:57 +02:00
cketti
a236c35621 Version 5.712 2020-05-08 14:58:03 +02:00
cketti
04e9714284 Version 5.711 2020-05-08 10:39:57 +02:00
cketti
b63929472b Update translations 2020-05-07 19:30:23 +02:00
cketti
e5c19a6f9f
Merge pull request #4734 from k9mail/fix_unread_widget
Fix unread widget
2020-05-07 19:11:16 +02:00
cketti
8b5055ec40 Update unread widgets from a background thread 2020-05-07 11:36:08 +02:00
cketti
1e21f94e1c Only reschedule sync job for the account whose settings were changed 2020-05-06 15:37:02 +02:00
cketti
1717ede350 Avoid NullPointerExceptions when unboxing 2020-05-05 17:16:04 +02:00
cketti
e305d91cf2 Remove FolderInfoHolder.serverId 2020-05-05 15:49:29 +02:00
cketti
af667131a9 Remove folderServerId from MessageListItem 2020-05-05 15:49:29 +02:00
cketti
2f875abcfc Replace remaining usages of Account.get*Folder() 2020-05-04 16:31:00 +02:00
cketti
d298897b51 Store folder IDs of special folders in Preferences 2020-05-04 16:31:00 +02:00
cketti
c56ae6dcab Replace Account.getTrashFolder() with Account.getTrashFolderId() 2020-05-04 16:31:00 +02:00
cketti
c6d96b2b34 Replace Account.getInboxFolder() with Account.getInboxFolderId()
In some instances the check for the Inbox folder could be removed.
We no longer allow one folder to have multiple roles, e.g. Inbox + Drafts.
2020-05-04 16:31:00 +02:00
cketti
0b939eee25 Use Account.get*FolderId() to figure out folder type 2020-05-04 16:31:00 +02:00
cketti
991cea06de Convert 'FolderInfoHolder' to Kotlin 2020-05-04 16:31:00 +02:00
cketti
61e4f5299e WIP: Renaming file 'FolderInfoHolder' with Kotlin extension 2020-05-04 16:31:00 +02:00
cketti
2da3fd8f2b Remove RESULT_SELECTED_FOLDER from ChooseFolderActivity 2020-05-04 16:31:00 +02:00
cketti
d86945d35d Change ChooseFolderActivity to use a folder ID for "scroll to folder" 2020-05-04 16:31:00 +02:00
cketti
010c0b42ef Remove folderServerId from MessageReference 2020-05-04 16:31:00 +02:00
cketti
1eb2ce7454 Switch MessageListLoader to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
9291881b6b Switch LocalSearch and everything connected to it to using folder IDs 2020-05-04 16:31:00 +02:00
cketti
76c9d74dea Switch MessageCompose to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
7e3624063a Switch MessageViewFragment to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
42e545826f Switch MessagingController.move*() to use folder IDs 2020-05-04 16:31:00 +02:00
cketti
d43282fc6c Change MessagingController.setFlag() to use folder ID 2020-05-04 16:31:00 +02:00
cketti
53fdbeb74e Switch MessageListAdapter to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
70d194a99a Switch MessageLoaderHelper to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
e152f4c571 Switch LocalMessageLoader to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
f1093a7633 Change ChooseFolderActivity to use folder ID for "current folder" 2020-05-04 16:30:59 +02:00
cketti
70841e40d7 Change K-9 Mail message URI to use folder ID instead of server ID 2020-05-04 15:01:29 +02:00
cketti
1c55ffda51 Change MessageReference to also store folder database ID 2020-05-04 15:01:29 +02:00
cketti
a0d9b8be01 Make ChooseFolderActivity also return the folder ID of the selected folder 2020-05-04 15:01:29 +02:00
cketti
17bda4029c Change MessagingController.clearFolder() to use the folderId 2020-05-04 11:35:15 +02:00
cketti
33d7b31ff9 Only show "clear local messages" in menu after data has been loaded 2020-05-04 11:30:44 +02:00
cketti
3bdda4eac1 Cleanup 2020-05-04 11:30:43 +02:00
Vasyl Gello
c7ecd90817 Add the per-folder local message cleanup
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2020-05-03 21:06:47 +03:00
cketti
4e2d084401 Use folder database ID for PendingMarkAllAsRead 2020-04-24 23:34:21 +02:00
cketti
c98943e983 Use folder database ID for PendingExpunge 2020-04-24 23:29:34 +02:00
cketti
fa8b8dbdc3 Version 5.710 2020-04-24 05:49:27 +02:00
cketti
c6b1ce503d
Merge pull request #4688 from cketti/keyboard_shortcuts
Remove keyboard shortcuts for menu items
2020-04-24 05:32:39 +02:00
cketti
dd1a1013ac Remove keyboard shortcuts for menu options 2020-04-23 21:50:49 +02:00
cketti
543498ce89 Only handle keyboard shortcuts when no modifier key has been pressed 2020-04-23 21:42:27 +02:00
cketti
3ef8521d08 Don't show extracted IME text UI
This is so the fullscreen keyboard isn't used in landscape mode.
2020-04-23 21:27:03 +02:00
cketti
2530dea98a
Merge pull request #4674 from k9mail/cleanup
Remove unused code
2020-04-19 22:00:45 +02:00
cketti
d70564e423 Remove unused code 2020-04-18 19:51:48 +02:00
cketti
d30de2fa61 Add missing super calls to onActivityResult() 2020-04-18 18:58:47 +02:00
cketti
ec0ce5ed1d Version 5.709 2020-04-18 17:38:07 +02:00
cketti
9fdf396cb8
Merge pull request #4672 from k9mail/update_translations
Update translations
2020-04-18 16:36:30 +02:00
cketti
400afb6367
Merge pull request #4671 from k9mail/discard_unmodified_message
Don't mark draft as changed when setting 'always BCC' recipients
2020-04-18 16:35:02 +02:00
cketti
48e6f3702b
Merge pull request #4670 from k9mail/fix_edit_quote_button
Fix button to make quoted text editable
2020-04-18 16:33:20 +02:00
cketti
dfe09e8619
Merge pull request #4669 from k9mail/remove_unused_assets
Remove unused assets
2020-04-18 16:32:00 +02:00
cketti
58455abe4a Update translations 2020-04-18 00:14:04 +02:00
cketti
fc49fb9d67 Don't mark draft as changed when setting 'always BCC' recipients 2020-04-17 19:51:58 +02:00
cketti
560003234f Fix button to make quoted text editable 2020-04-17 18:15:16 +02:00
cketti
196b225a1d Remove unused assets 2020-04-16 00:06:14 +02:00
cketti
ac9f4059f6 Upgrade to kotlinx-coroutines 1.3.5 2020-04-15 23:32:23 +02:00
cketti
2e640de324 Upgrade to AndroidX Preference 1.1.1 2020-04-15 23:32:23 +02:00
cketti
65f162299a Upgrade to CircleImageView 3.1.0 2020-04-15 23:32:23 +02:00
cketti
bfca413cab Upgrade to Groupie 2.8.0 2020-04-15 23:32:23 +02:00
cketti
b99c1b5f59 Use FolderSettingsProvider when exporting settings 2020-04-13 01:05:31 +02:00
cketti
ad3c40195d Refactor 'SettingsExporter' 2020-04-09 00:19:58 +02:00
cketti
308917e6fd
Merge pull request #4649 from k9mail/folder_database_id
Make "manage folders" screens use database ID to refer to folders
2020-04-08 18:33:00 +02:00
cketti
fb4ebf7acb
Merge pull request #4645 from k9mail/message_view_attachment_boxes
Change appearance of attachment boxes in message view screen
2020-04-08 18:11:06 +02:00
cketti
43130437ef Make 'FolderSettingsDataStore' use 'FolderRepository' instead of 'LocalFolder' 2020-04-08 04:00:56 +02:00
cketti
3eb70c6e27 Make "manage folders" screens use database ID to refer to folders 2020-04-08 01:28:35 +02:00
cketti
084396c369 Refresh image preview when attachment has been downloaded 2020-04-07 15:33:59 +02:00
cketti
ae0606b5dc Change appearance of attachment boxes in message view screen 2020-04-07 15:33:59 +02:00
cketti
61f3f06ba7
Merge pull request #4641 from k9mail/remove_old_push_code
Remove old push code
2020-04-06 19:21:53 +02:00
cketti
eed9daa020 Remove Push state from database 2020-04-06 04:19:29 +02:00
cketti
59630fb13b Change appearance of attachment boxes in message compose screen 2020-04-05 03:40:24 +02:00
cketti
e46c5bd966 Don't crash when startActivityForResult() throws 2020-04-03 23:53:16 +02:00
cketti
b558dc855f Version 5.708 2020-03-20 00:02:38 +01:00
cketti
6c508e339a Add "edit as new message" action to message view 2020-03-19 20:49:58 +01:00
cketti
2bb57e6b0e
Merge pull request #4618 from k9mail/fix_address_autocomplete
Fix address auto-complete when composing messages
2020-03-19 20:15:31 +01:00
cketti
defb055472 Remove code to mark contacts as read and WRITE_CONTACTS permission
See https://source.android.com/devices/tech/config/contacts-affinities
2020-03-19 17:31:14 +01:00
cketti
06ea59d816 Don't check for WRITE_CONTACTS permission in RecipientLoader 2020-03-19 16:57:57 +01:00
cketti
5bdc8cc5f1 Click on contact picture (de)selects a message 2020-03-18 17:54:16 +01:00
cketti
86c3af8892 Use CircleImageView instead of ContactBadge view in message list 2020-03-17 19:19:37 +01:00
cketti
fa97981282 Clean up message flag listener in message list 2020-03-17 01:19:51 +01:00
cketti
19310314c5 Remove unused "Gestures" setting and unused code 2020-03-15 17:22:09 +01:00
cketti
e461f734eb
Merge pull request #4611 from k9mail/fix_theme_issue
Never follow system theme on Android versions prior to Android 9
2020-03-15 17:08:52 +01:00
cketti
035dd848ca Never follow system theme on Android versions prior to Android 9 2020-03-15 02:09:27 +01:00
cketti
0961e330c9 Long-press on message list item (de)selects a message 2020-03-14 18:55:05 +01:00
cketti
fa45a11858 Don't show context menu when long-pressing message list item 2020-03-14 18:43:00 +01:00
cketti
09f6fa5943 Remove K9PreferenceActivity 2020-03-12 03:55:16 +01:00
cketti
0ee6592b0b Change code to resolve theme attributes
This way doesn't produce Lint errors.
2020-03-10 21:57:34 +01:00
cketti
9909e8f290 Version 5.707 2020-03-06 15:50:07 +01:00
cketti
17967c1af9
Merge pull request #4590 from k9mail/integrate_font_size_settings
Integrate font size settings into general_settings.xml
2020-03-06 15:45:48 +01:00
cketti
3a4d170755 Integrate font size settings into general_settings.xml 2020-03-05 15:19:17 +01:00
cketti
0e13c58550 Extract 'folder settings' screen to FolderSettingsFragment 2020-03-04 21:49:10 +01:00
cketti
1bd52ae417 Extract 'manage folders' screen to ManageFoldersFragment 2020-03-04 17:19:26 +01:00
cketti
0e1804ff3e Remove keyboard bindings from ManageFoldersActivity 2020-03-04 16:30:01 +01:00
cketti
2cf4274700 Remove "compact account" from 'Manage folders' screen 2020-03-04 16:28:29 +01:00
cketti
66ac63500a
Merge pull request #4587 from k9mail/fix_ghost_message_list
Fix another ghost message list bug
2020-03-04 15:59:48 +01:00
cketti
c87af0e391 Try to avoid introducing "ghost message list" bugs in the future 2020-03-04 13:36:23 +01:00
cketti
44d3932651 Fix another ghost message list bug
When using the back button only open the default folder when the back stack
is empty.
2020-03-04 13:36:00 +01:00
cketti
c1af18fb69 Add missing methods to AppCompatPreferenceActivity 2020-03-04 04:40:30 +01:00
cketti
d83d63663d Version 5.706 2020-03-03 19:27:11 +01:00
cketti
93fccaf0c3
Merge pull request #4583 from k9mail/whats_new_dialog
Remove "What's new" dialog from MessageList
2020-03-03 19:03:19 +01:00
cketti
f353c9db96
Merge pull request #4581 from k9mail/back_button_opens_default_folder
Back button opens default folder
2020-03-03 19:03:02 +01:00
cketti
b23251f0e2
Merge pull request #4580 from k9mail/default_to_unified_inbox
Open Unified Inbox by default
2020-03-03 19:01:01 +01:00
cketti
485e1bd589
Merge pull request #4578 from k9mail/update_translations
Update translations
2020-03-03 18:57:45 +01:00
cketti
c041a2e0ef
Merge pull request #4577 from k9mail/message_compose_expanding_text
Fix bug where EditText for message body wasn't growing properly
2020-03-03 18:57:00 +01:00
cketti
325d9a1cc3 Remove "What's new" dialog from MessageList
See #4517
2020-03-03 15:03:50 +01:00
cketti
90f7703773 Back button opens default folder 2020-03-03 14:54:46 +01:00
cketti
26571af2d0 Open Unified Inbox by default 2020-03-02 18:50:27 +01:00
cketti
5eceb0d682 Update translations 2020-03-02 16:28:02 +01:00
cketti
6bcc419e4e Fix bug where EditText for message body wasn't growing properly 2020-03-02 16:09:33 +01:00
cketti
e8d297a8fa Keep read position when switching apps
The bug seems to have been caused by a behavior change in LoaderManager.
Previously, onLoadFinished() wasn't called when the Loader returned the
same object as before. We now emulate this behavior by adding our own
checks.
2020-03-02 15:51:08 +01:00
cketti
916015b1f0 Convert 'MimeHeader' to Kotlin 2020-02-29 21:29:46 +01:00
cketti
b1c6a55115 Fix "Bcc all messages to" when switching accounts 2020-02-22 22:28:32 +01:00
Maurizio Pasquinelli
34373622ac Fix overlapping bcc and date 2020-02-19 19:57:39 +01:00
cketti
520eb13dc0
Merge pull request #4536 from k9mail/fix_memory_leaks
Fix some Activity leaks
2020-02-16 18:38:29 +01:00
cketti
ce7b59addf Clean up code in K9WebViewClient 2020-02-16 18:21:31 +01:00
FliegendeWurst
1a413e4a5c
Never open external links in our WebView (API level < 24) 2020-02-16 14:44:55 +01:00
cketti
d85e581485 Don't use GeneralSettingsDataStore as singleton
It holds a reference to the Activity that it was last used from.
2020-02-14 02:25:57 +01:00
cketti
caa7b6d797 Don't load 'hasMoreMessages' data in main thread 2020-02-12 23:22:57 +01:00
Meteor0id
cd21fb23eb
autodownload_message_size as base2 Bytes
Max message size is compared directly with message size, which is retrieved in the case of POP3 by a list command. List returns a size in bytes.

Out of that follows that the values for max download size are actually expressed as kibibytes and mebibytes
2020-02-11 03:38:14 +01:00
cketti
129cc2f32d Change SizeFormatter to properly use SI units 2020-02-09 01:10:17 +01:00
cketti
99b5f38a9c Make SizeFormatter.formatSize() an instance method 2020-02-09 00:20:49 +01:00
cketti
bee39ec03f Convert 'SizeFormatter' to Kotlin 2020-02-08 22:15:04 +01:00
cketti
de39ad28c5 WIP: Renaming file 'SizeFormatter' with Kotlin extension 2020-02-08 22:13:36 +01:00
ByteHamster
7fb6c4bfd8 Do not try to close search in onSaveInstanceState 2020-02-08 11:19:08 +01:00
ByteHamster
cdd7fdead2 Upgraded SearchPreference library to version 2.0.0 2020-02-07 18:31:58 +01:00
cketti
af7887d20d Version 5.705 2020-02-06 23:02:59 +01:00
cketti
96e76949a8 Update translations 2020-02-06 22:03:55 +01:00
cketti
9e06676d33 Update AndroidX Fragment to 1.2.1 2020-02-06 17:24:49 +01:00
cketti
c1c57cfd8d Update AndroidX Lifecycle to 2.2.0 2020-02-06 16:22:51 +01:00
cketti
68e8bed15d Update AndroidX AppCompat to 1.1.0 2020-02-06 15:59:22 +01:00
cketti
b5cfb4c02c Fix message lists being displayed on top of each other 2020-02-06 15:07:18 +01:00
cketti
67e2029d56 Never open external links in our WebView 2020-02-06 13:51:37 +01:00
cketti
86326ea0b9 Remove unused folder name from MessagingListener callbacks 2020-02-05 01:25:24 +01:00
cketti
ce372384bb
Merge pull request #4490 from k9mail/remove_gesture_detector
Remove unused SwipeGestureDetector
2020-01-29 14:32:33 +01:00
cketti
678ba2acee Remove unused SwipeGestureDetector 2020-01-28 23:32:49 +01:00
cketti
aa08570a45 Make sure FolderNameFormatter uses the correct Resources instance
This is necessary so special folder names are displayed in the language
configured by the user under general settings.
2020-01-28 17:22:12 +01:00
cketti
c726a2d902 Remove unused field 'lastCheckFailed' from FolderInfoHolder 2020-01-28 17:22:12 +01:00
cketti
533c9e5622 Remove unused code from FolderInfoHolder 2020-01-28 17:22:12 +01:00
cketti
846aabe598 Remove FolderInfoHolder.getDisplayName() 2020-01-28 17:22:12 +01:00
cketti
bf69052995
Merge pull request #4483 from k9mail/MessageListLoader_close_Cursor
Close Cursor in MessageListLoader
2020-01-28 16:14:52 +01:00
cketti
c5b113bb58
Merge pull request #4480 from k9mail/theme_fixes
Only use K9 themes in AndroidManifest.xml
2020-01-28 16:14:17 +01:00
Marc K
b7482b28ad Add MessageListAdapter tests for missing and empty subject 2020-01-28 11:33:10 +01:00
Marc K
3f199bb8c7 Allow missing (null) subject headers
Fixes #4484
2020-01-27 23:08:45 +01:00
cketti
642a20740a Close Cursor in MessageListLoader 2020-01-27 17:40:07 +01:00
cketti
9845b76338 Only use K9 themes in AndroidManifest.xml 2020-01-27 02:39:28 +01:00
ByteHamster
745708649c Make default progress 0% 2020-01-26 16:24:19 +01:00
cketti
1de6f3c48a Clean up MessageListFragment.setWindowProgress() 2020-01-23 16:36:21 +01:00
cketti
937882f836 Display progress when syncing a folder 2020-01-23 16:36:21 +01:00
cketti
28dadaf468
Merge pull request #4469 from k9mail/fix_LocalSearch_accounts
Fix crash when opening Unified Inbox
2020-01-23 16:35:12 +01:00
cketti
35031e800c
Merge pull request #4468 from k9mail/fix_MessageListExtractor
Fix MessageListExtractor to only read thread count when requested
2020-01-23 16:27:39 +01:00
cketti
0d3511cf53 Fix MessageListExtractor to only read thread count when requested
Turns out that sometimes we do have a column with index THREAD_COUNT_COLUMN
but it's the unique ID and not a thread count.
2020-01-22 22:40:10 +01:00
cketti
320f916098 Remove support for the magic ALL_ACCOUNTS constant from LocalSearch 2020-01-22 21:59:47 +01:00
cketti
ad731aa3d9 Fix bug in MessageListLiveData when using LocalSearch to retrieve accounts UUIDs 2020-01-22 21:19:55 +01:00
cketti
f8baaa60f6 Fix bug in MessageListLoader when using LocalSearch to fetch accounts 2020-01-22 21:05:15 +01:00
cketti
b99d445736 Remove unused message counts from MessagingListener.synchronizeMailboxFinished() 2020-01-22 17:16:06 +01:00
cketti
aeef338efd Remove unread count from MessagingListener.folderStatusChanged() 2020-01-22 17:02:16 +01:00
cketti
d0bb3a0524 Remove MessagingController.listFolders() and associated callbacks
We now use FolderRepository to retrieve the folder list. listFolders()
was only used to refresh the folder list from the server.
2020-01-21 14:45:55 +01:00
cketti
2fcaa8e16c Merge ActivityListener into MessageListActivityListener 2020-01-20 16:54:36 +01:00
cketti
37845d751a Remove unused functionality from ActivityListener 2020-01-20 16:43:33 +01:00
cketti
3dbdfb8882 Remove usage of ActivityListener in ManageFoldersActivity 2020-01-20 15:59:52 +01:00
cketti
e16c3ff21f Update Material Components to 1.1.0-rc02 2020-01-19 16:45:42 +01:00
cketti
0de96b6592 Update FastAdapter to 4.1.2 2020-01-19 16:27:53 +01:00
cketti
582eb27dd3 Update Material Drawer to 7.0.0 2020-01-19 16:27:53 +01:00
cketti
c2f518f8e2 Update kotlinx-coroutines to 1.3.2 and kotlinx-coroutines-android 1.3.0 2020-01-19 16:27:53 +01:00
cketti
9b2b82eee6 Update Mockito to 3.2.4 and Mockito-Kotlin to 2.2.0 2020-01-19 16:27:53 +01:00
cketti
6e7f7549f8 Revert "Add NavController to MessageList"
This reverts commit ac94879c
2020-01-15 16:10:55 +01:00
cketti
f98d6c95b3
Merge pull request #4446 from k9mail/navigation_main
Add NavController to MessageList
2020-01-14 16:34:54 +01:00
cketti
a873a1c41f
Merge pull request #4442 from k9mail/bye_CursorLoader
Switch MessageListFragment away from CursorLoader
2020-01-14 16:20:37 +01:00
cketti
ac94879c98 Add NavController to MessageList 2020-01-13 01:21:41 +01:00
cketti
53e3604274 Remove unread widget styles from styles.xml in 'ui' module 2020-01-12 23:28:59 +01:00
cketti
95c927b9f7 Remove Theme.K9Dialog 2020-01-12 19:37:41 +01:00
cketti
5b7738fc7f Stop using Holo context menu styles 2020-01-12 19:31:53 +01:00
cketti
ab61e80bc3 Switch MessageListFragment away from CursorLoader 2020-01-12 15:58:15 +01:00
cketti
4fa2fd7094
Merge pull request #4438 from k9mail/bye_CursorAdapter
Switch MessageListAdapter away from CursorAdapter
2020-01-12 13:59:52 +01:00
cketti
41bc3e10e9
Merge pull request #4440 from k9mail/improve_FoldersLiveData
Make MessageListViewModel only expose one LiveData for the folder list
2020-01-12 13:53:36 +01:00
cketti
b5be183eda Switch MessageListAdapter away from CursorAdapter 2020-01-12 13:44:19 +01:00
cketti
848b87c996 Make MessageListViewModel only expose one LiveData for the folder list 2020-01-11 01:48:12 +01:00
cketti
16d4e5dfc2 Replace CoroutineScopeViewModel with lifecycle-viewmodel-ktx library 2020-01-11 00:43:20 +01:00
cketti
f68da8fe04
Merge pull request #4432 from k9mail/message_list_item_data_class
Create MessageListExtractor to read from Cursor
2020-01-10 22:51:21 +01:00
cketti
d4df9274bb Extract code to read from Cursor to MessageListExtractor 2020-01-10 20:07:19 +01:00
cketti
57ef94ccd5 Version 5.704 2020-01-09 17:37:16 +01:00
cketti
ed77c652e6
Merge pull request #4434 from k9mail/remove_wrap_long_folder_names
Remove setting "Wrap long folder names"
2020-01-09 17:29:08 +01:00
cketti
b40a5f1ffd
Merge pull request #4433 from k9mail/string_constants
Move URLs from strings.xml to constants.xml
2020-01-09 17:23:53 +01:00
cketti
e0ba03c74b Remove unused setting "Wrap long folder names" 2020-01-09 17:02:33 +01:00
cketti
8955de30eb Move URLs from strings.xml to constants.xml 2020-01-09 16:40:24 +01:00
cketti
aab4ca78fc Refactor code in MessageListAdapter 2020-01-09 14:50:22 +01:00
cketti
67468687e5 Simplify LocalFolder.open() 2020-01-09 14:14:52 +01:00
cketti
2d470c73a0 Move FolderType and FolderClass out of Folder 2020-01-09 14:08:41 +01:00
cketti
5f9999e173 Change LocalFolder to no longer extend Folder 2020-01-09 14:08:41 +01:00
cketti
b336ad283f
Merge pull request #4046 from ByteHamster/mark-as-read-on-delete
Mark messages read when deleting
2020-01-08 19:00:38 +01:00
ByteHamster
1bac17d244 Added setting to mark messages read when deleting 2020-01-08 18:44:46 +01:00
cketti
aaaf75dc6f
Merge pull request #4421 from k9mail/special_folders
Properly configure special folders during (initial) folder sync
2020-01-08 00:39:46 +01:00
cketti
b504e6a83a Move special folder handling out of FolderRepository 2020-01-02 20:33:17 +01:00
Marcus Hoffmann
c1bdd9ee09 add background color to adaptive icons
This adds a desaturated version of K9-Mails envelope color as the
adaptive icon background color.

This should look a lot better than a plain white background.

Also slightly enlarge the icon shape.
2020-01-02 16:19:39 +01:00
cketti
2791ef9920 Version 5.703 2019-12-22 20:05:06 +01:00
cketti
7095cdee6f Update translations from Transifex 2019-12-22 19:27:22 +01:00
cketti
39b286bddd Update MaterialDrawer library 2019-12-22 04:23:07 +01:00
cketti
593408d485 Simplify code to add/remove folders to drawer 2019-12-22 04:23:07 +01:00
cketti
270aa7082f Use sticky footer in drawer 2019-12-22 04:11:07 +01:00
cketti
617624c84e
Merge pull request #4390 from k9mail/keep_message_list_state
Remove launchMode attribute from 'MessageList'
2019-12-19 14:07:06 +01:00
cketti
a946523161
Merge pull request #4389 from k9mail/choose_folder
Update "Choose Folder" screen
2019-12-19 14:00:25 +01:00
cketti
97a75a54ef Remove launchMode attribute from 'MessageList'
Without this change backgrounding the app and then going back to it will
call onNewIntent(), which in turn will open the default folder.
2019-12-18 18:34:07 +01:00
cketti
3b63b4f7bf Save state across configuration changes in 'ChooseFolderActivity' 2019-12-18 15:29:52 +01:00
cketti
c1a301523d Honor 'scrollToFolder' argument in 'ChooseFolderActivity' 2019-12-18 15:17:45 +01:00
cketti
8325d2b532 Honor 'showDisplayableOnly' argument in 'ChooseFolderActivity' 2019-12-18 15:00:34 +01:00
cketti
399f0bab41 Add method to build 'ChooseFolderActivity' launch intent 2019-12-18 14:50:17 +01:00
cketti
a7510bcec5 Clean up 'ChooseFolderActivity' 2019-12-18 04:33:16 +01:00
cketti
e2dfc05f60 Fix filtering folders by display mode in 'ChooseFolderActivity' 2019-12-18 04:06:34 +01:00
cketti
198b1bcd6e Fix filtering the folder list in 'ChooseFolderActivity' 2019-12-18 03:39:49 +01:00
cketti
d7b19a1ba7 Use RecyclerView in 'ChooseFolderActivity' 2019-12-18 03:32:10 +01:00
cketti
af304dbd6a Use 'FoldersLiveData' in 'ChooseFolderActivity' 2019-12-18 03:18:14 +01:00
cketti
04734e7055 Create new package for 'ChooseFolderActivity' 2019-12-18 02:44:24 +01:00
cketti
8e0f6fa8c2 Convert 'ChooseFolder' to Kotlin 2019-12-18 02:43:12 +01:00
cketti
a64556eb79 WIP: Renaming file 'ChooseFolder' with Kotlin extension 2019-12-18 02:24:52 +01:00
cketti
40127d512b Remove hungarian notation in 'ChooseFolder' 2019-12-18 02:23:28 +01:00
cketti
84327e085d Don't pass Folder instance to Backend 2019-12-18 01:21:12 +01:00
cketti
615cad7414
Merge pull request #4375 from k9mail/fix_add_identity_crash
Fix crash when trying to create a new identity
2019-12-17 02:34:59 +01:00
cketti
a4b4edcbaa Fix crash when trying to create a new identity 2019-12-14 15:29:31 +01:00
cketti
7327dd1cde Fix crash when changing focus using hardware keyboard 2019-12-13 15:55:06 +01:00
cketti
45dcbc90ee Version 5.702 2019-12-13 15:21:40 +01:00
cketti
5346c08ba3 Clean up 'ManageFoldersActivity' 2019-12-13 14:41:24 +01:00
cketti
b0d105b01c Convert 'ManageFoldersActivity' to use RecyclerView 2019-12-13 14:41:24 +01:00
cketti
5a6fb46343 Update 'FoldersLiveData' when accounts change
This is so we update folder lists when the display mode is changed.
2019-12-13 14:41:24 +01:00
cketti
b793f48afe Use 'FoldersLiveData' in 'ManageFoldersActivity' 2019-12-13 14:41:24 +01:00
cketti
bdb244badf Remove unused functionality from 'ManageFoldersActivity' 2019-12-13 14:30:43 +01:00
cketti
c015b1e22a Create new package for 'ManageFoldersActivity' 2019-12-13 14:30:43 +01:00
cketti
303c7a6e95 Convert 'ManageFoldersActivity' to Kotlin 2019-12-13 14:30:07 +01:00
cketti
4aa54baf8e WIP: Renaming file 'ManageFoldersActivity' with Kotlin extension 2019-12-13 14:30:07 +01:00
cketti
da692ce447 Avoid name conflicts with fields in base class 2019-12-13 14:30:07 +01:00
cketti
a084e8e0db
Merge pull request #4362 from k9mail/back_button_closes_drawer
Close drawer when back button is pressed
2019-12-13 00:43:02 +01:00
cketti
ff138be49a Close drawer when back button is pressed 2019-12-12 15:11:36 +01:00
cketti
df2711d520 Add DefaultFolderProvider to decide which folder to display by default 2019-12-12 00:47:58 +01:00
cketti
15a0bed5c8
Merge pull request #4353 from ByteHamster/fix-crash-theme-change
Fixed crash when changing theme
2019-12-10 12:11:29 +01:00
ByteHamster
a1c3ae6d0e Fixed crash when changing theme 2019-12-09 23:51:43 +01:00
cketti
21231bc964 Clean up code in 'AccountSetupAccountType' 2019-12-03 20:31:33 +01:00
cketti
59dc541591 Convert 'AccountSetupAccountType' to Kotlin 2019-12-03 20:10:41 +01:00
cketti
da6ea3daf9 WIP: Renaming file 'AccountSetupAccountType' with Kotlin extension 2019-12-03 20:07:50 +01:00
cketti
33c875e725 Version 5.701 2019-12-02 03:03:57 +01:00
cketti
837e11ef53 Update translations 2019-12-02 02:08:12 +01:00
cketti
dad7f1963b
Merge pull request #4322 from k9mail/account_defaults
Change some account defaults
2019-12-02 01:57:06 +01:00
cketti
755d47a247 Disable sync notifications by default
Also remove the option to configure the sync notification during account
setup.
2019-12-01 18:30:26 +01:00
cketti
b23be23efb Never display folders when showing the Unified Inbox 2019-12-01 18:05:16 +01:00
cketti
814e25eeb4 Code cleanup 2019-12-01 16:37:49 +01:00
ByteHamster
72d7602944 Use account color as accent color in drawer
Use slightly different dark theme highlight colors
Chose the colors so they have WCAG AA contrast on #333333 background
2019-12-01 16:18:46 +01:00
Vincent Breitmoser
6a73e7e3ea Update FastAdapter and MaterialDrawer libraries 2019-11-29 16:31:12 +01:00
cketti
93d0e14b68 Fix code style issues found by ktlint 2019-11-29 13:44:00 +01:00
cketti
88d863c4c2 Add ktlint and Kotlin code style settings for Android Studio 2019-11-29 13:39:16 +01:00
cketti
a6af0469f4 Coroutine fixes 2019-11-29 13:26:05 +01:00
Vincent Breitmoser
6136926451 Move some async jobs into background thread
Fixes issues from c179ace548
2019-11-28 22:48:04 +01:00
Dominik Schürmann
a97b38643d update preferenceFix library to 1.1.0 2019-11-28 18:12:12 +01:00
cketti
66ae90c11d
Merge pull request #4290 from k9mail/remove_start_in_unified_inbox_setting
Remove "Start in Unified Inbox" setting
2019-11-26 17:08:35 +01:00
Vincent Breitmoser
ac85f8af54 remove hungarian notation from EditIdentity 2019-11-26 16:32:56 +01:00
Vincent Breitmoser
2296c6f757 convert Identity to Kotlin 2019-11-26 15:56:28 +01:00
cketti
d6d8ccdf66 Remove "Start in Unified Inbox" setting 2019-11-26 15:52:19 +01:00
Vincent Breitmoser
0aec40bf21 convert EditIdentity to Kotlin 2019-11-26 15:32:56 +01:00
cketti
0e911d0ad5
Merge pull request #4284 from k9mail/fix_app_update_issues
Fix launcher shortcuts and home screen widgets
2019-11-23 20:55:30 +01:00
cketti
c50fa472ba
Merge pull request #4283 from k9mail/changelog
Update changelog
2019-11-23 20:50:23 +01:00
cketti
60e6850b97 Add changelog for 5.700 2019-11-23 20:35:49 +01:00
cketti
455162a8c6 Add support for old account shortcut intents 2019-11-23 03:10:42 +01:00
cketti
53c6e54caa Copy changelog entries from 5.6-MAINT branch 2019-11-22 14:15:12 +01:00
cketti
bd6561191d Update translations from Transifex 2019-11-22 13:27:30 +01:00
cketti
5948191b56
Merge pull request #4281 from k9mail/startup_theme
Startup theme
2019-11-22 13:21:42 +01:00
cketti
ff44def285
Merge pull request #4275 from k9mail/account_colors
Change account color picker
2019-11-22 13:20:34 +01:00
cketti
c01ec3a9bf Optimize startup theme for users not overriding the system theme
This will bring back the "white flash" for users on Android 9+ who
use a light theme for the system UI but configured K-9 Mail to use its
dark theme. But it gives a much better user experience when using the
default theme setting ("Use system default").
2019-11-22 04:29:30 +01:00
cketti
11d556c21a Merge 'values-v21' folder contents into 'values' folder 2019-11-22 04:10:27 +01:00
cketti
ba9a107884
Merge pull request #4278 from k9mail/remove_remote_control
Remove "remote control" functionality
2019-11-22 04:04:49 +01:00
cketti
c548a8074f
Merge pull request #4277 from k9mail/storage_location
Remove option to store database on "external storage"
2019-11-22 04:03:50 +01:00
cketti
4b1488c41a Define the first three account colors to use 2019-11-22 00:29:48 +01:00
cketti
b67bfe00a6 Use pen icon for 'compose' action 2019-11-21 23:37:24 +01:00
cketti
3030d0ec0e Remove 'RemoteControlService' 2019-11-21 18:26:45 +01:00
cketti
59244f52ff Remove ability to store database on "external storage"
If an account database is currently stored on "external storage" we
move it back to internal storage.
2019-11-21 16:43:20 +01:00
cketti
a64f90cd68 Read account colors from resource array 2019-11-21 02:17:43 +01:00
cketti
b7e8200f06 Use 'AccountCreator' instances instead of object 2019-11-21 02:14:32 +01:00
cketti
89f604357b Convert 'AccountCreator' to Kotlin 2019-11-21 01:48:30 +01:00
cketti
45b9a7bd91 WIP: Renaming file 'AccountCreator' with Kotlin extension 2019-11-21 01:34:07 +01:00
cketti
3ea938de34 Remove HoloColorPicker 2019-11-21 01:33:57 +01:00
cketti
11c9657b56 Switch from HoloColorPicker to "default" ColorPickerPreference 2019-11-21 01:33:57 +01:00
cketti
3272dc46fe Remove 'settings' action from message list toolbar 2019-11-20 20:38:59 +01:00
cketti
c3496f4bdf Hide 'expunge' action unless expunge policy is set to manual 2019-11-20 20:38:59 +01:00
cketti
a3dee1180e Remove 'check mail' button in message list toolbar
"Pull down to refresh" is now the only way to update the message list.
2019-11-20 20:38:59 +01:00
cketti
91e43fbbfb Remove unused resources 2019-11-20 17:25:25 +01:00
cketti
6dfe707858
Merge pull request #4269 from k9mail/update_koin
Update to Koin 2.0.1
2019-11-20 16:09:49 +01:00
cketti
9655216606 Update to Koin 2.0.1 2019-11-20 15:38:11 +01:00
cketti
cb84cbfcff
Merge pull request #4268 from k9mail/disable_push_in_setup
Remove Push setting from 'AccountSetupOptions'
2019-11-20 02:40:17 +01:00
cketti
92f095a244 Remove Push setting from 'AccountSetupOptions' 2019-11-19 15:56:11 +01:00
cketti
1d781b93eb Switch to using safe-content-resolver-v21 2019-11-19 15:27:04 +01:00
cketti
a097c7761a Remove version checks for API 21 devices 2019-11-19 15:24:17 +01:00
cketti
316ea451b1 Remove conditional code regarding lock screen notifications 2019-11-19 15:22:07 +01:00
cketti
3b9d973091 Remove 'RigidWebView' which is no longer necessary 2019-11-19 15:19:12 +01:00
cketti
3a3c6e8332 Remove now unused code in 'K9WebViewClient' and simplify implementation 2019-11-19 15:15:13 +01:00
cketti
1303430e73
Merge pull request #4263 from k9mail/remove_unused_code
Remove unused code
2019-11-18 16:55:06 +01:00
cketti
b7127168a0 Remove unused ColorChip(Provider) 2019-11-18 02:46:28 +01:00
cketti
57ff989edd Add kotlinOptions.jvmTarget to Gradle projects using Kotlin 2019-11-17 14:45:05 +01:00
cketti
8dc3fd4ebb Set compileSdkVersion to 29 2019-11-17 01:41:46 +01:00
cketti
d67aa773e6 Hide Push-related options in folder settings 2019-11-14 19:34:10 +01:00
cketti
5b2edcf9fb Hide Push-related options in account settings 2019-11-14 19:02:23 +01:00
cketti
3470ee8774 Update Robolectric to 4.2.1
Not going directly to 4.3.1 because of this issue:
https://github.com/robolectric/robolectric/issues/5245
2019-11-13 17:37:37 +01:00
cketti
e3973096d3 Remove Checkstyle 2019-11-13 16:51:52 +01:00
cketti
56a37d9e14 Remove FindBugs
It's not maintained anymore and we're not currently using it.
2019-11-13 16:41:51 +01:00
cketti
105622a999 Use variable for 'sourceCompatibility' and 'targetCompatibility' values 2019-11-13 16:26:29 +01:00
cketti
c41382e3d4 Remove MessagingListener.searchStats() 2019-11-06 17:59:04 +01:00
cketti
7f02272ae0 Remove unused MessagingListener.accountStatusChanged() 2019-11-06 17:59:04 +01:00
cketti
8831923477
Merge pull request #4242 from k9mail/remove_unused_settings
Remove unused options from general settings
2019-11-06 17:58:41 +01:00
cketti
e42c8d4c50
Merge pull request #4236 from k9mail/change_settings_screen
Move "About" to the bottom of the settings screen
2019-11-06 15:50:14 +01:00
cketti
0168789047
Merge pull request #4235 from k9mail/remove_folder_list_activity
Remove 'FolderList' activity
2019-11-06 15:49:37 +01:00
cketti
52f930135c Remove "Show account size" setting 2019-11-06 15:34:11 +01:00
cketti
e1cc1760f5 Remove "Count search results" setting 2019-11-06 15:30:13 +01:00
cketti
e3c6b7df34 Launch 'OnboardingActivity' when no account exists yet 2019-11-06 04:29:35 +01:00
cketti
cee4a4fe46 Move "About" to the bottom of the settings screen 2019-11-05 23:26:41 +01:00
cketti
818239fa12 Clean up names 2019-11-05 23:08:08 +01:00
cketti
828e851dc6 Rename 'FolderList' to 'ManageFoldersActivity' 2019-11-05 23:08:08 +01:00
cketti
82d46b2880 Don't launch 'FolderList' from 'MessageList'
…except when selecting "Manage folders".
2019-11-05 23:08:08 +01:00
cketti
8b7a5a80c7 Don't launch 'FolderList' from 'LauncherShortcuts' 2019-11-05 23:08:08 +01:00
cketti
2fcef664aa Remove 'Accounts' activity 2019-11-03 18:23:09 +01:00
cketti
8df81ab202 Never start 'Accounts' from 'MessageCompose' 2019-11-03 17:57:09 +01:00
cketti
b482e9a0ba Never start 'Accounts' from 'FolderList' 2019-11-03 17:53:41 +01:00
cketti
93fe0b0b54 Never start 'Accounts' from 'MessageList' 2019-11-03 17:51:41 +01:00
cketti
ce562e4938 Launch 'MessageList' instead of 'Accounts' from 'AccountSetupNames' 2019-11-03 17:47:54 +01:00
cketti
336542daa5 Use NavController in 'WelcomeFragment' to start 'MessageList' 2019-11-03 17:43:03 +01:00
cketti
7c40f0f3d2 Open default account if no Intent extras have been supplied 2019-11-03 17:39:27 +01:00
cketti
2a96e5d339
Merge pull request #4232 from k9mail/remove_all_messages_account
Remove special account "All messages"
2019-11-03 17:05:14 +01:00
cketti
99b44bd5ca Remove special account "All messages" 2019-11-01 03:21:43 +01:00
cketti
9a197840e2 Replace WelcomeMessage with OnboardingActivity
Make use of new SettingsImportFragment from WelcomeFragment.
2019-11-01 01:58:22 +01:00
cketti
457f27e154
Merge pull request #4225 from k9mail/fix_fallback_image_loading
Fix contact picture flickering in message list
2019-10-28 14:19:02 +01:00
cketti
d1aa8da309
Merge pull request #4223 from k9mail/about_fragment
Convert AboutActivity to a fragment
2019-10-28 14:18:39 +01:00
cketti
2adac1d353
Merge pull request #4224 from k9mail/deprecate_webdav
Don't allow users to create new WebDAV accounts
2019-10-28 14:16:39 +01:00
cketti
e7d8cda043 Fix contact picture flickering in message list
Change the way we try to load contact pictures and generate contact
letter fallback images afterwards, so Glide caches the result.
2019-10-22 03:40:58 +02:00
cketti
04756c1d10 Don't allow users to create new WebDAV accounts 2019-10-21 01:35:02 +02:00
cketti
79301489e9 Convert AboutActivity to a fragment 2019-10-20 05:08:41 +02:00
cketti
5bdbd8b962 Add 'SettingsImportFragment' 2019-10-19 23:05:01 +02:00
ByteHamster
b981cd0efd Fix crash when enabling openpgp
In onDismiss, getActivity returns null if the fragment is covered by the
chooser intent (F-Droid vs Google Play).
2019-10-13 11:48:40 +02:00
cketti
bc713807cd Don't fetch list of folders from adapter in worker thread 2019-10-04 00:10:34 +02:00
cketti
1005f5e300 Retain filter when updating the folder list 2019-10-04 00:04:51 +02:00
cketti
b7f4ab9a70 Simplify FolderListFilter 2019-10-03 23:57:01 +02:00
cketti
9df97445c2 Rename fields in FolderListFilter 2019-10-03 23:57:01 +02:00
cketti
80c2d20c9b Clean up comments in FolderListFilter 2019-10-03 23:57:01 +02:00
cketti
f2bf8a9fda Port item ID fix from PR #4180 2019-10-03 23:57:01 +02:00
ByteHamster
88edc080b5 Make ChooseFolder use new FolderListFilter 2019-10-03 23:57:01 +02:00
ByteHamster
6550a5662f Using interface in FolderListFilter 2019-10-03 22:40:20 +02:00
ByteHamster
e32a8ca486 Added icons to ChooseFolder 2019-10-03 22:40:20 +02:00
cketti
0985c5783b Show sender name in bold for unread messages 2019-09-06 16:22:11 +02:00
cketti
fde8c26268
Merge pull request #4181 from k9mail/hide_account_chip
Don't show account chip in message list when showing single account
2019-09-05 12:39:20 +02:00
cketti
59237ef3a6
Merge pull request #4180 from k9mail/fix_folder_list_adapter
Fix item ID in FolderListAdapter and minor code cleanup
2019-09-05 12:38:37 +02:00
Robin Schmidt
0756c69514 Message list items were missing a left margin when contact picture was disabled/hidden in settings. 2019-09-04 08:43:56 +02:00
cketti
d78efe5bf0
Merge pull request #4184 from ByteHamster/unknown-icon
Updated fallback contact picture
2019-09-01 22:29:17 +02:00
ByteHamster
ec640867b9 Updated fallback contact picture 2019-09-01 20:23:56 +02:00
ByteHamster
4ae8435f2f Changed chip and answered arrow position 2019-09-01 19:19:46 +02:00
cketti
a4d2079c18 Don't show account chip in message list when showing single account 2019-09-01 17:55:31 +02:00
cketti
b486a2e3ba Remove hungarian notation from FolderListAdapter 2019-09-01 17:32:15 +02:00
cketti
4c76c8d0ea Remove unused code from FolderListFilter 2019-09-01 17:20:47 +02:00
cketti
d097b2821c Remove unused/unnecessary methods 2019-09-01 17:16:04 +02:00
cketti
6e673a4e6a Add missing override annotations 2019-09-01 17:14:01 +02:00
cketti
103bff73b2 Use a folder's database ID as list item ID 2019-09-01 17:11:50 +02:00
cketti
3a158a7c14
Merge pull request #4177 from k9mail/change_account_chip
Change shape and position of account chip in message list
2019-09-01 17:04:05 +02:00
cketti
d1f15430aa
Merge pull request #4178 from ByteHamster/folderManager
Folder manager
2019-09-01 16:57:02 +02:00
ByteHamster
f9b6c9f27a Added icons to FolderList 2019-09-01 15:35:48 +02:00
ByteHamster
ddc0f25bbb Changed activity title to 'Manage folders' 2019-08-31 20:15:48 +02:00
cketti
1c29f1c09a
Merge pull request #4162 from ByteHamster/contact-picture-colors
Material contact picture colors
2019-08-31 19:36:58 +02:00
cketti
00f6d7eab7 Change account chip to be much smaller 2019-08-31 19:36:06 +02:00
ByteHamster
37bc7c62da Material contact picture colors 2019-08-31 19:17:17 +02:00
cketti
581937a7e3
Merge pull request #4157 from k9mail/remove_message_list_checkboxes
Remove selection checkboxes in message list
2019-08-31 17:15:24 +02:00
cketti
a8f4d337c1
Merge pull request #4158 from k9mail/GH-4153_AbsoluteSizeSpan_fix
Don't use AbsoluteSizeSpan when default font size is configured
2019-08-31 17:14:24 +02:00
cketti
4886f2f8fc Fix MessageList crash when required Intent extras are missing 2019-08-15 16:46:54 +02:00
cketti
16535af7e4 Fix MessageList crash when no account is provided in search Intent 2019-08-15 16:19:27 +02:00
cketti
4815a2f1a4 Fix crash when launching 'LauncherShortcuts' with unexpected action 2019-08-15 15:51:44 +02:00
cketti
4e12589656 Don't use AbsoluteSizeSpan when default font size is configured 2019-08-15 02:50:21 +02:00
cketti
26c7c76395 Remove setting for message list check boxes 2019-08-15 02:10:46 +02:00
cketti
f919a84ab9 Remove selection check box from message list 2019-08-15 02:10:46 +02:00
cketti
168e090846
Merge pull request #4154 from k9mail/MessageListAdapter_tests
Add some tests for MessageListAdapter
2019-08-15 01:05:35 +02:00