Commit graph

427 commits

Author SHA1 Message Date
the-djmaze 18a859c68f fix spacing 2024-03-10 23:46:00 +01:00
the-djmaze cc22327279 Drop deprecated Domain::SetConfig() 2024-03-10 23:21:07 +01:00
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 3bd073a38b Disabled php part of Nextcloud OpenID Connect
The php code was still executed and throwed the error:
"Undefined array key "snappymail-autologin-oidc" at /var/www/nextloud/nextcloud_28/apps/snappymail/templates/admin-local.php#43"
2024-03-04 16:51:43 +01:00
the-djmaze d5a43e422d v2.35.0 2024-02-20 18:58:18 +01:00
the-djmaze e02cb38974 v2.34.2 2024-02-14 18:55:04 +01:00
the-djmaze f89a1cd3f9 v2.34.1 2024-02-13 14:58:32 +01:00
the-djmaze 9f2b2e50d7 v2.34.0 2024-02-13 13:24:45 +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 bac6c2d332 More log debug messages for #1420 2024-02-07 01:17:26 +01:00
the-djmaze 59fea00a31 Redesign Nextcloud OIDC login #1420 2024-02-06 20:31:50 +01:00
the-djmaze 8948d22095 This might solve #1420 ? 2024-02-05 20:16:25 +01:00
the-djmaze 61c533a1a6 v2.33.0 2024-01-22 15:11:44 +01:00
the-djmaze b2477f2ce3 v2.32.0 2023-12-26 17:42:56 +01:00
the-djmaze b4c6a3f18e Nextcloud use NextcloudV25+ theme by default 2023-12-11 22:45:00 +01:00
the-djmaze c9d0a530c2 Provide Nextcloud dashboard widget code 2023-12-11 22:40:30 +01:00
the-djmaze ddc953f4fa v2.31.0 2023-12-08 22:24:04 +01:00
the-djmaze e56415aa51 Different solution to use Nextcloud languages #1293 2023-12-08 01:28:08 +01:00
the-djmaze 7441b64de0 Bugfix: Nextcloud Call to undefined method RainLoop\\Model\\MainAccount::ImapConnectAndLoginHelper() 2023-12-04 03:39:51 +01:00
the-djmaze cbfb83e4db Update Nextcloud screenshot 2023-12-04 02:39:45 +01:00
the-djmaze 0c6895f7d7 v2.30.0 2023-12-04 02:03:57 +01:00
the-djmaze 56a0fd63ce Drop obsolete $_ENV['SNAPPYMAIL_NEXTCLOUD'] 2023-11-28 18:40:01 +01:00
the-djmaze 3db4ff2a82 Some code for Nextcloud "unread mail" widet #569 2023-11-28 18:39:42 +01:00
the-djmaze 9ee2f46a99 v2.29.4 2023-11-21 23:49:16 +01:00
the-djmaze e10bc516fe v2.29.3 2023-11-21 16:01:47 +01:00
the-djmaze 9ded40ba9c Idea to prevent exit inside Nextcloud 2023-11-21 00:13:22 +01:00
the-djmaze 8247357184 Some changes for #1293 2023-11-20 22:40:33 +01:00
the-djmaze 6552a93989 Changes for #929 2023-11-20 12:50:47 +01:00
the-djmaze e7d7ca48e4
Merge pull request #1301 from SergeyMosin/mailbox-uri-fix
Fix: '#/mailbox/folder/mUID/search' uri/route handling
2023-11-15 00:42:49 +01:00
the-djmaze 2611a2e067 v2.29.2 2023-11-14 17:12:42 +01:00
Sergey Mosin 0bd3545a34 improve: nextcloud iframe mode unified search result click handling 2023-11-07 09:34:26 -05:00
the-djmaze bd737a82bf Improve solution for #1241 2023-10-24 11:43:47 +02:00
the-djmaze 0064a44031 https://github.com/the-djmaze/snappymail/pull/629#issuecomment-1752025230 2023-10-24 00:56:29 +02:00
the-djmaze 9b26d0f60a v2.29.1 2023-10-02 18:42:13 +02:00
the-djmaze a25350aa60 v2.29.0 2023-10-02 17:05:42 +02:00
the-djmaze edad4ac025 Resolve #1241 2023-10-02 16:15:29 +02:00
the-djmaze 26b7abf893 Other solutions for nextcloud auto login #1247 due to a TOTP conflict 2023-10-02 15:51:19 +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 79c8281a6b improve: nextcloud: set 'smremember' cookie if 'sign_me_auto' is set to 'DefaultOn' when using 'snappymail-autologin*', otherwise nextcloud users need to re-login when the browser is re-opened. 2023-09-18 15:54:19 -04:00
Sergey Mosin d5965bf1d7 fix: nextcloud iFrame mode: click on unified search result opens inner iFrame 2023-09-18 15:50:49 -04:00
the-djmaze ba304fcd00 Moved NextcloudV25+ theme to Nextcloud integration #629 2023-08-22 12:58:29 +02:00
Rene Hampölz 47ed699525
Merge branch 'the-djmaze:master' into nc-theme 2023-07-27 11:22:16 +02:00
the-djmaze 2ccf758c8e
Merge pull request #1206 from MKjanek32/master
Improved Polish translation and Nextcloud internationalization
2023-07-24 15:41:50 +02:00
the-djmaze 1eb192db72 v2.28.4 2023-07-10 14:27:21 +02:00
the-djmaze eab3d8d938 Improved #1197 2023-07-03 15:16:52 +02:00
Sergey Mosin cb96ad95c4 nextcloud: add ability to include custom php file in InstallStep migration 2023-06-30 21:46:21 -04:00
Jan Potocki c09f71e9a9 Updated Polish translation for Nextcloud integration 2023-06-29 18:50:29 +02:00
Jan Potocki 3d2c9836e2 Fixed internationalization for Nextcloud integration 2023-06-29 18:49:03 +02:00
the-djmaze 841fca17cd v2.28.3 2023-06-22 13:28:07 +02:00
the-djmaze 21f3661c8d v2.28.2 2023-06-19 15:32:25 +02:00