diff --git a/.docker/release/files/usr/local/include/application.ini b/.docker/release/files/usr/local/include/application.ini index 250c19a08..cc85599ac 100644 --- a/.docker/release/files/usr/local/include/application.ini +++ b/.docker/release/files/usr/local/include/application.ini @@ -316,5 +316,5 @@ dev_email = "" dev_password = "" [version] -current = "2.27.0" +current = "2.27.1" saved = "Sun, 18 Dec 2022 22:10:48 +0000" diff --git a/CHANGELOG.md b/CHANGELOG.md index 83b13fa93..3af304934 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,18 @@ -## 2.27.0 – 2023-03-14 +## 2.27.1 – 2023-03-21 + +## Changed +- Improved attachmentIcon glyph coloring +- Better design for .accountPlace text + [#1025](https://github.com/the-djmaze/snappymail/pull/1025) + +## Fixed +- Reply is broken + [#1027](https://github.com/the-djmaze/snappymail/pull/1027) +- Endless loop at login - Cannot assign array to property MailSo\Imap\Folder::$MAILBOXID + [#1032](https://github.com/the-djmaze/snappymail/pull/1032) + + +## 2.27.0 – 2023-03-20 ## Added - Unique attachments.zip filename diff --git a/dev/Model/Attachment.js b/dev/Model/Attachment.js index a69e4ba23..834f2264b 100644 --- a/dev/Model/Attachment.js +++ b/dev/Model/Attachment.js @@ -163,7 +163,7 @@ export class AttachmentModel extends AbstractModel { thumbnailStyle() { return this.hasThumbnail() ? 'background:url(' + serverRequestRaw('ViewThumbnail', this.download) + ')' - : ''; + : null; } /** diff --git a/dev/Styles/User/Attachments.less b/dev/Styles/User/Attachments.less index 025b453d1..c5963befe 100644 --- a/dev/Styles/User/Attachments.less +++ b/dev/Styles/User/Attachments.less @@ -31,7 +31,7 @@ } } - .attachmentIconParent { + .attachmentIcon { position: absolute; height: 48px; width: 48px; @@ -85,7 +85,9 @@ .iconMain, .iconPreview { padding: 6px 0 0; font-size: 36px; - color: #aaa; + color: var(--main-color); + filter: invert(33%); + mix-blend-mode: difference; &.icon-none { display: none; @@ -100,21 +102,21 @@ } */ - .showPreview, .showPreplay, + .showPreview, .hasPreview:hover .iconMain, - .hasPreplay:hover .iconMain, - .hasPreview .hidePreview, - .hasPreplay .hidePreview { + .hasPreview .hidePreview { display: none; } - .hasPreview:hover .iconPreview, - .hasPreplay:hover .iconPreview { + .hasPreview:hover .iconPreview { display: inline-block; } - .hasPreview .showPreview, - .hasPreplay .showPreplay { + .hasPreplay:hover .iconMain::before { + content: "▶"; + } + + .hasPreview .showPreview { display: inline; cursor: pointer; } diff --git a/dev/Styles/User/SystemDropDown.less b/dev/Styles/User/SystemDropDown.less index 7b35ad806..b2971c77f 100644 --- a/dev/Styles/User/SystemDropDown.less +++ b/dev/Styles/User/SystemDropDown.less @@ -51,15 +51,13 @@ border-right: 1px solid var(--btn-border-clr, rgba(0, 0, 0, 0.2)); display: inline-block; font-weight: 600; - font-size: 16px; - line-height: 22px; - margin: 0 6px -3px 0; + line-height: 1.3; + margin: 0 6px -4px 0; max-width: 25vw; - overflow-x: hidden; +/* max-width: calc(100vw - 300px);*/ + overflow: hidden; padding-right: 6px; text-overflow: ellipsis; - text-shadow: 0 1px 0 #000; - white-space: nowrap; } a[data-unread]::after { diff --git a/integrations/cloudron/DESCRIPTION.md b/integrations/cloudron/DESCRIPTION.md index 609eb073b..1bc088b54 100644 --- a/integrations/cloudron/DESCRIPTION.md +++ b/integrations/cloudron/DESCRIPTION.md @@ -1,4 +1,4 @@ -This app packages SnappyMail 2.27.0. +This app packages SnappyMail 2.27.1. SnappyMail is a simple, modern, lightweight & fast web-based email client. diff --git a/integrations/cloudron/Dockerfile b/integrations/cloudron/Dockerfile index 88c0b0bd5..9ee3430af 100644 --- a/integrations/cloudron/Dockerfile +++ b/integrations/cloudron/Dockerfile @@ -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.27.0 +VERSION=2.27.1 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 && \ diff --git a/integrations/nextcloud/snappymail/appinfo/info.xml b/integrations/nextcloud/snappymail/appinfo/info.xml index 08ee07b34..6ffa4c4be 100644 --- a/integrations/nextcloud/snappymail/appinfo/info.xml +++ b/integrations/nextcloud/snappymail/appinfo/info.xml @@ -3,7 +3,7 @@ snappymail SnappyMail SnappyMail Webmail - 2.27.0 + 2.27.1 agpl SnappyMail, RainLoop Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli MAILBOXID = \base64_encode(\is_array($value) ? $value[0] : $value); + } else { + $this->$name = (int) $value; } - $this->$name = $value; return true; } return false; diff --git a/snappymail/v/0.0.0/app/templates/Views/User/MailMessageView.html b/snappymail/v/0.0.0/app/templates/Views/User/MailMessageView.html index bd45573ac..3f5473aef 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/MailMessageView.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/MailMessageView.html @@ -231,19 +231,14 @@