Commit graph

9471 commits

Author SHA1 Message Date
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
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
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
f414d4788c
Merge pull request #4758 from k9mail/fix_imap_folder_refresh
Fix IMAP folder refresh
2020-05-13 00:08:38 +02:00
cketti
4914ac589f Fix IMAP folder refresh
We were using the old format server ID (UTF-7 decoded, with prefix removed)
to create and update folders. But we used the proper server ID to figure out
which folders to remove locally. This could lead to too many folders being
removed. They'd be added back the next time the folder list was refreshed
and then be removed again the next refresh after that.
2020-05-12 12:05:14 +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
13a0fbcee2
Merge pull request #4751 from k9mail/cleanup
Remove unused views from accounts_item layout
2020-05-12 00:45:23 +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
6a6e9d5f88
Merge pull request #4749 from k9mail/appcompat_drawables
Use AppCompat's 'srcCompat' attribute to reference drawables
2020-05-09 20:59:51 +02:00
cketti
259d0d03fe Merge pull request #4719 from livmackintosh
Git history was manually cleaned up.
2020-05-09 17:51:22 +02:00
Olivia Mackintosh
dfe2698453 Add detection of configuration based on SRV records (RFC6186) 2020-05-09 17:48:40 +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
5d6d64f00b Prepare for version 5.714 2020-05-08 23:24:34 +02:00
cketti
03369f3c27 Version 5.713 2020-05-08 23:18:57 +02:00
cketti
c0eddae91f
Merge pull request #4743 from k9mail/fix_reply
Fix loading original message when replying
2020-05-08 20:33:48 +02:00
cketti
e830656d80 Remove LocalFolder.close()
It's not doing anything useful and was responsible for at least one bug.
2020-05-08 19:42:16 +02:00
cketti
5a4a269926 Prepare for version 5.713 2020-05-08 15:03:49 +02:00
cketti
a236c35621 Version 5.712 2020-05-08 14:58:03 +02:00
cketti
633fee44d0
Merge pull request #4739 from k9mail/fix_pre_api26_crash
Remove usage of java.time API
2020-05-08 14:57:14 +02:00
cketti
b67ed99f24 Remove usage of java.time API 2020-05-08 14:32:51 +02:00
cketti
c966b7d49d Prepare for version 5.712 2020-05-08 11:07:03 +02:00
cketti
04e9714284 Version 5.711 2020-05-08 10:39:57 +02:00
cketti
0476bd45ac
Merge pull request #4735 from k9mail/update_translations
Update translations
2020-05-07 23:41:05 +02:00
cketti
b63929472b Update translations 2020-05-07 19:30:23 +02:00