Commit graph

499 commits

Author SHA1 Message Date
the-djmaze 85d3a95dec Message whitelist #201:
* sort options based on domain count (highest top)
* hide when whitelist not active
2023-02-08 11:39:07 +01:00
the-djmaze 05d8e7b353 Improved autocrypt #342 2023-02-07 15:25:28 +01:00
the-djmaze 69064e2ad0 Image whitelist shortcuts as discussed in #201 2023-02-07 10:23:10 +01:00
the-djmaze e8f200186d Added external images option 'Always when DKIM is valid' for #201 2023-02-06 17:16:31 +01:00
the-djmaze b0a4fb77be Bugfix for whitelist to show images directly #201 2023-02-04 15:44:51 +01:00
the-djmaze c6db5f1def Move blockquote switcher to HTML parser #902 2023-02-03 11:17:16 +01:00
the-djmaze 11c5b0e8f1 Resolve bug in images whitelist #201 2023-02-03 08:39:09 +01:00
the-djmaze 07079b519a Resolve #201 2023-01-31 14:45:50 +01:00
the-djmaze 974350ebee Found more JSON properties to change into JavaScript camelCase 2023-01-26 10:41:55 +01:00
the-djmaze 528b6cd096 cleanup some json code 2023-01-25 09:41:15 +01:00
the-djmaze f080a302b1 Almost all JSON properties to JavaScript camelCase 2023-01-24 18:58:25 +01:00
the-djmaze 7f8707c4c0 Cleanup messages cache handling 2023-01-18 08:38:26 +01:00
the-djmaze 27b19ef29d Resolve #823 2023-01-03 09:46:10 +01:00
the-djmaze d4c4f84c13 https://github.com/the-djmaze/snappymail/issues/796#issuecomment-1367247159 2022-12-29 13:40:46 +01:00
the-djmaze 5c9fdb6b55 Threaded view changes for https://github.com/the-djmaze/snappymail/issues/445#issuecomment-1364575843 2022-12-27 12:19:29 +01:00
the-djmaze bafc5ad921 Move addComputables() from FolderModel.reviveFromJson to FolderModel.constructor 2022-12-22 12:00:02 +01:00
the-djmaze c50670fc7f Rename printableUnreadCount() to unreadCount() 2022-12-22 11:40:56 +01:00
the-djmaze 215767ed9b Added: option to enable additional account unread messages count 2022-12-22 10:01:25 +01:00
the-djmaze bad33e6dc4 Cleanup JavaScript MessageModel by moving dynamic code to MailMessageView and ComposePopupView 2022-12-22 09:56:06 +01:00
the-djmaze 315f2a345a Bugfix: handle multiple DKIM signatures authentication results 2022-12-21 20:51:33 +01:00
the-djmaze 54896bf044 Remove most DoFolders loops as they are not used.
And move system folder detection/autocreate to MailboxDetectPlugin because it is hardly used.
And by using mailbox.role the default system folder detection is only using (IMAP and JMAP) RFC standards.
2022-12-15 13:49:39 +01:00
the-djmaze d7e93d8229 Merge MailSo\Mail\Folder into MailSo\Imap\Folder and speedup process 2022-12-14 14:03:16 +01:00
the-djmaze f8f8cd0124 MessageResultCount to JMAP totalEmails 2022-12-13 14:04:43 +01:00
the-djmaze 3ccf70e5cd Don't fetchUnread for main account 2022-12-13 09:54:39 +01:00
the-djmaze d0db7f5ce3 Resolve #760 2022-12-12 13:03:41 +01:00
the-djmaze 079f334bcc Resolve #437 2022-12-07 17:36:04 +01:00
the-djmaze 94c3fa464d Resolve #744 (not active!!) 2022-12-07 12:24:31 +01:00
the-djmaze 0d6499702d Replace some data-bind="click: function(){} with object functions to prevent eval() 2022-11-29 17:29:06 +01:00
the-djmaze e27e014b81 Resolve #716 2022-11-28 13:49:38 +01:00
the-djmaze 7e1b85d023 Bugfix: Contact.display() returns [object Object] 2022-11-17 14:44:34 +01:00
the-djmaze f4448635d1 Bugfix handling attachments MIME type / content-type as it was broken. 2022-11-16 15:14:00 +01:00
the-djmaze decbbd8817 Resolve #571 by allowing to give an account a name/label 2022-11-08 17:40:12 +01:00
the-djmaze 245aaa92a2 Show 🔒 (lock) glyph in messagelist for encrypted messages 2022-11-04 11:41:39 +01:00
the-djmaze 7fac6ca9dd this.addObservables() to addObservablesTo() 2022-10-30 22:19:52 +01:00
the-djmaze 787e236133 Bugfix: message attachments missing data 2022-10-28 13:57:13 +02:00
the-djmaze ffcc86805a Some array.slice to array.startsWith and cleanup some JavaScript code 2022-10-26 16:38:39 +02:00
the-djmaze 50ddca2e42 Resolve #567 by removing change of 457 2022-10-22 16:06:16 +02:00
the-djmaze a5bff8674a Always show option to view as plain, by converting message HTML when plain is missing 2022-10-17 09:33:28 +02:00
the-djmaze b12852bd08 Reduce JavaScript footprint 2022-10-10 13:52:56 +02:00
the-djmaze fc7db056c2 Fix some messages flags/keywords case-insensitivity 2022-10-08 23:56:14 +02:00
the-djmaze ec23e3d0ca Hide unread count for all system folders, except INBOX.
Also solves request for Spam box in #457
2022-10-08 13:46:27 +02:00
the-djmaze a219509bd7 Finally drop the FolderModel.hidden() because FolderModel.visible() works better 2022-10-07 13:04:51 +02:00
the-djmaze 7a7b11bdeb Resolve #474 2022-10-07 12:06:03 +02:00
the-djmaze f488212c3d Don't thumbnail message inline images and show filename in title attribute 2022-10-06 23:43:24 +02:00
the-djmaze 99ff07507e Create new keyword/tag/label for message #419 2022-10-05 17:25:30 +02:00
the-djmaze 875dae0755 Allow searching on keyword/tag/label #419 2022-10-05 11:32:06 +02:00
the-djmaze a51f86ae28 Make the "show inline images as attachments" optional and cleanup localization data 2022-10-03 20:15:12 +02:00
the-djmaze 02eb5ad4e8 Improved inline attachments visibility to prevent questions 2022-10-03 17:48:46 +02:00
the-djmaze da451ed369 Also show inline images as attachments 2022-10-03 16:04:39 +02:00
the-djmaze 7f63a1e82d Bugfix: stripTracking broke plain text view 2022-10-03 12:45:35 +02:00
the-djmaze 54107ca937 Fix mailto: that i broke in #484 2022-09-30 11:38:51 +02:00
the-djmaze 88f7b3d345 Added option to (un)hide Kolab folders 2022-09-27 09:46:49 +02:00
the-djmaze ba8188978d Cleanup ComposerPopup code 2022-09-27 09:45:35 +02:00
the-djmaze 0864d306d6 Improved folder/mailbox name editing 2022-09-26 13:54:28 +02:00
the-djmaze 9f8fdb2dfb Use HTML details/summary elements for blockquote switcher 2022-09-26 11:06:42 +02:00
the-djmaze 0953d0d76e Better solution for #516 ? 2022-09-25 23:55:24 +02:00
the-djmaze 5c43378d71 Move SettingsUserStore.removeColors() to cleanHtml() 2022-09-23 13:41:01 +02:00
the-djmaze 8054e48d4a No need for rel="noreferrer noopener" due to Referrer-Policy header 2022-09-23 09:26:36 +02:00
the-djmaze 0bbf8f4914 Added plain message tel uri detection 2022-09-21 09:52:30 +02:00
the-djmaze aa90583116 Resolve #516 2022-09-12 23:16:59 +02:00
the-djmaze 7dc4b283b3 Simplify message .priorityHigh 2022-09-12 23:13:04 +02:00
the-djmaze 47a861a243 Speedup listChecked().length to hasChecked() 2022-09-09 10:02:40 +02:00
the-djmaze 9dcdd7e41c Contact add Note and improved changes check 2022-09-08 09:37:27 +02:00
the-djmaze 56d64b325c Improved Contacts popup view 2022-09-06 23:18:14 +02:00
the-djmaze f1241cf803 Added some business fields to AddressBook 2022-09-06 22:35:04 +02:00
the-djmaze 2627a16c36 Improved Contacts to check if changes should be saved 2022-09-06 19:22:06 +02:00
the-djmaze c9ad0ef170 Improved new AddressBook system 2022-09-06 14:26:07 +02:00
the-djmaze fe20741409 Improved Contacts handling 2022-09-05 11:04:12 +02:00
djmaze 1a5b8819fa Merge remote-tracking branch 'origin/master' into addressbook 2022-09-02 15:15:01 +02:00
the-djmaze 732b6eb641 Use JavaScript Optional chaining 2022-09-02 11:52:07 +02:00
the-djmaze 3d5e094fd8 Resolve #506 2022-08-30 21:42:05 +02:00
the-djmaze aff2d4dd76 Moved handling of images using proxy in preperation of #491 2022-08-26 11:11:19 +02:00
the-djmaze e5113ef20a Resolve #497 2022-08-25 14:08:19 +02:00
the-djmaze f3009ee781 Resolve #484 2022-08-10 11:47:15 +02:00
the-djmaze eb0cd796b0 Improved mailbox handling of empty message subject and messagelist folder detection 2022-08-04 12:18:07 +02:00
the-djmaze 2837126d60 Get AddressBook Import/Export working 2022-07-25 22:55:48 +02:00
the-djmaze 859a18470e Revert nickname idea (it's not updating as it was not observing) 2022-07-25 13:25:02 +02:00
djmaze 052f34a9f5 Some cleanups for new AddressBook 2022-07-22 22:59:50 +02:00
the-djmaze f46e996570 Merge branch 'master' into addressbook
# Conflicts:
#	snappymail/v/0.0.0/app/templates/Views/User/PopupsContacts.html
2022-07-21 14:25:51 +02:00
the-djmaze 28d4a018fd Resolve #439 2022-06-16 01:16:19 +02:00
the-djmaze 8cf8502485 Filter more message flags/keywords/tags 2022-06-10 01:06:17 +02:00
the-djmaze 5a47893cd2 Process feedback of #419 2022-06-10 00:35:13 +02:00
the-djmaze c2d6ee90ac Improved message flags/keywords/tags #419 2022-06-08 14:54:51 +02:00
the-djmaze 78a3b1a5be Cleanup some MessageFlagsCache handling 2022-06-07 15:48:16 +02:00
the-djmaze a60d027169 Improved message cache handling and drop unused NEW_MESSAGE_CACHE 2022-06-07 11:54:19 +02:00
the-djmaze 9e4edd8843 Improved tags #419 2022-06-03 14:46:05 +02:00
the-djmaze 70e3e6423e Added message tags toggle for #419 2022-06-03 13:47:04 +02:00
the-djmaze a6d97a601c Translate some for #419 2022-06-02 23:13:20 +02:00
the-djmaze 855e2c61c5 Improved message flags/keywords handling for #419 2022-06-02 21:26:57 +02:00
the-djmaze 118505f91e Use JMAP rfc8621 section-2 totalEmails, unreadEmails and isSubscribed 2022-06-01 22:50:35 +02:00
the-djmaze 84c1fb5402 Merge branch 'master' into addressbook 2022-05-31 21:25:59 +02:00
the-djmaze 899648d8e4 Improved handling of imap message flags/keywords 2022-05-31 20:38:35 +02:00
the-djmaze 1e61171f9c Fix RFC 9051 IMAP4rev2 keywords and $ReadReceipt should be $MDNSent 2022-05-31 17:12:29 +02:00
the-djmaze fe9d0da14a Added Thunderbird labels colors as test for #419 2022-05-30 12:58:50 +02:00
the-djmaze a71874a8c4 Redesign AddressBook 2022-05-29 00:22:50 +02:00
the-djmaze e205a0d3e0 Resolve #248 View eml attachments 2022-05-11 23:13:24 +02:00
the-djmaze 671062af31 Resolve #348 2022-04-25 09:40:38 +02:00
the-djmaze c5cf9fc71d Some improvements, as found while investigating #322 2022-04-13 10:48:14 +02:00
the-djmaze 7585ac450e Cleanup Email.toLine() 2022-03-30 10:26:00 +02:00
the-djmaze c76823dc5f Some tiny changes 2022-03-14 15:42:05 +01:00
djmaze d6dc4d291c Split Sieve/Filters code from app.js so that i can work on the new Sieve GUI 2022-03-11 10:26:25 +01:00
the-djmaze 0106751e64 Bugfix: HTMLTemplateElement never has a <body> element 2022-03-09 16:53:04 +01:00
the-djmaze f4cd25f8ad Added Sieve parser code in master 2022-03-09 12:33:31 +01:00
the-djmaze 90d835059a Resolve #258 2022-03-04 09:31:14 +01:00
the-djmaze 06b5b83588 removed default export 2022-02-24 14:01:41 +01:00
the-djmaze bb4ff4fdc7 Bugfix: rl.app.setExpandedFolder() undefined 2022-02-23 22:23:16 +01:00
the-djmaze 661cd2aaf9 Restructure JavaScript
Split list code from MessageUserStore into MessagelistUserStore
Move functions out of AppUser
2022-02-23 19:26:52 +01:00
the-djmaze 24b638cd82 Cleanup some JavaScript 2022-02-21 15:36:34 +01:00
the-djmaze e324e2f6b6 Replaced tricky delegateRunOnDestroy() with koArrayWithDestroy()
koArrayWithDestroy creates ko.observableArray and calls the desired onDestroy() on entry delete.
2022-02-17 12:48:57 +01:00
the-djmaze f4bed88e39 Cleanup pgp decrypt code and show green when decrypted 2022-02-17 10:18:47 +01:00
the-djmaze 6c795d4ced Bugfix: missing comma 2022-02-15 12:08:52 +01:00
the-djmaze 9b82830c36 Improved bug #228 2022-02-15 11:05:01 +01:00
the-djmaze e2c171f302 Resolve #202 2022-02-15 10:22:52 +01:00
the-djmaze 9d8325d5a8 Improved "View in separate window" with theme colors 2022-02-13 20:01:21 +01:00
the-djmaze 803113568f Resolve #228 2022-02-13 12:58:01 +01:00
the-djmaze 44ee236709 dispatchEvent(new CustomEvent(...)) to fireEvent(...) 2022-02-11 12:21:16 +01:00
the-djmaze e0e490c64f #89 Decrypt and verify with OpenPGP.js and GnuPG 2022-02-11 11:01:07 +01:00
the-djmaze 2037f21c45 Resolve #180 and now works with #89 2022-02-10 17:01:36 +01:00
the-djmaze 25a786d584 #89 added downloading of decrypted attachments 2022-02-10 16:35:55 +01:00
the-djmaze 9188a8bcd2 Improved cleanHtml and the handling of removeColors for dark mode 2022-02-10 10:25:21 +01:00
the-djmaze ad6e1bebf8 Much better HTML to Plain converter 2022-02-07 10:23:41 +01:00
the-djmaze 3fc5216841 Improved Composer handling with PGP messages 2022-02-04 13:40:59 +01:00
the-djmaze 96de0be977 #89 solve edit/reply encrypted message/draft 2022-02-04 09:54:59 +01:00
the-djmaze 6b2311663b #89 Hide PGP SIGNATURE from cleartext signed messages 2022-02-02 18:43:55 +01:00
the-djmaze 93db6e6e0e #89 verify detached signature using GnuPG 2022-02-02 14:36:49 +01:00
the-djmaze e265a0f1c1 Moved the message HTML parsing from PHP to JavaScript
Now we can properly parse PGP/MIME HTML messages
2022-02-02 13:02:48 +01:00
the-djmaze 6b26ddec7a #89 Redesign HTML parsing for securing PGP decrypted HTML 2022-02-01 11:46:12 +01:00
the-djmaze 4eb70c3f06 #89 show decrypted HTML with inline attachments 2022-01-31 17:29:41 +01:00
the-djmaze 0da681f074 OpenPGP.js now stores keys in localStorage
Renamed all deleteAccess to askDelete
2022-01-27 23:07:34 +01:00
the-djmaze 9ab72e7a34 #89 Improved handling of OpenPGP.js stored keys 2022-01-27 20:54:27 +01:00
the-djmaze ff7e41ad08 #89 Use OpenPGP.js v5.1.0 (still in progress) 2022-01-27 16:00:52 +01:00
the-djmaze a7eeeb4f55 Many more changes for #89 2022-01-20 16:38:27 +01:00
the-djmaze 3cc3a76b23 Composer changes for OpenPGP.js 2022-01-20 09:59:56 +01:00
the-djmaze a47397ef09 Revamp PGP management due to implementing Mailvelop and PEAR Crypt_GPG 2022-01-19 18:24:07 +01:00
the-djmaze bf84684965 Added GnuPG->verify() for testing #89
Bugfix SnappyMail\PGP\Keyservers
Renamed DoPgpVerify to DoMessagePgpVerify
2022-01-17 22:04:14 +01:00
the-djmaze fde44c0102 Changes for #89
This part fetches the required message parts for pgp verification.
2022-01-17 17:16:25 +01:00
the-djmaze 8dcd0cf833 Changes for #89
Now it does not fetch the PGP signature, because validation was broken anyway.
Instead it validates multipart/signed according to RFC 3156 section 5 and returns details for the signed part:
* BodyPartId
* SigPartId
* MicAlg

So in the future several implementations (GnuPG, OpenPGP.js, etc.) can use the correct data for verification.
2022-01-17 15:58:23 +01:00
the-djmaze 630dc1e854 Added toggle in message menu to switch between HTML/Plain content parts (when available) 2022-01-14 17:13:17 +01:00
the-djmaze 464e766fcc Put OpenPGP check outside "plain".
This allows also for checking HTML messages (but errors for now)
2022-01-13 12:00:12 +01:00
the-djmaze 0e2e44a269 Changes for #180 2022-01-10 14:30:55 +01:00
djmaze 954de06f86 Switch from ko.computed to ko.pureComputed
This should provide performance and memory benefits over regular computed observables
2021-12-31 13:30:05 +01:00
djmaze 94bfe09f63 Cleanup message attachments collections 2021-12-16 15:54:43 +01:00
djmaze 1d9c772b94 Improved "delete folder" error handling. 2021-12-13 14:32:15 +01:00
djmaze a512759289 Added: sort Folders on add/rename folder 2021-12-09 11:24:30 +01:00
djmaze c8e4d589cb Offload server CPU to client when fetching folder list 2021-12-08 14:08:25 +01:00
djmaze b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze 2719f08e26 Revamp mailbox management so that reloading of the whole folder tree is not needed 2021-12-08 11:06:42 +01:00
djmaze 3a61bb3e5a Revamp the FullNameHash system for better readable urls
And reduce the folders caching footprint.
And it reduces server load.
2021-12-07 14:03:30 +01:00
djmaze e6b6531248 Move b64EncodeJSON to Utils 2021-12-07 12:40:55 +01:00
djmaze d734a3e415 Better mail message handling
* Cleanup HTML parsing
* Drop useless Microsoft 'Sensitivity' MIME Header
* Revamp Flags handling
2021-12-06 16:08:58 +01:00