Commit Graph

19472 Commits

Author SHA1 Message Date
Girish Ramakrishnan
510e1c7296 Fix missing import 2026-02-15 19:21:06 +01:00
Girish Ramakrishnan
c6d8af5dc3 add to changelog 2026-02-15 19:05:40 +01:00
Girish Ramakrishnan
adf884c2c4 add integrity check to system backups 2026-02-15 14:59:27 +01:00
Girish Ramakrishnan
c7b321315c integrity: add stats 2026-02-15 14:41:10 +01:00
Girish Ramakrishnan
9f2eefcbb3 embed integrity check task in backup API responses
The UI is polling for the taskId, might as well attach it
2026-02-15 14:11:56 +01:00
Girish Ramakrishnan
fc2e39f41b Rename getByIdentifierAndStatePaged to listByIdentifierAndStatePaged 2026-02-15 12:22:43 +01:00
Girish Ramakrishnan
eae86d15ef Update modules 2026-02-14 19:49:42 +01:00
Girish Ramakrishnan
361d80da17 make tests work again 2026-02-14 19:45:10 +01:00
Girish Ramakrishnan
2597402496 make build work across server restart
tmp files disappear on server restart
2026-02-14 19:37:14 +01:00
Girish Ramakrishnan
c8bc6f9ffe Update translations 2026-02-14 18:33:50 +01:00
Girish Ramakrishnan
b0ef9238ff Show proper title/description for the new start/stop section 2026-02-14 18:31:06 +01:00
Girish Ramakrishnan
b71e503a01 more ESM cleanups 2026-02-14 16:52:16 +01:00
Girish Ramakrishnan
e9f96593c3 reorder functions for no-use-before-define 2026-02-14 16:34:34 +01:00
Girish Ramakrishnan
36aa641cb9 migrate to "export default"
also, set no-use-before-define in linter
2026-02-14 15:43:24 +01:00
Girish Ramakrishnan
ddb46646fa remove esm migration files 2026-02-14 15:12:07 +01:00
Girish Ramakrishnan
96dc79cfe6 Migrate codebase from CommonJS to ES Modules
- Convert all require()/module.exports to import/export across 260+ files
- Add "type": "module" to package.json to enable ESM by default
- Add migrations/package.json with "type": "commonjs" to keep db-migrate compatible
- Convert eslint.config.js to ESM with sourceType: "module"
- Replace __dirname/__filename with import.meta.dirname/import.meta.filename
- Replace require.main === module with process.argv[1] === import.meta.filename
- Remove 'use strict' directives (implicit in ESM)
- Convert dynamic require() in switch statements to static import lookup maps
  (dns.js, domains.js, backupformats.js, backupsites.js, network.js)
- Extract self-referencing exports.CONSTANT patterns into standalone const
  declarations (apps.js, services.js, locks.js, users.js, mail.js, etc.)
- Lazify SERVICES object in services.js to avoid circular dependency TDZ issues
- Add clearMailQueue() to mailer.js for ESM-safe queue clearing in tests
- Add _setMockApp() to ldapserver.js for ESM-safe test mocking
- Add _setMockResolve() wrapper to dig.js for ESM-safe DNS mocking in tests
- Convert backupupload.js to use dynamic imports so --check exits before
  loading the module graph (which requires BOX_ENV)
- Update check-install to use ESM import for infra_version.js
- Convert scripts/ (hotfix, release, remote_hotfix.js, find-unused-translations)
- All 1315 tests passing

Migration stats (AI-assisted using Cursor with Claude):
- Wall clock time: ~3-4 hours
- Assistant completions: ~80-100
- Estimated token usage: ~1-2M tokens

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 15:11:45 +01:00
Girish Ramakrishnan
e0e9f14a5e mail: increase solr timeout 2026-02-14 01:23:23 +01:00
Johannes Zellner
b24e1142f8 Move app stop/start into uninstall again and add restart button in main toolbar 2026-02-13 18:37:49 +01:00
Johannes Zellner
0543b16de9 Update frontend dependencies 2026-02-13 17:51:36 +01:00
Johannes Zellner
8d46c09f95 Update pankow 2026-02-13 17:38:56 +01:00
Johannes Zellner
5724ca73b4 Add passkey support 2026-02-13 17:18:56 +01:00
Girish Ramakrishnan
3e09bef613 folderview: implement drop handler 2026-02-12 23:44:23 +01:00
Girish Ramakrishnan
627b1fe33f filemanager: implement tree view on the left 2026-02-12 22:55:24 +01:00
Girish Ramakrishnan
1aa270485c add changelog 2026-02-12 20:31:51 +01:00
Girish Ramakrishnan
ae09c19b69 filemanager: open terminal in cwd 2026-02-12 20:30:57 +01:00
Johannes Zellner
c5cf8eef1a Update pankow to v4 to fix TableView bug 2026-02-12 20:28:12 +01:00
Girish Ramakrishnan
e76d4b3474 tests: fix app passwords test 2026-02-12 19:57:34 +01:00
Girish Ramakrishnan
88a44ee065 oidc: add alg to the jwks keys 2026-02-12 19:42:00 +01:00
Girish Ramakrishnan
51e02da277 spaces: add missing regions 2026-02-12 17:15:08 +01:00
Girish Ramakrishnan
e9c3e42aa6 appPassword: add expiry 2026-02-12 16:23:31 +01:00
Girish Ramakrishnan
93a0063941 backups: add stop_integrity_check route 2026-02-09 22:00:40 +01:00
Girish Ramakrishnan
26a3cf79c5 backup: show last integrity in info dialog 2026-02-09 21:46:04 +01:00
Johannes Zellner
26999afc22 Reduce SaveIndicator timeout to 1500ms 2026-02-09 20:43:44 +01:00
Johannes Zellner
81729e4b2a Add SaveIndicator to email settings 2026-02-09 20:43:34 +01:00
Johannes Zellner
4bae5ee2fb Add SaveIndicator to user directory settings 2026-02-09 20:34:18 +01:00
Johannes Zellner
a786e6c8f5 Do not crash if we have a new user without a username yet 2026-02-09 20:34:05 +01:00
Johannes Zellner
3803f36aa5 Fix language change to han chinese 2026-02-09 20:27:12 +01:00
Johannes Zellner
55bc26bd09 Add error state for SaveIndicator and put it in more places 2026-02-09 20:25:13 +01:00
Girish Ramakrishnan
d84037a0dd add to changes 2026-02-09 18:24:56 +01:00
Girish Ramakrishnan
1ce5fcafd9 apppassword: display error 2026-02-09 17:52:40 +01:00
Johannes Zellner
281233f48b Unset align-items for section header toolbar to make buttons fill whole height 2026-02-09 17:29:12 +01:00
Johannes Zellner
68d73e088d Move notification settings to notifications view 2026-02-09 17:06:17 +01:00
Girish Ramakrishnan
b433191b35 community: skip revoked versions 2026-02-09 16:11:55 +01:00
Girish Ramakrishnan
d75ad44315 mail: fix haraka crash 2026-02-09 16:04:13 +01:00
Girish Ramakrishnan
c3d3c3a6e9 app: if repo changes, do not autoupdate 2026-02-09 15:51:47 +01:00
Girish Ramakrishnan
b9b8ccb8ae community: stable/unstable 2026-02-09 15:51:47 +01:00
Girish Ramakrishnan
5a56a7c8af community: show packager info 2026-02-09 15:51:47 +01:00
Girish Ramakrishnan
d4efb63f3d Update packages 2026-02-09 15:51:47 +01:00
Johannes Zellner
2ec349e919 Remove duplicate code 2026-02-09 15:33:10 +01:00
Johannes Zellner
772770273a Set tls provider upon dns provider change, not in a watcher, which has side-effects 2026-02-09 14:32:02 +01:00