fix(admin): expire in-memory sessions

This commit is contained in:
nyan404 committed 2026-08-25 04:04:35 +03:00
1 parent 3f8674972b
commit 355544de9c
5 files changed
+56 -8

No files matched your search

+1
View File
@@ -41,6 +41,7 @@
- 2026-08-25: natural bulk parsing prioritizes explicit Russian mentor/student labels, then falls back to the original pair order when labels are absent.
- 2026-08-25: `project_mind_map.md` is the current source-controlled project map for Belki and deployment/security boundaries; update it when a data flow, service, or integration changes.
- 2026-08-25: password-only admin login has an in-process five-attempt/15-minute per-source limit; it complements but does not replace an edge rate limit.
- 2026-08-25: in-process admin sessions are opaque tokens with a 12-hour server and cookie lifetime, capped at 100 active sessions; a restart still invalidates them by design.
- 2026-08-25: free-text parsing normalizes common punctuation, spaced IDs, ID markers and close role-label typos. Do not add generic Russian NER solely for CatWar nicknames: ID and role context are the more reliable authority.
- 2026-08-25: public reports cap coaching at 50 kittens and inspections at 100 resource rows, 100000 inspections and 100000 units per resource; enforce the limits in the shared domain rather than only in one transport.
- 2026-08-25: free-form input also accepts Russian written dates and month abbreviations, normalizing them to `ДД.ММ`; report dates are then calendar-validated in the domain before storage.