Commit graph

7 commits

Author SHA1 Message Date
4d7802ccc6 feat: implement user invitation system with email invites and password setup
- Added user_invites table to manage invitation tokens.
- Created invite router with procedures for sending, verifying, and accepting invites.
- Implemented email sending functionality for invites.
- Updated user controller to handle password setting during invite acceptance.
- Introduced mustChangePassword flag in user schema and related logic.
- Added middleware to enforce password change requirement.
- Created forms for accepting invites and changing passwords.
- Updated database migrations to reflect new user invite structure and fields.
2025-12-14 18:57:56 +01:00
699579b432 feat: update environment variable handling and dependencies
- Added @t3-oss/env-nextjs for improved environment variable management.
- Updated zod to version 4.1.12 for enhanced validation capabilities.
- Upgraded jiti to version 2.6.1 for better module loading.
- Refactored environment variable imports from env.mjs to env.ts.
- Removed deprecated env.mjs file and replaced it with a new env.ts file using @t3-oss/env-nextjs.
- Adjusted various components and API routes to utilize the new environment variable structure.
- Updated next.config.js to support the new environment variable management.
- Modified Docker configuration to align with new BASE_URL handling.
2025-10-20 16:22:20 +02:00
917d6e2a84 fix: change expiresIn parameter to string type in signToken function 2025-09-04 12:40:24 +02:00
128088abfd fix: update token expiration handling to use correct time units for cookies 2025-09-04 12:38:49 +02:00
d5894f6ec4 refactor: centralize token configuration and update cookie handling in auth middleware and controllers 2025-09-04 12:35:44 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00