Commit graph

282 commits

Author SHA1 Message Date
S-A-L13
876ed221c3
Update Fork (#2)
* Cleanup OpenPgpImportPopupView code

* update polish translation

* small fix

* Added Import S/MIME certificate popup
And much better handling of the sign and encrypt options

* bugfix: store in Passphrases

* Resolve #1448

* pre-verify S/MIME opaque signed messages so we have a body to view

* Fix timestampToString() for future dates

* Move php8.php to /app/libraries/polyfill/

* Improved Settings handling to prevent bugs in outer code

* Changed AbstractProvider::IsActive() to be abstract

* Example for #1449

* bugfix: previous IsActive() commit

* OpenSSL required due to S/MIME

* Use get_debug_type() instead of gettype()

* update polish translation

* Make all Enumerations classes abstract

* Added search functionality in Admin -> Config
And removed the unused ['capa']['quota']

* Cleanup Quota handling

* OPEN_PGP should be OPENPGP as it is one word

* Improve Capa handling

* Resolve #1451

* Bugfix TypeError: b64Encode(...).match(...) is null

* Small StorageType change

* Bugfix: mailvelope editor failed

* Bugfix: undefined getMailvelopePrivateKeyFor()

* Bugfix: MIME parser RegExp didn't escape `boundary` which caused issues

* Return detailed info on PgpImportKey

* Show GnuPG verify error

* Sort PGP keys by email and id

* Sort S/MIME certificates on emailAddress else validTo

* S/MIME import from signature use `BEGIN PKCS7`

* Optionally use existing private key to generate S/MIME certificate

* Chaned some error_log() to MailSo Logger()

* Force reload of S/MIME certificates list on import

* Make better use of SnappyMail\SensitiveString

* Fix view PGP key button

* Mask all POST data that has a key which contains `pass`

* v2.35.1

* Resolve #1455

* Improved GnuPG error handling

* Update pt/pt-PT translation

* update Polish translation

* Drop support for gnupg pecl extension as it fails with "no passphrase" issues

* Resolve #1456

* Resolve #1458

* v2.35.2

* fix changelog

* Resolve #1461

* Update pt/pt-PT translation

* compact-composer plugin v1.0.0

* Resolve #1462

* Fix decrypt error message

* `new Error()` to `Error()`

* Resolve #1463

* Show url for #1466

* Simplify SignMe/Remember me code

* Simplify language Notifications

* Bugfix: SetPassword expects \SnappyMail\SensitiveString

* https://github.com/the-djmaze/snappymail/issues/1450#issuecomment-1972147950

* improve: fire the 'squire2-toolbar' event after more props are added

* improve: add dark theme support and use 'button' element as menu trigger for consistent styling

* fix: use compact template in non-destructive way (do not replace the PopupsCompose template if a different wysiwyg is used)

* Update admin.json

* Update user.json

* CSS rainloopErrorTip location

* Improved error handling on PGP and S/MIME decrypt

* KnockoutJS remove unused `beforeRemove`

* KnockoutJS drop unused `as`

* KnockoutJS simplify renderMode because only 1 option is used

* KnoutJS cleanup templating.js a bit

* KnockoutJS drop unused `bindingRewriteValidators`

* KnockoutJS drop the twoWayBindings code

* KnockoutJS simplify virtualElements binding check

* KnockoutJS simplify applyBindingsToNodeInternal

* KnockoutJS use Array.isArray

* KnockoutJS drop alias `textinput` for `textInput`

* KnockoutJS scramble `createChildContext`

* KnockoutJS scramble `controlsDescendantBindings`

* KnockoutJS scramble `exportDependencies`

* KnockoutJS drop unused `throttleEvaluation`

* KnockoutJS drop unused `valueAllowUnset`

* KnockoutJS drop unused `templateNodes`

* KnockoutJS drop unused `optionsCaption`

* KnockoutJS drop unused `dontLimitMoves`

* KnockoutJS drop unused `uniqueName`

* KnockoutJS drop IE leftovers

* KnockoutJS drop unused `preprocess`

* KnockoutJS drop unused "disposeWhenNodeIsRemoved" and "disposeWhen"

* KnockoutJS don't scramble exportDependencies. controlsDescendantBindings, createChildContext

* KnockoutJS drop unused `$parentContext` and `$parents`

* KnockoutJS drop unused `$rawData`

* Knockoutjs built latest

* KnockoutJS drop unused template options `nodes`, `if`, `ifnot`

* KnockoutJS use more Array.isArray

* KnockoutJS cleanup code a bit

* KnockoutJS primitiveTypes can just be checked with Object()

* KnockoutJS rebuilt

* Verify S/MIME signed automatically and log Exception

* Automatically verify PGP and S/MIME signed messages

* `new Error` to `Error`

* By default throw AccountNotAllowed as confused in #1478

* GPG use pinentries for decrypt, sign and export

* Better GPG error handling

* GPG show error on view/export

* OpenPGP fix handling of importing keys

* Make "verify signatures automatically" optional, as it requires more IMAP fetching

* S/MIME don't post identity key and certificate, just fetch from server

* Show error to old browsers, instead of crashing

* Automatically verify S/MIME decrypted signed message

---------

Co-authored-by: the-djmaze <>
Co-authored-by: tinola <tinola@poczta.onet.pl>
Co-authored-by: Maarten <3752035+the-djmaze@users.noreply.github.com>
Co-authored-by: lmperfis <joint.striker@gmail.com>
Co-authored-by: Sergey Mosin <sergey@srgdev.com>
Co-authored-by: hguilbert <51283484+hguilbert@users.noreply.github.com>
2024-03-04 17:00:27 +01:00
the-djmaze
ec5d570ac6 Added ko toggle bindingHandler 2024-02-11 20:34:02 +01:00
the-djmaze
809fca73a0 Extract WYSIWYG code from Html.js into HtmlEditor.js 2024-02-05 14:10:58 +01:00
the-djmaze
2084913a4d Rename moment to time as it has nothing todo anymore with momentjs
Change some observables to static as they never change later
2024-02-05 01:15:05 +01:00
the-djmaze
a352ebff25 Changes for #1412 2024-01-30 19:16:53 +01:00
the-djmaze
9eb5646aec Redesign WYSIWYG handling to allow any editor (quill, tiny, etc. etc.) 2024-01-30 18:16:39 +01:00
the-djmaze
2916583d0b Resolve #1332 2023-12-11 23:46:45 +01:00
the-djmaze
3db4827354 Removed title binding handler 2023-12-09 20:05:57 +01:00
the-djmaze
5d6fb0c705 Track the inUndoState 2023-12-05 16:18:17 +01:00
the-djmaze
20058edd71 dragData already set by setDragAction 2023-12-03 20:40:54 +01:00
the-djmaze
df7888e3a6 Remove the openDropdownTrigger and replace some with a better toggle 2023-11-26 17:50:18 +01:00
the-djmaze
50fef1cf69 small code cleanup 2023-11-21 13:56:16 +01:00
the-djmaze
ab986677dc Color picker use color blind palette "Tableau 10" by Maureen Stone by default #1199 2023-08-22 11:40:13 +02:00
the-djmaze
54344a5b54 Idea for #1199 2023-08-21 17:12:24 +02:00
the-djmaze
4e04461f80 Changes for "Request failed" error #1220 2023-08-21 16:02:57 +02:00
Sergey Mosin
1fcada1b07 squire ui: show current(under cursor) font-family and font-size in the editor toolbar 2023-07-14 14:16:15 -04:00
the-djmaze
4cd24b87ff Translate for new BIDI #1200 2023-07-04 09:47:02 +02:00
the-djmaze
63f9137812
Merge pull request #1200 from rezaei92/master
Added bidi buttons to Squire editor
2023-07-04 09:36:25 +02:00
the-djmaze
0e3ed0fea0 Resolve #1192 2023-07-03 11:05:11 +02:00
Mohammad rezaei
b2b07ab920
Added bidi button to Squire editor 2023-07-01 17:31:07 +03:30
the-djmaze
ed31ed206d Translate Squire UI 2023-06-13 14:22:20 +02:00
the-djmaze
3b682f5811 Added BIDI to Squire #1158 2023-06-12 11:45:59 +02:00
the-djmaze
2e0fc1585d Improved Squire by visualizing some active buttons states 2023-04-04 10:15:18 +02:00
the-djmaze
44b8370f63 Bugfix: src is null 2023-03-03 16:10:29 +01:00
the-djmaze
5050d8edb3 Improved folder name editing 2023-02-21 15:33:55 +01:00
the-djmaze
1c1b043a50 Improved key event handling 2023-02-21 14:26:37 +01:00
the-djmaze
618333e257 Removed unused allow_html_editor_biti_buttons config option 2023-02-21 09:07:11 +01:00
the-djmaze
8a63ae05ef Cleanup unused Squire code 2023-02-20 13:12:09 +01:00
the-djmaze
d4e1e90eef Better solution for #826 2023-01-05 09:55:09 +01:00
the-djmaze
d6d9be0dab Improve #826 2023-01-04 18:46:04 +01:00
the-djmaze
02a553c79f Resolve #826 2023-01-03 20:56:38 +01:00
the-djmaze
b2e111fc14 Resolve #750 2022-12-06 15:56:46 +01:00
the-djmaze
de7d1a82c3 Resolve #710 2022-11-26 10:41:18 +01:00
the-djmaze
ad4159fd2c Resolve #707 2022-11-25 15:52:46 +01:00
the-djmaze
7ef79635a6 Better drag & drop leftPanel 2022-11-22 15:28:07 +01:00
the-djmaze
434ac21103 Bugfix: when left panel disabled and dragstart messages, show panel 2022-11-22 11:14:56 +01:00
the-djmaze
ff81aa6abc Better solution for #501 2022-11-16 15:48:02 +01:00
the-djmaze
d706793e56 Improved drag&drop of local EML files 2022-10-27 23:51:55 +02:00
the-djmaze
663a6bf3ad Also reload folder when EML files are dropped in current folder
And reduce memory footprint.
2022-10-27 13:32:44 +02:00
the-djmaze
f3e6dda69b Added: allow dropping local EML files onto any mailbox/folder on the left 2022-10-27 12:15:06 +02:00
the-djmaze
5c597c4c1d Improved Nextcloud integration for #96 2022-10-13 10:24:35 +02:00
the-djmaze
b12852bd08 Reduce JavaScript footprint 2022-10-10 13:52:56 +02:00
the-djmaze
689126c57d Drop ifvisible as it was only used for Prefetch and that feature was removed in v2.17 2022-10-10 10:53:04 +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
8ea778a8d4 Drop the mostly unused InputComponent and use normal <input> 2022-09-30 10:17:19 +02:00
the-djmaze
c2ef5abd79 cleanup dragmessages code 2022-09-28 14:55:10 +02:00
the-djmaze
afe4da1f65 Resolve #532 2022-09-28 09:29:45 +02:00
the-djmaze
a8f4bab23e Ignore visual feedback vs ctrlKey #532 2022-09-27 23:56:46 +02:00
the-djmaze
0fce269a82 listCheckedOrSelectedUidsWithSubMails() now returns Set instead of Array 2022-09-27 23:46:13 +02:00
the-djmaze
55faeaa1d1 cleanup dragmessages draggable 2022-09-27 21:09:54 +02:00