Commit Graph
138 Commits
Author SHA1 Message Date
ponzischeme89andClaude Sonnet 5 0b1d329f7c Admin console: show the signed-in operator's name, not "Administrator"
The user switcher fell back to "Administrator" whenever /admin/api/status
returned no currentUser. Fresh sign-ins already embed the verified Emby
account name in the session cookie, but a session minted before that field
existed (or one that has not been re-issued since) is valid yet anonymous,
so the fallback showed for ever.

handleAdminConsole now treats a valid-but-anonymous admin session as needing
a fresh sign-in for the SPA shell only — a one-time prompt that fills the
name in, since session renewal preserves whatever the cookie already held.
Asset requests are unaffected, so nothing breaks mid-session.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011wS9Qz3Fkxeu9KPt26hhhx
2026-08-28 23:36:11 +12:00
ponzischeme89 d5632e844a 0.3.49 2026-08-28 23:00:02 +12:00
ponzischeme89 3e89036f7b 0.3.38 2026-08-28 09:37:05 +12:00
ponzischeme89 0b12c09deb 0.3.38 2026-08-27 21:06:27 +12:00
ponzischeme89 07004bd2e2 0.3.37 2026-08-27 20:33:05 +12:00
ponzischeme89 2f4bd0da31 0.3.35 2026-08-27 15:50:15 +12:00
ponzischeme89 6b2bf767e2 0.3.34 2026-08-27 11:04:51 +12:00
ponzischeme89 b0b8990f90 0.3.33 2026-08-27 07:31:57 +12:00
ponzischeme89 394a6d9b57 0.3.33 2026-08-27 07:31:03 +12:00
ponzischeme89 3d42c98947 0.3.32 2026-08-26 21:31:05 +12:00
ponzischeme89 a5f9a91832 0.3.31 - Studio logo to station indent 2026-08-26 12:02:12 +12:00
ponzischeme89 263177a9e4 0.3.29 - More search fixes 2026-08-26 10:31:25 +12:00
ponzischeme89 0bef5b8927 0.3.28 - More search fixes 2026-08-26 09:35:12 +12:00
ponzischeme89 9d11bb7282 0.3.27 - Omni search fixes, Services in genre browser.. 2026-08-26 08:42:56 +12:00
ponzischeme89 919a12f8d5 0.3.26 2026-08-25 23:47:03 +12:00
ponzischeme89 3c247a0afd 0.3.25 2026-08-25 23:33:48 +12:00
ponzischeme89 d0f3ed94de 0.3.24 2026-08-25 22:46:01 +12:00
ponzischeme89 772635784c 0.3.23 - Search radarr/sonarr 2026-08-25 15:39:43 +12:00
ponzischeme89 0fcc02f57e 0.3.22 - PINs 2026-08-25 11:39:55 +12:00
ponzischeme89 396d35e2f5 0.3.21 2026-08-24 22:56:46 +12:00
ponzischeme89 4f95767e2f 0.3.20 2026-08-24 13:13:44 +12:00
ponzischeme89 a6bd655786 0.3.18 2026-08-24 10:00:04 +12:00
ponzischeme89andClaude Opus 5 1ae07b93ec 0.3.17
Fix the crash on every cold start of a signed-in television.

MembyIcons' currentIconPack and DesignTokens' activePalette are process-wide
mutableStateOf. The first thing in the process to touch either was ThemeSync,
applying the cached pack and palette from an IO thread within milliseconds of
the settings store's first emission -- reliably after MainActivity had taken
its composition snapshot. A state object created in a newer snapshot than the
composition reading it makes that read throw, so HomeNavigation's first
MembyIcon.mark read died with "Reading a state that was created after the
snapshot was taken".

MembyApp.onCreate now creates both on the main thread before anything else can.
Both calls are value-level no-ops; what matters is the thread and the ordering.

It was invisible on a fresh install because first-run and sign-in draw no marks,
which is why clearing app data appeared to fix it -- and it looked like an update
bug only because replacing the APK is what forces a cold start with the launcher
as the first screen. A reboot did it too.

Also: AppRoot filtered neither read of the persisted requiredUpdateVersion
through requiredUpdateSatisfied, so a set that had just installed the demanded
version opened on the retired-build screen it was updating to escape, until a
/v1/update round trip completed. Both reads now apply the rule the in-memory
signal and markRequiredUpdate already did.

Verified on 10.0.0.238: three cold starts, no crash, launcher fully drawn.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HoEWidWhZu9kZzNURatmcT
2026-08-24 09:58:09 +12:00
ponzischeme89 067395a362 0.3.16 2026-08-24 09:16:19 +12:00
ponzischeme89 30155e1c5f 0.3.15 2026-08-24 08:16:55 +12:00
ponzischeme89 72cb3c376e 0.3.14 2026-08-24 07:43:17 +12:00
ponzischeme89 f1d2c2f2eb 0.3.14 2026-08-24 07:29:23 +12:00
ponzischeme89 6ba8728dce 0.3.13 2026-08-23 20:25:20 +12:00
ponzischeme89 5107c4b0fc 0.3.12 2026-08-23 18:55:04 +12:00
ponzischeme89 aa8f16f21b 0.3.11 2026-08-23 18:21:18 +12:00
ponzischeme89 c809127996 0.3.10 2026-08-23 17:45:46 +12:00
ponzischeme89 d4e1cb2fbf 0.3.09 2026-08-23 16:38:15 +12:00
ponzischeme89 63c3df11b2 0.3.08 2026-08-23 14:16:03 +12:00
ponzischeme89 89ebe21201 0.3.07 2026-08-23 13:20:54 +12:00
ponzischeme89 766cea2199 0.3.06 2026-08-23 09:40:45 +12:00
ponzischeme89 9a1f44da46 0.3.05 2026-08-22 21:47:54 +12:00
ponzischeme89 d2f7f84cbf 0.3.04 2026-08-22 20:01:49 +12:00
ponzischeme89 7d77700c7b 0.3.03 2026-08-22 18:40:50 +12:00
ponzischeme89 9858e44710 0.3.02 2026-08-22 15:32:51 +12:00
ponzischeme89 b3e3f62c54 0.3.01 2026-08-22 12:38:26 +12:00
ponzischeme89 f982d391b9 0.3.01 2026-08-22 11:32:50 +12:00
ponzischeme89 b131932a4e 0.3.00 2026-08-22 08:26:10 +12:00
ponzischeme89 3ae8ffad64 0.2.99 2026-08-22 07:15:10 +12:00
ponzischeme89 5df4a1aaa3 0.2.99 2026-08-22 07:15:03 +12:00
ponzischeme89 4fd690a127 0.2.98 2026-08-22 06:29:34 +12:00
ponzischeme89 ac4cf32746 0.2.98 2026-08-22 06:29:31 +12:00
ponzischeme89 8b3d80a0a6 0.2.97 2026-08-21 23:15:42 +12:00
ponzischeme89 c85fab4459 0.2.96 2026-08-21 22:40:31 +12:00
ponzischeme89 32019f2e20 0.2.95 - Refactor 2026-08-21 22:07:02 +12:00
ponzischeme89 02247a6287 0.2.94 2026-08-21 21:04:57 +12:00