Skip to content

Fix stale sessions and standardize the application in English - #4

Merged
AmirTahan80 merged 2 commits into
mainfrom
fix/category-user-session
Jul 23, 2026
Merged

AmirTahan80 merged 2 commits into
mainfrom
fix/category-user-session

Conversation

@AmirTahan80

@AmirTahan80 AmirTahan80 commented Jul 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • fixes the stale-token login loop that occurred after an API 401 response
  • validates that the authenticated user still exists before creating a category
  • clears malformed or expired JWTs and redirects unauthorized users to sign in
  • translates all user-facing Angular and ASP.NET Core text to English
  • removes RTL layout rules, the Persian font setup, and the fa-IR date format
  • updates the README and HTTP request examples in English

Privacy and behavior

Public profiles still expose only the username. Email addresses and other private profile details remain hidden, and notes remain isolated per user.

Validation

  • dotnet build NoteBookKeeper.sln -c Release
  • npm run build
  • npm test -- --browsers=ChromeHeadless
  • ./scripts/e2e.ps1
  • full Unicode scan across the frontend, backend, README, and scripts returned no Persian characters

The end-to-end test covers registration, login, category creation, attachments, ownership isolation, public-profile privacy, and stale-session handling.

@AmirTahan80 AmirTahan80 changed the title fix: recover from stale user sessions Fix stale sessions and standardize the application in English Jul 23, 2026
@AmirTahan80
AmirTahan80 merged commit 3b981cb into main Jul 23, 2026
1 check passed
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