From 63d693f21b1950d1529c07bdb9100495266f9352 Mon Sep 17 00:00:00 2001
From: the-djmaze <>
Date: Fri, 28 Oct 2022 01:44:04 +0200
Subject: [PATCH] v2.19.4
---
.../files/usr/local/include/application.ini | 2 +-
README.md | 20 +++++++++----------
integrations/cloudron/DESCRIPTION.md | 2 +-
integrations/cloudron/Dockerfile | 2 +-
.../nextcloud/snappymail/appinfo/info.xml | 4 ++--
integrations/virtualmin/snappymail.pl | 2 +-
package.json | 2 +-
plugins/nextcloud/js/composer.js | 15 ++++++++++++++
8 files changed, 32 insertions(+), 17 deletions(-)
diff --git a/.docker/release/files/usr/local/include/application.ini b/.docker/release/files/usr/local/include/application.ini
index a8646418f..0cce53dc2 100644
--- a/.docker/release/files/usr/local/include/application.ini
+++ b/.docker/release/files/usr/local/include/application.ini
@@ -290,5 +290,5 @@ dev_email = ""
dev_password = ""
[version]
-current = "2.19.3"
+current = "2.19.4"
saved = "Fri, 30 Sep 2022 12:34:56 +0000"
diff --git a/README.md b/README.md
index 7d35ce9d8..345fef08e 100644
--- a/README.md
+++ b/README.md
@@ -141,25 +141,25 @@ RainLoop 1.17 vs SnappyMail
|js/* |RainLoop |Snappy |
|--------------- |--------: |--------: |
|admin.js |2.170.153 | 81.500 |
-|app.js |4.207.787 | 405.584 |
+|app.js |4.207.787 | 405.783 |
|boot.js | 868.735 | 2.050 |
-|libs.js | 658.812 | 194.347 |
+|libs.js | 658.812 | 192.965 |
|sieve.js | 0 | 86.172 |
|polyfills.js | 334.608 | 0 |
|serviceworker.js | 0 | 285 |
-|TOTAL |8.240.095 | 769.938 |
+|TOTAL |8.240.095 | 768.755 |
|js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
|admin.min.js | 256.831 | 40.402 | 73.606 | 13.446 | 60.877 | 12.062 |
-|app.min.js | 515.367 | 188.357 |139.456 | 62.409 |110.485 | 53.609 |
+|app.min.js | 515.367 | 188.273 |139.456 | 62.450 |110.485 | 53.536 |
|boot.min.js | 84.659 | 1.252 | 26.998 | 778 | 23.643 | 628 |
-|libs.min.js | 584.772 | 92.683 |180.901 | 34.283 |155.182 | 30.755 |
+|libs.min.js | 584.772 | 92.055 |180.901 | 34.113 |155.182 | 30.641 |
|sieve.min.js | 0 | 41.952 | 0 | 10.493 | 0 | 9.465 |
|polyfills.min.js | 32.837 | 0 | 11.406 | 0 | 10.175 | 0 |
-|TOTAL user |1.217.635 | 282.292 |358.761 | 97.470 |299.485 | 84.992 |
-|TOTAL user+sieve |1.217.635 | 324.244 |358.761 |107.963 |299.485 | 94.457 |
-|TOTAL admin | 959.099 | 134.337 |292.911 | 48.507 |249.877 | 43.445 |
+|TOTAL user |1.217.635 | 281.580 |358.761 | 97.341 |299.485 | 84.805 |
+|TOTAL user+sieve |1.217.635 | 323.532 |358.761 |107.834 |299.485 | 94.270 |
+|TOTAL admin | 959.099 | 133.709 |292.911 | 48.337 |249.877 | 43.331 |
For a user its around 70% smaller and faster than traditional RainLoop.
@@ -187,8 +187,8 @@ 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.275 | 46.946 | 17.069 | 14.651 |
-|app.min.css | 274.947 | 65.946 | 39.647 | 15.046 | 13.224 |
+|app.css | 340.331 | 82.267 | 46.946 | 17.056 | 14.646 |
+|app.min.css | 274.947 | 65.979 | 39.647 | 15.048 | 13.217 |
|boot.css | | 1.326 | | 664 | 545 |
|boot.min.css | | 1.071 | | 590 | 474 |
|admin.css | | 29.955 | | 6.798 | 5.906 |
diff --git a/integrations/cloudron/DESCRIPTION.md b/integrations/cloudron/DESCRIPTION.md
index 9ef5340af..4311b31f2 100644
--- a/integrations/cloudron/DESCRIPTION.md
+++ b/integrations/cloudron/DESCRIPTION.md
@@ -1,4 +1,4 @@
-This app packages SnappyMail 2.19.3.
+This app packages SnappyMail 2.19.4.
SnappyMail is a simple, modern, lightweight & fast web-based email client.
diff --git a/integrations/cloudron/Dockerfile b/integrations/cloudron/Dockerfile
index df6807621..cfee21403 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.19.3
+VERSION=2.19.4
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 fc527900a..a06a661bb 100644
--- a/integrations/nextcloud/snappymail/appinfo/info.xml
+++ b/integrations/nextcloud/snappymail/appinfo/info.xml
@@ -3,7 +3,7 @@
snappymail
SnappyMail
SnappyMail Webmail
- 2.19.3
+ 2.19.4
agpl
SnappyMail, RainLoop Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli
◦◯◦'));
}
+/**
+ https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-share-api.html
+ POST /ocs/v2.php/apps/files_sharing/api/v1/shares
+ JSON {
+ "path":"/Nextcloud intro.mp4",
+ "shareType":3, // public link
+ "shareWith":"user@example.com",
+// "publicUpload":false,
+// "password":null,
+// "permissions":1, // default
+// "expireDate":"YYYY-MM-DD",
+// "note":"Especially for you"
+ }
+*/
+
})(window.rl);