Commit graph

666 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
S-A-L13
31d9e9fd1b Changed version to 2.3 2024-02-27 14:30:57 +01:00
S-A-L13
20f6dea345 minor changes 2024-02-27 13:46:02 +01:00
S-A-L13
0763f3d1c6 Removed wrong escapes 2024-02-27 13:22:38 +01:00
S-A-L13
f4554374bd Minor changes to match coding style of original coder 2024-02-27 13:10:53 +01:00
S-A-L13
ebf7540554 Added function CleanupMailAddresses
Added function (and additional code to start it) that helps to clean up the mail addresses array. It removes the prefix (if set in config) and removes all addresses with no or a different prefix.
2024-02-27 12:04:07 +01:00
S-A-L13
12cbb9f07e Added config fields for mail prefix
Mail prefix is needed to filter mailidentities. For example suche set by Exchange in the ProxyAddresses field, which can hold different address types
2024-02-26 15:47:57 +01:00
S-A-L13
8dac28e1a2 Update index.php 2024-02-22 14:56:29 +01:00
S-A-L13
383e40636b Added StartTLS functionality
Added StartTLS in function Connect().
And also added parameters in config to activate StartTLS.
2024-02-22 14:54:55 +01:00
the-djmaze
44a623543f set smimeKey and smimeCertificate for demo 2024-02-20 15:21:32 +01:00
the-djmaze
8a0b3d3791 Resolve #1425 2024-02-18 16:44:20 +01:00
the-djmaze
dceb5fca41 Resolve #1439 2024-02-15 23:56:26 +01:00
the-djmaze
9f2b2e50d7 v2.34.0 2024-02-13 13:24:45 +01:00
the-djmaze
a25d35d6df Resolve #1405 2024-02-09 02:39:00 +01:00
the-djmaze
81f8fe3019 Resolve #1425 2024-02-08 18:12:32 +01:00
the-djmaze
83aa65981b Added link to schema.org #1422 2024-02-08 17:41:50 +01:00
the-djmaze
a056631cef Update example extension/plugin 2024-02-08 00:46:16 +01:00
the-djmaze
d832117ae4 Disabled support for Nextcloud OpenID Connect
https://github.com/the-djmaze/snappymail/issues/1420#issuecomment-1933045917
2024-02-07 23:35:45 +01:00
the-djmaze
59fea00a31 Redesign Nextcloud OIDC login #1420 2024-02-06 20:31:50 +01:00
the-djmaze
66c9091b88 Add more debug messages for #1420 2024-02-06 19:57:00 +01:00
the-djmaze
f0d97b52d9 Support JSON-LD #1422 2024-02-06 19:52:00 +01:00
the-djmaze
a46484755b Added Autoconfig as extension 2024-02-06 18:43:33 +01:00
the-djmaze
d2c59d2e1c Change for #1420 2024-02-06 14:24:56 +01:00
the-djmaze
e1d95f8632 Changes for #1420 to detect OIDC 2024-02-05 21:40:30 +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
b726400f42 Resolve #1402 2024-01-23 10:23:06 +01:00
the-djmaze
61c533a1a6 v2.33.0 2024-01-22 15:11:44 +01:00
the-djmaze
a80cb495d2 Resolve #1396 2024-01-22 14:34:35 +01:00
the-djmaze
aca3490331 Resolve #1395 and #1394 2024-01-22 14:30:53 +01:00
the-djmaze
e133cf5ffb Changes for BIMI-Selector #1394 2024-01-22 13:25:04 +01:00
the-djmaze
5747b7add6 Version bump for #1400 2024-01-22 00:05:06 +01:00
the-djmaze
dac5b105ce
Merge pull request #1400 from PhilippMundhenk/master
Automatic login for ProxyAuth plugin, improved security documentation
2024-01-22 00:02:52 +01:00
the-djmaze
58955f792a Changes for BIMI-Selector #1394 2024-01-22 00:01:46 +01:00
Philipp Mundhenk
b947db2eb1 added documentation for usage of custom_logout_link 2024-01-21 15:31:32 +01:00
Philipp Mundhenk
59c0f5cc94 documented auto login, improved security documentation 2024-01-21 15:09:31 +01:00
Philipp Mundhenk
081726d764 added automatic login 2024-01-21 14:57:47 +01:00
the-djmaze
b1c435277c Resolve #1393 2024-01-17 01:34:25 +01:00
the-djmaze
8f9c199360 Bump Nextcloud extension version 2024-01-16 15:49:15 +01:00
the-djmaze
34e4bad77f Workaround #1392 2024-01-16 15:38:27 +01:00
Philipp Mundhenk
f6eab84d40 added README 2024-01-14 18:22:59 +01:00
Philipp Mundhenk
84f739c72f added encryption 2024-01-14 18:22:41 +01:00
Philipp Mundhenk
ec937a5af1 implemented ProxyAuth 2024-01-14 14:39:23 +01:00
the-djmaze
30ed8dde11 Resolve #1381 2024-01-12 01:56:12 +01:00
the-djmaze
98b203a3ca Demo plugin disable delete of messages 2023-12-25 16:07:59 +01:00
the-djmaze
1a331dc3ba Some fixes for #1362 2023-12-17 22:42:48 +01:00
Avinash Gusain
d1e6ea379e use getLanguages 2023-12-13 16:07:44 +05:30
Avinash Gusain
3a46916ad9 set default lang 2023-12-13 15:39:53 +05:30
Avinash Gusain
184d3fe7d6 nextcloud snapppy lang fix 2023-12-13 10:26:03 +05:30
the-djmaze
1d652e0ce3 Backup plugin don't use tar stream yet (was a test) 2023-12-12 22:55:02 +01:00
the-djmaze
f1c6ff3f2a Backup plugin use tar stream 2023-12-12 22:52:31 +01:00