cketti
d80cb6f614
EmailAddressValidator doesn't need to implement Validator
2019-12-19 14:45:03 +01:00
cketti
a946523161
Merge pull request #4389 from k9mail/choose_folder
...
Update "Choose Folder" screen
2019-12-19 14:00:25 +01:00
cketti
e2dfc05f60
Fix filtering folders by display mode in 'ChooseFolderActivity'
2019-12-18 04:06:34 +01:00
cketti
84327e085d
Don't pass Folder instance to Backend
2019-12-18 01:21:12 +01:00
cketti
aa13a46e3e
Don't pass Folder instance to PushReceiver
2019-12-18 01:05:28 +01:00
cketti
d72b30e82c
Fix implementation in 'K9BackendStorage' to store extra values
2019-12-17 15:09:57 +01:00
cketti
f68df72b89
Use Cursor.getLongOrNull() from core-ktx
2019-12-13 13:22:54 +01:00
cketti
4951386858
Inline extension functions that only had one caller
2019-12-13 13:21:15 +01:00
cketti
bc97920f70
Add missing folder constraints to database query/update commands
2019-12-13 13:11:51 +01:00
cketti
0a7cd31741
Don't export "inboxFolderName" anymore; it's not a setting
2019-12-12 00:47:58 +01:00
cketti
059d0ed7cb
Set "inboxFolderName" and "autoExpandFolderName" to null by default
2019-12-12 00:47:58 +01:00
cketti
3125d5b343
Reset auto-expand folder when it was removed from the server
2019-12-11 19:30:37 +01:00
cketti
3037b54dd6
Extract logic to update special folders to a BackendStorageListener
2019-12-11 19:10:36 +01:00
cketti
fb567f5fe3
Use proper FolderType in comparison
2019-12-11 18:18:40 +01:00
cketti
21231bc964
Clean up code in 'AccountSetupAccountType'
2019-12-03 20:31:33 +01:00
cketti
dad7f1963b
Merge pull request #4322 from k9mail/account_defaults
...
Change some account defaults
2019-12-02 01:57:06 +01:00
cketti
4d91d8eafc
Merge pull request #4317 from k9mail/GH-4296_removing_messages
...
Remove LocalFolder.purgeToVisibleLimit()
2019-12-02 01:54:20 +01:00
cketti
b38583a374
Change default sync interval to 1 hour
2019-12-01 18:37:51 +01:00
cketti
755d47a247
Disable sync notifications by default
...
Also remove the option to configure the sync notification during account
setup.
2019-12-01 18:30:26 +01:00
ByteHamster
72d7602944
Use account color as accent color in drawer
...
Use slightly different dark theme highlight colors
Chose the colors so they have WCAG AA contrast on #333333 background
2019-12-01 16:18:46 +01:00
cketti
b1faba725f
Remove LocalFolder.purgeToVisibleLimit()
...
The method was only called at the end of a mailbox sync. But during sync
another mechanism already destroyed messages outside of the sync window.
2019-12-01 15:06:27 +01:00
cketti
93d0e14b68
Fix code style issues found by ktlint
2019-11-29 13:44:00 +01:00
cketti
88d863c4c2
Add ktlint and Kotlin code style settings for Android Studio
2019-11-29 13:39:16 +01:00
cketti
66ae90c11d
Merge pull request #4290 from k9mail/remove_start_in_unified_inbox_setting
...
Remove "Start in Unified Inbox" setting
2019-11-26 17:08:35 +01:00
Vincent Breitmoser
85a0c1af4d
use Parcelize instead of manual Parcelable implementation
2019-11-26 16:31:09 +01:00
Vincent Breitmoser
2296c6f757
convert Identity to Kotlin
2019-11-26 15:56:28 +01:00
cketti
d6d8ccdf66
Remove "Start in Unified Inbox" setting
2019-11-26 15:52:19 +01:00
cketti
bd6561191d
Update translations from Transifex
2019-11-22 13:27:30 +01:00
cketti
ff44def285
Merge pull request #4275 from k9mail/account_colors
...
Change account color picker
2019-11-22 13:20:34 +01:00
ByteHamster
09b4fbdd34
Use material colors for account colors
2019-11-21 23:54:18 +01:00
cketti
59244f52ff
Remove ability to store database on "external storage"
...
If an account database is currently stored on "external storage" we
move it back to internal storage.
2019-11-21 16:43:20 +01:00
cketti
11c9657b56
Switch from HoloColorPicker to "default" ColorPickerPreference
2019-11-21 01:33:57 +01:00
cketti
9655216606
Update to Koin 2.0.1
2019-11-20 15:38:11 +01:00
cketti
316ea451b1
Remove conditional code regarding lock screen notifications
2019-11-19 15:22:07 +01:00
cketti
1303430e73
Merge pull request #4263 from k9mail/remove_unused_code
...
Remove unused code
2019-11-18 16:55:06 +01:00
cketti
1398532e92
Remove unused ContactItem
2019-11-18 02:58:48 +01:00
cketti
c630b4deaf
Remove empty file
2019-11-18 02:52:04 +01:00
cketti
bbbec7bf3d
Switch from android-job to workmanager
2019-11-17 17:03:30 +01:00
cketti
57ff989edd
Add kotlinOptions.jvmTarget to Gradle projects using Kotlin
2019-11-17 14:45:05 +01:00
cketti
1294726667
Merge pull request #4259 from k9mail/targetSdkVersion_28
...
Set targetSdkVersion to 28
2019-11-17 13:49:05 +01:00
cketti
36da0b79a7
Disable Koin logging
2019-11-17 02:04:50 +01:00
cketti
8dc3fd4ebb
Set compileSdkVersion to 29
2019-11-17 01:41:46 +01:00
cketti
4f0e90a417
Don't refresh Pusher via JobManager
2019-11-15 03:37:30 +01:00
cketti
3470ee8774
Update Robolectric to 4.2.1
...
Not going directly to 4.3.1 because of this issue:
https://github.com/robolectric/robolectric/issues/5245
2019-11-13 17:37:37 +01:00
cketti
e3973096d3
Remove Checkstyle
2019-11-13 16:51:52 +01:00
cketti
56a37d9e14
Remove FindBugs
...
It's not maintained anymore and we're not currently using it.
2019-11-13 16:41:51 +01:00
cketti
105622a999
Use variable for 'sourceCompatibility' and 'targetCompatibility' values
2019-11-13 16:26:29 +01:00
cketti
347d33849c
Remove AccountStats
2019-11-06 17:59:31 +01:00
cketti
f0dabcc516
Rename AccountStatsCollector to UnreadMessageCountProvider
2019-11-06 17:59:31 +01:00
cketti
3114c6ef90
Replace MessagingController.getSearchAccountStatsSynchronous()…
...
…with getUnreadMessageCount()
2019-11-06 17:59:04 +01:00
cketti
24a22beccc
Replace MessagingController.getAccountStats() with getUnreadMessageCount()
2019-11-06 17:59:04 +01:00
cketti
c41382e3d4
Remove MessagingListener.searchStats()
2019-11-06 17:59:04 +01:00
cketti
7f02272ae0
Remove unused MessagingListener.accountStatusChanged()
2019-11-06 17:59:04 +01:00
cketti
52f930135c
Remove "Show account size" setting
2019-11-06 15:34:11 +01:00
cketti
e1cc1760f5
Remove "Count search results" setting
2019-11-06 15:30:13 +01:00
cketti
99b44bd5ca
Remove special account "All messages"
2019-11-01 03:21:43 +01:00
cketti
5bdbd8b962
Add 'SettingsImportFragment'
2019-10-19 23:05:01 +02:00
cketti
26c7c76395
Remove setting for message list check boxes
2019-08-15 02:10:46 +02:00
cketti
5118c0312a
Rewrite 'IdentityHelper' to use Sequence operations
2019-08-07 17:17:06 +02:00
cketti
b519b53cb6
Convert 'IdentityHelper' to Kotlin
2019-08-07 17:08:31 +02:00
cketti
83009e8602
WIP: Renaming file 'IdentityHelper' with Kotlin extension
2019-08-07 17:06:40 +02:00
cketti
47629ae35e
Merge pull request #4144 from k9mail/convert_to_kotlin
...
Convert 'ClipboardManager' to Kotlin
2019-08-07 16:40:33 +02:00
cketti
ae29d90f2e
Converting 'ClipboardManager' to Kotlin
2019-08-05 15:51:51 +02:00
cketti
6754177981
WIP: Renaming file 'ClipboardManager' with Kotlin extension
2019-08-05 15:51:51 +02:00
cketti
7523817ae8
Use Koin to inject ClipboardManager
2019-08-05 15:51:51 +02:00
cketti
c10e835e37
Return whether or not settings file included server passwords
2019-08-04 19:59:01 +02:00
cketti
36f3724344
Update import/export default value for "useBackgroundAsUnreadIndicator"
2019-08-03 21:37:57 +02:00
Robert Spencer
14f33e40a8
Change default to not set unread email backround grey
2019-08-03 21:34:20 +02:00
cketti
d4d1280a9c
Merge pull request #4114 from k9mail/drawer_unread_count
...
Display unread message count in drawer
2019-07-24 17:20:26 +02:00
ByteHamster
52f61659fe
Using K9.DEVELOPER_MODE in more places
2019-07-19 13:49:44 +02:00
cketti
096ee17871
Change FolderRepository.getDisplayFolders() to include unread count
2019-07-18 17:52:29 +02:00
cketti
f15d43d0bb
Add import/export support for new theme setting
2019-05-28 02:41:48 +02:00
cketti
2d0c698774
Switch to "use system default" theme option as default
...
On pre-API 28 Android versions hide the the "use system default" option
in settings. But we use the value AppTheme.FOLLOW_SYSTEM when the light
theme is selected. This way users who selected the light theme (or never
changed the setting at all) will get the "use system default" behavior
when they upgrade to Android 9+.
2019-05-28 02:41:48 +02:00
cketti
0bf59cf615
Add support to follow system default for night mode/dark theme
2019-05-28 02:41:48 +02:00
cketti
f08bd42c8a
Rename theme properties in 'K9'
2019-05-28 02:41:48 +02:00
cketti
4bbc8c5486
Use different enums for app theme and "sub themes"
2019-05-28 02:41:48 +02:00
cketti
58371be677
Properly support different themes for message viewing and composing
...
Previously the quoted HTML in the compose screen was formatted using
the message view theme.
2019-05-28 02:41:48 +02:00
cketti
be124ec896
Introduce ThemeManager to group theme-related logic
2019-05-28 02:41:48 +02:00
cketti
2d746e64ce
Remove unused code from HtmlConverterTest
2019-05-24 14:05:35 +02:00
cketti
3e0855c5e1
Extract code to create HTML for use in a WebView to class 'DisplayHtml'
2019-05-24 14:05:35 +02:00
cketti
e6d35d85af
Extract 'HTML to Spanned' functionality to separate class
2019-05-24 14:05:35 +02:00
cketti
eddd6827a4
Convert 'HtmlConverter' to Kotlin
2019-05-24 14:05:35 +02:00
cketti
e7b6d6b5d3
WIP: Renaming file 'HtmlConverter' with Kotlin extension
2019-05-24 14:05:35 +02:00
cketti
3db836ee21
Don't use enum ordinals when saving general settings
2019-05-22 20:07:21 +02:00
cketti
38c3e26921
Move legacy migrations from 'K9' to 'StorageMigrations'
2019-05-22 20:07:21 +02:00
cketti
dd5e12e779
Rename debug logging property
2019-05-22 01:42:52 +02:00
cketti
113f51df94
Naming cleanup
2019-05-22 01:42:52 +02:00
cketti
871abe54ec
Remove "showContactPicture" methods from 'K9'
2019-05-22 01:42:52 +02:00
cketti
1420214e04
Remove "useBackgroundAsUnreadIndicator" methods from 'K9'
2019-05-22 01:42:52 +02:00
cketti
71cd03ab57
Remove "hideTimeZone" methods from 'K9'
2019-05-22 01:42:50 +02:00
cketti
bcb2f72354
Remove "hideUserAgent" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
ec2b9a3772
Remove "wrapFolderNames" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
6d75e5abdd
Remove "confirmMarkAllRead" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
9f6d717af0
Remove "confirmDeleteFromNotification" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
c0fcb634e8
Remove "confirmDiscardMessage" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
dbb2e64afa
Remove "confirmSpam" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
acff9d7c62
Remove "confirmDeleteStarred" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
1a06188e7c
Remove "confirmDelete" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
acd437c791
Remove "countSearchMessages" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
4d74ef39d0
Remove "measureAccounts" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
4dedf1b795
Remove "messageViewShowNext" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
516aec77e0
Remove "messageViewReturnToList" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
5855563124
Remove "messageViewFixedWidthFont" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
bc76870004
Remove "changeContactNameColor" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
9db23ba7de
Remove "showContactName" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
596d5af260
Remove "messageListSenderAboveSubject" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
13f2f7b581
Remove "showCorrespondentNames" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
ed0683d064
Remove "messageListStars" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
ad4831e354
Remove "messageListCheckboxes" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
51eb51c679
Remove "messageListPreviewLines" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
8ba651501b
Remove "showAnimations" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
aad830ff9e
Remove "startIntegratedInbox" methods from 'K9'
2019-05-22 01:13:50 +02:00
cketti
4bff973fc5
Remove "autofitWidth" methods from 'K9'
2019-05-22 01:13:36 +02:00
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