Commit graph

1742 commits

Author SHA1 Message Date
cketti
dca1476d86
Merge pull request #3236 from k9mail/add_server_id
Add server_id column to folders table
2018-03-10 18:45:12 +01:00
cketti
402f0adb07 Overwrite all recipients when using Direct Share 2018-03-10 04:58:40 +01:00
Vincent Breitmoser
9273d253fa slight cleanups to direct share implementation 2018-03-10 04:58:40 +01:00
mynimu
2df5d679c3 add direct Share, #2550 2018-03-10 04:58:40 +01:00
cketti
65390daf98 Change some code so the folder name ends up in ActivityListener 2018-03-08 01:02:42 +01:00
cketti
1e783e7bf1 Update local folder name when it changes on the server 2018-03-05 18:25:09 +01:00
Biswajit Roy
e9a8947d50 Change HTTP link to HTTPS (#3237)
Changed HTTP link to HTTPS which is secure.
2018-03-05 14:50:17 +01:00
cketti
99f0cad453 Actually use new server_id database column 2018-03-05 02:36:02 +01:00
cketti
3d37a0f031 Add server_id column to folders table 2018-03-05 02:36:02 +01:00
cketti
cdc7504c2e Show display name of selected folder in unread widget config screen 2018-03-05 02:36:01 +01:00
cketti
855006b74b Add Folder.getName() and only use it for display purposes 2018-03-05 02:36:01 +01:00
cketti
f9ca1d9bd0
Merge pull request #3229 from k9mail/slightly_less_hacky_ChooseFolder
Change ChooseFolder to not perform a display name to folder name lookup
2018-03-05 01:24:02 +01:00
cketti
1e7cb67a37
Merge pull request #3224 from k9mail/mutual-learn-more
add learn more to autocrypt mutual dialog
2018-03-05 01:14:00 +01:00
cketti
1bd5c4c289 Rename Folder.getName() to Folder.getServerId() 2018-03-01 21:41:45 +01:00
cketti
342cfab421 Drop "Name" suffix from Account.*FolderName fields/methods 2018-03-01 20:17:11 +01:00
cketti
41ee52d39d Remove LocalFolder.setLastSelectedFolderName() 2018-03-01 20:06:01 +01:00
cketti
db53af22cd Introduce FolderDisplayData class to make code less hacky 2018-03-01 17:09:47 +01:00
cketti
aa5dc0b414 Avoid creating another list just for display name conversion 2018-03-01 16:37:56 +01:00
cketti
4e46cfc2d5 Do all folder filtering in one place 2018-03-01 16:31:57 +01:00
cketti
5d93d1139e Update Robolectric to 3.7.1 and simplify test annotations 2018-02-27 20:07:42 +01:00
cketti
149603618b
Merge pull request #3221 from k9mail/always_build_fts_table_last
Always build FTS table last
2018-02-27 20:01:27 +01:00
Vincent Breitmoser
46048d292e add learn more to autocrypt mutual dialog 2018-02-27 19:56:37 +01:00
cketti
49257b0fda
Merge pull request #3219 from k9mail/GH-632_case_sensitive_folder_name_comparisons
Case sensitive folder name comparisons
2018-02-27 19:55:46 +01:00
cketti
fdce9af55c
Merge pull request #3218 from k9mail/GH-832_break_up_LocalStore_and_RemoteStore
Break up LocalStore and RemoteStore
2018-02-27 19:49:06 +01:00
cketti
5152d04ae5
Merge pull request #3213 from k9mail/GH-1220_crash_on_duplicate_folder
Crash when trying to create a folder that already exists
2018-02-26 16:02:06 +01:00
cketti
e21db91389 Always build FTS table last
This way we can safely evolve FullTextIndexer together with our database
access layer.
2018-02-26 14:43:08 +01:00
cketti
6227058709
Merge pull request #3216 from hendrikbl/material-vector-icons
Replace most icons with Material style vector drawables
2018-02-26 11:27:27 +01:00
Hendrik
ebafb967c2 moved files to drawable-anydpi
- renamed some files to describe the icon better
2018-02-26 10:12:08 +01:00
cketti
95b046bbf6 Make all local folder name comparisons case sensitive 2018-02-26 04:40:48 +01:00
cketti
b116afc124 Make RemoteStore not extend Store
This allows us to get rid of the then unused Store class.
2018-02-26 03:13:58 +01:00
cketti
c4f22367de Remove unnecessary methods from LocalStore 2018-02-26 02:57:07 +01:00
cketti
90481014c2 Make LocalStore not extend Store 2018-02-26 02:54:45 +01:00
cketti
ad6659bf00
Merge pull request #3198 from k9mail/GH-3178_sort_email_autocomplete_list
Correctly sort contacts matched by nickname
2018-02-25 19:41:05 +01:00
Philip Whitehouse
672da235b8 Update dialog to AppCompat theme 2018-02-25 19:29:11 +01:00
Philip Whitehouse
617c3f3991 Switch 'showAsAction' to app namespace for all menus 2018-02-25 19:29:11 +01:00
Philip Whitehouse
1e353a4340 Switching to AppCompat Material theme 2018-02-25 19:29:11 +01:00
cketti
004ec05aa0 Prepare for next development iteration 2018-02-25 19:19:31 +01:00
cketti
e1788984ac Version 5.501 2018-02-25 18:52:25 +01:00
cketti
1618b6fc8a Update Proguard config to not strip important crypto interface classes
Fixes #3215
2018-02-25 18:52:00 +01:00
Hendrik
57adcef3f4 replaced most icons with vector drawables 2018-02-25 13:15:27 +01:00
cketti
2994da93fa Version 5.500 2018-02-25 00:32:48 +01:00
cketti
335ebe85db Small code cleanup 2018-02-24 23:35:27 +01:00
cketti
2ec44b6e8e Crash when trying to create a folder that already exists
We only crash on 'developer mode' builds.

See issue #1220
2018-02-24 22:23:44 +01:00
Vincent Breitmoser
8e12633e1a
Merge pull request #3075 from k9mail/prefer-encrypt-setting
Prefer encrypt setting
2018-02-23 15:59:12 +01:00
mynimu
9abc815d8b Correctly sort contacts matched by nickname 2018-02-22 04:42:45 +01:00
cketti
bc07a6b041 Update translations 2018-02-21 21:14:06 +01:00
Vincent Breitmoser
f1fd332ee0 use dialog for prefer-encrypt setting 2018-02-21 15:44:33 +01:00
cketti
08ef46b8b5 Restore strings accidentally deleted in 20d96ae7f4 2018-02-21 06:03:40 +01:00
cketti
f8a3cf38f2 Remove unused layout referencing non-existing strings 2018-02-21 05:57:56 +01:00
cketti
c67674311c Update support libraries to 27.0.2 2018-02-17 05:06:38 +01:00
cketti
698aa0cf60 Update Android Gradle plugin to 3.0.1 2018-02-17 04:42:49 +01:00
cketti
1645c38eac
Merge pull request #3174 from k9mail/GH-2164_do_not_delete_local_messages_during_sync
Improve support for local messages (fixes draft sync issue)
2018-02-17 02:41:59 +01:00
cketti
9018b5d99d
Merge pull request #3169 from k9mail/rewrite_text_to_html_conversion
TextToHtml: Rewrite text to HTML conversion
2018-02-17 02:30:00 +01:00
cketti
f4147483e1 Add support for deleting local messages 2018-02-10 20:45:37 +01:00
cketti
442790d034 Remove local messages after upload
Only if we couldn't get the server ID to convert our local message to a
"synchronized" message.
2018-02-10 20:18:53 +01:00
cketti
3ad9812974 Don't remove local messages during sync 2018-02-10 20:18:10 +01:00
Andrew Gaul
5bbadc9ce6 Make some static fields final
Adding final prohibits modification and allows initialization of
primitive and String fields at compile time instead of runtime in
clinit:

https://developer.android.com/training/articles/perf-tips.html#UseFinal

Found via error-prone.
2018-02-10 10:38:16 -08:00
Vincent Breitmoser
d606475309 Actually use prefer-encrypt setting 2018-02-08 00:50:00 +01:00
Vincent Breitmoser
9498725fd0 Add prefer-encrypt setting 2018-02-08 00:45:44 +01:00
Vincent Breitmoser
3009752cac
Merge pull request #3105 from k9mail/autocrypt-gossip
Autocrypt gossip
2018-02-08 00:43:58 +01:00
cketti
7abc17c77a Rewrite text to HTML conversion 2018-02-07 01:22:54 +01:00
cketti
8f334dd0c3 Fix bug in EmailSectionExtractor when text ends with an empty line 2018-02-06 19:15:22 +01:00
cketti
990765ac6e
Merge pull request #3147 from k9mail/change_uri_parser_interface
TextToHtml: Change UriParser interface
2018-02-06 17:08:19 +01:00
cketti
ff9369b3cb
Merge pull request #3157 from k9mail/includeQuotedMessage
Update quoted message button text to make it clearer
2018-02-01 15:18:07 +01:00
Philip Whitehouse
11f0357ac1 Update quoted message button text to make it clearer 2018-01-30 22:53:13 +00:00
cketti
ace7557a6c TextToHtml: Change UriParser interface 2018-01-30 03:16:09 +01:00
Vincent Breitmoser
d13c1a7c08 log errors during Autocrypt header parsing 2018-01-29 23:59:31 +01:00
Vincent Breitmoser
da2c025570 add unit tests for key gossip 2018-01-29 23:59:31 +01:00
Vincent Breitmoser
d8f9f2df6c Determine gossip addresses from crypto status, and make sure BCC is filtered 2018-01-29 23:59:31 +01:00
Vincent Breitmoser
dae9c44182 simplify AutocryptHeader 2018-01-29 23:59:31 +01:00
Vincent Breitmoser
88c92feaf3 Support parsing of Autocrypt-Gossip headers 2018-01-29 23:59:31 +01:00
Vincent Breitmoser
a293294f22 Support sending Autocrypt-Gossip headers 2018-01-29 23:59:31 +01:00
cketti
e8fdcbb00d Remove (inactive) legacy emoji support 2018-01-29 03:35:50 +01:00
Philip Whitehouse
e4a70576a6 Update changelog for next beta 2018-01-28 21:08:31 +01:00
cketti
1962defd5a
Merge pull request #3146 from k9mail/fix-crypto-quote
Return actual root part of message in MessageViewInfo (fixes #3004)
2018-01-28 18:28:05 +01:00
Vincent Breitmoser
8b11a7284e Return actual root part of message in MessageViewInfo (fixes #3004) 2018-01-28 13:06:57 +01:00
Vincent Breitmoser
6767f41505
Merge pull request #3135 from philipwhiuk/improveCodeStyle
Improve code style in several Activity classes
2018-01-27 10:43:02 +01:00
cketti
5931d46a42
Merge pull request #3132 from k9mail/email_section_extractor
TextToHtml: Extract sections from a plain text email
2018-01-26 15:10:02 +01:00
Trogel
c505083d6b Save whether "show pictures" has been clicked
Save/restore whether "show pictures" has been clicked. On restore this
allows us to correctly instruct MessageContainerView whether to load
pictures.
2018-01-25 23:58:11 +01:00
cketti
affc41c853
Merge pull request #3123 from philipwhiuk/imgMap
Add support for image-maps
2018-01-25 23:42:03 +01:00
Philip Whitehouse
9a69416f47 Improve code style in several Activity classes 2018-01-25 18:37:34 +00:00
cketti
a36254dbc0
Merge pull request #3120 from philipwhiuk/mailsploitFix
Show address if personal component is email address
2018-01-25 15:32:23 +01:00
cketti
cd26e8297f TextToHtml: Extract sections from a plain text email
First step towards rewriting the code to convert a plain text email body
to HTML.
2018-01-25 06:40:30 +01:00
Philip Whitehouse
2ec1b3fe29 Show toast when Contacts app is missing 2018-01-25 02:02:25 +00:00
Philip Whitehouse
3e64739503 Fixup tests 2018-01-22 22:42:47 +00:00
Philip Whitehouse
4376f9bc22 Add support for image-maps 2018-01-22 13:11:54 +00:00
Philip Whitehouse
64badd8646 Fix Mailsploit - show address if personal component is email address 2018-01-21 19:57:19 +00:00
cketti
7c3b90b356
Merge pull request #3095 from PiwwowPants/feature/full-address-in-compose
Added a check for showing correspondent name to RecipientSelectView
2018-01-19 01:05:28 +01:00
Vincent Breitmoser
2e5d2f9342
Merge pull request #3068 from k9mail/fix-encrypted-attached-message
Fix encrypted, attached inner message/rfc822
2018-01-18 18:23:58 +01:00
Vincent Breitmoser
257c2860fe Add unit test for attached inner messages 2018-01-18 17:34:59 +01:00
Philip
e80aa401de Add privacy option to hide hostname when connecting to SMTP servers (#3078) 2018-01-17 21:07:09 +01:00
James Downs
02498ee9a0 Added a check for showing correspondent name to RecipientSelectView 2018-01-14 12:13:22 -05:00
Philip Whitehouse
d581824e33 Tidy up the usage of 'e-mail' in non-translated text 2018-01-13 10:15:20 +00:00
cketti
4436c7d90c
Merge pull request #3080 from philipwhiuk/dirAutoAndWrapperTesting
Set text direction to auto and improve HtmlConverter testing
2018-01-11 23:29:55 +01:00
Philip Whitehouse
a19773adfa Tidy up K9's variable naming to match code style 2018-01-11 22:27:29 +00:00
cketti
9b7a8cd8ab Refactor some tests in HtmlConverterTest 2018-01-11 20:50:54 +01:00
cketti
b5cffe84e5
Merge pull request #3079 from philipwhiuk/reorderIdentityPriority
Test and re-order identity priority
2018-01-11 20:27:19 +01:00
cketti
38a8db27ff
Merge pull request #3081 from philipwhiuk/lessThan10Push
Add an option to have only 5 folders set to push
2018-01-11 20:13:06 +01:00
cketti
11bd02a95d Convert IdentityHelperTest to Kotlin 2018-01-11 19:48:58 +01:00
Philip Whitehouse
d649e8e76c Add an option to have only 5 folders set to push 2018-01-11 02:39:26 +00:00