From a34041c2dd54d677d83566761fab55a8880ec493 Mon Sep 17 00:00:00 2001
From: the-djmaze <>
Date: Fri, 25 Nov 2022 16:33:08 +0100
Subject: [PATCH] v2.22.3
---
.../files/usr/local/include/application.ini | 2 +-
CHANGELOG.md | 17 ++++++++++++++++
README.md | 20 +++++++++----------
integrations/cloudron/DESCRIPTION.md | 2 +-
integrations/cloudron/Dockerfile | 2 +-
.../nextcloud/snappymail/appinfo/info.xml | 2 +-
integrations/virtualmin/snappymail.pl | 2 +-
package.json | 2 +-
plugins/nextcloud/index.php | 4 ++--
release.php | 13 ++++++++++--
10 files changed, 46 insertions(+), 20 deletions(-)
diff --git a/.docker/release/files/usr/local/include/application.ini b/.docker/release/files/usr/local/include/application.ini
index 1f5ed1023..36d814643 100644
--- a/.docker/release/files/usr/local/include/application.ini
+++ b/.docker/release/files/usr/local/include/application.ini
@@ -289,5 +289,5 @@ dev_email = ""
dev_password = ""
[version]
-current = "2.22.2"
+current = "2.22.3"
saved = "Fri, 30 Sep 2022 12:34:56 +0000"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f9c1d1058..d2dd2edac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,20 @@
+## 2.22.3 – 2022-11-25
+
+### Added
+- application.ini config logs.path and cache.path to improve custom data structure.
+
+### Changed
+- Improved cPanel integration
+ [#697](https://github.com/the-djmaze/snappymail/pull/697)
+- Update to OpenPGP.js v5.5.0
+
+### Fixed
+- drag & drop folder expansion #707
+ [#707](https://github.com/the-djmaze/snappymail/pull/707)
+- Save selected messages as .eml in Nextcloud failed
+ [#704](https://github.com/the-djmaze/snappymail/pull/704)
+
+
## 2.22.2 – 2022-11-24
### Added
diff --git a/README.md b/README.md
index f9bc9a61e..ff6b4eaa0 100644
--- a/README.md
+++ b/README.md
@@ -142,24 +142,24 @@ RainLoop 1.17 vs SnappyMail
|js/* |RainLoop |Snappy |
|--------------- |--------: |--------: |
|admin.js |2.170.153 | 82.419 |
-|app.js |4.207.787 | 407.238 |
+|app.js |4.207.787 | 407.335 |
|boot.js | 868.735 | 1.989 |
|libs.js | 658.812 | 193.075 |
|sieve.js | 0 | 86.121 |
|polyfills.js | 334.608 | 0 |
|serviceworker.js | 0 | 285 |
-|TOTAL |8.240.095 | 771.127 |
+|TOTAL |8.240.095 | 771.224 |
|js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
|admin.min.js | 256.831 | 40.933 | 73.606 | 13.575 | 60.877 | 12.185 |
-|app.min.js | 515.367 | 188.830 |139.456 | 62.816 |110.485 | 53.944 |
+|app.min.js | 515.367 | 188.819 |139.456 | 62.830 |110.485 | 53.925 |
|boot.min.js | 84.659 | 1.216 | 26.998 | 761 | 23.643 | 614 |
|libs.min.js | 584.772 | 92.084 |180.901 | 34.119 |155.182 | 30.621 |
|sieve.min.js | 0 | 41.926 | 0 | 10.484 | 0 | 9.451 |
|polyfills.min.js | 32.837 | 0 | 11.406 | 0 | 10.175 | 0 |
-|TOTAL user |1.217.635 | 282.130 |358.761 | 97.696 |299.485 | 85.179 |
-|TOTAL user+sieve |1.217.635 | 324.056 |358.761 |108.180 |299.485 | 94.630 |
+|TOTAL user |1.217.635 | 282.119 |358.761 | 97.710 |299.485 | 85.160 |
+|TOTAL user+sieve |1.217.635 | 324.045 |358.761 |108.194 |299.485 | 94.611 |
|TOTAL admin | 959.099 | 134.233 |292.911 | 48.455 |249.877 | 43.420 |
For a user its around 70% smaller and faster than traditional RainLoop.
@@ -189,12 +189,12 @@ For a user its around 70% smaller and faster than traditional RainLoop.
|css/* |RainLoop |Snappy |RL gzip |SM gzip |SM brotli |
|------------ |-------: |------: |------: |------: |--------: |
-|app.css | 340.331 | 82.425 | 46.946 | 17.049 | 14.595 |
-|app.min.css | 274.947 | 66.502 | 39.647 | 15.049 | 13.221 |
+|app.css | 340.331 | 82.471 | 46.946 | 17.107 | 14.645 |
+|app.min.css | 274.947 | 66.548 | 39.647 | 15.117 | 13.260 |
|boot.css | | 1.326 | | 664 | 545 |
|boot.min.css | | 1.071 | | 590 | 474 |
-|admin.css | | 29.807 | | 6.744 | 5.851 |
-|admin.min.css | | 24.223 | | 6.142 | 5.397 |
+|admin.css | | 29.853 | | 6.812 | 5.933 |
+|admin.min.css | | 24.269 | | 6.210 | 5.480 |
### PGP
RainLoop uses the old OpenPGP.js v2
@@ -208,7 +208,7 @@ See https://github.com/the-djmaze/openpgpjs for development
|OpenPGP |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |-------: |--------: |--------: |
-|openpgp.min.js | 330.742 | 539.257 |102.388 | 166.998 | 84.241 | 137.186 |
+|openpgp.min.js | 330.742 | 539.988 |102.388 | 167.371 | 84.241 | 137.413 |
|openpgp.worker | 1.499 | | 824 | | 695 | |
diff --git a/integrations/cloudron/DESCRIPTION.md b/integrations/cloudron/DESCRIPTION.md
index a182909e6..4ca3ec11e 100644
--- a/integrations/cloudron/DESCRIPTION.md
+++ b/integrations/cloudron/DESCRIPTION.md
@@ -1,4 +1,4 @@
-This app packages SnappyMail 2.22.2.
+This app packages SnappyMail 2.22.3.
SnappyMail is a simple, modern, lightweight & fast web-based email client.
diff --git a/integrations/cloudron/Dockerfile b/integrations/cloudron/Dockerfile
index d1d70f1ad..da746c635 100644
--- a/integrations/cloudron/Dockerfile
+++ b/integrations/cloudron/Dockerfile
@@ -4,7 +4,7 @@ RUN mkdir -p /app/code
WORKDIR /app/code
# If you change the extraction below, be sure to test on scaleway
-VERSION=2.22.2
+VERSION=2.22.3
RUN wget https://github.com/the-djmaze/snappymail/releases/download/v${VERSION}/snappymail-${VERSION}.zip -O /tmp/snappymail.zip && \
unzip /tmp/snappymail.zip -d /app/code && \
rm /tmp/snappymail.zip && \
diff --git a/integrations/nextcloud/snappymail/appinfo/info.xml b/integrations/nextcloud/snappymail/appinfo/info.xml
index 5f121a00f..dfb335d19 100644
--- a/integrations/nextcloud/snappymail/appinfo/info.xml
+++ b/integrations/nextcloud/snappymail/appinfo/info.xml
@@ -3,7 +3,7 @@
snappymail
SnappyMail
SnappyMail Webmail
- 2.22.2
+ 2.22.3
agpl
SnappyMail, RainLoop Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli
version}/";
is_dir($destPath) || mkdir($destPath, 0777, true);
@@ -263,6 +268,10 @@ if (isset($options['sign'])) {
passthru('gpg --local-user 1016E47079145542F8BA133548208BA13290F3EB --armor --detach-sign '
.escapeshellarg("{$destPath}snappymail-{$package->version}-nextcloud.tar.gz"), $return_var);
}
+ if (isset($options['cpanel'])) {
+ passthru('gpg --local-user 1016E47079145542F8BA133548208BA13290F3EB --armor --detach-sign '
+ .escapeshellarg("{$destPath}snappymail-{$package->version}-cpanel.tar.gz"), $return_var);
+ }
if (isset($options['debian'])) {
passthru('gpg --local-user 1016E47079145542F8BA133548208BA13290F3EB --armor --detach-sign '
. escapeshellarg(__DIR__ . "/build/dist/releases/webmail/{$package->version}/" . basename(DEB_DEST_DIR.'.deb')), $return_var);