emailengine-app 2.73.0 → 2.74.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.
Files changed (42) hide show
  1. package/.github/docker-smoke-test.sh +45 -0
  2. package/.github/workflows/deploy.yml +22 -0
  3. package/.github/workflows/e2e.yml +1 -2
  4. package/.github/workflows/release.yaml +19 -0
  5. package/.github/workflows/test.yml +31 -0
  6. package/CHANGELOG.md +52 -0
  7. package/Dockerfile +14 -5
  8. package/README.md +55 -25
  9. package/config/e2e.toml +2 -2
  10. package/data/google-crawlers.json +1 -1
  11. package/lib/account.js +14 -6
  12. package/lib/api-routes/account-routes.js +4 -1
  13. package/lib/api-routes/token-routes.js +13 -0
  14. package/lib/consts.js +15 -25
  15. package/lib/delivery-error.js +34 -11
  16. package/lib/email-client/gmail-client.js +1 -1
  17. package/lib/email-client/imap/mailbox.js +96 -1
  18. package/lib/email-client/imap-client.js +101 -28
  19. package/lib/email-client/outlook-client.js +1 -1
  20. package/lib/es.js +0 -27
  21. package/lib/license-beacon.js +1 -5
  22. package/lib/schemas.js +12 -0
  23. package/lib/settings.js +13 -0
  24. package/lib/tokens.js +15 -0
  25. package/lib/ui-routes/account-routes.js +65 -5
  26. package/lib/ui-routes/admin-entities-routes.js +13 -0
  27. package/lib/worker-rpc-error.js +54 -0
  28. package/package.json +6 -6
  29. package/sbom.json +1 -1
  30. package/server.js +3 -19
  31. package/setup-production.sh +7 -2
  32. package/static/licenses.html +12 -12
  33. package/translations/messages.pot +36 -36
  34. package/views/accounts/edit.hbs +6 -0
  35. package/workers/api.js +5 -14
  36. package/workers/imap.js +3 -16
  37. package/workers/submit.js +3 -18
  38. package/.env.development +0 -49
  39. package/.env.example +0 -82
  40. package/.env.production +0 -87
  41. package/.eslintignore +0 -1
  42. package/Dockerfile-legacy +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emailengine-app",
3
- "version": "2.73.0",
3
+ "version": "2.74.0",
4
4
  "private": false,
5
5
  "productTitle": "EmailEngine",
6
6
  "description": "Email Sync Engine",
@@ -14,6 +14,7 @@
14
14
  "test": "NODE_ENV=test grunt",
15
15
  "test:unit": "NODE_ENV=test grunt test-unit",
16
16
  "test:integration": "NODE_ENV=test grunt test-integration",
17
+ "test:dovecot": "./test/dovecot/run-dovecot-tests.sh",
17
18
  "test:e2e": "playwright test",
18
19
  "test:e2e:install": "playwright install --with-deps chromium",
19
20
  "lint": "npx eslint 'lib/**/*.js' 'workers/**/*.js' 'test/**/*.js' server.js Gruntfile.js",
@@ -24,7 +25,6 @@
24
25
  "build-dist-fast": "pkg --debug package.json && npm install && node winconf.js",
25
26
  "licenses": "node list-generate.js",
26
27
  "gettext": "find ./views -name \"*.hbs\" -print0 | xargs -0 xgettext-template -L Handlebars -o translations/messages.pot --force-po && node gettext-extract.js",
27
- "prepare-docker": "echo \"EE_DOCKER_LEGACY=$EE_DOCKER_LEGACY\" >> system.env && cat system.env",
28
28
  "update": "rm -rf node_modules package-lock.json && ncu -u && npm install && ./copy-static-files.sh && npm run licenses && npm run gettext",
29
29
  "test-gmail-api": "node lib/email-client/gmail-client.js --dbs.redis=redis://127.0.0.1/11",
30
30
  "format": "prettier --write 'lib/**/*.js' 'workers/**/*.js' 'test/**/*.js' '*.js'",
@@ -57,7 +57,7 @@
57
57
  "@hapi/boom": "10.0.1",
58
58
  "@hapi/cookie": "12.0.1",
59
59
  "@hapi/crumb": "9.0.1",
60
- "@hapi/hapi": "21.4.9",
60
+ "@hapi/hapi": "21.4.10",
61
61
  "@hapi/inert": "7.1.2",
62
62
  "@hapi/vision": "7.0.3",
63
63
  "@phc/pbkdf2": "1.1.14",
@@ -76,7 +76,7 @@
76
76
  "@zone-eu/wild-config": "1.7.6",
77
77
  "ace-builds": "1.44.0",
78
78
  "base32.js": "0.1.0",
79
- "bullmq": "5.80.9",
79
+ "bullmq": "5.80.11",
80
80
  "compare-versions": "6.1.1",
81
81
  "dotenv": "17.4.2",
82
82
  "encoding-japanese": "2.2.0",
@@ -90,7 +90,7 @@
90
90
  "html-to-text": "10.0.0",
91
91
  "ical.js": "1.5.0",
92
92
  "iconv-lite": "0.7.3",
93
- "imapflow": "1.4.7",
93
+ "imapflow": "1.5.0",
94
94
  "ioredfour": "1.4.2",
95
95
  "ioredis": "5.11.1",
96
96
  "ipaddr.js": "2.4.0",
@@ -134,7 +134,7 @@
134
134
  "grunt-cli": "1.5.0",
135
135
  "grunt-shell-spawn": "0.5.0",
136
136
  "pino-pretty": "13.1.3",
137
- "prettier": "3.9.5",
137
+ "prettier": "3.9.6",
138
138
  "resedit": "3.0.2",
139
139
  "spdx-satisfies": "6.0.0",
140
140
  "supertest": "7.2.2",