Skip to content

Commit

Permalink
Do not use advanced syntax in app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Nov 10, 2024
1 parent 2de9bf9 commit 8dc2d30
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 121 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@postalsys/templates": "2.0.0",
"ace-builds": "1.36.4",
"base32.js": "0.1.0",
"bullmq": "5.25.3",
"bullmq": "5.25.4",
"compare-versions": "6.1.1",
"dotenv": "16.4.5",
"encoding-japanese": "2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion sbom.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/licenses.html
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ <h1>EmailEngine v2.48.7</h1><p>EmailEngine includes code from the following soft
</tr>
<tr>
<td><a href="https://npmjs.com/package/bullmq">bullmq</a></td>
<td>5.25.3</td>
<td>5.25.4</td>
<td>MIT</td>
<td>Taskforce.sh Inc.</td>
<td></td>
Expand Down
117 changes: 5 additions & 112 deletions translations/messages.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=ascii\n"
"POT-Creation-Date: 2024-11-08 15:16+0000\n"
msgstr "Content-Type: text/plain; charset=ascii\n"

#: views/config/license.hbs:49
msgid "%d day"
msgid_plural "%d days"
msgstr[0] ""
msgstr[1] ""

#: views/redirect.hbs:1
msgid "Click <a href=\"%s\">here</a> to continue&mldr;"
msgstr ""

#: views/unsubscribe.hbs:1
#: views/unsubscribe.hbs:79
msgid "Unsubscribe"
Expand Down Expand Up @@ -53,10 +55,6 @@ msgstr ""
msgid "Enter your email address"
msgstr ""

#: views/redirect.hbs:1
msgid "Click <a href=\"%s\">here</a> to continue&mldr;"
msgstr ""

#: views/accounts/register/imap.hbs:11
msgid "Your name"
msgstr ""
Expand Down Expand Up @@ -201,108 +199,3 @@ msgstr ""
#: views/accounts/register/imap-server.hbs:393
msgid "HTTP error!"
msgstr ""

#: lib/routes-ui.js:504
msgid "Delegated"
msgstr ""

#: lib/routes-ui.js:505
msgid "Using credentials from \"%s\""
msgstr ""

#: lib/routes-ui.js:555
msgid ""
"Connection timed out. This usually occurs if you are behind a firewall or "
"connecting to the wrong port."
msgstr ""

#: lib/routes-ui.js:558
msgid "The server unexpectedly closed the connection."
msgstr ""

#: lib/routes-ui.js:561
msgid ""
"The server unexpectedly closed the connection. This usually happens when "
"attempting to connect to a TLS port without TLS enabled."
msgstr ""

#: lib/routes-ui.js:566
msgid ""
"The server refused the connection. This typically occurs if the server is "
"not running, is overloaded, or you are connecting to the wrong host or port."
msgstr ""

#: lib/routes-ui.js:684
msgid "Invalid API key for OpenAI"
msgstr ""

#: lib/routes-ui.js:4947
#: lib/routes-ui.js:6896
#: lib/routes-ui.js:6907
msgid "Server hostname was not found"
msgstr ""

#: lib/routes-ui.js:4950
#: lib/routes-ui.js:6899
#: lib/routes-ui.js:6910
msgid "Invalid username or password"
msgstr ""

#: lib/routes-ui.js:4954
#: lib/routes-ui.js:6914
msgid "TLS protocol error"
msgstr ""

#: lib/routes-ui.js:6643
#: lib/routes-ui.js:6678
#: lib/routes-ui.js:6793
#: lib/routes-ui.js:6840
#: lib/routes-ui.js:7068
#: lib/routes-ui.js:7104
msgid "Email Account Setup"
msgstr ""

#: lib/routes-ui.js:6703
#: lib/routes-ui.js:6736
#: lib/routes-ui.js:9535
msgid "Failed to validate request arguments"
msgstr ""

#: lib/routes-ui.js:6833
#: lib/routes-ui.js:7097
msgid "Failed to process account"
msgstr ""

#: lib/routes-ui.js:9498
#: lib/tools.js:731
msgid "Invalid input"
msgstr ""

#: lib/routes-ui.js:9508
#: lib/routes-ui.js:9626
#: lib/routes-ui.js:9643
#: lib/routes-ui.js:9678
msgid "Subscription Management"
msgstr ""

#: lib/routes-ui.js:9637
#: lib/routes-ui.js:9671
msgid "Failed to process request"
msgstr ""

#: lib/tools.js:1409
msgid "Signature validation failed"
msgstr ""

#: lib/tools.js:1418
#: lib/tools.js:1423
msgid "Invalid or expired account setup URL"
msgstr ""

#: lib/autodetect-imap-settings.js:70
msgid ""
"Microsoft has disabled password-based sign-ins (including app passwords) "
"for Outlook.com, Hotmail.com, and Microsoft 365 email accounts. To "
"continue, please use the \"Sign in with Microsoft\" button to securely "
"connect your account."
msgstr ""
4 changes: 2 additions & 2 deletions workers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ const init = async () => {
try {
accountData = await accountObject.loadAccountData();
} catch (err) {
if (err.output?.statusCode === 404) {
if (err.output && err.output.statusCode === 404) {
//ignore, this subscription will expire after a while anyway
return h.response(Buffer.alloc(0)).code(202);
}
Expand Down Expand Up @@ -1683,7 +1683,7 @@ const init = async () => {
try {
accountData = await accountObject.loadAccountData();
} catch (err) {
if (err.output?.statusCode === 404) {
if (err.output && err.output.statusCode === 404) {
//ignore, this subscription will expire after a while anyway
return h.response(Buffer.alloc(0)).code(202);
}
Expand Down

0 comments on commit 8dc2d30

Please sign in to comment.