Skip to content

Commit

Permalink
v2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djmaze committed Jul 28, 2021
1 parent 7ca666f commit b7cb990
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 35 deletions.
15 changes: 0 additions & 15 deletions .tx/config

This file was deleted.

26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ This fork of RainLoop has the following changes:
This fork uses downsized/simplified versions of scripts and has no support for Internet Explorer nor Edge Legacy.
Supported are:

* Chrome 69
* Edge 79
* Firefox 69
* Opera 56
* Safari 12
* Chrome 69+
* Edge 79+
* Firefox 69+
* Opera 56+
* Safari 12+


### Removal of old JavaScript
Expand Down Expand Up @@ -130,23 +130,23 @@ RainLoop 1.15 vs SnappyMail
|--------------- |--------: |--------: |
|admin.js |2.158.025 | 91.598 |
|app.js |4.215.733 | 454.046 |
|boot.js | 672.433 | 3.147 |
|libs.js | 647.679 | 218.139 |
|boot.js | 672.433 | 2.861 |
|libs.js | 647.679 | 217.881 |
|polyfills.js | 325.908 | 0 |
|serviceworker.js | 0 | 285 |
|TOTAL |8.019.778 | 767.215 |
|TOTAL |8.019.778 | 766.671 |

|js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
|admin.min.js | 255.514 | 47.631 | 73.899 | 14.320 | 60.674 | 12.796 |
|app.min.js | 516.000 | 233.722 |140.430 | 68.676 |110.657 | 58.037 |
|boot.min.js | 66.456 | 1.751 | 22.553 | 1.025 | 20.043 | 858 |
|libs.min.js | 574.626 | 106.273 |177.280 | 38.502 |151.855 | 34.428 |
|boot.min.js | 66.456 | 1.621 | 22.553 | 968 | 20.043 | 810 |
|libs.min.js | 574.626 | 106.182 |177.280 | 38.479 |151.855 | 34.497 |
|polyfills.min.js | 32.608 | 0 | 11.315 | 0 | 10.072 | 0 |
|TOTAL |1.445.204 | 389.377 |425.477 |122.523 |353.301 |106.119 |
|TOTAL (no admin) |1.189.690 | 341.746 |351.061 |108.203 |292.627 | 93.323 |
|TOTAL |1.445.204 | 389.156 |425.477 |122.443 |353.301 |106.140 |
|TOTAL (no admin) |1.189.690 | 341.525 |351.061 |108.123 |292.627 | 93.344 |

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

|OpenPGP |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
Expand Down
2 changes: 1 addition & 1 deletion integrations/nextcloud/snappymail/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.3
2.6.0
4 changes: 2 additions & 2 deletions integrations/nextcloud/snappymail/appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<id>snappymail</id>
<name>SnappyMail</name>
<summary>SnappyMail Webmail</summary>
<description>Simple, modern and fast web-based email client. After enabling in Nextcloud, go to Nextcloud admin panel, "Additionnal settings" and you will see a "SnappyMail webmail" section. There, click on the link to go to the SnappyMail admin panel. The default user/password is admin/12345. This version is based on SnappyMail 2.5.3 (2021-07).</description>
<version>2.5.3</version>
<description>Simple, modern and fast web-based email client. After enabling in Nextcloud, go to Nextcloud admin panel, "Additionnal settings" and you will see a "SnappyMail webmail" section. There, click on the link to go to the SnappyMail admin panel. The default user/password is admin/12345. This version is based on SnappyMail 2.6.0 (2021-07).</description>
<version>2.6.0</version>
<licence>agpl</licence>
<author>SnappyMail Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli</author>
<namespace>SnappyMail</namespace>
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.5.3",
"version": "2.6.0",
"homepage": "https://snappymail.eu",
"author": {
"name": "DJ Maze",
Expand Down
4 changes: 2 additions & 2 deletions plugins/two-factor-auth/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ class TwoFactorAuthPlugin extends \RainLoop\Plugins\AbstractPlugin
const
NAME = 'Two Factor Authentication',
VERSION = '2.1',
RELEASE = '2021-07-22',
REQUIRED = '2.5.4',
RELEASE = '2021-07-28',
REQUIRED = '2.6.0',
CATEGORY = 'Login',
DESCRIPTION = 'This plugin allows you to have TOTP 2FA';

Expand Down
2 changes: 1 addition & 1 deletion snappymail/v/0.0.0/app/libraries/RainLoop/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private function setCSP(string $sScriptNonce = null) : void
$sContentSecurityPolicy = \preg_replace('/(img-src[^;]+)\\shttp:(\\s|;|$)/D', '$1$2', $sContentSecurityPolicy);
}
// Internet Explorer does not support 'nonce'
if (!\strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/')) {
if (!\strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/') && !\strpos($_SERVER['HTTP_USER_AGENT'], 'Edge/1')) {
if ($sScriptNonce) {
$sContentSecurityPolicy = \preg_replace("/(script-src[^;]+)'unsafe-inline'/", "\$1'nonce-{$sScriptNonce}'", $sContentSecurityPolicy);
}
Expand Down

0 comments on commit b7cb990

Please sign in to comment.