Commit graph

266 commits

Author SHA1 Message Date
cketti
7da8f13f92 Remove "useVolumeKeysFor*Navigation" methods from 'K9' 2019-05-22 01:13:15 +02:00
cketti
2eec933d3d Remove "guesturesEnabled" methods from 'K9' 2019-05-21 23:57:09 +02:00
cketti
55f4484e15 Remove "backgroundOps" methods from 'K9' 2019-05-21 23:52:38 +02:00
cketti
04f200ce02 Remove "useFixedMessageViewTheme" methods from 'K9' 2019-05-21 23:51:15 +02:00
cketti
030f858e91 Convert 'K9' to Kotlin 2019-05-21 23:31:29 +02:00
cketti
cd6cfe676c WIP: Renaming file 'K9' with Kotlin extension 2019-05-21 22:06:06 +02:00
cketti
79f5efbbde Remove unused fields 2019-05-21 22:03:12 +02:00
cketti
f3cc89f09d Add 'SettingsExportFragment' 2019-05-19 02:25:29 +02:00
cketti
d27672f9a8 Add EmailHelper.getLocalPartFromEmailAddress() 2019-03-14 03:02:05 +01:00
cketti
d104525955 Convert EmailHelper to Kotlin 2019-03-14 02:58:27 +01:00
cketti
e1e473592c
Merge pull request #3961 from k9mail/add_delete_method_to_backend
Add deleteMessages() method to Backend interface
2019-03-13 23:03:20 +01:00
cketti
189f50a15e Make MessagingController use Backend.deleteMessage() 2019-03-11 01:20:46 +01:00
cketti
0c9bb833e5 Move RobolectricTest class to :app:testing module 2019-03-10 20:02:28 +01:00
cketti
be60dccb14 Respect background sync setting 2019-02-28 03:01:04 +01:00
cketti
f9b6c78340
Merge pull request #3917 from pueffl/kotlin-upgrade
Upgrade to Kotlin version (3.20) and fix any issues.
2019-02-26 15:44:17 +01:00
cketti
be96b6e524
Merge pull request #3910 from k9mail/fix_K9BackendFolder
Fix bug in K9BackendFolder.getLastUid()
2019-02-14 03:34:46 +01:00
cketti
7c7ce6eb84 Remove Message.setRecipients() and manually set recipient headers
Use AddressHeaderBuilder to encode the recipient addresses and fold the
header value.
2019-02-14 02:28:36 +01:00
Wolfgang Grossinger
c179ace548 Upgrade to Kotlin version (3.20) and fix any issues.
- Migrate to Kotlin 3.11
- Remove Kotlin Experimentals
- Migrate Kotlin Coroutines
2019-02-13 20:53:44 +01:00
cketti
7a41c018ce Fix bug in K9BackendFolder.getLastUid() 2019-02-10 02:46:53 +01:00
cketti
47deb4e5ba Switch to androidx artifacts 2019-02-09 22:08:25 +01:00
cketti
932f5f2ddc Add 'isDeleteMoveToTrash' flag to Backend 2019-01-22 18:52:06 +01:00
Sujan Kota
8e5e6d66a6 Fix the unit tests 2019-01-14 10:41:44 -08:00
Sujan Kota
64971007f5 Make notification for new messages as an interface and move the implementation to the K9NotificationStrategy.kt 2019-01-14 09:56:13 -08:00
cketti
9d9d46868f Clean up LocalFolder.delete() 2019-01-10 00:15:35 +01:00
cketti
eeb820b958 Remove Folder.delete(boolean) 2019-01-10 00:15:35 +01:00
cketti
d27180f55c Rename LocalFolder.delete() to deleteSettings() 2019-01-10 00:02:17 +01:00
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
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
Art O Cathain
e3d193c8d2 Fix for outbox folder being missing after settings import (#3812) 2018-12-23 00:34:38 +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
59edfb59f5 Add "remove account" action to account settings screen 2018-12-20 23:50:31 +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
4da4544264 Remove custom whenever() helper for Mockito 2018-12-20 18:26:12 +01: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
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
b5588a8d02 Remove compatibility code for pre-API 19 versions 2018-12-16 02:49: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
c2e80122f7 Use Storage Access Framework to save attachments 2018-12-14 01:44:13 +01:00
cketti
a3735c671d Remove attachment default path setting 2018-12-14 01:05:29 +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