emailengine-app 2.84.2 → 2.85.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/.ncurc.js +5 -3
- package/.prettierignore +5 -1
- package/.prettierrc.js +2 -0
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +33 -0
- package/Dockerfile +6 -0
- package/README.md +1 -1
- package/bin/emailengine.js +434 -408
- package/copy-static-files.sh +39 -14
- package/data/google-crawlers.json +1 -1
- package/data/public_suffix_list.dat +16562 -0
- package/eslint.config.js +81 -99
- package/lib/account.js +36 -5
- package/lib/api-reference/format.js +4 -3
- package/lib/api-routes/account-routes.js +177 -12
- package/lib/api-routes/blocklist-routes.js +23 -2
- package/lib/api-routes/delivery-test-routes.js +26 -3
- package/lib/api-routes/export-routes.js +28 -2
- package/lib/api-routes/gateway-routes.js +28 -2
- package/lib/api-routes/mailbox-routes.js +41 -2
- package/lib/api-routes/message-routes.js +97 -3
- package/lib/api-routes/oauth2-app-routes.js +48 -15
- package/lib/api-routes/outbox-routes.js +45 -11
- package/lib/api-routes/permission-map.js +12 -1
- package/lib/api-routes/settings-routes.js +23 -2
- package/lib/api-routes/submit-routes.js +336 -309
- package/lib/api-routes/template-routes.js +38 -2
- package/lib/api-routes/token-routes.js +142 -96
- package/lib/api-routes/webhook-route-routes.js +13 -2
- package/lib/bounce-detect.js +397 -205
- package/lib/consts.js +5 -4
- package/lib/email-client/base-client.js +10 -31
- package/lib/email-client/gmail-client.js +9 -11
- package/lib/email-client/imap/mailbox.js +3 -19
- package/lib/email-client/imap/subconnection.js +1 -1
- package/lib/email-client/imap-client.js +1 -1
- package/lib/email-client/notification-handler.js +1 -2
- package/lib/gateway.js +2 -3
- package/lib/hapi-request-logger.js +107 -0
- package/lib/imapproxy/imap-core/README.md +6 -5
- package/lib/mcp/tools.js +37 -8
- package/lib/notify-attachments.js +17 -0
- package/lib/oauth/outlook-mailbox.js +35 -0
- package/lib/oauth/state.js +24 -0
- package/lib/oauth2-apps.js +1 -1
- package/lib/pbkdf2-phc.js +1 -1
- package/lib/schemas.js +1 -1
- package/lib/sso.js +1 -1
- package/lib/swagger-options.js +1 -1
- package/lib/thread-diagnostics.js +46 -0
- package/lib/timezones.js +109 -0
- package/lib/token-permission-view.js +3 -3
- package/lib/tools.js +40 -10
- package/lib/totp.js +2 -5
- package/lib/translations.js +1 -2
- package/lib/ui-routes/account-routes.js +475 -454
- package/lib/ui-routes/account-setup.js +99 -0
- package/lib/ui-routes/admin-config-routes.js +88 -10
- package/lib/ui-routes/admin-entities-routes.js +91 -7
- package/lib/ui-routes/auth-routes.js +90 -38
- package/lib/ui-routes/internals-routes.js +5 -0
- package/lib/ui-routes/oauth-config-routes.js +124 -82
- package/lib/ui-routes/route-helpers.js +19 -3
- package/lib/ui-routes/tls-config-routes.js +58 -15
- package/lib/utils/back-off.js +82 -0
- package/lib/utils/murmurhash3.js +66 -0
- package/lib/utils/public-suffix.js +122 -0
- package/lib/utils/random-id.js +26 -0
- package/lib/utils/version.js +74 -0
- package/lib/webhook-routing.js +27 -0
- package/lib/webhooks.js +41 -6
- package/package.json +27 -29
- package/sbom.json +7980 -1
- package/server.js +634 -441
- package/static/licenses.html +181 -1006
- package/translations/messages.pot +62 -63
- package/views/config/ai.hbs +1 -1
- package/views/config/security.hbs +2 -2
- package/views/config/service.hbs +3 -0
- package/views/internals/index.hbs +8 -0
- package/views/partials/webhook_form.hbs +1 -1
- package/views/suppression-lists/index.hbs +1 -1
- package/workers/api.js +738 -583
- package/workers/export.js +1 -1
- package/workers/submit.js +1 -1
- package/workers/webhooks.js +16 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emailengine-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.85.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"productTitle": "EmailEngine",
|
|
6
6
|
"description": "Email Sync Engine",
|
|
@@ -13,11 +13,13 @@
|
|
|
13
13
|
"gmail": "EE_OPENAPI_VERBOSE=true EENGINE_LOG_RAW=true EENGINE_SECRET=your-encryption-key EENGINE_WORKERS=2 EENGINE_CORS_ORIGIN='*' node --inspect server --dbs.redis='redis://127.0.0.1:6379/11' --api.port=7003 --api.host=0.0.0.0 | tee $HOME/ee.log.gmail.txt | pino-pretty",
|
|
14
14
|
"test": "npm run lint:src && npm run test:unit && npm run test:integration",
|
|
15
15
|
"test:unit": "NODE_ENV=test node test/run-tests.js unit",
|
|
16
|
+
"test:cjs": "NODE_ENV=test NODE_OPTIONS=--no-experimental-require-module node test/run-tests.js unit",
|
|
16
17
|
"test:integration": "NODE_ENV=test node test/run-tests.js integration",
|
|
17
18
|
"test:dovecot": "./test/dovecot/run-dovecot-tests.sh",
|
|
18
19
|
"test:e2e": "playwright test",
|
|
19
20
|
"test:e2e:install": "playwright install --with-deps chromium",
|
|
20
|
-
"lint": "
|
|
21
|
+
"lint": "eslint .",
|
|
22
|
+
"lint:fix": "eslint . --fix",
|
|
21
23
|
"lint:src": "npx eslint 'lib/**/*.js' 'workers/**/*.js' server.js",
|
|
22
24
|
"swagger": "./getswagger.sh",
|
|
23
25
|
"build:css": "tailwindcss -i static/css/src/app.tailwind.css -o static/css/flyonui.css --minify",
|
|
@@ -60,54 +62,46 @@
|
|
|
60
62
|
"@hapi/inert": "7.1.2",
|
|
61
63
|
"@hapi/vision": "7.0.3",
|
|
62
64
|
"@msgpack/msgpack": "3.1.3",
|
|
63
|
-
"@postalsys/bounce-classifier": "3.0
|
|
64
|
-
"@postalsys/certs": "
|
|
65
|
-
"@postalsys/email-ai-tools": "2.
|
|
66
|
-
"@postalsys/email-content": "0.1.
|
|
67
|
-
"@postalsys/email-text-tools": "2.
|
|
68
|
-
"@postalsys/gettext": "4.
|
|
69
|
-
"@postalsys/joi-messages": "1.
|
|
70
|
-
"@postalsys/templates": "2.
|
|
65
|
+
"@postalsys/bounce-classifier": "3.1.0",
|
|
66
|
+
"@postalsys/certs": "2.0.0",
|
|
67
|
+
"@postalsys/email-ai-tools": "2.3.1",
|
|
68
|
+
"@postalsys/email-content": "0.1.17",
|
|
69
|
+
"@postalsys/email-text-tools": "2.5.0",
|
|
70
|
+
"@postalsys/gettext": "4.3.0",
|
|
71
|
+
"@postalsys/joi-messages": "1.4.1",
|
|
72
|
+
"@postalsys/templates": "2.1.1",
|
|
71
73
|
"@sentry/node-core": "10.76.2",
|
|
72
74
|
"@simplewebauthn/server": "14.0.3",
|
|
73
|
-
"@zone-eu/mailsplit": "5.4.
|
|
74
|
-
"@zone-eu/wild-config": "1.7.
|
|
75
|
-
"bullmq": "6.3.
|
|
76
|
-
"compare-versions": "6.1.1",
|
|
75
|
+
"@zone-eu/mailsplit": "5.4.27",
|
|
76
|
+
"@zone-eu/wild-config": "1.7.10",
|
|
77
|
+
"bullmq": "6.3.19",
|
|
77
78
|
"dotenv": "18.0.8",
|
|
78
79
|
"encoding-japanese": "2.4.0",
|
|
79
|
-
"exponential-backoff": "3.1.3",
|
|
80
80
|
"fast-xml-parser": "5.11.2",
|
|
81
|
-
"gettext-parser": "7.0.1",
|
|
82
81
|
"handlebars": "4.7.10",
|
|
83
|
-
"hapi-pino": "13.0.0",
|
|
84
82
|
"he": "1.2.0",
|
|
85
83
|
"html-to-text": "10.0.1",
|
|
86
84
|
"ical.js": "2.2.1",
|
|
87
85
|
"iconv-lite": "0.7.3",
|
|
88
|
-
"imapflow": "2.5.
|
|
89
|
-
"ioredfour": "
|
|
86
|
+
"imapflow": "2.5.9",
|
|
87
|
+
"ioredfour": "2.0.0",
|
|
90
88
|
"ioredis": "6.0.0",
|
|
91
89
|
"ipaddr.js": "2.5.0",
|
|
92
90
|
"joi": "18.3.0",
|
|
93
91
|
"libbase64": "1.4.1",
|
|
94
|
-
"libmime": "5.5.
|
|
92
|
+
"libmime": "5.5.2",
|
|
95
93
|
"libqp": "3.0.1",
|
|
96
|
-
"mailparser": "3.
|
|
94
|
+
"mailparser": "3.10.0",
|
|
97
95
|
"marked": "15.0.12",
|
|
98
96
|
"minimist": "1.2.8",
|
|
99
|
-
"murmurhash": "2.0.1",
|
|
100
|
-
"nanoid": "3.3.20",
|
|
101
97
|
"nodemailer": "10.1.7",
|
|
102
98
|
"pino": "10.3.1",
|
|
103
99
|
"prom-client": "15.1.3",
|
|
104
|
-
"
|
|
105
|
-
"pubface": "1.1.18",
|
|
100
|
+
"pubface": "1.2.0",
|
|
106
101
|
"punycode.js": "2.3.1",
|
|
107
102
|
"qrcode-generator": "2.0.4",
|
|
108
103
|
"smtp-server": "3.20.2",
|
|
109
104
|
"socks": "2.8.10",
|
|
110
|
-
"timezones-list": "3.1.0",
|
|
111
105
|
"undici": "7.30.1"
|
|
112
106
|
},
|
|
113
107
|
"devDependencies": {
|
|
@@ -121,10 +115,12 @@
|
|
|
121
115
|
"ace-builds": "1.45.0",
|
|
122
116
|
"acorn": "8.19.0",
|
|
123
117
|
"acorn-walk": "8.3.5",
|
|
124
|
-
"chai": "4.5.0",
|
|
125
118
|
"eerawlog": "1.5.5",
|
|
126
119
|
"eslint": "10.13.0",
|
|
120
|
+
"eslint-config-prettier": "10.1.8",
|
|
127
121
|
"flyonui": "2.4.1",
|
|
122
|
+
"gettext-parser": "7.0.1",
|
|
123
|
+
"globals": "17.13.0",
|
|
128
124
|
"pino-pretty": "13.2.0",
|
|
129
125
|
"prettier": "3.9.10",
|
|
130
126
|
"resedit": "3.1.0",
|
|
@@ -154,7 +150,8 @@
|
|
|
154
150
|
"node_modules/jsdom/lib/jsdom/browser/default-stylesheet.css",
|
|
155
151
|
"LICENSE_EMAILENGINE.txt",
|
|
156
152
|
"version-info.json",
|
|
157
|
-
"sbom.json"
|
|
153
|
+
"sbom.json",
|
|
154
|
+
"data/public_suffix_list.dat"
|
|
158
155
|
],
|
|
159
156
|
"targets": [
|
|
160
157
|
"node24-linux-x64",
|
|
@@ -164,7 +161,8 @@
|
|
|
164
161
|
],
|
|
165
162
|
"outputPath": "ee-dist",
|
|
166
163
|
"options": [
|
|
167
|
-
"max_old_space_size=4096"
|
|
164
|
+
"max_old_space_size=4096",
|
|
165
|
+
"max_semi_space_size=16"
|
|
168
166
|
]
|
|
169
167
|
}
|
|
170
168
|
}
|