Skip to content

Commit

Permalink
v2.19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Oct 27, 2022
1 parent 663a6bf commit be8c453
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .docker/release/files/usr/local/include/application.ini
Original file line number Diff line number Diff line change
Expand Up @@ -290,5 +290,5 @@ dev_email = ""
dev_password = ""

[version]
current = "2.19.2"
current = "2.19.3"
saved = "Fri, 30 Sep 2022 12:34:56 +0000"
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,26 +140,26 @@ RainLoop 1.17 vs SnappyMail

|js/* |RainLoop |Snappy |
|--------------- |--------: |--------: |
|admin.js |2.170.153 | 80.893 |
|app.js |4.207.787 | 405.596 |
|admin.js |2.170.153 | 81.500 |
|app.js |4.207.787 | 405.584 |
|boot.js | 868.735 | 2.050 |
|libs.js | 658.812 | 195.214 |
|sieve.js | 0 | 86.183 |
|libs.js | 658.812 | 194.347 |
|sieve.js | 0 | 86.172 |
|polyfills.js | 334.608 | 0 |
|serviceworker.js | 0 | 285 |
|TOTAL |8.240.095 | 770.221 |
|TOTAL |8.240.095 | 769.938 |

|js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
|admin.min.js | 256.831 | 40.083 | 73.606 | 13.387 | 60.877 | 11.991 |
|app.min.js | 515.367 | 187.928 |139.456 | 62.162 |110.485 | 53.380 |
|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 |
|boot.min.js | 84.659 | 1.252 | 26.998 | 778 | 23.643 | 628 |
|libs.min.js | 584.772 | 93.430 |180.901 | 34.504 |155.182 | 30.954 |
|sieve.min.js | 0 | 41.961 | 0 | 10.493 | 0 | 9.462 |
|libs.min.js | 584.772 | 92.683 |180.901 | 34.283 |155.182 | 30.755 |
|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.610 |358.761 | 97.444 |299.485 | 84.962 |
|TOTAL user+sieve |1.217.635 | 324.571 |358.761 |107.937 |299.485 | 94.424 |
|TOTAL admin | 959.099 | 134.765 |292.911 | 48.669 |249.877 | 43.573 |
|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 |

For a user its around 70% smaller and faster than traditional RainLoop.

Expand Down Expand Up @@ -187,12 +187,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 | 81.669 | 46.946 | 16.923 | 14.538 |
|app.min.css | 274.947 | 65.520 | 39.647 | 15.098 | 13.140 |
|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 |
|boot.css | | 1.326 | | 664 | 545 |
|boot.min.css | | 1.071 | | 590 | 474 |
|admin.css | | 29.949 | | 6.793 | 5.898 |
|admin.min.css | | 24.073 | | 6.158 | 5.414 |
|admin.css | | 29.955 | | 6.798 | 5.906 |
|admin.min.css | | 24.093 | | 6.170 | 5.424 |

### PGP
RainLoop uses the old OpenPGP.js v2
Expand All @@ -206,7 +206,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.244 |102.388 | 166.997 | 84.241 | 137.184 |
|openpgp.min.js | 330.742 | 539.257 |102.388 | 166.998 | 84.241 | 137.186 |
|openpgp.worker | 1.499 | | 824 | | 695 | |


Expand Down
2 changes: 1 addition & 1 deletion integrations/cloudron/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This app packages SnappyMail <upstream>2.19.2</upstream>.
This app packages SnappyMail <upstream>2.19.3</upstream>.

SnappyMail is a simple, modern, lightweight & fast web-based email client.

Expand Down
2 changes: 1 addition & 1 deletion integrations/cloudron/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
VERSION=2.19.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 && \
Expand Down
2 changes: 1 addition & 1 deletion integrations/nextcloud/snappymail/appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>snappymail</id>
<name>SnappyMail</name>
<summary>SnappyMail Webmail</summary>
<version>2.19.2</version>
<version>2.19.3</version>
<licence>agpl</licence>
<author>SnappyMail, RainLoop Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli</author>
<description><![CDATA[**Simple, modern, lightweight & fast web-based email client.**
Expand Down
2 changes: 1 addition & 1 deletion integrations/virtualmin/snappymail.pl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sub script_snappymail_longdesc
# script_snappymail_versions()
sub script_snappymail_versions
{
return ( "2.19.2" );
return ( "2.19.3" );
}

sub script_snappymail_version_desc
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "SnappyMail",
"description": "Simple, modern & fast web-based email client",
"private": true,
"version": "2.19.2",
"version": "2.19.3",
"homepage": "https://snappymail.eu",
"author": {
"name": "DJ Maze",
Expand Down
26 changes: 13 additions & 13 deletions snappymail/v/0.0.0/app/libraries/MailSo/Imap/Requests/THREAD.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,33 +78,33 @@ public function SendRequestIterateResponse() : iterable
/**
* @param mixed $mValue
*
* @return mixed
* @return int | array | false
*/
private function validateThreadItem($mValue)
{
$mResult = false;
if (\is_numeric($mValue)) {
$mResult = (int) $mValue;
if (0 >= $mResult) {
$mResult = false;
$mValue = (int) $mValue;
if (0 < $mValue) {
return $mValue;
}
} else if (\is_array($mValue)) {
if (1 === \count($mValue) && \is_numeric($mValue[0])) {
$mResult = (int) $mValue[0];
if (0 >= $mResult) {
$mResult = false;
$mValue = (int) $mValue[0];
if (0 < $mValue) {
return $mValue;
}
} else {
$mResult = array();
$aResult = array();
foreach ($mValue as $mValueItem) {
$mTemp = $this->validateThreadItem($mValueItem);
if (false !== $mTemp) {
$mResult[] = $mTemp;
$mValueItem = $this->validateThreadItem($mValueItem);
if ($mValueItem) {
$aResult[] = $mValueItem;
}
}
return $aResult;
}
}

return $mResult;
return false;
}
}

0 comments on commit be8c453

Please sign in to comment.