Commit graph

604 commits

Author SHA1 Message Date
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
e3e057d465 Fix ActivityListenerTest and remove unused strings 2019-05-22 01:52:37 +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
e0a618903e
Merge pull request #4061 from k9mail/preview_text_color_theme_attribute
Make the preview text color used in the message list a theme attribute
2019-05-21 21:04:52 +02:00
cketti
1e8b66e29b
Merge pull request #4053 from k9mail/settings_export_fragment
Add settings export to settings screen
2019-05-21 21:03:30 +02:00
cketti
049780b9c4 Only resolve theme attributes on MessageListAdapter creation 2019-05-20 19:00:19 +02:00
cketti
5a00645df0 Make the preview text color used in the message list a theme attribute 2019-05-20 18:50:33 +02:00
cketti
1f488a9c27 Properly persist OpenPGP provider settings 2019-05-19 03:48:35 +02:00
cketti
f3cc89f09d Add 'SettingsExportFragment' 2019-05-19 02:25:29 +02:00
NITIN DUDIA
3e218dcecc
Update AndroidManifest.xml
android:usesCleartextTraffic="true" as it is required to show complete mail view  , otherwise some html images will show broken .

SDK targeting 28+
2019-05-15 13:42:09 +05:30
cketti
e85e91c923
Merge pull request #4020 from k9mail/navigation_settings
Use navigation component for settings screens
2019-05-01 19:18:02 +02:00
Vasyl Gello
af6550d47d Fix issue #4016.
Following the conversation in PR #4025:
https://github.com/k9mail/k-9/pull/4025
2019-04-23 21:32:01 +03:00
cketti
bcacd83655 Use navigation component for settings screens 2019-04-14 15:52:16 +02:00
cketti
04c763ccaf Extract settings list code to 'SettingsListFragment' 2019-04-14 15:06:49 +02:00
ByteHamster
1b011cec02 Updated icons 2019-04-09 20:37:16 +02:00
ByteHamster
cb5c7c6ff7 Scaling icons with text size 2019-04-09 19:42:36 +02:00
ByteHamster
6745553394 Flat icons in message list 2019-04-06 19:54:06 +02:00
cketti
4c14d842d3
Merge pull request #3991 from k9mail/manage_folders_cleanup
Clean up FolderList (part 1)
2019-04-02 15:37:10 +02:00
cketti
42854acc53
Merge pull request #3992 from k9mail/convert_drawer_to_kotlin
Convert 'K9Drawer' to Kotlin
2019-04-02 15:36:29 +02:00
cketti
c306c0ef6b Remove unused Activity 'EmailAddressList' 2019-04-02 04:05:26 +02:00
cketti
1973452f25 Convert 'K9Drawer' to Kotlin 2019-03-28 20:56:06 +01:00
cketti
e49da99a7c WIP: Renaming file 'K9Drawer' with Kotlin extension 2019-03-28 20:31:37 +01:00
cketti
3b8c24bbde Clean up folder_list_item.xml 2019-03-28 19:29:51 +01:00
cketti
1fb5807677 Remove unnecessary ActivityListener callbacks from FolderList 2019-03-28 19:29:51 +01:00
cketti
8fb735479b Don't display folder status in FolderList 2019-03-28 18:59:47 +01:00
cketti
0cef41e45d Remove unread and starred icons from FolderList 2019-03-28 18:41:29 +01:00
cketti
55d0128afc Remove unused imports 2019-03-28 18:31:39 +01:00
cketti
d6423ff85e Clean up code 2019-03-22 00:54:51 +01:00
Wiktor Kwapisiewicz
b7652205ae Add Thunderbird autodiscovery code (part 1) 2019-03-20 17:27:44 +01:00
cketti
d56e49bb0a Clean up ProvidersXmlDiscovery 2019-03-14 04:04:29 +01:00
cketti
e64177cedc Convert ProvidersXmlDiscovery to Kotlin 2019-03-14 03:16:15 +01:00
cketti
8fea3b3a64 WIP: Renaming file 'ProvidersXmlDiscovery' with Kotlin extension 2019-03-14 03:04:42 +01:00
cketti
ed39bad737 Use EmailHelper in ProvidersXmlDiscovery 2019-03-14 03:04:07 +01: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
21f36e73c8 Migrate old pending commands for deleting messages to new format 2019-03-11 02:22:11 +01:00
cketti
189f50a15e Make MessagingController use Backend.deleteMessage() 2019-03-11 01:20:46 +01:00
cketti
22798072fd Extract code to find server settings via providers.xml 2019-03-10 20:13:36 +01:00
cketti
0c9bb833e5 Move RobolectricTest class to :app:testing module 2019-03-10 20:02:28 +01:00
cketti
0b78c60978 Create (empty) autodiscovery Gradle module 2019-03-10 20:00:29 +01:00
cketti
c580b2b85c
Merge pull request #3956 from k9mail/remove_note_from_providers_xml
Remove support for 'note' attribute in providers.xml
2019-03-10 18:06:16 +01:00
cketti
e0ebc9f637 Remove support for 'note' attribute in providers.xml 2019-03-09 02:15:45 +01:00
cketti
0a08cfdbc5 Remove POP3 settings from providers.xml 2019-03-09 01:35:01 +01:00
cketti
34c20ce317
Merge pull request #3942 from ByteHamster/confirm-empty-trash
Confirm empty trash
2019-03-08 23:11:00 +01:00
ByteHamster
a007d9bfa7 Confirm empty trash 2019-03-04 18:25:54 +01:00
cketti
be60dccb14 Respect background sync setting 2019-02-28 03:01:04 +01:00
David Hebbeker
8ca7fd896c
Removed unused interface OnLayoutChangedListener.
As the member mOnLayoutChangedListener was never populated, the only method of the interface was never called. Thus the complete interface was removed.
Also the only method which would have called the interface method was removed. That method did nothing else.
2019-02-27 10:15:13 +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
272a03eb96
Merge pull request #3907 from k9mail/androidx_migration
Androidx migration
2019-02-10 02:03:17 +01:00
cketti
c44df93347 Update translations from Transifex 2019-02-10 00:29:48 +01:00
cketti
dffca6f867 Update Groupie to version 2.3.0 2019-02-09 22:08:25 +01:00
cketti
b4ead8d3b5 Update MaterialDrawer to version 6.1.1 2019-02-09 22:08:25 +01:00
cketti
a7d6d9c50f Switch to com.takisoft.preferencex artifacts 2019-02-09 22:08:25 +01:00
cketti
47deb4e5ba Switch to androidx artifacts 2019-02-09 22:08:25 +01:00
cketti
28f8edee87 Upgrade to support library 28.0.0 2019-02-09 21:39:50 +01:00
cketti
00120ede97
Merge pull request #3850 from williamvds/settingsRedesign
Add account selection spinner to account settings
2019-02-09 21:39:11 +01:00
cketti
5d3fc6397b Code cleanup 2019-02-09 21:17:17 +01:00
williamvds
2d9a12286b
Use wrap_content in account selection spinner 2019-02-07 20:35:39 +00:00
williamvds
0fd31b6e55
Clean up adding account selection spinner 2019-02-07 20:35:23 +00:00
williamvds
d2f642c3ef
Move AccountSelectionSpinner into its own file 2019-02-07 20:34:04 +00:00
cketti
f1963aec08
Merge pull request #3886 from k9mail/backend_do_not_move_to_trash
Add flag to allow a Backend to opt out of the "move to Trash folder" behavior
2019-01-25 15:08:20 +01:00
cketti
932f5f2ddc Add 'isDeleteMoveToTrash' flag to Backend 2019-01-22 18:52:06 +01:00
Wolfgang Grossinger
374717dcab Fix build problems with a fresh forked k-9 (#3874)
Update build tools
2019-01-22 17:16:07 +01:00
cketti
cae0e22ada
Merge pull request #3878 from ojiofong/fix-android-job-test2
Replace old robolectric APIs
2019-01-15 03:32:15 +01:00
Oji Ofong
0d98be6dd1 Replace old robolectric APIs 2019-01-14 21:16:12 -05: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
williamvds
ab16ac880e
Add account selection spinner to account settings 2019-01-12 11:41:17 +00: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
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