Trek_CN/server
jubnl 6c72295424
fix(vacay): fix entitlement counter, year deletion, and year creation bugs
- toggleCompanyHoliday now calls loadStats() so the entitlement sidebar
  updates immediately when a vacation day is converted to a company holiday
- deleteYear now deletes vacay_user_years rows for the removed year,
  preventing stale entitlement data from persisting and re-appearing
  when the year is re-created
- deleteYear recalculates carry-over for year+1 when year N is deleted,
  using the new actual previous year as the source
- removeYear store action now calls loadStats() so the sidebar reflects
  the recalculated carry-over without requiring a page refresh
- Add prev-year button (+[<] 2026 [>]+) so users can add years going
  backwards after deleting a past year; add vacay.addPrevYear i18n key
  to all 13 supported languages

Closes #371
2026-04-03 19:51:22 +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(vacay): fix entitlement counter, year deletion, and year creation bugs 2026-04-03 19:51:22 +02:00
tests test: update cookie test to match sameSite lax change 2026-04-03 14:42:48 +02:00
.env.example feat: add MCP_RATE_LIMIT env variable to control MCP request rate 2026-04-03 15:44:33 +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