joplock/tests
igor 512824693c
Some checks failed
Build and push Joplock image / build-and-push (push) Has been cancelled
enforce vault note encryption at Joplin Server proxy layer
- add app/proxy/vaultProxyGuard.js: inspects proxied note writes and
  deletes before forwarding to upstream Joplin Server
- covers single PUT /api/items/root:/<id>.md:/content, batch PUT
  /api/batch_items, single DELETE, and batch DELETE
- rejects with 403 when a vault note body lacks the encrypted marker,
  or when a vault note is deleted via the sync proxy
- bodies over 10 MB stream through without inspection (resource blobs)
- unauthenticated requests stream through (upstream handles 401)
- wire guard into createServer.js proxy entry point; replay buffered
  body via Readable.from() on allow
- 34 new unit tests, all 394 tests passing
2026-05-21 16:09:09 +12:00
..
adminService.test.js retry admin bootstrap until Joplin Server DB is ready on fresh install 2026-05-20 13:20:13 +12:00
backupService.test.js add backup delete action and explicit compression modes 2026-05-20 23:13:18 +12:00
cookies.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
createServer.test.js add backup delete action and explicit compression modes 2026-05-20 23:13:18 +12:00
env.test.js Add recovery backups and fix theme/title edge cases 2026-05-18 19:34:06 +12:00
historyService.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
itemService.test.js Add vault/notebook encryption: client-side AES-256-GCM E2EE with SVG lock icons, mobile vault support, startup resume gate, and re-entry guard 2026-04-28 22:25:46 +12:00
itemWriteService.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
mfaService.test.js Refactor route rendering and harden editor session handling 2026-04-27 00:24:23 +12:00
previewRoundTrip.test.js add rendered-mode auto hyperlinks 2026-05-19 16:18:20 +12:00
proxyVaultGuard.test.js enforce vault note encryption at Joplin Server proxy layer 2026-05-21 16:09:09 +12:00
recoveryService.test.js Add recovery backups and fix theme/title edge cases 2026-05-18 19:34:06 +12:00
sessionService.test.js Refactor route rendering and harden editor session handling 2026-04-27 00:24:23 +12:00
settingsService.test.js rate-limit login 2026-05-19 12:57:19 +12:00
templates.test.js polish backup actions and size display 2026-05-20 23:20:35 +12:00
vaultService.test.js Add vault/notebook encryption: client-side AES-256-GCM E2EE with SVG lock icons, mobile vault support, startup resume gate, and re-entry guard 2026-04-28 22:25:46 +12:00