Commit graph

9464 commits

Author SHA1 Message Date
cketti
5fe23c407d
Merge pull request #4800 from k9mail/disable_minify_for_debug_builds
Disable minify for debug builds
2020-05-29 22:07:49 +02:00
cketti
19de9ff7b7
Merge pull request #4799 from k9mail/fix_local_outbox
Fix local outbox
2020-05-29 22:07:34 +02:00
cketti
81ec57aa52
Merge pull request #4795 from k9mail/fix_reading_attachment_crash
Avoid NullPointerException when reading attachment
2020-05-29 21:58:47 +02:00
cketti
e0b6ca2061
Merge pull request #4788 from k9mail/remove_jis_send_support
Don't select charset depending on recipient address when sending messages
2020-05-29 21:55:35 +02:00
cketti
607d650bea Disable minify for debug builds
Hopefully this will make debug builds faster.
2020-05-29 21:35:41 +02:00
cketti
8ffd7e9c20 Add database migration to correct Outbox 'server_id' value if necessary 2020-05-29 19:42:34 +02:00
cketti
25bdbe8a0d Use proper "server ID" when creating local Outbox folder 2020-05-29 19:32:36 +02:00
cketti
a2287ce31c Avoid NullPointerException when reading attachment 2020-05-29 12:40:17 +02:00
cketti
4e2ae11238 Don't select charset depending on the recipient address
It's 2020. We now always use UTF-8 for outgoing emails.
2020-05-27 03:07:29 +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
2347dbe6e5
Merge pull request #4786 from k9mail/clean_up_dependencies
Remove unnecessary dependencies from :app:autodiscovery:api
2020-05-27 01:23:32 +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
0541844f61
Merge pull request #4785 from k9mail/clean_up_build_gradle
Remove outdated resolutionStrategy
2020-05-26 19:45:48 +02:00
cketti
0f07da744c
Merge pull request #4783 from k9mail/update_translations
Update translations
2020-05-26 19:45:37 +02:00
cketti
4cb42f76f0 Remove outdated resolutionStrategy 2020-05-26 17:18:42 +02:00
cketti
e3e132e5ef Update translations 2020-05-26 16:31:13 +02:00
cketti
68cbfe5306 Fix path in script to fix up Transifex output 2020-05-26 16:30:31 +02:00
cketti
1c50d1e69e Update Transifex config 2020-05-26 16:26:08 +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
5702dcbb4c
Merge pull request #4778 from k9mail/new_setup_screen
Add Gradle module for new setup UI
2020-05-25 13:44:39 +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
c32238149d
Merge pull request #4775 from k9mail/ui_base_module
Create UI base module
2020-05-19 18:35:19 +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
cketti
e2fa369c83
Merge pull request #4773 from livmackintosh/split-autodiscovery-methods
Split autodiscovery methods into gradle builds
2020-05-19 00:35:51 +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
4cb7e46494
Point to new forum instead of mailing list 2020-05-18 01:47:14 +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
cketti
4625dfbc2f
Merge pull request #4767 from livmackintosh/conn-settings-discov-evol
Lay groundwork for optional in/out server discovery
2020-05-17 19:45:08 +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