Commit graph

288 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
3f08051e37 Added a S/MIME certificates list to User settings #259 2024-02-19 20:16:37 +01:00
the-djmaze
7e304daee0 Bugfix: this.error() undefined when hiding folder edit message 2024-02-13 02:17:27 +01:00
the-djmaze
b0d4b56cee Some improvements for ACL Support #157 2024-02-12 20:48:43 +01:00
the-djmaze
ea55eb13e5 Centralize loading of accounts and identities 2024-02-11 16:40:35 +01:00
the-djmaze
f8002151be Added button to import keys from server into OpenPGP.js #89 2024-02-07 02:29:22 +01:00
the-djmaze
809fca73a0 Extract WYSIWYG code from Html.js into HtmlEditor.js 2024-02-05 14:10:58 +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
57c000908f Resolve #951 2023-12-01 23:18:08 +01:00
the-djmaze
daf1e2769f Resolve #1289 2023-11-27 15:07:02 +01:00
the-djmaze
09e3c7bec6 Rename FolderUserStore.folderListError to FolderUserStore.error 2023-10-31 01:39:40 +01:00
the-djmaze
f097c8bb92 Rename folderListOptimized to optimized 2023-10-31 01:38:09 +01:00
the-djmaze
b22d16a2b6 Resolve #1137 2023-05-30 14:24:45 +02:00
the-djmaze
1883b407a6 TODO: Sieve issue on account switch
When current domain has sieve but the new has not, or current has not and the new has
2023-04-24 12:01:09 +02:00
the-djmaze
da2ab68fcc Cleanup some enums to consts 2023-04-03 10:29:26 +02:00
the-djmaze
8ea2ff4ae8 Resolve #968 2023-03-14 12:46:12 +01:00
the-djmaze
f8b794ec1c Prevent folder/messages flags conflict by using the right name attributes for Folders 2023-03-13 11:49:40 +01:00
the-djmaze
e1833ae032 Make layout fully responsive using matchMedia('(max-width: 799px)') 2023-02-23 13:54:32 +01:00
the-djmaze
5050d8edb3 Improved folder name editing 2023-02-21 15:33:55 +01:00
the-djmaze
81d521c562 Simplify folder name editing 2023-02-21 14:26:16 +01:00
the-djmaze
938c209869 Cleanup a bit of javascript 2023-02-21 12:59:56 +01:00
the-djmaze
d1823af111 More JSON properties to JavaScript camelCase 2023-02-21 11:52:50 +01:00
the-djmaze
ce2fb9d7f2 Many AppData properties to JavaScript camelCase 2023-02-21 10:22:59 +01:00
the-djmaze
8d52b0afdf Bugfix: Notification enum conflicts with window.Notification 2023-02-20 15:59:37 +01:00
the-djmaze
4fb359be59 Improved messages cache handling and fixed broken messagesBodiesDom 2023-02-20 10:49:22 +01:00
the-djmaze
15f9aa11db v2.26.2 2023-02-17 14:27:16 +01:00
the-djmaze
ab77949e64 Changes for #973 2023-02-17 13:35:21 +01:00
the-djmaze
03379a6163 Moved AllowDraftAutosave option from Settings -> Security to Settings -> General -> Compose 2023-02-15 17:05:53 +01:00
the-djmaze
64818025e8 Added feature to allow <style> in messages 2023-02-14 14:54:38 +01:00
the-djmaze
fc5b26dfc2 Added message maximum quoted text level for speed.
Read https://github.com/the-djmaze/snappymail/issues/902#issuecomment-1416777217
2023-02-04 16:39:50 +01:00
the-djmaze
426c92fe33 Make collapse quotes optional for #902 2023-02-03 14:40:56 +01:00
the-djmaze
cefe679c98 Resolve #486 2023-02-01 12:21:31 +01:00
the-djmaze
07079b519a Resolve #201 2023-01-31 14:45:50 +01:00
the-djmaze
e23e0138a9 Enable RFC 8689 2023-01-30 15:21:17 +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
ad45bcf2cf Changes for #796 2022-12-27 10:48:56 +01:00
the-djmaze
508c262a4b SETTINGS_LABELS remove 'LABEL_' and '_NAME' part 2022-12-23 17:54:13 +01:00
the-djmaze
b0ed74575f Cleanup locate time handling 2022-12-23 12:22:57 +01:00
the-djmaze
fca7e44aa0 Make MessageList per day optional #737 2022-12-23 08:42:36 +01:00
the-djmaze
215767ed9b Added: option to enable additional account unread messages count 2022-12-22 10:01:25 +01:00
the-djmaze
fd6dc611bb Added more JMAP info 2022-12-13 16:52:20 +01:00
the-djmaze
d0db7f5ce3 Resolve #760 2022-12-12 13:03:41 +01:00
the-djmaze
97bdaf4788 v2.23.0 2022-12-08 17:15:46 +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
b47035ef43 Activate "Simple attachments list" for #672 2022-11-15 13:13:52 +01:00
the-djmaze
4a0a6c80fc Resolve #574 2022-11-15 12:12:01 +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
04c11ddc49 Move changeTheme and convertThemeName to Themes.js 2022-11-08 10:53:14 +01:00
the-djmaze
839ebfb350 Resolve #590 2022-10-30 22:08:30 +01:00