Commit graph

85 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
e1833ae032 Make layout fully responsive using matchMedia('(max-width: 799px)') 2023-02-23 13:54:32 +01:00
the-djmaze
97282075b0 Reduce some JavaScript 2023-02-22 17:43:54 +01:00
the-djmaze
c83cf64b80 Resolve #537 2023-02-22 14:09:26 +01:00
the-djmaze
4d8f7d2af7 No need for rl.initData 2023-02-21 20:05:02 +01:00
the-djmaze
ce2fb9d7f2 Many AppData properties to JavaScript camelCase 2023-02-21 10:22:59 +01:00
the-djmaze
8b70fee072 Moved rl.fetch and rl.fetchJSON to boot.js so that AppData can be fetched as JSON 2023-02-21 09:04:47 +01:00
the-djmaze
565ef41eba Comments for #537 2023-02-02 12:55:06 +01:00
the-djmaze
4c8d84d07b Merge NoScript, NoCookie and BadBrowser pages in Index.html 2023-01-30 09:10:49 +01:00
the-djmaze
79510eb79c Resolve #864 2023-01-19 16:46:39 +01:00
the-djmaze
dba125ad59 Change for #864 2023-01-19 15:49:49 +01:00
the-djmaze
faa17ca3de Resolve #800 and #802 2022-12-27 20:57:11 +01:00
the-djmaze
228fefc121 Resolve #798 2022-12-27 10:24:16 +01:00
the-djmaze
4085f58b4e Resolve #713 2022-11-28 10:39:28 +01:00
the-djmaze
089f016633 rl.setWindowTitle() to rl.setTitle() 2022-11-14 09:15:25 +01:00
the-djmaze
a13bb9e930 v2.21.0 2022-11-11 17:50:18 +01:00
the-djmaze
529d727189 Bugfix CSP handling Nextcloud<24 for #631 and #633 2022-11-06 23:10:34 +01:00
the-djmaze
23bbd10b9a Resolve #538 2022-10-02 15:19:23 +02:00
the-djmaze
ab816e9e09 Resolve #538 2022-10-02 00:15:49 +02:00
the-djmaze
d997a2b679 Just showError(e) instead of showError(e.message) 2022-04-30 21:26:57 +02:00
the-djmaze
676b3677b9 Improve old/bad browser redirect as found for SeaMonkey #352 2022-04-28 15:12:52 +02:00
the-djmaze
071b2c1153 Drop rl.settings.capa 2022-04-25 09:57:32 +02:00
the-djmaze
865f62dbb8 Better fix for #314 2022-04-16 02:38:57 +02:00
the-djmaze
873c9ebd8c Resolve #316 2022-04-05 11:43:23 +02:00
the-djmaze
ff35397292 Small change for #314 Something changed in Chrome 100? 2022-04-05 10:40:30 +02:00
the-djmaze
ea25d9bce4 Dynamic load app.js/admin.js/sieve.js based on minification 2022-03-11 12:58:12 +01:00
the-djmaze
cd734c7d5d Globalize rl.loadScript() 2022-03-10 09:57:27 +01:00
the-djmaze
4250dcf3f0 Cleanup theme switcher 2022-03-01 15:49:35 +01:00
the-djmaze
62b6a1513c Cleaner boot data 2022-02-28 15:10:04 +01:00
the-djmaze
e7c7b8ed53 Restructure Capa 2022-02-24 12:22:27 +01:00
the-djmaze
f3717815e1 Cleanup boot.js and fix rllayout cookie 2022-02-08 14:15:22 +01:00
djmaze
b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze
e52addf346 When login don't reload the whole browser. Just rebuilt screens 2021-11-01 11:24:11 +01:00
djmaze
7cb24d4d3c Speedup boot 2021-09-23 15:30:08 +02:00
djmaze
2fc01d51c1 cleanup boot.js 2021-09-17 15:09:47 +02:00
djmaze
7e43bfc6b0 Cleanup CSS and JS
Improve app loading error
2021-08-18 15:36:33 +02:00
djmaze
50d7803c17 Although this is a browser bug (Fulguris & DuckDuckGo), just show why the browser fails loading resources.
See https://github.com/the-djmaze/snappymail/issues/107
2021-08-18 12:23:48 +02:00
djmaze
a3d2b560d0 Make <script> secure with CSP, see issue #103 2021-07-28 14:32:41 +02:00
djmaze
533f488cc4 Speedup boot script 2021-07-26 15:06:28 +02:00
djmaze
89b52b512f Remove progressJs bar because we are fast... 2021-04-28 22:59:42 +02:00
djmaze
a36a8113bb Cleanup more rlspecauth/AuthAccountHash related code 2021-04-28 21:33:03 +02:00
djmaze
146b2c1001 Cleanup AuthAccountHash handling 2021-04-28 15:56:31 +02:00
djmaze
ce63ba506a Keep AUTH_SPEC_TOKEN_KEY
And now we can embed theme and language in index.html template
2021-04-28 12:08:07 +02:00
djmaze
6c370abac3 Revert broken speedup idea for language and theme.
RainLoop removes AUTH_SPEC_TOKEN_KEY cookie, which kills browser refresh/F5
So had to put back the LangLink and NewThemeLink, for now
2021-04-26 21:56:11 +02:00
djmaze
dbf9755700 Improved themes and localization 2021-04-26 14:24:57 +02:00
djmaze
fb98ca6fe7 Merge language into index template 2021-04-26 12:19:47 +02:00
djmaze
1a8eea24cf Improve non-composited animation 2021-04-20 13:41:51 +02:00
djmaze
af3c79ce80 Moved CKEditor to be plugin 2021-03-25 13:35:15 +01:00
djmaze
d7994ddab6 Revamp Mobile/Desktop switcher without completely reloading.
Remove switcher from login page, it became useless.
2021-02-16 20:12:23 +01:00
djmaze
292f3289ac Mobile view based on window width, drop terrible user agent detection
And improved responsive CSS
2021-02-16 14:40:11 +01:00