feat(vk): relax explicit coaching schedule format

This commit is contained in:
nyan404 committed 2026-08-25 04:13:53 +03:00
1 parent cf99a8da35
commit 2a21723237
3 files changed
+11 -1

No files matched your search

+1
View File
@@ -87,6 +87,7 @@
- 2026-08-25: report copy now uses a plural construction for several kittens, normative `провёл(-ла)` for lessons, and a readable empty-resource line instead of a standalone `0`.
- 2026-08-25: free-form inspection parsing now distinguishes a labelled count (or a count immediately after the place) from date fragments and character IDs; it also understands explicit character labels and both `+N ресурс` and legacy `ресурс=N` loot notation.
- 2026-08-25: the explicit `/осмотр` command now accepts both natural orders for its first fields: `дупло 6` and `6 дупло`.
- 2026-08-25: explicit `/лу` and `/зу` commands accept a time range with a dash and written Russian dates in their schedule segment, while still requiring exactly two valid clock values.
- 2026-08-25: free-form coaching input additionally normalizes Russian written month names and common abbreviations (for example, `24 августа` and `1-го сент`) into the existing `ДД.ММ` date field.
- 2026-08-25: `/api/admin/auth` now permits five password attempts per source in a rolling 15-minute window and clears that local budget after a successful sign-in. Edge rate limiting and TLS remain required deployment controls.
- 2026-08-25: server-memory admin sessions now expire after 12 hours and are capped at 100 active tokens; the browser cookie carries the same maximum age.