Skip to content

Conversation

@number1pete
Copy link
Owner

  • Add /sessions page with table showing client name, IP address, and duration
  • Add /api/sessions endpoint to list active streaming sessions
  • Add /api/sessions/disconnect endpoint to terminate sessions
  • Include auto-refresh (5s) and manual refresh options
  • Add confirmation dialog before disconnecting
  • Add Sessions link to navigation bar

casey broome and others added 4 commits January 12, 2026 20:20
- Add /sessions page with table showing client name, IP address, and duration
- Add /api/sessions endpoint to list active streaming sessions
- Add /api/sessions/disconnect endpoint to terminate sessions
- Include auto-refresh (5s) and manual refresh options
- Add confirmation dialog before disconnecting
- Add Sessions link to navigation bar

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The disconnect confirmation modal was failing with "bootstrap is not
defined" because the Modal class wasn't being imported. Now imports
Modal from bootstrap/dist/js/bootstrap, matching the pattern used
in apps.html.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…lookup

Previously, add_authorized_client() generated a random UUID for each
paired client, while the Moonlight client sends its own uniqueid during
launch. This caused the session management UI to show random UUIDs
instead of friendly device names, since the lookup would never match.

Now stores the client's actual uniqueID when pairing completes, so
session lookups can properly match and display the friendly name
from the paired clients database.

Note: Existing paired clients will need to re-pair to get correct
name mapping.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adjust inline comment spacing to conform to project's clang-format
configuration.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@number1pete number1pete self-assigned this Jan 13, 2026
casey broome and others added 2 commits January 13, 2026 09:03
Add comprehensive documentation comments to get_all_sessions() and
disconnect() functions explaining their purpose, parameters, and
return values.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Previously, if a temporary error occurred during session fetch (e.g.,
during the brief transition after disconnecting a client), the error
message would persist even after subsequent successful fetches because
the success path never cleared the errorMessage state.

Now clears errorMessage when fetch succeeds, so transient errors don't
persist on the UI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant