Commit graph

795 commits

Author SHA1 Message Date
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