- Remove admin footer from backend pages to avoid content overlap
- Show copyright text at the bottom-left of the login page instead
- Simplify admin content area layout after dropping footer
Signed-off-by: Sean Du <do4suki@gmail.com>
This extends 09f0237560.
- Extend user_pref with configurable profile fields and automatic migration defaults
- Move user info responses to read from user_pref instead of hardcoded values
- Add admin profile page for editing UI values after login
Signed-off-by: Sean Du <do4suki@gmail.com>
- Move documentation from doc/ to docs/ with descriptive filenames
- Rewrite and reflow the setup, client patching, deployment, and testing guides
- Keep 99_0_115.zip deployment notes and update run.sh usage details
Signed-off-by: Sean Du <do4suki@gmail.com>
These CDN compatibility hacks are personal deployment adjustments and should not live in the public codebase.
Keep them in a separate personal branch when needed, while preserving only the generic 99_0_115.zip probe-and-append behavior in the shared branch.
Signed-off-by: Sean Du <do4suki@gmail.com>
- Add session.Attach to reuse per-request sessions across middleware and ghome handlers
- Make Session finalize/abort paths idempotent to avoid duplicate commit or rollback work
- Move request_data parsing helper to internal/utils
- Expand ParseRequestData usage across api, download, unit, live, multiunit, and subscenario handlers
- Extract download package metadata into internal/handler/download/types.go
- Return explicit errors from selected session lookup helpers and update callers
- Make api action handlers return errors directly instead of calling ss.CheckErr in nested layers
Signed-off-by: Sean Du <do4suki@gmail.com>
Add settings.override_server_config with enable flag and per-platform
(Android/iOS) url + size fields.
Use this config in /download/update to override the fixed
99_0_115.zip package source when needed.
Signed-off-by: Sean Du <do4suki@gmail.com>
Drop LevelDB and move all the things to SQLite.
Implemented endpoints:
/api <unit, accessoryMaterialAll>
/api <unit, accessoryTab>
/live/continue
/live/partyList
/unit/favoriteAccessory (WIP)
/unit/sale
Signed-off-by: Sean Du <do4suki@gmail.com>