Commit graph

8331 commits

Author SHA1 Message Date
cketti
e4d7482bef Add test to make sure hasCapability() opens a connection if necessary 2019-01-09 19:06:47 +01:00
cketti
2a4f1c4314 Don't only list special folders when SPECIAL-USE capability is present 2019-01-07 02:02:46 +01:00
cketti
0422268efc Make sure connection has been opened before checking capability 2019-01-06 23:32:17 +01:00
cketti
6a64d5e380
Merge pull request #3851 from ByteHamster/drawer-bg
Material paper drawer background
2019-01-06 22:03:25 +01:00
cketti
2cb299d7e5
Merge pull request #3830 from wiktor-k/remove-low-frequencies
Remove low sync frequencies that make K-9 crash
2019-01-06 21:29:34 +01:00
cketti
53db7e50cf
Merge pull request #3842 from k9mail/extended_list_command
Check for LIST-EXTENDED capability before issuing LIST with SPECIAL-USE
2019-01-06 21:27:14 +01:00
cketti
af95a0f1b6
Merge pull request #3840 from k9mail/move_delete_account_action
Add "remove account" action to account settings screen
2019-01-06 21:03:00 +01:00
ByteHamster
e8da523f30 Material paper drawer background 2018-12-31 15:23:24 +01:00
cketti
33c3d33abb
Merge pull request #3854 from williamvds/aboutFontFix
Fix About text size, padding, and localization
2018-12-29 18:32:28 +01:00
williamvds
9b537b963a
Add license string 2018-12-27 22:20:22 +00:00
williamvds
9fc5e41ec7
Convert app_fmt_authors string to authors 2018-12-27 22:19:09 +00:00
williamvds
856d9b4e6e
Correct font sizes in About to normal levels
Also adjusts some margin/padding on elements
2018-12-27 22:11:33 +00:00
cketti
f0b12e5bfd
Merge pull request #3839 from k9mail/fix_action_mode
Fix placement of action mode bar
2018-12-23 21:30:45 +01:00
Art O Cathain
e3d193c8d2 Fix for outbox folder being missing after settings import (#3812) 2018-12-23 00:34:38 +01:00
Wiktor
57c72034c6
Merge pull request #3829 from williamvds/aboutRedesign
Redesign About activity
2018-12-22 20:49:46 +01:00
Wiktor
6b511266a6
Merge pull request #3841 from wiktor-k/reduce-importance-of-syncs
Reduce importance of sync notifications
2018-12-22 20:44:01 +01:00
williamvds
7b15649b25
Remove default value for Library.license 2018-12-22 11:29:58 +00:00
cketti
2861d93a7f Check for LIST-EXTENDED capability before issuing LIST with SPECIAL-USE 2018-12-21 18:57:16 +01:00
Wiktor Kwapisiewicz
88cfdb385d
Reduce importance of sync notifications
Before this change synchronization notifications were displayed with
default importance. That means checking for e-mail generated sound or
vibration that looked like an arriving message.

This change reduces importance to `IMPORTANCE_LOW`. That still shows the
notification but does not generate any sounds or vibration by default
(this can still be adjusted by the user).
2018-12-21 16:20:04 +01:00
cketti
f88215594b Exit settings and display welcome screen when there are no accounts left 2018-12-20 23:50:31 +01:00
cketti
59edfb59f5 Add "remove account" action to account settings screen 2018-12-20 23:50:31 +01:00
Wiktor Kwapisiewicz
7d3ba67380
Add migration to cap minimum sync frequency to 15m
This change ensures that upgrading from older version of K-9 would not
set the frequency to unsupported value (below 15 minutes).
2018-12-20 20:56:11 +01:00
Wiktor Kwapisiewicz
8468ea5f77 Remove low sync frequencies that make K-9 crash
See: https://github.com/evernote/android-job/wiki/FAQ#why-cant-an-interval-be-smaller-than-15-minutes-for-periodic-jobs

Closes #3803.
2018-12-20 20:28:49 +01:00
cketti
91104b98c1 Fix placement of action mode bar 2018-12-20 19:14:31 +01:00
cketti
b4f41eb91d
Merge pull request #3831 from k9mail/move_storage_persister
Move storage persistence code
2018-12-20 18:54:45 +01:00
cketti
4da4544264 Remove custom whenever() helper for Mockito 2018-12-20 18:26:12 +01:00
williamvds
44a58d14c1
Convert app_revision_fmt string to app_revision
Removes the formatting, which is no longer needed
2018-12-19 17:54:26 +00:00
williamvds
b9724b4792
Remove string interpolation symbols from version strings 2018-12-19 17:47:50 +00:00
williamvds
2473a574e7
Version in About opens changelog, remove overflow menu 2018-12-19 17:43:21 +00:00
Vincent Breitmoser
79f8e69516
Merge pull request #3835 from 3demax/patch-1
Add link on how to retrieve logs to issue template
2018-12-19 11:26:43 +01:00
Max Golubev
6ec37b65bd
Add link on how to retrieve logs to issue template
This is a very helpful link which I believe should be included in the issue template. Might need a better wording, though to not get people scared to report.
2018-12-19 00:50:17 -05:00
cketti
97ed41524e Move tests to :app:storage module
Create :app:testing module for shared test infrastructure code
2018-12-18 00:07:44 +01:00
williamvds
185396440a
Use Kotlin synthetic bindings in AboutActivity 2018-12-17 21:17:26 +00:00
williamvds
a1195f5733
Move libraries in About to main layout
About's layout has been wrapped in a NestedScrollView
Added a Library data class to store library information
Added fragment for libraries, listing their name and licenses, links to
their homepages
Added string about_libraries for the section title
2018-12-17 21:07:57 +00:00
cketti
957b18fd5b Move StoragePersister implementation to :app:storage module 2018-12-17 17:31:47 +01:00
cketti
2d6c8b7067 Extract StoragePersister interface 2018-12-17 17:25:02 +01:00
cketti
b4757a1568 Move creation of StorageEditor instances to StoragePersister 2018-12-17 17:13:20 +01:00
cketti
86818fbffb Extract StorageEditor interface 2018-12-17 17:02:47 +01:00
cketti
db1dcb4618
Merge pull request #3824 from k9mail/remove_file_handling
Remove code for settings import/export using files (instead of SAF)
2018-12-17 00:02:58 +01:00
cketti
342cd75a31
Merge pull request #3825 from k9mail/remove_pre_api19_code
Remove compatibility code for pre-API 19 Android versions
2018-12-16 23:37:31 +01:00
williamvds
0ce24f8ed1
Add padding above links in About 2018-12-16 11:22:10 +00:00
williamvds
f241111ac9
Link to contributors in About 2018-12-16 11:22:10 +00:00
williamvds
5785d0bb83
Remove wrapping LinearLayout in About
Also make the license layout selectable. Removing the linear layout
improves the ripple effect
2018-12-16 11:21:56 +00:00
cketti
b5588a8d02 Remove compatibility code for pre-API 19 versions 2018-12-16 02:49:49 +01:00
cketti
6de1704029
Merge pull request #3823 from ByteHamster/folder-list
Removed unneeded options from folder list
2018-12-16 02:47:49 +01:00
cketti
58717266c0 Remove code for importing and exporting settings from and to files 2018-12-16 02:03:21 +01:00
cketti
ea13abb02d
Merge pull request #3822 from ByteHamster/remove-menu-items
Removed show folder list
2018-12-16 01:32:09 +01:00
ByteHamster
f69a1850f7 Open folder settings directly 2018-12-16 00:51:13 +01:00
ByteHamster
374c79e9aa Removed unneeded options from folder list 2018-12-16 00:26:19 +01:00
ByteHamster
7894bfdf1a Removed show folder list
Now that #3800 was merged, we have the option in the sidebar
2018-12-15 23:59:10 +01:00