store sessions #5

Merged
7r1n1t3 merged 11 commits from identity into main 2026-06-06 16:15:39 +00:00
Owner
  • syntax(db): revert to PRIMARY KEY GENERATED AS ALWAYS for SQL conformity
  • fix(db): user_id of many tables is set to NULL on delete of the user
    to preserve logs for future audits
  • fix(db): Contraint totp_id_required_iff_recovery_code_id_not_provided had the name of their variables false
  • fix(db): timestampz -> timestamptz
  • fix(db): set session_hash to bytea
  • feat(actix): add Session and LoginAttempt structs
  • fix(actix): rename AppState.pool -> AppState.pgpool for better clarity
  • feat(docker,actix): add redis for cache and session management
  • feat(actix): store LoginAttempt to storage and Sessions to both
    storage and cache
- syntax(db): revert to PRIMARY KEY GENERATED AS ALWAYS for SQL conformity - fix(db): user_id of many tables is set to NULL on delete of the user to preserve logs for future audits - fix(db): Contraint totp_id_required_iff_recovery_code_id_not_provided had the name of their variables false - fix(db): timestampz -> timestamptz - fix(db): set session_hash to bytea - feat(actix): add Session and LoginAttempt structs - fix(actix): rename AppState.pool -> AppState.pgpool for better clarity - feat(docker,actix): add redis for cache and session management - feat(actix): store LoginAttempt to storage and Sessions to both storage and cache
7r1n1t3 added this to the 0.1.0 milestone 2026-06-04 13:50:14 +00:00
7r1n1t3 self-assigned this 2026-06-04 13:50:14 +00:00
- syntax(db): revert to PRIMARY KEY GENERATED AS ALWAYS for SQL conformity
- fix(db): user_id of many tables is set to NULL on delete of the user
  to preserve logs for future audits
- fix(db): Contraint totp_id_required_iff_recovery_code_id_not_provided had the name of their variables false
- fix(db): timestampz -> timestamptz
- fix(db): set session_hash to bytea
- feat(actix): add Session and LoginAttempt structs
- fix(actix): rename AppState.pool -> AppState.pgpool for better clarity
- feat(docker,actix): add redis for cache and session management
- feat(actix): store LoginAttempt to storage and Sessions to both
  storage and cache
7r1n1t3 added this to the MVP project 2026-06-04 19:49:55 +00:00
7r1n1t3 changed title from WIP: feat!: see desc. to WIP: Identity + Logging 2026-06-04 21:06:19 +00:00
7r1n1t3 changed title from WIP: Identity + Logging to WIP: store sessions 2026-06-04 21:06:38 +00:00
Author
Owner

force-push just renamed the last commit to feat(actix)

force-push just renamed the last commit to feat(actix)
fix: move all structs from backend/src/dto to backend/src/structs
feat: move auth specific functions to backend/src/services/auth.rs
feat: add Database errors
feat: add User struct
7r1n1t3 changed title from WIP: store sessions to store sessions 2026-06-06 15:46:11 +00:00
7r1n1t3 deleted branch identity 2026-06-06 16:18:14 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
7r1n1t3/mithra!5
No description provided.