Commit graph

6607 commits

Author SHA1 Message Date
the-djmaze
03e2dda6c1 OpenPgp generate key support Internationalized Domain Names 2024-03-12 18:14:14 +01:00
the-djmaze
b89f91f08a Delete old domain setup files on save 2024-03-12 18:02:10 +01:00
the-djmaze
4fd2f63c07 Improved more handling of Internationalized Domain Names 2024-03-12 18:01:27 +01:00
the-djmaze
5c21fea5d7 Example how to use PROXYAUTH 2024-03-12 16:22:28 +01:00
the-djmaze
ca249bcced Support Internationalized Domain Names in OpenPGP 2024-03-12 16:20:19 +01:00
the-djmaze
696a2bbd3c Improved handling of Internationalized Domain Names in punycode 2024-03-12 16:06:17 +01:00
the-djmaze
fd54796710 Drop support for IMAP PROXYAUTH as it is a non-standard X-NETSCAPE thing 2024-03-12 03:13:12 +01:00
the-djmaze
521f5e0d08 Cleanup imapsync 2024-03-12 02:31:09 +01:00
the-djmaze
dd662164d0 Upgrade::ConvertInsecureAccounts use new format 2024-03-12 02:30:47 +01:00
the-djmaze
9e562ac882 ValidateWhiteList use IDN punycode 2024-03-12 00:42:09 +01:00
the-djmaze
a093eb3231 oCacher->Get can return NULL 2024-03-11 20:33:34 +01:00
the-djmaze
7999894bda Handle Domain::$name as lowercase punycode due to IDN complexity 2024-03-11 20:11:13 +01:00
the-djmaze
56ede16833 Added: Cache::Exists
Change: Cache::Get can return NULL
2024-03-11 19:54:53 +01:00
the-djmaze
705907e816 Fix Optional parameter $oAccount declared before required parameter $sLogin 2024-03-11 19:38:15 +01:00
the-djmaze
7d66adbe3c Polyfill idn_to_*() 2024-03-11 12:32:59 +01:00
the-djmaze
f726ac7061 Cleanup KeyPathHelper a bit 2024-03-11 11:05:41 +01:00
the-djmaze
df7b11eadb Improved Domain management code 2024-03-11 11:04:19 +01:00
the-djmaze
de150b359c Make Domain::Normalize() private 2024-03-10 23:58:54 +01:00
the-djmaze
1e55f86f51 Deprecate most Domain methods 2024-03-10 23:58:18 +01:00
the-djmaze
ea4cda6a91 bugfix: autoconfig log error 2024-03-10 23:46:46 +01:00
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
the-djmaze
e07749be6a Ignore popups on logoutReload() 2024-03-10 19:09:17 +01:00
the-djmaze
986b3a79f1 Fix Capa handling 2024-03-10 19:00:46 +01:00
Maarten
c450965cb6
Merge pull request #1484 from botsarenthuman/patch-1
Update ImapClient.php
2024-03-10 18:35:59 +01:00
the-djmaze
7459813646 Fix BodyStructure encoding name 2024-03-10 18:25:05 +01:00
the-djmaze
913ed54668 Improved TNEFDecoder 2024-03-10 18:02:38 +01:00
botsarenthuman
84c8e0d08d
Update ImapClient.php
These lines were overwriting our custom plugin which sets it own auth method via a php unshift. These are already the default login methods, so please don't override what someone may have changed in a plugin.
2024-03-09 12:33:52 -08:00
the-djmaze
d498bf2b53 Actions::MainClearFileName() belongs to Raw 2024-03-08 03:09:58 +01:00
the-djmaze
8a3948777f Fix AddressBookProvider namespaces 2024-03-08 02:50:58 +01:00
the-djmaze
9fc4d8f953 Merge Actions::getAdditionalLogParamsByUserLogin() into Actions::LoggerAuthHelper() 2024-03-08 02:49:41 +01:00
the-djmaze
f32f5347a7 Merge Actions::LoggerAuth() into Actions::LoggerAuthHelper() 2024-03-08 02:36:39 +01:00
the-djmaze
6e24f45d4a AddressBookProvider belongs to Contacts actions 2024-03-08 02:34:33 +01:00
the-djmaze
27f5ba9337 Moved some config admin settings 2024-03-07 01:52:48 +01:00
the-djmaze
8e6f35bfad Improved some AppData handling 2024-03-07 01:16:58 +01:00
the-djmaze
565e8f0fb7 draft code for TNEF winmail.dat #1012 2024-03-06 02:31:28 +01:00
the-djmaze
8fe5cd3c95 update mime types 2024-03-06 01:22:49 +01:00
the-djmaze
c1385894cc Make GnuPG separate admin settings option 2024-03-06 01:13:24 +01:00
Maarten
91d9da4046
Merge pull request #1481 from tinola/master
update Polish translation
2024-03-05 20:05:46 +01:00
tinola
ae725b0974 update Polish translation 2024-03-05 10:18:25 +01:00
Maarten
fd5a793de0
Merge pull request #1479 from S-A-L13/master
Disabled small php part of Nextcloud OpenID Connect
2024-03-04 19:52:46 +01:00
Maarten
54723ea522
Merge pull request #1480 from hguilbert/patch-15
Update admin.json
2024-03-04 19:50:04 +01:00
the-djmaze
c8ea6fd2aa Removed TODO as mentioned in #1473 2024-03-04 19:48:57 +01:00
the-djmaze
382ccdb499 Polyfill ctype #1250 2024-03-04 19:46:12 +01:00
hguilbert
2d920396b2
Update admin.json 2024-03-04 19:35:22 +01:00
S-A-L13
b7fc061f04 Merge branch 'master' of https://github.com/S-A-L13/snappymail 2024-03-04 17:08:58 +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
34106c937e Automatically verify S/MIME decrypted signed message 2024-03-04 15:33:19 +01:00
the-djmaze
d1466ad2f2 Show error to old browsers, instead of crashing 2024-03-04 15:02:13 +01:00