Commit graph

1217 commits

Author SHA1 Message Date
cketti
607d650bea Disable minify for debug builds
Hopefully this will make debug builds faster.
2020-05-29 21:35:41 +02:00
cketti
b9eba6971f Prepare for version 5.716 2020-05-27 02:01:47 +02:00
cketti
405b207449 Version 5.715 2020-05-27 01:24:35 +02:00
cketti
e57f4d4728
Merge pull request #4787 from k9mail/clean_up_apk
Exclude unnecessary files from APK
2020-05-27 01:23:56 +02:00
cketti
ccfbc6e8eb Exclude more things via packagingOptions 2020-05-27 00:42:38 +02:00
cketti
d94d39f160 Remove unnecessary dependencies from :app:autodiscovery:api 2020-05-26 20:05:13 +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
cketti
a6b3c69ba2
Merge pull request #4770 from k9mail/add_leakcanary
Add LeakCanary
2020-05-17 19:50:56 +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
76678057ad Replace deprecated RuntimeEnvironment.application 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
Olivia Mackintosh
93c0d98419 Lay groundwork for optional in/out server discovery 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
cketti
451a2b2d03 Add LeakCanary 2020-05-16 21:06:06 +02:00
ByteHamster
e6beeb1aed Refresh all accounts in unified inbox and account list 2020-05-16 17:50:18 +02:00
cketti
7a7d588b43 Clean up special local folders in database 2020-05-16 17:46:26 +02:00
cketti
c85b56828e Don't reset special local folders in SpecialFolderUpdater 2020-05-16 17:46:26 +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
23fb90605c Prepare for version 5.715 2020-05-14 00:12:55 +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
3770d51361
Merge pull request #4763 from k9mail/missing_folder
Make trying to open a non-existent folder a permanent error
2020-05-13 23:44:20 +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
9100438b31 Make trying to open a non-existent folder a permanent error 2020-05-13 16:31:35 +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