This commit is contained in:
the-djmaze 2022-11-03 17:20:46 +01:00
parent 7c362879ed
commit ce3acc4ec8
11 changed files with 39 additions and 24 deletions

View file

@ -290,5 +290,5 @@ dev_email = ""
dev_password = "" dev_password = ""
[version] [version]
current = "2.19.7" current = "2.20.0"
saved = "Fri, 30 Sep 2022 12:34:56 +0000" saved = "Fri, 30 Sep 2022 12:34:56 +0000"

View file

@ -1,3 +1,22 @@
## 2.20.0 2022-11-03
### Added
- Strip mailchimp tracking
### Changed
- Use some PHP typed properties
- Move bootstrap @less variables to CSS var()
- Improved theme styling
### Fixed
- CSS --dropdown-menu-background-color should be --dropdown-menu-bg-color
### Nextcloud
- Disable Nextcloud Impersonate check due to login/logout complications
[#561](https://github.com/the-djmaze/snappymail/issues/561)
- Improved theme integration and be compatible with Breeze Dark
## 2.19.7 2022-11-02 ## 2.19.7 2022-11-02
### Added ### Added

View file

@ -141,24 +141,24 @@ RainLoop 1.17 vs SnappyMail
|js/* |RainLoop |Snappy | |js/* |RainLoop |Snappy |
|--------------- |--------: |--------: | |--------------- |--------: |--------: |
|admin.js |2.170.153 | 81.545 | |admin.js |2.170.153 | 81.545 |
|app.js |4.207.787 | 406.005 | |app.js |4.207.787 | 406.032 |
|boot.js | 868.735 | 2.050 | |boot.js | 868.735 | 2.050 |
|libs.js | 658.812 | 192.965 | |libs.js | 658.812 | 192.965 |
|sieve.js | 0 | 86.121 | |sieve.js | 0 | 86.121 |
|polyfills.js | 334.608 | 0 | |polyfills.js | 334.608 | 0 |
|serviceworker.js | 0 | 285 | |serviceworker.js | 0 | 285 |
|TOTAL |8.240.095 | 768.971 | |TOTAL |8.240.095 | 768.998 |
|js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli | |js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: | |--------------- |--------: |--------: |------: |------: |--------: |--------: |
|admin.min.js | 256.831 | 40.255 | 73.606 | 13.435 | 60.877 | 12.047 | |admin.min.js | 256.831 | 40.255 | 73.606 | 13.435 | 60.877 | 12.047 |
|app.min.js | 515.367 | 188.025 |139.456 | 62.523 |110.485 | 53.638 | |app.min.js | 515.367 | 188.046 |139.456 | 62.537 |110.485 | 53.693 |
|boot.min.js | 84.659 | 1.252 | 26.998 | 778 | 23.643 | 628 | |boot.min.js | 84.659 | 1.252 | 26.998 | 778 | 23.643 | 628 |
|libs.min.js | 584.772 | 92.055 |180.901 | 34.113 |155.182 | 30.641 | |libs.min.js | 584.772 | 92.055 |180.901 | 34.113 |155.182 | 30.641 |
|sieve.min.js | 0 | 41.926 | 0 | 10.484 | 0 | 9.451 | |sieve.min.js | 0 | 41.926 | 0 | 10.484 | 0 | 9.451 |
|polyfills.min.js | 32.837 | 0 | 11.406 | 0 | 10.175 | 0 | |polyfills.min.js | 32.837 | 0 | 11.406 | 0 | 10.175 | 0 |
|TOTAL user |1.217.635 | 281.332 |358.761 | 97.414 |299.485 | 84.907 | |TOTAL user |1.217.635 | 281.353 |358.761 | 97.428 |299.485 | 84.962 |
|TOTAL user+sieve |1.217.635 | 323.258 |358.761 |107.898 |299.485 | 94.358 | |TOTAL user+sieve |1.217.635 | 323.279 |358.761 |107.912 |299.485 | 94.413 |
|TOTAL admin | 959.099 | 133.562 |292.911 | 48.326 |249.877 | 43.316 | |TOTAL admin | 959.099 | 133.562 |292.911 | 48.326 |249.877 | 43.316 |
For a user its around 70% smaller and faster than traditional RainLoop. For a user its around 70% smaller and faster than traditional RainLoop.
@ -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 | |css/* |RainLoop |Snappy |RL gzip |SM gzip |SM brotli |
|------------ |-------: |------: |------: |------: |--------: | |------------ |-------: |------: |------: |------: |--------: |
|app.css | 340.331 | 82.267 | 46.946 | 17.056 | 14.646 | |app.css | 340.331 | 82.870 | 46.946 | 17.215 | 14.727 |
|app.min.css | 274.947 | 65.979 | 39.647 | 15.048 | 13.217 | |app.min.css | 274.947 | 66.646 | 39.647 | 15.260 | 13.322 |
|boot.css | | 1.326 | | 664 | 545 | |boot.css | | 1.326 | | 664 | 545 |
|boot.min.css | | 1.071 | | 590 | 474 | |boot.min.css | | 1.071 | | 590 | 474 |
|admin.css | | 29.955 | | 6.798 | 5.906 | |admin.css | | 30.506 | | 6.907 | 5.998 |
|admin.min.css | | 24.093 | | 6.170 | 5.424 | |admin.min.css | | 24.677 | | 6.267 | 5.498 |
### PGP ### PGP
RainLoop uses the old OpenPGP.js v2 RainLoop uses the old OpenPGP.js v2

View file

@ -1,4 +1,4 @@
This app packages SnappyMail <upstream>2.19.7</upstream>. This app packages SnappyMail <upstream>2.20.0</upstream>.
SnappyMail is a simple, modern, lightweight & fast web-based email client. 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 WORKDIR /app/code
# If you change the extraction below, be sure to test on scaleway # If you change the extraction below, be sure to test on scaleway
VERSION=2.19.7 VERSION=2.20.0
RUN wget https://github.com/the-djmaze/snappymail/releases/download/v${VERSION}/snappymail-${VERSION}.zip -O /tmp/snappymail.zip && \ 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 && \ unzip /tmp/snappymail.zip -d /app/code && \
rm /tmp/snappymail.zip && \ rm /tmp/snappymail.zip && \

View file

@ -3,7 +3,7 @@
<id>snappymail</id> <id>snappymail</id>
<name>SnappyMail</name> <name>SnappyMail</name>
<summary>SnappyMail Webmail</summary> <summary>SnappyMail Webmail</summary>
<version>2.19.7</version> <version>2.20.0</version>
<licence>agpl</licence> <licence>agpl</licence>
<author>SnappyMail, RainLoop Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli</author> <author>SnappyMail, RainLoop Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli</author>
<description><![CDATA[**Simple, modern, lightweight & fast web-based email client.** <description><![CDATA[**Simple, modern, lightweight & fast web-based email client.**

View file

@ -98,12 +98,6 @@ body > header ul {
color: inherit; color: inherit;
} }
#V-MailMessageView,
.b-folders .b-content {
bottom: 5px;
top: 50px;
}
.messageListItem * { .messageListItem * {
cursor: pointer; cursor: pointer;
} }
@ -114,7 +108,7 @@ body > header ul {
*/ */
.messageList { .messageList {
margin: 0 5px; margin: 0 5px 0 0;
} }
a.selectable { a.selectable {

View file

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

View file

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

View file

@ -141,6 +141,9 @@ class Utils
throw new \Exception("Cookie '{$sName}' value too long"); throw new \Exception("Cookie '{$sName}' value too long");
} }
*/ */
if (\strlen($sValue)) {
$_COOKIE[$sName] = $sValue;
}
\setcookie($sName, $sValue, array( \setcookie($sName, $sValue, array(
'expires' => $iExpire, 'expires' => $iExpire,
'path' => $sPath, 'path' => $sPath,
@ -155,7 +158,6 @@ class Utils
{ {
$sPath = static::$CookieDefaultPath; $sPath = static::$CookieDefaultPath;
$sPath = $sPath && \strlen($sPath) ? $sPath : '/'; $sPath = $sPath && \strlen($sPath) ? $sPath : '/';
$_COOKIE[$sName] = $sValue;
// https://github.com/the-djmaze/snappymail/issues/451 // https://github.com/the-djmaze/snappymail/issues/451
// The 4K browser limit is for the entire cookie, including name, value, expiry date etc. // The 4K browser limit is for the entire cookie, including name, value, expiry date etc.
$iMaxSize = 4000 - \strlen($sPath . $sName); $iMaxSize = 4000 - \strlen($sPath . $sName);

View file

@ -44,7 +44,7 @@
--settings-menu-hover-bg-color: rgba(0,0,0,0.5); --settings-menu-hover-bg-color: rgba(0,0,0,0.5);
/* MESSAGE LIST */ /* MESSAGE LIST */
--message-list-toolbar-bg-color: #eee; --message-list-toolbar-bg-color: #222;
} }
::-webkit-scrollbar { ::-webkit-scrollbar {