Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thsmi/sieve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schmid <thsmi@users.noreply.github.com>2020-08-08 17:17:23 +0300
committerGitHub <noreply@github.com>2020-08-08 17:17:23 +0300
commite20f4aed581489ee813ff24ca810be8875a340a6 (patch)
tree6da91160ee75911f4384fbece11c219740971a72
parent96c86b8d8b0ebe021e17f46f22d29a2df99626c6 (diff)
Release to 0.5.0 (#339)0.5.0
* Bump Release to 0.5.0 * Update Documentation
-rw-r--r--FAQ.md21
-rwxr-xr-xdocs/update.json8
-rw-r--r--package.json4
-rw-r--r--src/app/libs/managesieve.ui/accounts/account.settings.tpl3
-rw-r--r--src/wx/libs/managesieve.ui/accounts/account.settings.tpl16
-rw-r--r--src/wx/manifest.json2
-rw-r--r--tests/js/node/NodeTestSuite.js4
7 files changed, 37 insertions, 21 deletions
diff --git a/FAQ.md b/FAQ.md
index 0ec01840..fd4e13d0 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -19,6 +19,19 @@ In case the language is [not supported by the webextension](https://crowdin.com/
Thunderbird's default language can be changed in the "Options" select there "Advanced" and locate the "Language" dropdown. Setting languages is only possible on official Thunderbird releases. Nightly version support only en-US.
+## WebExtension: How to install a side loaded WebExtension
+
+Currently the review process for addons.thunderbird.net is extremely slow. It takes several
+month until an update is listed. Thus you may want to install the addon directly from this repository.
+
+Download the latest release from the [releases section](https://github.com/thsmi/sieve/releases).
+
+If you are a Firefox user, you need to right click on the "Thunderbird WebExtension" link and select "Save Link As" otherwise Firefox tries to install the WebExtension into your browser and ends with an error message.
+
+In Thunderbird you need to open the add-on manager. Either via the burger menu or via the main menu bar (Tools -> Add-ons). Then just drag the downloaded xpi file into the add-on Manager. You can also select the gear icon in the add-on manager and select "Install add-on from file" as illustrated below.
+
+![image](https://user-images.githubusercontent.com/53547181/84571294-61f2f700-ad60-11ea-94b9-71fe94db739e.png)
+
## WebExtension: How to start
The menu items to open the editor is directly adjacent to the builtin message filters.
@@ -29,9 +42,7 @@ Which means in the main menu it is located in "Tools -> Sieve Message Filters" w
Occasionally Linux users get confused about the line breaks in sieve script.
-Sieve, like in almost all other internet protocols (http, imap, ...), uses a two
-character newline sequence CRLF. This sequence dates back to DEC and is also
-used on Windows. Unix/Linux use a single LF mostly due to historic reasons.
+Sieve, like in almost all other internet protocols (http, imap, ...), uses a two character newline sequence CRLF. This sequence dates back to DEC and is also used on Windows. Unix/Linux use a single LF mostly due to historic reasons.
[RFC5228](https://tools.ietf.org/html/rfc5228) defines:
@@ -55,6 +66,4 @@ used on Windows. Unix/Linux use a single LF mostly due to historic reasons.
```
-As you can see, using single newlines is illegal syntax in sieve scripts and
-has to be rejected by the server. Thus exported scripts may look strange if you
-open them in a text editor on macOS or Linux. This is not a bug.
+Using single newlines is illegal syntax in sieve scripts and has to be rejected by the server. Thus exported scripts may look strange if you open them in a text editor on macOS or Linux. This is not a bug.
diff --git a/docs/update.json b/docs/update.json
index 2ce0f3ef..e4ba8c58 100755
--- a/docs/update.json
+++ b/docs/update.json
@@ -3,6 +3,14 @@
"sieve@mozdev.org": {
"updates": [
{
+ "version": "0.5.0",
+ "update_link": "https://github.com/thsmi/sieve/releases/download/0.5.0/sieve-0.5.0.xpi",
+ "update_info_url": "https://github.com/thsmi/sieve/releases/tag/0.5.0",
+ "browser_specific_settings": {
+ "gecko": { "strict_min_version": "68.0a1" }
+ }
+ },
+ {
"version": "0.4.2",
"update_link": "https://github.com/thsmi/sieve/releases/download/0.4.2/sieve-0.4.2.xpi",
"update_info_url": "https://github.com/thsmi/sieve/releases/tag/0.4.2",
diff --git a/package.json b/package.json
index 7933a983..50c39e1d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "sieve",
- "version": "0.4.2",
+ "version": "0.5.0",
"description": "Configures server-side sieve email filters",
"directories": {
"doc": "docs",
@@ -38,4 +38,4 @@
"url": "https://github.com/thsmi/sieve/issues"
},
"homepage": "https://github.com/thsmi/sieve#readme"
-}
+} \ No newline at end of file
diff --git a/src/app/libs/managesieve.ui/accounts/account.settings.tpl b/src/app/libs/managesieve.ui/accounts/account.settings.tpl
index ef5512ac..2ff4ce3c 100644
--- a/src/app/libs/managesieve.ui/accounts/account.settings.tpl
+++ b/src/app/libs/managesieve.ui/accounts/account.settings.tpl
@@ -4,8 +4,7 @@
<div style="min-width:8em" data-i18n="account.details.server"></div>
<span class="sieve-settings-hostname"></span>:
<span class="sieve-settings-port"></span>
- &nbsp;
- <span class="sieve-settings-secure" data-i18n="account.details.secure"></span>
+ <span class="sieve-settings-secure ml-1" data-i18n="account.details.secure"></span>
</div>
<div class="sieve-settings-fingerprint-item d-none">
<div class="d-flex flex-row form-label ">
diff --git a/src/wx/libs/managesieve.ui/accounts/account.settings.tpl b/src/wx/libs/managesieve.ui/accounts/account.settings.tpl
index 6ca1faed..db522a96 100644
--- a/src/wx/libs/managesieve.ui/accounts/account.settings.tpl
+++ b/src/wx/libs/managesieve.ui/accounts/account.settings.tpl
@@ -1,18 +1,18 @@
<div>
<h4 data-i18n="account.details.title"></h4>
- <div class="row">
- <span class="col-3" data-i18n="account.details.server"></span>
- <span class="sieve-settings-hostname"></span>:
- <span class="sieve-settings-port"></span>
- <span class="sieve-settings-secure ml-1" data-i18n="account.details.secure"></span>
+ <div class="d-flex flex-row form-label">
+ <div style="min-width:8em" data-i18n="account.details.server"></div>
+ <span class="sieve-settings-hostname"></span>:
+ <span class="sieve-settings-port"></span>
+ <span class="sieve-settings-secure ml-1" data-i18n="account.details.secure"></span>
</div>
<!--<div class="row sieve-settings-fingerprint-item">
<span class="col-3">Fingerprint:</span>
<span class="sieve-settings-fingerprint"></span>
</div>-->
- <div class="row">
- <span class="col-3" data-i18n="account.details.username"></span>
- <span class="sieve-settings-username"></span>
+ <div class="d-flex flex-row form-label ">
+ <div style="min-width:8em" data-i18n="account.details.username"></div>
+ <div class="sieve-settings-username"></div>
</div>
<!--<div class="row">
<span class="col-3">SASL Mechanism:</span>
diff --git a/src/wx/manifest.json b/src/wx/manifest.json
index b56cce55..fe9f0d7b 100644
--- a/src/wx/manifest.json
+++ b/src/wx/manifest.json
@@ -1,7 +1,7 @@
{
"name": "Sieve",
"description": "Manages Sieve Message Filters",
- "version": "0.4.2",
+ "version": "0.5.0",
"icons": {
"64": "libs/icons/linux.png"
},
diff --git a/tests/js/node/NodeTestSuite.js b/tests/js/node/NodeTestSuite.js
index a32b569b..ff50901a 100644
--- a/tests/js/node/NodeTestSuite.js
+++ b/tests/js/node/NodeTestSuite.js
@@ -22,10 +22,10 @@
*/
async init(report, scripts) {
- const program = path.resolve(`${__dirname}/Sandbox/Sandbox.mjs`);
+ const program = path.resolve(`${__dirname}/sandbox/Sandbox.mjs`);
if (!fs.existsSync(program))
- throw new Error("Could not find sandbox");
+ throw new Error(`Could not find sandbox ${program}`);
const args = [];