feat(admin): show inspection score breakdown

This commit is contained in:
nyan404 committed 2026-09-21 22:31:28 +03:00
1 parent 8241e84757
commit 0b1f2c1063
5 files changed
+25 -5

No files matched your search

+4
View File
@@ -78,3 +78,7 @@ The final gateway Dockerfile must copy `nginx.conf` into the release image, not
# 2026-09-08: private MinIO image storage
`app/belki/image_host.py` now uses private distributed MinIO rather than `nyan.nyan404.ru`. The five internal S3 endpoints are tried in order for each operation; uploads are stored under an unguessable 128-bit object ID and public URLs resolve only through `https://cat.nyan404.ru/api/images/<id>`. Keep the MinIO bucket private. `belki-image-store` is a standalone out-of-band Secret with only `GetObject`/`PutObject` plus required `GetBucketLocation` for `belki-images`; never merge it into CI-recreated `belki-runtime` or commit credentials. Existing legacy img.nyan404.ru URLs remain stored as historical links and cannot be recovered by this change.
# 2026-09-21: admin inspection score breakdown
Inspection results persist the base score for the number of inspections and each resource's calculated contribution in addition to the total. `/admin` displays these details in a dedicated `Баллы` column without changing the VK/public report text; legacy rows fall back to the stored total.