Trek_CN/server/src/services
jubnl 3b94727c07
fix(journey): fix issue #704 — active logic, archive, places rename, search, trip reminders
- Derive journey lifecycle from linked trip dates (live/upcoming/completed/draft)
  instead of relying solely on status field; status=archived always wins
- Add Archive/Restore Journey action in journey settings dialog
- Rename cities → places end-to-end (SQL alias, TS types, stats field, all locales)
- Wire up search icon: toggles inline input, filters by title+subtitle client-side
- Fix channelConfigured check: trip reminders enabled by default since inapp is
  always available; remove channel check, controlled solely by admin setting
- Expose notify_trip_reminder toggle in Admin → Settings → Notifications
- Add trip_date_min/trip_date_max to listJourneys SQL for client-side lifecycle
- Add archived status to Journey type (server + client)
- Update all 15 locale files with new keys (search, archive, places, trip reminders)
2026-04-17 16:59:23 +02:00
..
memories fix(synology): use Thumbnail API with size xl for originals to avoid HEIC 2026-04-17 15:35:42 +02:00
adminService.ts feat: collab sub-feature toggles and provider icons 2026-04-15 23:53:16 +02:00
apiKeyCrypto.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
assignmentService.ts fix(dayplan): restore time-based auto-sort for places and free reorder for untimed 2026-04-05 23:26:35 +02:00
atlasService.ts fix(atlas): shared Nominatim throttle, background region fill, fetch timeout 2026-04-14 13:29:14 +02:00
auditLog.ts fix: add SSRF protection for link preview and Immich URL 2026-04-01 07:59:03 +02:00
authService.ts fix(journey): fix issue #704 — active logic, archive, places rename, search, trip reminders 2026-04-17 16:59:23 +02:00
backupService.ts fix(notifications): fix SMTP error surfacing, webhook button label, backup timestamp 2026-04-14 16:20:52 +02:00
budgetService.ts feat: drag-and-drop reorder for budget categories and items (#479) 2026-04-09 19:21:43 +02:00
categoryService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
collabService.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
cookie.ts feat: Discord links, translation sync, iOS login fix, trip copy fix 2026-04-03 14:39:44 +02:00
dayNoteService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
dayService.ts feat: support check-in time ranges for hotel accommodations 2026-04-16 00:23:00 +02:00
ephemeralTokens.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00
fileService.ts fix(files): prepend /uploads/avatars/ to avatar URL in documents tab 2026-04-05 15:23:45 +02:00
inAppNotificationActions.ts feat: add in-app notification system with real-time delivery 2026-04-02 18:57:52 +02:00
inAppNotifications.ts fix: missing avatar URLs in notifications, admin panel, and budget 2026-04-08 18:17:08 +02:00
journeyService.ts fix(journey): fix issue #704 — active logic, archive, places rename, search, trip reminders 2026-04-17 16:59:23 +02:00
journeyShareService.ts fix(journey): fix issue #704 — active logic, archive, places rename, search, trip reminders 2026-04-17 16:59:23 +02:00
kmlImport.ts feat(places): unified file import modal with drag-and-drop and deduplication 2026-04-15 06:07:26 +02:00
mapsService.ts fix(search-autocomplete): address PR #542 review issues 2026-04-15 04:16:56 +02:00
mfaCrypto.ts fix: decouple at-rest encryption from JWT_SECRET, add JWT rotation 2026-04-01 07:57:55 +02:00
notificationPreferencesService.ts fix(ntfy): improve admin ntfy UX and add clear token button 2026-04-15 20:23:31 +02:00
notifications.ts feat(notifications): add ntfy as a first-class notification channel 2026-04-15 13:59:25 +02:00
notificationService.ts feat(notifications): add ntfy as a first-class notification channel 2026-04-15 13:59:25 +02:00
oauthService.ts feat(mcp): granular OAuth scopes and per-client rate limiting 2026-04-11 02:06:32 +02:00
oidcService.ts feat(notices): add system notice infrastructure 2026-04-16 14:36:33 +02:00
packingService.ts feat(packing): item quantity, bag rename, multi-user bags, save as template 2026-04-05 19:28:33 +02:00
passwordPolicy.ts fix: unify password validation error to show all requirements at once 2026-04-01 10:14:35 +02:00
permissions.ts fix: tighten trip_edit and member_manage defaults to trip_owner 2026-03-31 23:52:29 +02:00
placeService.ts feat(places): unified file import modal with drag-and-drop and deduplication 2026-04-15 06:07:26 +02:00
queryHelpers.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
reservationService.ts feat: support check-in time ranges for hotel accommodations 2026-04-16 00:23:00 +02:00
settingsService.ts feat(admin): add admin-configurable default user settings 2026-04-15 22:31:41 +02:00
shareService.ts fix: deleted chats are not shown in share view anymore 2026-04-03 10:50:34 +02:00
tagService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
todoService.ts feat(todo): add To-Do list feature with 3-column layout 2026-04-04 16:58:24 +02:00
tripService.ts fix(trips): preserve day content when trip date range changes 2026-04-15 01:28:53 +02:00
vacayService.ts feat: configurable week start day in Vacay (Monday or Sunday) 2026-04-12 02:18:45 +02:00
weatherService.ts fix(weather): handle archive date out of range for future trips (#599) 2026-04-13 20:33:30 +02:00