cketti
88c12325b9
Merge pull request #3863 from k9mail/GH-3861_fix_deleting_folders
...
Fix deleting folders
2019-01-09 23:49:32 +01:00
cketti
95f266ada6
Add missing code to persist the 'uploadSentMessages' preference
2019-01-08 21:12:46 +01:00
cketti
c6dd59dee4
Fix deleting folders no longer on the server
2019-01-06 22:24:47 +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
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
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
williamvds
7b15649b25
Remove default value for Library.license
2018-12-22 11:29:58 +00: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
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
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
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
williamvds
d15dbb6900
Make app_license string less verbose
2018-12-15 21:44:39 +00:00
williamvds
db2d2c4862
Convert debug_version_fmt string to version
2018-12-15 21:44:39 +00:00
williamvds
4db0c8d068
Convert about_title_fmt string to about_title
2018-12-15 21:44:39 +00:00
williamvds
5c30c5b08e
Move revison info link into About layout
2018-12-15 21:44:38 +00:00
williamvds
58ad258f3d
Add change log link to About
2018-12-15 21:44:38 +00:00
williamvds
e1c0278173
Add source link to About
2018-12-15 21:44:38 +00:00
williamvds
6182cf9ecd
Move information in About into layout
...
Including...
version
authors
license
copyright notice
2018-12-15 21:44:38 +00:00
Wiktor Kwapisiewicz
6e2690a552
Fix crash of SettingsActivity on resume
...
`SettingsActivity#populateSettingsList` listens for changes in accounts
using `observeNotNull` that throws when a `null` value is assigned.
This change leaves the old value when `onInactive` is called.
See: https://github.com/k9mail/k-9/pull/3819#issuecomment-447523394
2018-12-15 11:42:14 +01:00
cketti
2798a13669
Remove storage permission
2018-12-14 01:59:52 +01:00
cketti
c2e80122f7
Use Storage Access Framework to save attachments
2018-12-14 01:44:13 +01:00
cketti
ffc69c9f34
Use DownloadManager to save linked images
2018-12-14 01:14:51 +01:00
cketti
a3735c671d
Remove attachment default path setting
2018-12-14 01:05:29 +01:00
cketti
57ebf05b63
Always ask for the storage location when saving an attachment
2018-12-14 00:55:06 +01:00
cketti
796738db57
Remove "Save attachments to…" from general settings
2018-12-14 00:37:17 +01:00
cketti
ae2f831b7d
Merge pull request #3806 from k9mail/outbox_state
...
Persist send error state
2018-12-13 22:58:17 +01:00
cketti
6a408df8fe
Properly delete message after sending (destroy)
2018-12-13 19:59:53 +01:00
cketti
6f49b97514
Don't move message that failed to send to Drafts folder
2018-12-13 19:59:52 +01:00
cketti
e5025e1ab8
Use 'outbox_state' table for send error handling
2018-12-13 19:59:52 +01:00
cketti
03f0fa9f0f
Add 'outbox_state' table to database
2018-12-13 19:59:52 +01:00
Wiktor Kwapisiewicz
cad4cac6df
Fix consistent crashes when using dark theme
...
Commit 212f36170
moved dark theme's parent to
Theme.AppCompat.NoActionBar but the theme file for v21 was not updated.
This caused IllegalStateException to be thrown when constructing
K9Activities when dark theme has been selected.
The fix corrects the parent value.
2018-12-12 21:50:13 +01:00
Vincent Breitmoser
ecfbbca9d9
Merge pull request #3814 from wiktor-k/fix-missing-subject
...
Fix subject being overwritten with `null`
2018-12-12 12:52:58 +01:00
Vincent Breitmoser
ac8fe9dbe7
Merge pull request #3790 from k9mail/accounts-listener
...
add AccountsChangeListener to Preferences
2018-12-12 12:42:09 +01:00
Vincent Breitmoser
099e13f0c4
Merge pull request #3800 from k9mail/manage-folders-item
...
add "Manage folders" item to drawer footer
2018-12-12 11:43:42 +01:00
Wiktor Kwapisiewicz
314cb93d2b
Fix subject being overwritten with null
...
Not using crypto-provider passes `null` as `plaintextSubject`.
`saveDraft` already has protection against overwriting subject with `null`.
This change adds the same check to `sendMessage`.
Fixes #3811 .
2018-12-11 12:23:11 +01:00
Vincent Breitmoser
037b19d7ce
Merge pull request #3807 from k9mail/message_list_title
...
Remove custom view in MessageList toolbar
2018-12-10 19:11:49 +01:00
Vincent Breitmoser
214580a2ec
reload account onActive
2018-12-10 18:54:27 +01:00
Vincent Breitmoser
012742787e
synchronized Preferences with a lock object
2018-12-10 18:43:22 +01:00
Vincent Breitmoser
e7d6f85e66
add AccountsChangeListener to Preferences
2018-12-10 18:13:34 +01:00
Vincent Breitmoser
216d51a069
StorageEditor: add test
2018-12-10 13:06:52 +01:00
Vincent Breitmoser
474610139f
StoagePersister: add test
2018-12-10 13:06:52 +01:00
Vincent Breitmoser
342048e961
StoragePerister: use statement for delete, drop intermediate map
2018-12-10 13:06:52 +01:00
Vincent Breitmoser
40b4ebbc8e
add unit test for Storage
2018-12-10 13:06:52 +01:00
Vincent Breitmoser
9c6952275a
Storage may still be written to and read from concurrently
2018-12-10 13:06:52 +01:00
Vincent Breitmoser
75c4b9ff73
revert accidental changes
2018-12-10 13:06:52 +01:00
Vincent Breitmoser
f7faccf5d9
extract persistence logic from Storage into StoragePersister
2018-12-10 13:06:52 +01:00
cketti
2f80530b2d
Use FolderNameFormatter to get display names for folders
2018-12-08 23:23:13 +01:00
cketti
958c3cf29c
Remove custom actionbar view
2018-12-08 23:23:06 +01:00
cketti
3c16d2caed
Fix empty view handling in K9ListActivity
2018-12-08 22:37:55 +01:00
cketti
227972ffde
Fix layouts
2018-12-08 22:00:06 +01:00
ByteHamster
212f36170f
Switch to Toolbar
...
This allows to show the sidebar above the ActionBar.
2018-12-08 21:59:22 +01:00
cketti
8b676343a4
Make MessagingController.checkMailBlocking() actually terminate
2018-12-06 23:34:51 +01:00
cketti
2f8778be33
Merge pull request #3763 from ojiofong/oji_mail_sync
...
Change mail sync to work with background execution limits
2018-12-06 19:57:00 +01:00
cketti
fa3458f920
Make mail check blocking when called from MailSyncJob
2018-12-06 19:45:11 +01:00
cketti
c555790ca3
Merge pull request #3798 from k9mail/helo-ip
...
Always send IP instead of hostname in HELO/EHLO
2018-12-06 04:02:59 +01:00
Vincent Breitmoser
c3c7593458
add "Manage folders" item to drawer footer
...
part of #3750
2018-12-05 16:47:27 +01:00
Vincent Breitmoser
4333a3a16f
remove "hideHostnameWhenConnecting" from global settings
2018-12-05 14:39:08 +01:00
Vincent Breitmoser
c06e1a9d9b
always just send IP instead of hostname in SMTP EHLO message
...
Clients are very often behind NATs, which makes the hostname in
HELO/EHLO messages virtually useless these days. Attempting to figure
out a hostname we could use also led to issues with some strict Postfix
configurations (see https://github.com/k9mail/k-9/issues/3387 ). This
commit changes our behavior to simply send the local IP always, getting
rid of this metadata.
Fixes #3387
2018-12-05 14:36:06 +01:00
cketti
48ef5e43b7
Merge pull request #3769 from Khyojung/khyojung
...
Add padding between labels and input fields in message composition screen
Fixes #3768
2018-12-04 21:59:24 +01:00
cketti
6bb9f844e9
Add padding between labels and input fields in message composition screen
2018-12-04 21:47:14 +01:00
H. Lehmann
03907d8861
Add icons to account settings screen ( #3792 )
2018-12-04 21:37:31 +01:00
Oji Ofong
49917278de
Resolve scheduled job issues
2018-12-04 13:42:22 -05:00
Vincent Breitmoser
8b3d51686a
Merge pull request #3788 from k9mail/empty_trash
...
Add "empty trash" action to MessageList activity
2018-12-03 20:09:39 +01:00
Vincent Breitmoser
62411ace05
Fix assigning account number when Account is first saved ( fixes #3787 )
2018-12-03 14:12:25 +01:00
cketti
e18c9167fd
Hide crypto indicator in initial message header layout
2018-12-03 05:17:45 +01:00
Vincent Breitmoser
7e47519223
adjust mark as read/unread icon according to read status
2018-12-03 04:34:32 +01:00
Vincent Breitmoser
41c4f02a44
move star and crypto status next to subject
2018-12-03 04:34:32 +01:00
Vincent Breitmoser
ee44e03b43
display subject inline
2018-12-03 04:34:32 +01:00
Vincent Breitmoser
c96ced3bc3
drop specialized MessageCryptoStatusView
...
This was introduced when the crypto icon was combined from an icon and
dots. That's no longer the case, so we can simplify.
2018-12-03 04:34:32 +01:00