Add ULLI weather easter egg to falling background particles
This commit is contained in:
1 parent
955f47ccd6
commit
98182c179f
11 files changed
+399
-21
No files matched your search
@@ -122,3 +122,7 @@ Inspection results persist the base score for the number of inspections and each
|
||||
# 2026-10-13: persistent cat-name changes
|
||||
|
||||
`IdentityDirectory.rename_existing()` is the only write path for the user-facing rename feature. It requires an existing character ID, updates `identities` and denormalized `profiles` names in PostgreSQL/SQLite, removes the stale old-name index entry, and refreshes cached profiles. The VK dialog starts from the `Изменить имя кота` menu button and asks for ID then a new name. The web `/belki` `Имя кота` tab looks up the current name and submits `/api/rename-identity`; `/api/resolve-identity` remains stateless for report form completion.
|
||||
|
||||
## ULLI background weather — 2026-10-18
|
||||
|
||||
Calculator/admin share `web/weather-effect.js` and `.css`, served through `/api/weather/effect.*` so existing gateway routing works. `app/belki/weather.py` reads only the fixed public ULLI raw METAR endpoint: observed wind/gusts control speed/drift, RA/DZ and SN/SG select rain/snow/mixed particles, intensity controls density. Trends/remarks/vicinity do not change observed weather. The cache is process-local (5 min success, 1 min failure), timeout 3 s, payload cap 64 KiB; observations expire after 2 h. Failure restores leaves. Browser polling is every 5 min, hidden tabs pause, reduced motion keeps at most seven faint static particles. No dependencies or storage changes. Remote test-zone MCP was unavailable; local fixtures and browser checks were used. On this Mac, Python HTTPS required `SSL_CERT_FILE=/etc/ssl/cert.pem`; never bypass TLS verification. Production is unverified until a separately requested push/deployment.
|
||||
Reference in new issue
Block a user