feat(campus-net): adapt portal login and GUI - #7
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Sanitize interface failures without cross-interface fallback - Add CLI branding and stable uv/PowerShell build commands
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uv.lockand let the campus-net CI job resolve its ephemeral environment frompyproject.tomlWhy
The previous direct ePortal request no longer represents the effective login path. The new portal requires captive-redirect discovery, SSO state propagation, operator selection, and CAPTCHA submission. Network failures also needed stable, interface-neutral messages instead of raw host, SSL, or WinError details.
Impact
Users can choose legacy or new portal mode, bind login and connectivity checks to any Windows IPv4 interface, save configuration with automatic verified backups, and complete CAPTCHA entry without browser automation. An unavailable or incorrect interface now stops safely without submitting credentials through another network.
Validation
uv sync --group dev(no parent-workspace warning)uvx ruff format --check workbench/network/campus-netuvx ruff check workbench/network/campus-netuv run python -m unittest discover -s tests -p "test_*.py": 152 tests passed--helpand bound-interface--probe-only: exit code 0