Commit graph

872 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
10ec90435d Show certificate icon for p12 and pfx files 2024-02-19 18:51:52 +01:00
the-djmaze
a9b60a762f Also mark p7m with certificate icon 2024-02-19 15:29:25 +01:00
the-djmaze
f53d9ed6c3 Verify S/MIME signed messages #259 2024-02-19 15:14:11 +01:00
the-djmaze
2a14566679 friendlySize() could return NaN 2024-02-13 10:50:31 +01:00
the-djmaze
905315b164 Bugfix: friendlySize() failed on 0 2024-02-12 20:03:06 +01:00
the-djmaze
ea55eb13e5 Centralize loading of accounts and identities 2024-02-11 16:40:35 +01:00
the-djmaze
d1154df74d Resolve #1415 2024-02-08 18:48:54 +01:00
the-djmaze
d55ce60cc5 Resolve #1225 by using optional link tracking 2024-02-06 16:05:17 +01:00
the-djmaze
be633f78a7 Add some basic support for Linked Data (Structured Email) #1422 2024-02-05 14:52:23 +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
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
fa15ff6ba4 Draft idea for custom notification sounds 2023-12-05 16:18:36 +01:00
the-djmaze
7e30c50dfe Merge viewPopupMessage() into popupMessage() 2023-12-01 23:00:39 +01:00
the-djmaze
daf1e2769f Resolve #1289 2023-11-27 15:07:02 +01:00
the-djmaze
5cdbba8da0 Support \noinferiors to disallow creating subfolders 2023-11-22 04:07:57 +01:00
Sergey Mosin
4b26317be8 fix: '#/mailbox/folder/mUID/search' URI does not show the message 2023-11-07 09:34:21 -05:00
the-djmaze
231ccb1e43 Cleanup and simplify messageList UpOrDown handling 2023-10-08 13:57:46 +02:00
the-djmaze
e1649d0361 Drop .actionHandle 2023-10-02 18:35:59 +02:00
the-djmaze
57b804f3a3 Bugfix: using messages list checkboxes failed 2023-10-02 18:34:33 +02:00
the-djmaze
6b0e6ec02a Improved selector changes of #1248 2023-10-02 12:47:47 +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
15e59ef65f fix: allow clicking action on entire "ListItem" area, instead of just the "text elements" 2023-09-18 15:50:48 -04:00
the-djmaze
c60f8776f4 Resolve #1208 2023-08-29 16:08:24 +02:00
the-djmaze
4f3265f8b6 Resolve #1215 2023-08-28 17:44:07 +02:00
the-djmaze
4e04461f80 Changes for "Request failed" error #1220 2023-08-21 16:02:57 +02:00
the-djmaze
037ed7e257 Change for #1225 2023-08-21 10:01:10 +02:00
the-djmaze
3a3b2f0771 Prevent MessageList multiple request at the same time #1071 2023-06-12 17:00:23 +02:00
the-djmaze
9ff3e94870 Resolve #1169 2023-06-12 13:12:13 +02:00
the-djmaze
197f597d1c Resolve #1134 2023-05-23 13:53:44 +02:00
the-djmaze
59aa1cac35 Resolve #1125 2023-05-12 23:43:13 +02:00
the-djmaze
bf6f342ffd Make pagination numbers locale aware for #1056 2023-05-08 13:01:16 +02:00
the-djmaze
9cabfe7570 Merge branch 'master' into rtl-support 2023-04-18 09:54:24 +02:00
the-djmaze
c7cc250b1e Resolve #1086 2023-04-18 09:31:14 +02:00
the-djmaze
8630b418d1 Resolve #1082 2023-04-18 09:22:04 +02:00
the-djmaze
20a2f5f185 Added base code for RTL support #1056 2023-04-11 12:55:59 +02:00
the-djmaze
da2ab68fcc Cleanup some enums to consts 2023-04-03 10:29:26 +02:00
the-djmaze
17b1deb95b FolderInformation() use jsonSerialize() 2023-03-13 10:46:40 +01:00
the-djmaze
8c7fd77762 Resolve #1001 2023-03-06 11:55:32 +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
a86c5ba639 bugfix: unicode mailto: addresses 2023-02-23 18:43:27 +01:00
the-djmaze
d92f25973b fix unicode email address matching #955 2023-02-23 17:38:41 +01:00
the-djmaze
5ef79e5148 Also match unicode email addresses #955 2023-02-23 17:24:23 +01:00
the-djmaze
7f62d9b7aa remove unused aCache 2023-02-23 15:43:43 +01:00
the-djmaze
e1833ae032 Make layout fully responsive using matchMedia('(max-width: 799px)') 2023-02-23 13:54:32 +01:00
the-djmaze
d10aec8f08 Resolve #955 and allow unicode 2023-02-22 08:51:33 +01:00