Commit graph

298 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
0efc0bbe3a Translate some S/MIME text 2024-02-22 00:00:12 +01:00
the-djmaze
453e73f71a Cache S/MIME passphrases when "remember" is checked 2024-02-21 23:28:53 +01:00
the-djmaze
9941ff61f7 Bugfix: S/MIME sigPart handling 2024-02-21 01:28:36 +01:00
the-djmaze
aebed32f76 Bugfix: verify S/MIME signatures got broken allong the way while implementing this 2024-02-21 01:23:36 +01:00
the-djmaze
e9a63b40c5 Enable S/MIME encrypt #259 2024-02-20 18:29:35 +01:00
the-djmaze
18d0ba4acb Get S/MIME decrypt working for #259 2024-02-20 13:04:12 +01:00
the-djmaze
55e55b7bb7 Rename SMime actions 2024-02-19 17:33:24 +01:00
the-djmaze
9a5a5091a1 More S/MIME changes for #259 2024-02-19 15:35:10 +01:00
the-djmaze
f53d9ed6c3 Verify S/MIME signed messages #259 2024-02-19 15:14:11 +01:00
the-djmaze
d55ce60cc5 Resolve #1225 by using optional link tracking 2024-02-06 16:05:17 +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
5e35e39012 Bugfix: ask/send readReceipt was broken 2024-01-23 10:20:54 +01:00
the-djmaze
b2477f2ce3 v2.32.0 2023-12-26 17:42:56 +01:00
the-djmaze
dd46434895 Resolve #1361 2023-12-14 00:08:41 +01:00
the-djmaze
c823ef6eae Rename messageVisibility to messageVisible 2023-12-12 14:11:25 +01:00
the-djmaze
2916583d0b Resolve #1332 2023-12-11 23:46:45 +01:00
the-djmaze
7e30c50dfe Merge viewPopupMessage() into popupMessage() 2023-12-01 23:00:39 +01:00
the-djmaze
77d2d099e2 Resolve Add a "Move to" button inside message view #1295 2023-11-26 18:06:19 +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
bbf45ea979 Resolve #1274 2023-10-08 14:45:20 +02:00
the-djmaze
da2ab68fcc Cleanup some enums to consts 2023-04-03 10:29:26 +02:00
the-djmaze
670271f257 Resolve #1005 2023-03-07 20:03:50 +01:00
the-djmaze
5436253ffd Cache changes for #1003 2023-03-06 11:36:23 +01:00
the-djmaze
d8b05ee361 Resolve #992 2023-02-25 14:16:04 +01:00
the-djmaze
d528498d8d Remove unused imports 2023-02-23 15:44:28 +01:00
the-djmaze
8623bb5d60 Reduce use of isMobile() 2023-02-23 15:43:32 +01:00
the-djmaze
b93a31f950 scrollMessage not needed on focusedState change 2023-02-22 14:57:29 +01:00
the-djmaze
1c1b043a50 Improved key event handling 2023-02-21 14:26:37 +01:00
the-djmaze
4fb359be59 Improved messages cache handling and fixed broken messagesBodiesDom 2023-02-20 10:49:22 +01:00
the-djmaze
31dd1b74b8 Resolve #938 2023-02-10 09:55:52 +01:00
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
69064e2ad0 Image whitelist shortcuts as discussed in #201 2023-02-07 10:23:10 +01:00
the-djmaze
b182372b83 Speedup for #902 2023-02-03 12:12:40 +01:00
the-djmaze
974350ebee Found more JSON properties to change into JavaScript camelCase 2023-01-26 10:41:55 +01:00
the-djmaze
f080a302b1 Almost all JSON properties to JavaScript camelCase 2023-01-24 18:58:25 +01:00
the-djmaze
4922586893 Cleanup config settings and provide some info 2022-12-30 15:11: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
e0f3995e85 Resolve #766 2022-12-12 11:12:48 +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
b7fd933499 Resolve #691 2022-11-23 11:22:20 +01:00
the-djmaze
7dca36409d Show email address for #683 and see what it brings 2022-11-22 11:23:55 +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
7da3ba8c61 Cleanup and rearrange some fontastic glyphs 2022-11-17 21:40:35 +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
b47035ef43 Activate "Simple attachments list" for #672 2022-11-15 13:13:52 +01:00
the-djmaze
58e9ebc37b WIP: Added attachmentListSimple for #672
This is not optional yet and off.
2022-11-15 12:45:08 +01:00
the-djmaze
0feae48464 Bugfix: pgpDecrypt() using MailVelope the decrypt message was not green 2022-11-05 12:04:56 +01:00