This commit is contained in:
the-djmaze 2022-12-05 13:30:57 +01:00
parent 75c923f00f
commit 116fed7284
10 changed files with 48 additions and 21 deletions

View file

@ -289,5 +289,5 @@ dev_email = ""
dev_password = ""
[version]
current = "2.22.5"
current = "2.22.6"
saved = "Fri, 30 Sep 2022 12:34:56 +0000"

View file

@ -1,3 +1,21 @@
## 2.22.6 2022-12-05
### Changed
- Narrow MessageList wraps star icon
[#737](https://github.com/the-djmaze/snappymail/pull/737)
- Use UIDVALIDITY when HIGHESTMODSEQ not available, maybe solves
[#745](https://github.com/the-djmaze/snappymail/pull/745)
- No need to generate 1000's of ID's for MessageListByRequestIndexOrUids()
- Update Chinese translation by @mayswind
### Fixed
- PluginProperty DefaultValue contained array while it should not
[#741](https://github.com/the-djmaze/snappymail/pull/741)
### Removed
- IMAP SELECT/EXAMINE unset `UNSEEN` because IMAP4rev2 deprecated
## 2.22.5 2022-12-02
### Added

View file

@ -142,13 +142,13 @@ RainLoop 1.17 vs SnappyMail
|js/* |RainLoop |Snappy |
|--------------- |--------: |--------: |
|admin.js |2.170.153 | 82.509 |
|app.js |4.207.787 | 408.750 |
|app.js |4.207.787 | 409.121 |
|boot.js | 868.735 | 2.351 |
|libs.js | 658.812 | 193.075 |
|sieve.js | 0 | 86.018 |
|polyfills.js | 334.608 | 0 |
|serviceworker.js | 0 | 285 |
|TOTAL |8.240.095 | 772.988 |
|TOTAL |8.240.095 | 773.359 |
|js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
@ -189,8 +189,8 @@ 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.836 | 46.946 | 17.029 | 14.580 |
|app.min.css | 274.947 | 66.014 | 39.647 | 15.019 | 13.184 |
|app.css | 340.331 | 81.836 | 46.946 | 17.031 | 14.585 |
|app.min.css | 274.947 | 66.014 | 39.647 | 15.019 | 13.187 |
|boot.css | | 1.326 | | 664 | 545 |
|boot.min.css | | 1.071 | | 590 | 474 |
|admin.css | | 29.853 | | 6.812 | 5.933 |

View file

@ -1,4 +1,4 @@
This app packages SnappyMail <upstream>2.22.5</upstream>.
This app packages SnappyMail <upstream>2.22.6</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.22.5
VERSION=2.22.6
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

@ -3,7 +3,7 @@
<id>snappymail</id>
<name>SnappyMail</name>
<summary>SnappyMail Webmail</summary>
<version>2.22.5</version>
<version>2.22.6</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.**

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.22.5" );
return ( "2.22.6" );
}
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.22.5",
"version": "2.22.6",
"homepage": "https://snappymail.eu",
"author": {
"name": "DJ Maze",

View file

@ -6,9 +6,9 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
NAME = 'Avatars',
AUTHOR = 'SnappyMail',
URL = 'https://snappymail.eu/',
VERSION = '1.2',
VERSION = '1.3',
RELEASE = '2022-11-29',
REQUIRED = '2.22.5',
REQUIRED = '2.22.4',
CATEGORY = 'Contacts',
LICENSE = 'MIT',
DESCRIPTION = 'Show photo of sender in message and messages list (supports BIMI, Gravatar and identicon, Contacts is still TODO)';
@ -93,15 +93,22 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
protected function configMapping() : array
{
$aResult = array(
\RainLoop\Plugins\Property::NewInstance('identicon')->SetLabel('Identicon')
->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECT)
// ->SetAllowedInJs(true)
->SetDefaultValue([
['id' => '', 'name' => 'Name characters else silhouette'],
['id' => 'identicon', 'name' => 'Name characters else squares'],
['id' => 'jdenticon', 'name' => 'Triangles shape']
])
->SetDescription('https://wikipedia.org/wiki/Identicon'),
defined('RainLoop\\Enumerations\\PluginPropertyType::SELECT')
? \RainLoop\Plugins\Property::NewInstance('identicon')->SetLabel('Identicon')
->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECT)
// ->SetAllowedInJs(true)
->SetDefaultValue([
['id' => '', 'name' => 'Name characters else silhouette'],
['id' => 'identicon', 'name' => 'Name characters else squares'],
['id' => 'jdenticon', 'name' => 'Triangles shape']
])
->SetDescription('https://wikipedia.org/wiki/Identicon')
: \RainLoop\Plugins\Property::NewInstance('identicon')->SetLabel('Identicon')
->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)
// ->SetAllowedInJs(true)
->SetDefaultValue(['','identicon','jdenticon'])
->SetDescription('empty = default, identicon = squares, jdenticon = Triangles shape')
,
\RainLoop\Plugins\Property::NewInstance('service')->SetLabel('Preload valid domain icons')
->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)
->SetDefaultValue(true),

View file

@ -106,6 +106,8 @@ abstract class Crypt
}
}
// Too much OpenSSL v3 issues ?
// if (\is_callable('openssl_encrypt') && OPENSSL_VERSION_NUMBER < 805306368) {
if (\is_callable('openssl_encrypt')) {
try {
$iv = \random_bytes(\openssl_cipher_iv_length(static::$cipher));