This repository was archived by the owner on May 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
feat(auth): implement user registration with session creation, Redis caching, and refresh token #11
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
40bbe58
feat(auth): add terms acceptance validation and locked account check …
nsien-prestige 81ec421
feat(auth): inject UserSession repository into auth service
nsien-prestige d2e31f4
chore(db): add terms_accepted column migration and fix migrations path
nsien-prestige 6ed6ce8
feat(auth): implement registration with session, redis, refresh token…
nsien-prestige 32e0e9f
fix: apply CodeRabbit auto-fixes
coderabbitai[bot] 7904d36
refactor(email): relocate MailerModule from AppModule and add Resend …
sage-ali 6cf558f
fix(email): add missing @Injectable decorator and retry config to Que…
sage-ali d450de3
refactor(email): centralise error handling in EmailQueueConsumer
sage-ali 6de352d
feat(config): add mailerConfig and register in AppModule
sage-ali a4c7aa5
refactor(email): move MailerModule into EmailModule using mailerConfi…
sage-ali 898b278
feat(mail): add script to test resend
sage-ali 92f5228
fix: failing test by adding required parameters
sage-ali e57457f
fix(config): validate required SMTP vars and guard from address in ma…
sage-ali 0ee4431
fix(email): mask recipient email in all EmailQueueConsumer log calls
sage-ali be380bc
ci: restructure workflows into reusable pipeline with security gates
B-Nockk 497719f
feat: add manaual workflow triggers
B-Nockk 97db70d
add branch based triggers
B-Nockk 7ca2c93
fix: remote location folder
B-Nockk c780d07
feat: make dir in server
B-Nockk 1da812a
feat: fix auth retries errors
B-Nockk 81ff2fd
fix(auth): address PR review comments - semicolons, cookie assertion,…
nsien-prestige 16ae8e0
Merge branch 'dev' into feat/auth-register
nsien-prestige c7ee3de
Merge branch 'dev' into feat/auth-register
nsien-prestige 31dc445
fix(auth): resolve PR comments
nsien-prestige 7bb526b
docs(auth): remove swagger from authController and add register swagg…
nsien-prestige File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -430,6 +430,3 @@ package-lock.json | |
| docker-compose.yml | ||
| data/ | ||
| .dev.env | ||
|
|
||
| temp_auto_push.bat | ||
| temp_interactive_push.bat | ||
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import { MigrationInterface, QueryRunner } from 'typeorm'; | ||
|
|
||
| export class Migration1778335054510 implements MigrationInterface { | ||
| name = 'Migration1778335054510'; | ||
|
|
||
| public async up(queryRunner: QueryRunner): Promise<void> { | ||
| await queryRunner.query( | ||
| `ALTER TABLE "users" ADD COLUMN IF NOT EXISTS "terms_accepted" boolean NOT NULL DEFAULT false` | ||
| ); | ||
| } | ||
|
|
||
| public async down(queryRunner: QueryRunner): Promise<void> { | ||
| await queryRunner.query(`ALTER TABLE "users" DROP COLUMN "terms_accepted"`); | ||
| } | ||
| } |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.