Trek_CN/server/src/services
jubnl 86be4d7997
fix: address prerelease workflow review bugs
- Type checkVersion() with VersionInfo interface; fixes TS errors in
  checkAndNotifyVersion() where object type blocked property access
- Don't cache fallback on !resp.ok or fetch throw; prevents a transient
  GitHub outage from poisoning the 5-min version cache
- Guard parseInt result with Number.isFinite() in compareVersions;
  malformed -pre.abc tags no longer silently compare as equal via NaN
- Pre-compute stripped versions before sort in checkVersion(); avoids
  mutating input array and redundant replace() calls in comparator
- Bump GitHub releases fetch from per_page=20 to per_page=100
- Store appVersion in authStore; populate from App.tsx getAppConfig call
  and remove redundant getAppConfig fetch in Navbar useEffect
- Type GitHubPanel error/expanded state as string|null and Record<number,boolean>
2026-04-12 17:05:17 +02:00
..
memories merge: resolve conflicts with dev, fix 7 Snyk security issues 2026-04-11 19:11:21 +02:00
adminService.ts fix: address prerelease workflow review bugs 2026-04-12 17:05:17 +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): scope region name matching by country and expand country lookup tables 2026-04-11 19:45:26 +02:00
auditLog.ts fix: add SSRF protection for link preview and Immich URL 2026-04-01 07:59:03 +02:00
authService.ts feat: prerelease workflow with major version support and version propagation 2026-04-12 16:26:44 +02:00
backupService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +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 refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +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 feat: Journey addon — travel journal with entries, photos, public sharing & PDF export 2026-04-11 19:01:34 +02:00
journeyShareService.ts feat: Journey addon — travel journal with entries, photos, public sharing & PDF export 2026-04-11 19:01:34 +02:00
mapsService.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +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 feat: route Synology session-cleared notification through unified send() 2026-04-11 18:36:50 +02:00
notifications.ts feat: route Synology session-cleared notification through unified send() 2026-04-11 18:36:50 +02:00
notificationService.ts feat: route Synology session-cleared notification through unified send() 2026-04-11 18:36:50 +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(auth): split OIDC_ONLY into granular auth toggles 2026-04-11 20:21:36 +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 fix: deduplicate places on Google Maps list re-import (#543) 2026-04-12 01:45:32 +02:00
queryHelpers.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
reservationService.ts fix: clear stale accommodation_id on reservation update (#522) 2026-04-09 18:11:07 +02:00
settingsService.ts feat(security): mask saved webhook URLs instead of returning encrypted values 2026-04-05 06:08:44 +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 feat: Journey addon — travel journal with entries, photos, public sharing & PDF export 2026-04-11 19:01:34 +02:00
vacayService.ts feat: configurable week start day in Vacay (Monday or Sunday) 2026-04-12 02:18:45 +02:00
weatherService.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00