emailengine-app 2.65.0 → 2.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/deploy.yml +8 -8
- package/.github/workflows/release.yaml +9 -9
- package/.github/workflows/test.yml +2 -2
- package/CHANGELOG.md +53 -0
- package/bin/emailengine.js +3 -0
- package/data/google-crawlers.json +7 -1
- package/lib/account.js +35 -29
- package/lib/consts.js +5 -0
- package/lib/email-client/gmail-client.js +23 -27
- package/lib/email-client/imap/mailbox.js +46 -19
- package/lib/email-client/imap/sync-operations.js +51 -19
- package/lib/email-client/imap-client.js +28 -5
- package/lib/email-client/outlook-client.js +155 -1
- package/lib/oauth/gmail.js +52 -1
- package/lib/passkeys.js +206 -0
- package/lib/routes-ui.js +522 -21
- package/lib/ui-routes/oauth-routes.js +6 -1
- package/package.json +13 -11
- package/sbom.json +1 -1
- package/static/js/login-passkey.js +75 -0
- package/static/js/passkey-register.js +107 -0
- package/static/licenses.html +238 -38
- package/static/vendor/handlebars/handlebars.min-v4.7.9.js +29 -0
- package/static/vendor/simplewebauthn/browser.min.js +2 -0
- package/translations/de.mo +0 -0
- package/translations/de.po +91 -53
- package/translations/en.mo +0 -0
- package/translations/en.po +84 -52
- package/translations/et.mo +0 -0
- package/translations/et.po +95 -60
- package/translations/fr.mo +0 -0
- package/translations/fr.po +102 -65
- package/translations/ja.mo +0 -0
- package/translations/ja.po +93 -57
- package/translations/messages.pot +101 -76
- package/translations/nl.mo +0 -0
- package/translations/nl.po +92 -56
- package/translations/pl.mo +0 -0
- package/translations/pl.po +106 -70
- package/views/account/login.hbs +35 -25
- package/views/account/password.hbs +4 -4
- package/views/account/security.hbs +101 -12
- package/views/account/totp.hbs +3 -3
- package/views/config/oauth/app.hbs +25 -0
- package/views/layout/app.hbs +2 -2
- package/views/layout/login.hbs +6 -1
- package/views/oauth-scope-error.hbs +29 -0
- package/workers/api.js +81 -3
- package/workers/imap.js +4 -0
- package/static/vendor/handlebars/handlebars.min-v4.7.7.js +0 -29
|
@@ -5,7 +5,7 @@ const Joi = require('joi');
|
|
|
5
5
|
|
|
6
6
|
const settings = require('../settings');
|
|
7
7
|
const { redis } = require('../db');
|
|
8
|
-
const { oauth2Apps, OAUTH_PROVIDERS, oauth2ProviderData } = require('../oauth2-apps');
|
|
8
|
+
const { oauth2Apps, OAUTH_PROVIDERS, SERVICE_ACCOUNT_PROVIDERS, oauth2ProviderData } = require('../oauth2-apps');
|
|
9
9
|
const getSecret = require('../get-secret');
|
|
10
10
|
const { Account } = require('../account');
|
|
11
11
|
const { oauthCreateSchema, oauthUpdateSchema } = require('../schemas');
|
|
@@ -213,6 +213,9 @@ function init({ server, call }) {
|
|
|
213
213
|
app.cloudData = AZURE_CLOUDS.find(entry => entry.id === app.cloud);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
+
let isServiceAccount = SERVICE_ACCOUNT_PROVIDERS.has(app.provider);
|
|
217
|
+
let serviceUrl = (await settings.get('serviceUrl')) || '';
|
|
218
|
+
|
|
216
219
|
return h.view(
|
|
217
220
|
'config/oauth/app',
|
|
218
221
|
{
|
|
@@ -230,6 +233,8 @@ function init({ server, call }) {
|
|
|
230
233
|
|
|
231
234
|
disabledScopes,
|
|
232
235
|
isSendOnlyGmail,
|
|
236
|
+
isServiceAccount,
|
|
237
|
+
serviceUrl,
|
|
233
238
|
|
|
234
239
|
providerData
|
|
235
240
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emailengine-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.67.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"productTitle": "EmailEngine",
|
|
6
6
|
"description": "Email Sync Engine",
|
|
@@ -59,22 +59,24 @@
|
|
|
59
59
|
"@postalsys/bounce-classifier": "^2.4.0",
|
|
60
60
|
"@postalsys/certs": "1.0.14",
|
|
61
61
|
"@postalsys/ee-client": "1.3.0",
|
|
62
|
-
"@postalsys/email-ai-tools": "1.
|
|
62
|
+
"@postalsys/email-ai-tools": "1.13.0",
|
|
63
63
|
"@postalsys/email-text-tools": "2.4.3",
|
|
64
64
|
"@postalsys/gettext": "4.1.1",
|
|
65
65
|
"@postalsys/joi-messages": "1.0.5",
|
|
66
|
-
"@postalsys/templates": "2.0.
|
|
66
|
+
"@postalsys/templates": "2.0.1",
|
|
67
|
+
"@simplewebauthn/browser": "^13.3.0",
|
|
68
|
+
"@simplewebauthn/server": "^13.3.0",
|
|
67
69
|
"@zone-eu/mailsplit": "5.4.8",
|
|
68
70
|
"@zone-eu/wild-config": "1.7.3",
|
|
69
71
|
"ace-builds": "1.43.6",
|
|
70
72
|
"base32.js": "0.1.0",
|
|
71
|
-
"bullmq": "5.71.
|
|
73
|
+
"bullmq": "5.71.1",
|
|
72
74
|
"compare-versions": "6.1.1",
|
|
73
75
|
"dotenv": "17.3.1",
|
|
74
76
|
"encoding-japanese": "2.2.0",
|
|
75
77
|
"exponential-backoff": "3.1.3",
|
|
76
78
|
"gettext-parser": "7.0.1",
|
|
77
|
-
"handlebars": "4.7.
|
|
79
|
+
"handlebars": "4.7.9",
|
|
78
80
|
"hapi-auth-bearer-token": "8.0.0",
|
|
79
81
|
"hapi-pino": "13.0.0",
|
|
80
82
|
"hapi-swagger": "17.3.2",
|
|
@@ -82,7 +84,7 @@
|
|
|
82
84
|
"html-to-text": "9.0.5",
|
|
83
85
|
"ical.js": "1.5.0",
|
|
84
86
|
"iconv-lite": "0.7.2",
|
|
85
|
-
"imapflow": "1.2.
|
|
87
|
+
"imapflow": "1.2.18",
|
|
86
88
|
"ioredfour": "1.4.1",
|
|
87
89
|
"ioredis": "5.10.1",
|
|
88
90
|
"ipaddr.js": "2.3.0",
|
|
@@ -92,26 +94,26 @@
|
|
|
92
94
|
"libmime": "5.3.7",
|
|
93
95
|
"libqp": "2.1.1",
|
|
94
96
|
"license-checker": "25.0.1",
|
|
95
|
-
"mailparser": "3.9.
|
|
97
|
+
"mailparser": "3.9.6",
|
|
96
98
|
"marked": "9.1.6",
|
|
97
99
|
"minimist": "1.2.8",
|
|
98
100
|
"msgpack5": "6.0.2",
|
|
99
101
|
"murmurhash": "2.0.1",
|
|
100
102
|
"nanoid": "3.3.8",
|
|
101
|
-
"nodemailer": "8.0.
|
|
103
|
+
"nodemailer": "8.0.4",
|
|
102
104
|
"pino": "10.3.1",
|
|
103
105
|
"popper.js": "1.16.1",
|
|
104
106
|
"prom-client": "15.1.3",
|
|
105
107
|
"psl": "1.15.0",
|
|
106
|
-
"pubface": "1.0
|
|
108
|
+
"pubface": "1.1.0",
|
|
107
109
|
"punycode.js": "2.3.1",
|
|
108
110
|
"qrcode": "1.5.4",
|
|
109
|
-
"smtp-server": "3.18.
|
|
111
|
+
"smtp-server": "3.18.3",
|
|
110
112
|
"socks": "2.8.7",
|
|
111
113
|
"speakeasy": "2.0.0",
|
|
112
114
|
"startbootstrap-sb-admin-2": "3.3.7",
|
|
113
115
|
"timezones-list": "3.1.0",
|
|
114
|
-
"undici": "7.24.
|
|
116
|
+
"undici": "7.24.6",
|
|
115
117
|
"xml2js": "0.6.2"
|
|
116
118
|
},
|
|
117
119
|
"devDependencies": {
|