Commit graph

518 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
a0f7114a39 Bugfix: KnockoutJS failed to output text '0' 2024-02-12 20:07:08 +01:00
the-djmaze
7c1f70c51e Replace some ko.exportSymbol('*') in favour of ko['*']
and drop ko.exportProperty()
2024-02-11 15:37:24 +01:00
the-djmaze
7ca5991041 KnockoutJS use Symbol for isObservableArray() 2024-02-11 14:44:47 +01:00
the-djmaze
f105ed3f9d Changed Knockout a bit 2024-02-03 12:06:56 +01:00
the-djmaze
a352ebff25 Changes for #1412 2024-01-30 19:16:53 +01:00
the-djmaze
2a3cea63cc KnockoutJS drop unused rateLimit method 2024-01-09 14:52:05 +01:00
the-djmaze
f7f3b0d373 Drop the disabled Knockout twoWayBindings 2024-01-08 18:33:37 +01:00
the-djmaze
e55938b653 Drop support for _ko_property_writers and for two-way binding they must be observables 2024-01-08 05:25:48 +01:00
the-djmaze
81ccee1152 Remove some unused Knockout code 2024-01-08 05:24:15 +01:00
the-djmaze
508f5cc6e5 Improve Squire with isBrElement() 2023-12-26 00:58:43 +01:00
the-djmaze
d21b7e754f Cleanup, fix and improve some Squire handling 2023-12-25 16:07:42 +01:00
the-djmaze
c3f7827683 All CSS font-size to % instead of px 2023-12-11 13:34:23 +01:00
the-djmaze
4bb1e24222 Squire use double quotes as in original source 2023-12-10 17:04:01 +01:00
the-djmaze
6d58b1efb5 Changed the squire code a bit 2023-12-08 01:33:27 +01:00
the-djmaze
9675d03568 Resolve https://github.com/fastmail/Squire/issues/449 2023-12-07 00:07:31 +01:00
the-djmaze
f008f948d2 Fix some Squire editors to merge with v2.2.5 2023-12-07 00:05:01 +01:00
the-djmaze
5d6fb0c705 Track the inUndoState 2023-12-05 16:18:17 +01:00
the-djmaze
7e2cc69a23 Resolve #1296 2023-12-05 15:00:09 +01:00
the-djmaze
e2149ea94c Sync some Squire code with main project code 2023-12-05 02:02:55 +01:00
the-djmaze
9198ce187b Changes for #1296
Can be tested at https://snappymail.eu/demo/
2023-12-04 17:45:57 +01:00
the-djmaze
039e2252de range.collapse(false) is default 2023-12-04 16:20:25 +01:00
the-djmaze
a5d749ec05 Squire cleanTree() use while instead of for 2023-12-04 16:19:28 +01:00
the-djmaze
280660314f Squire drop support for iPod 2023-12-04 15:47:18 +01:00
the-djmaze
28ee711938 Rearrange squire source code to better diff with originals 2023-12-04 13:31:47 +01:00
the-djmaze
cf910c678b Revamp Domains Settings IMAP disabled capabilities to extend it 2023-12-03 17:08:25 +01:00
the-djmaze
f8d990a25f Resolve #1339 2023-12-01 01:15:19 +01:00
the-djmaze
bcb6d30023 More in line with Squire v2.2.5 2023-11-26 02:47:40 +01:00
the-djmaze
0423c50c51 Resolve #1337 2023-11-26 02:30:08 +01:00
the-djmaze
fc0074dfd2 Squire: unused root 2023-11-26 02:29:48 +01:00
the-djmaze
1db1bdf675 Squire: Remove redundant <span> after replacing styles
e4ae7c2b81
2023-11-26 02:20:26 +01:00
the-djmaze
beb2c7f577 Squire: Handle empty nodes in moveRangeBoundariesDownTree
b85754ca50
2023-11-26 02:16:15 +01:00
the-djmaze
31d50cf67e Remove spacing 2023-10-02 15:38:02 +02:00
the-djmaze
7a49d55736
Merge pull request #1248 from SergeyMosin/some-fixes
Some fixes
2023-10-01 11:46:05 +02:00
Sergey Mosin
11c616715d improve: use calendar icon in message list for messages with '.ics' or 'text/calendar' attachments 2023-09-18 15:54:14 -04:00
Sergey Mosin
1b7e144a6e fix: <font> tag 'style' is lost in replies 2023-09-18 15:50:49 -04:00
the-djmaze
5251d85fef Changes for #1234 2023-08-28 12:05:56 +02:00
the-djmaze
6b42620ad3 Cleanup some squire code 2023-08-28 12:05:02 +02:00
Sergey Mosin
626d52b15a fix: unwrapped text nodes attached to squire._root 2023-08-23 17:20:03 -04:00
Mohammad rezaei
b2b07ab920
Added bidi button to Squire editor 2023-07-01 17:31:07 +03:30
the-djmaze
3b682f5811 Added BIDI to Squire #1158 2023-06-12 11:45:59 +02:00
the-djmaze
7968518f9c Compose window RTL #1056 2023-05-09 12:11:38 +02:00
the-djmaze
bf8182f19b Added CSS --btn-border-radius 2023-05-08 14:37:13 +02:00
the-djmaze
eab3beaf2a Bugfix: node is null 2023-05-08 10:36:23 +02:00
the-djmaze
a71ea44753 Improved RTL support #1056 2023-04-18 11:35:31 +02:00
the-djmaze
20a2f5f185 Added base code for RTL support #1056 2023-04-11 12:55:59 +02:00
the-djmaze
2e0fc1585d Improved Squire by visualizing some active buttons states 2023-04-04 10:15:18 +02:00
the-djmaze
564afd96f2 Resolve #1004 and #1054 due to #962 2023-03-28 13:13:44 +02:00
the-djmaze
50487af6a7 Improved attachment glyph handling 2023-03-21 10:05:29 +01:00
the-djmaze
321782aa26 Potential fix for #1004 2023-03-13 15:21:06 +01:00