mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
v2.19.2
This commit is contained in:
parent
cbafa55450
commit
bcf63b6700
11 changed files with 40 additions and 36 deletions
|
|
@ -290,5 +290,5 @@ dev_email = ""
|
||||||
dev_password = ""
|
dev_password = ""
|
||||||
|
|
||||||
[version]
|
[version]
|
||||||
current = "2.18.6"
|
current = "2.19.2"
|
||||||
saved = "Fri, 30 Sep 2022 12:34:56 +0000"
|
saved = "Fri, 30 Sep 2022 12:34:56 +0000"
|
||||||
|
|
|
||||||
|
|
@ -37,4 +37,7 @@ $nc_tar->compress(Phar::GZ);
|
||||||
unlink($nc_destination);
|
unlink($nc_destination);
|
||||||
$nc_destination .= '.gz';
|
$nc_destination .= '.gz';
|
||||||
|
|
||||||
|
$signature = shell_exec("openssl dgst -sha512 -sign ~/.nextcloud/certificates/snappymail.key {$nc_destination} | openssl base64");
|
||||||
|
file_put_contents($nc_destination.'.sig', $signature);
|
||||||
|
|
||||||
echo "{$nc_destination} created\n";
|
echo "{$nc_destination} created\n";
|
||||||
|
|
|
||||||
|
|
@ -291,28 +291,7 @@ export const
|
||||||
if ('IMG' === name) {
|
if ('IMG' === name) {
|
||||||
oElement.loading = 'lazy';
|
oElement.loading = 'lazy';
|
||||||
let attachment;
|
let attachment;
|
||||||
if (detectHiddenImages
|
if ('cid:' === value.slice(0, 4))
|
||||||
&& ((oStyle.maxHeight && 3 > pInt(oStyle.maxHeight))
|
|
||||||
|| (oStyle.maxWidth && 3 > pInt(oStyle.maxWidth))
|
|
||||||
|| [
|
|
||||||
'email.microsoftemail.com/open',
|
|
||||||
'github.com/notifications/beacon/',
|
|
||||||
'/track/open', // mandrillapp.com list-manage.com
|
|
||||||
'google-analytics.com'
|
|
||||||
].filter(uri => value.toLowerCase().includes(uri)).length
|
|
||||||
)) {
|
|
||||||
skipStyle = true;
|
|
||||||
setAttribute('style', 'display:none');
|
|
||||||
setAttribute('data-x-src-hidden', value);
|
|
||||||
}
|
|
||||||
else if ((attachment = findLocationByCid(value)))
|
|
||||||
{
|
|
||||||
if (attachment.download) {
|
|
||||||
oElement.src = attachment.linkPreview();
|
|
||||||
attachment.isLinked(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if ('cid:' === value.slice(0, 4))
|
|
||||||
{
|
{
|
||||||
value = value.slice(4);
|
value = value.slice(4);
|
||||||
setAttribute('data-x-src-cid', value);
|
setAttribute('data-x-src-cid', value);
|
||||||
|
|
@ -324,6 +303,28 @@ export const
|
||||||
attachment.isLinked(true);
|
attachment.isLinked(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if ((attachment = findLocationByCid(value)))
|
||||||
|
{
|
||||||
|
if (attachment.download) {
|
||||||
|
oElement.src = attachment.linkPreview();
|
||||||
|
attachment.isLinked(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (detectHiddenImages
|
||||||
|
&& ((oStyle.maxHeight && 3 > pInt(oStyle.maxHeight)) // TODO: issue with 'in'
|
||||||
|
|| (oStyle.maxWidth && 3 > pInt(oStyle.maxWidth)) // TODO: issue with 'in'
|
||||||
|
|| [
|
||||||
|
'email.microsoftemail.com/open',
|
||||||
|
'github.com/notifications/beacon/',
|
||||||
|
'/track/open', // mandrillapp.com list-manage.com
|
||||||
|
'google-analytics.com'
|
||||||
|
].filter(uri => value.toLowerCase().includes(uri)).length
|
||||||
|
)) {
|
||||||
|
skipStyle = true;
|
||||||
|
oStyle.display = 'none';
|
||||||
|
// setAttribute('style', 'display:none');
|
||||||
|
setAttribute('data-x-src-hidden', value);
|
||||||
|
}
|
||||||
else if (httpre.test(value))
|
else if (httpre.test(value))
|
||||||
{
|
{
|
||||||
setAttribute('data-x-src', value);
|
setAttribute('data-x-src', value);
|
||||||
|
|
|
||||||
|
|
@ -400,6 +400,7 @@ html.rl-no-preview-pane {
|
||||||
img[data-x-src]:not([src])::after {
|
img[data-x-src]:not([src])::after {
|
||||||
content: "🖼";
|
content: "🖼";
|
||||||
font-family: snappymail;
|
font-family: snappymail;
|
||||||
|
line-height: 1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
@ -411,7 +412,6 @@ html.rl-no-preview-pane {
|
||||||
font-family: var(--fontSans);
|
font-family: var(--fontSans);
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
height: auto;
|
height: auto;
|
||||||
line-height: 1;
|
|
||||||
transform: translate(-25%,0);
|
transform: translate(-25%,0);
|
||||||
width: auto;
|
width: auto;
|
||||||
width: -moz-fit-content;
|
width: -moz-fit-content;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
This app packages SnappyMail <upstream>2.18.6</upstream>.
|
This app packages SnappyMail <upstream>2.19.2</upstream>.
|
||||||
|
|
||||||
SnappyMail is a simple, modern, lightweight & fast web-based email client.
|
SnappyMail is a simple, modern, lightweight & fast web-based email client.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.18.6
|
VERSION=2.19.2
|
||||||
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 && \
|
||||||
|
|
|
||||||
|
|
@ -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.1</version>
|
<version>2.19.2</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.**
|
||||||
|
|
|
||||||
|
|
@ -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.18.6" );
|
return ( "2.19.2" );
|
||||||
}
|
}
|
||||||
|
|
||||||
sub script_snappymail_version_desc
|
sub script_snappymail_version_desc
|
||||||
|
|
|
||||||
|
|
@ -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.18.6",
|
"version": "2.19.2",
|
||||||
"homepage": "https://snappymail.eu",
|
"homepage": "https://snappymail.eu",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "DJ Maze",
|
"name": "DJ Maze",
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
const
|
const
|
||||||
NAME = 'Nextcloud',
|
NAME = 'Nextcloud',
|
||||||
VERSION = '2.6',
|
VERSION = '2.6',
|
||||||
RELEASE = '2022-10-19',
|
RELEASE = '2022-10-21',
|
||||||
CATEGORY = 'Integrations',
|
CATEGORY = 'Integrations',
|
||||||
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
||||||
REQUIRED = '2.19.0';
|
REQUIRED = '2.19.0';
|
||||||
|
|
|
||||||
|
|
@ -32,32 +32,32 @@ class ServiceActions
|
||||||
$this->sQuery = '';
|
$this->sQuery = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Logger() : \MailSo\Log\Logger
|
private function Logger() : \MailSo\Log\Logger
|
||||||
{
|
{
|
||||||
return $this->oActions->Logger();
|
return $this->oActions->Logger();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Plugins() : Plugins\Manager
|
private function Plugins() : Plugins\Manager
|
||||||
{
|
{
|
||||||
return $this->oActions->Plugins();
|
return $this->oActions->Plugins();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Config() : Config\Application
|
private function Config() : Config\Application
|
||||||
{
|
{
|
||||||
return $this->oActions->Config();
|
return $this->oActions->Config();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Cacher() : \MailSo\Cache\CacheClient
|
private function Cacher() : \MailSo\Cache\CacheClient
|
||||||
{
|
{
|
||||||
return $this->oActions->Cacher();
|
return $this->oActions->Cacher();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function StorageProvider() : Providers\Storage
|
private function StorageProvider() : Providers\Storage
|
||||||
{
|
{
|
||||||
return $this->oActions->StorageProvider();
|
return $this->oActions->StorageProvider();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function SettingsProvider() : Providers\Settings
|
private function SettingsProvider() : Providers\Settings
|
||||||
{
|
{
|
||||||
return $this->oActions->SettingsProvider();
|
return $this->oActions->SettingsProvider();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue