Trek_CN/server
jubnl bb54fda6dc
fix: collab note attachments broken (#343)
- Fix attachment URLs to use /api/trips/:id/files/:id/download instead
  of /uploads/files/... which was unconditionally blocked with 401
- Use getAuthUrl() with ephemeral tokens for displaying attachments and
  opening them in a new tab (images, PDFs, documents)
- Replace htmlFor/id label pattern with ref.current.click() for the
  file picker button in NoteFormModal — fixes file not being added to
  pending list on first note creation
- Add integration tests COLLAB-028 to COLLAB-031 covering URL format,
  listing URLs, ephemeral token download, and unauthenticated 401
2026-04-03 14:11:18 +02:00
..
public fix: always fetch fresh photo URLs for map markers instead of using stored HTTP URLs 2026-04-01 19:48:58 +02:00
scripts feat: add encryption key migration script and document it in README 2026-04-01 09:35:32 +02:00
src fix: collab note attachments broken (#343) 2026-04-03 14:11:18 +02:00
tests fix: collab note attachments broken (#343) 2026-04-03 14:11:18 +02:00
.env.example fix: add OIDC_SCOPE env var and document it across all config files 2026-04-02 07:46:58 +02:00
package-lock.json Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
package.json Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
reset-admin.js Stabilize core: better-sqlite3, versioned migrations, graceful shutdown 2026-03-22 17:52:24 +01:00
tsconfig.json some fixes 2026-03-30 06:59:24 +02:00
vitest.config.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00