Repository navigation
refactor(ids): Replace CpDaily campus authentication with local IDS Passkeys - #189
Merged
Merged
Conversation
Use the shared secure field for grouped password inputs. Keep every typed character obscured, preserve paste, and let Flutter handle focus traversal once.
Release the native tab bar first-frame hold after the current frame. Remove the bottom navigation spacer while the keyboard is visible.
Register, sign and revoke software Passkeys directly with ShanghaiTech IDS. Store them as third-party IDS accounts and sync long-term credentials through Cloud Sync v4 while keeping session cookies local. Keep saved legacy credentials only for confirmed migration. Remove CpDaily runtime renewal and backend cookie exchange, and obtain campus and OA sessions locally, including gym and contact requests. Add the migration UI, stable identity display and the required protocol and race regressions.
Connect local authentication sessions to the shared DebugLogger. Record request paths, status, timing and numeric business codes without query strings, authentication payloads, cookies or raw transport errors.
Keep eGate support in the roadmap alongside local IDS Passkey authentication.
Preserve cloud-only accounts and deletion records when backing up from a stale device. Give manual restore its own result and apply cloud bindings without uploading during restore. Serialize account commits and release the eCard binding lock before sync callbacks, so renewal responses cannot overwrite restored accounts or deadlock sync. Validation: flutter analyze; flutter test (737 passed, 1 skipped).
This reverts commit be9e995. The repaired sync behavior predates the IDS Passkey migration. Restore the previous tree at the user request and retain the existing Passkey changes.
Merge HeZeBang/TechPie-flutter at 6916953, including deadline widgets, privacy consent, and timetable/deadline presentation fixes. Keep local IDS software Passkey authentication. Map campus deadline identity changes to IDS so unbinding clears old Blackboard and exam data while retaining other cached sources. Validation: 758 Flutter tests passed (1 skipped), 11 Swift tests passed, flutter analyze, and unsigned iOS/macOS Profile builds. Signed iOS packaging still requires the widget App Group provisioning update.
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.
主要变更
兼容性
ids,本地使用third_party_ids。Cloud Sync schema 升至 v4,继续使用accounts/tombstones,软件凭据存入raw.credential并通过现有端到端加密机制同步。新 Passkey 会话的 Cookie 仅保存在本机。