feat: add sent report history lookup

This commit is contained in:
nyan404 committed 2026-10-18 18:56:23 +03:00
1 parent 546fa37fce
commit 3ebab303a5
12 files changed
+393 -18

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# MEMORY
- 2026-10-18: sent-report history uses `CalculationStore.list_vk_reports(actor_id)` for VK's `Мои отчёты` menu and `list_character_reports(character_id)` for the public calculator tab/API; the latter searches escort, kitten, extra-kitten, and inspection IDs across sources, returns at most 100 newest rows, and omits VK `actor_id`.
- 2026-10-10: `/admin` report rows default to creation date descending (newest first); `CalculationStore` supports the `created_at` sort key and the UI requests it explicitly.
- 2026-10-10 live: rotated `BELKI_ADMIN_PASSWORD` from ignored `.secrets/BELKI_ADMIN_PASSWORD`, restarted web and bot, and verified `/api/admin/calculations` returns 200 with the current value and 401 with an invalid value.