Skip to content

Commit

Permalink
v2.38.0
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Sep 16, 2024
1 parent 96b7f9d commit bd2ffe5
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 20 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## 2.38.0 – 2024-09-16

### Added
- Remove `tel:` links when converting HTML to plain
[#1724](https://github.com/the-djmaze/snappymail/issues/1724)
- Convert HTML to Markdown instead of plain, by using [Turndown](https://github.com/mixmark-io/turndown)
[#1604](https://github.com/the-djmaze/snappymail/issues/1604)
- Check HTMLInputElement.validity() for
[#1733](https://github.com/the-djmaze/snappymail/issues/1733)

### Changed
- Use a modified [Squire 2.3.2](https://github.com/the-djmaze/Squire/commits/snappymail/)
- cleanHtml use allowedTags instead of disallowedTags and improved CSS handling
- Update Portuguese by @ner00

### Fixed
- mXSS exploit found by SonarSource
[CVE-2024-45800](https://github.com/the-djmaze/snappymail/security/advisories/GHSA-2rq7-79vp-ffxm)
- Call to a member function Email() on null
[#1706](https://github.com/the-djmaze/snappymail/issues/1706)
- IMAP capabilities via IMAP Proxy
[#1725](https://github.com/the-djmaze/snappymail/issues/1725)
- Messages on page setting is not validated against 999 max
[#1733](https://github.com/the-djmaze/snappymail/issues/1733)


## 2.37.3 – 2024-08-27

### Added
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,27 +141,27 @@ RainLoop 1.17 vs SnappyMail
|js/* |RainLoop |Snappy |
|--------------- |--------: |--------: |
|admin.js |2.170.153 | 84.203 |
|app.js |4.207.787 | 445.359 |
|app.js |4.207.787 | 446.887 |
|boot.js | 868.735 | 4.343 |
|libs.js | 658.812 | 193.716 |
|libs.js | 658.812 | 236.059 |
|sieve.js | 0 | 84.571 |
|polyfills.js | 334.608 | 0 |
|serviceworker.js | 0 | 285 |
|TOTAL |8.240.095 | 812.477 |
|TOTAL |8.240.095 | 856.348 |

|js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
|admin.min.js | 256.831 | 41.256 | 73.606 | 13.940 | 60.877 | 12.493 |
|app.min.js | 515.367 | 201.270 |139.456 | 68.096 |110.485 | 58.078 |
|app.min.js | 515.367 | 201.917 |139.456 | 68.450 |110.485 | 58.321 |
|boot.min.js | 84.659 | 2.231 | 26.998 | 1.271 | 23.643 | 1.067 |
|libs.min.js | 584.772 | 92.365 |180.901 | 34.487 |155.182 | 30.830 |
|libs.min.js | 584.772 | 111.742 |180.901 | 39.882 |155.182 | 35.584 |
|sieve.min.js | 0 | 41.288 | 0 | 10.327 | 0 | 9.318 |
|polyfills.min.js | 32.837 | 0 | 11.406 | 0 | 10.175 | 0 |
|TOTAL user |1.217.635 | 295.866 |358.761 |103.854 |299.485 | 89.975 |
|TOTAL user+sieve |1.217.635 | 337.154 |358.761 |114.181 |299.485 | 99.293 |
|TOTAL admin | 959.099 | 135.852 |292.911 | 49.698 |249.877 | 44.390 |
|TOTAL user |1.217.635 | 315.890 |358.761 |109.603 |299.485 | 94.972 |
|TOTAL user+sieve |1.217.635 | 357.178 |358.761 |119.930 |299.485 |104.290 |
|TOTAL admin | 959.099 | 155.229 |292.911 | 55.093 |249.877 | 49.144 |

For a user it is around 68% smaller and faster than traditional RainLoop.
For a user it is around 67% smaller and faster than traditional RainLoop.

### CSS changes

Expand All @@ -188,12 +188,12 @@ For a user it is around 68% smaller and faster than traditional RainLoop.

|css/* |RainLoop |Snappy |RL gzip |SM gzip |SM brotli |
|------------ |-------: |------: |------: |------: |--------: |
|app.css | 340.331 | 84.691 | 46.946 | 17.693 | 15.157 |
|app.min.css | 274.947 | 68.052 | 39.647 | 15.589 | 13.610 |
|app.css | 340.331 | 84.850 | 46.946 | 17.710 | 15.161 |
|app.min.css | 274.947 | 68.192 | 39.647 | 15.602 | 13.626 |
|boot.css | | 1.326 | | 664 | 545 |
|boot.min.css | | 1.071 | | 590 | 474 |
|admin.css | | 30.602 | | 7.023 | 6.112 |
|admin.min.css | | 24.717 | | 6.346 | 5.586 |
|admin.css | | 30.761 | | 7.038 | 6.118 |
|admin.min.css | | 24.857 | | 6.360 | 5.598 |

### PGP
RainLoop uses the old OpenPGP.js v2
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.37.3</upstream>.
This app packages SnappyMail <upstream>2.38.0</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.37.3
VERSION=2.38.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 && \
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.37.3</version>
<version>2.38.0</version>
<licence>agpl</licence>
<author>SnappyMail, RainLoop Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli</author>
<description><![CDATA[**Lightweight & fast 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.37.3" );
return ( "2.38.0" );
}

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.37.3",
"version": "2.38.0",
"homepage": "https://snappymail.eu",
"author": {
"name": "DJ Maze",
Expand Down
4 changes: 2 additions & 2 deletions plugins/nextcloud/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
{
const
NAME = 'Nextcloud',
VERSION = '2.37.1',
VERSION = '2.38.0',
RELEASE = '2024-09-16',
CATEGORY = 'Integrations',
DESCRIPTION = 'Integrate with Nextcloud v20+',
REQUIRED = '2.36.2';
REQUIRED = '2.38.0';

public function Init() : void
{
Expand Down

0 comments on commit bd2ffe5

Please sign in to comment.