This commit is contained in:
djmaze 2021-12-28 17:13:15 +01:00
parent 132c0a1349
commit 98b3fa9632
11 changed files with 23 additions and 26 deletions

View file

@ -289,5 +289,5 @@ dev_email = ""
dev_password = ""
[version]
current = "2.9.6"
current = "2.10.0"
saved = "Mon, 23 Aug 2021 07:55:13 +0000"

View file

@ -9,7 +9,7 @@ module.exports = {
env: {
node: true,
browser: true,
es6: true
es2020: true
},
globals: {
// SnappyMail

View file

@ -138,23 +138,23 @@ RainLoop 1.15 vs SnappyMail
|js/* |RainLoop |Snappy |
|--------------- |--------: |--------: |
|admin.js |2.158.025 | 85.374 |
|app.js |4.215.733 | 425.896 |
|admin.js |2.158.025 | 86.169 |
|app.js |4.215.733 | 424.944 |
|boot.js | 672.433 | 2.779 |
|libs.js | 647.679 | 209.024 |
|libs.js | 647.679 | 209.031 |
|polyfills.js | 325.908 | 0 |
|serviceworker.js | 0 | 285 |
|TOTAL |8.019.778 | 723.358 |
|TOTAL |8.019.778 | 723.208 |
|js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
|admin.min.js | 255.514 | 42.994 | 73.899 | 13.759 | 60.674 | 12.257 |
|app.min.js | 516.000 | 216.479 |140.430 | 65.691 |110.657 | 55.861 |
|admin.min.js | 255.514 | 43.369 | 73.899 | 13.924 | 60.674 | 12.400 |
|app.min.js | 516.000 | 215.368 |140.430 | 65.454 |110.657 | 55.697 |
|boot.min.js | 66.456 | 1.654 | 22.553 | 996 | 20.043 | 814 |
|libs.min.js | 574.626 | 99.890 |177.280 | 36.443 |151.855 | 32.660 |
|libs.min.js | 574.626 | 99.760 |177.280 | 36.443 |151.855 | 32.665 |
|polyfills.min.js | 32.608 | 0 | 11.315 | 0 | 10.072 | 0 |
|TOTAL |1.445.204 | 361.017 |425.477 |116.889 |353.301 |101.592 |
|TOTAL (no admin) |1.189.690 | 318.023 |351.061 |103.130 |292.627 | 89.335 |
|TOTAL |1.445.204 | 360.151 |425.477 |116.817 |353.301 |101.576 |
|TOTAL (no admin) |1.189.690 | 316.782 |351.061 |102.893 |292.627 | 89.176 |
For a user its around 70% smaller and faster than traditional RainLoop.
@ -193,12 +193,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.334 | 84.786 | 46.959 | 16.287 | 14.086 |
|app.min.css | 274.791 | 68.596 | 39.618 | 14.406 | 12.791 |
|app.css | 340.334 | 84.810 | 46.959 | 16.297 | 14.102 |
|app.min.css | 274.791 | 68.619 | 39.618 | 14.424 | 12.796 |
|boot.css | | 1.326 | | 664 | 545 |
|boot.min.css | | 1.071 | | 590 | 474 |
|admin.css | | 30.486 | | 6.873 | 5.959 |
|admin.min.css | | 24.483 | | 6.223 | 5.465 |
|admin.css | | 30.598 | | 6.900 | 5.983 |
|admin.min.css | | 24.578 | | 6.248 | 5.492 |
### Squire vs CKEditor

View file

@ -288,7 +288,7 @@ export class Selector {
* @returns {boolean}
*/
autoSelect() {
return !!(this.oCallbacks.AutoSelect || (()=>true))();
return !!(this.oCallbacks.AutoSelect || (()=>1))();
}
/**
@ -329,7 +329,7 @@ export class Selector {
} else if (++i < listLen) {
result = list[i];
}
result || (this.oCallbacks.UpOrDown || (()=>true))('ArrowUp' === sEventKey);
result || (this.oCallbacks.UpOrDown || (()=>0))('ArrowUp' === sEventKey);
} else if ('Home' === sEventKey) {
result = list[0];
} else if ('End' === sEventKey) {

View file

@ -1,4 +1,4 @@
This app packages SnappyMail <upstream>2.9.6</upstream>.
This app packages SnappyMail <upstream>2.10.0</upstream>.
SnappyMail is a simple, modern, lightweight & fast web-based email client.

View file

@ -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.9.6
VERSION=2.10.0
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 && \

View file

@ -1 +1 @@
2.9.6
2.10.0

View file

@ -4,7 +4,7 @@
<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.6.0 (2021-07).</description>
<version>2.9.6</version>
<version>2.10.0</version>
<licence>agpl</licence>
<author>SnappyMail Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli</author>
<namespace>SnappyMail</namespace>

View file

@ -20,7 +20,7 @@ return "SnappyMail Webmail is a browser-based multilingual IMAP client with an a
# script_snappymail_versions()
sub script_snappymail_versions
{
return ( "2.9.6" );
return ( "2.10.0" );
}
sub script_snappymail_version_desc

View file

@ -3,7 +3,7 @@
"title": "SnappyMail",
"description": "Simple, modern & fast web-based email client",
"private": true,
"version": "2.9.6",
"version": "2.10.0",
"homepage": "https://snappymail.eu",
"author": {
"name": "DJ Maze",

View file

@ -210,9 +210,6 @@ $tar->addFromString('data/VERSION', $package->version);
$zip->addFile('data/README.md');
$tar->addFile('data/README.md');
//$zip->addFile('data/EMPTY');
//$tar->addFile('data/EMPTY');
if ($options['aur']) {
$data = '<?php
function __get_custom_data_full_path()