feat: add per-user customization suppression toggles and API endpoints for profile

This commit is contained in:
2026-06-09 20:52:51 +00:00
parent c2c5166720
commit a3f9b949ca
15 changed files with 495 additions and 19 deletions
+7
View File
@@ -444,6 +444,13 @@ custom JavaScript runs after the application boots with access to the global `ap
(restores the default look and behaviour). Operators can disable the feature site-wide with the
`customization_enabled` / `customization_js_enabled` settings.
Your profile page carries two toggle buttons that suppress your customizations without deleting
them: one for the site-wide (global) CSS and JS, one for the per-page-type CSS and JS. Disabling
keeps the stored code and re-enables instantly, which is the quick way to recover a page broken by
your own custom code. You see the toggles only on your own profile; an administrator can also
operate them on any user's profile (or call the Devii `customize_set_enabled` tool) to recover a
user who locked themselves out.
### User-defined tools (vibe new functionality)
Users can invent new Devii capabilities by describing them in natural language, with no code. Telling