Repository navigation
Stay signed in: sliding sessions, retry instead of logout, Touch ID lock - #3
Merged
Merged
Conversation
…Touch ID lock
Users were being signed out at random: restoring the session wiped the
token on any error from /auth/me, including a server that was still
starting or restarting, and tokens hard-expired after 30 days.
- Restoring the session signs out only when the server rejects it
(401/403/404); network errors and 5xx keep the token and retry with
backoff ("מתחבר לשרת…")
- Session tokens last a year and slide: /auth/me swaps day-old tokens for
fresh ones; revocation (password change, forced reset) still applies
- Email matching is case-insensitive for login and duplicate checks
- Desktop app: optional Touch ID prompt when the app starts (on by
default, toggle in the Clockwize menu), skipped in automated tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iCloud Drive created identical "file 2.js" copies of new files, which got committed. They are byte-for-byte duplicates; .gitignore now skips them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a macOS CI runner the popover test stalled and the app's quit then exceeded the worker teardown timeout. Show the popover without activation, bound that step, and kill the app if quitting hangs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Users were signed out at random: restoring the session wiped the token on any error from
/auth/me(e.g. the server still starting), and tokens hard-expired after 30 days./auth/mereturns a fresh token once a day; revocation (password change, forced reset) still applies.Tests: 446 server · 380 client · 31 e2e · 5 desktop.
🤖 Generated with Claude Code