Commit graph

25 commits

Author SHA1 Message Date
339a1e94dc feat: add TestRedirectMiddleware for handling test route access 2026-01-07 16:58:54 +01:00
e8957e6f3b feat: add updater middleware for managing app version cookies 2026-01-07 09:54:02 +01:00
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
cfbeadb93b refactor: remove ImageWithFallback component and replace with Next.js Image in various components 2025-12-05 16:36:17 +01:00
830b89d4b1 refactor: implement getStorageUrl utility for consistent storage URL generation 2025-11-28 15:11:14 +01:00
e518b94a7a refactor: enhance logging in apisMiddleware to include request URL for better debugging 2025-11-24 16:44:38 +01:00
807111d6bc refactor: enhance logging in apisMiddleware to include referrer information for better debugging 2025-11-24 16:42:30 +01:00
29c8453bad refactor: improve login error handling and user feedback in FormLogin and auth.controller 2025-11-24 10:51:51 +01:00
05cc912335 refactor: update UploadComponent max file size and supported media types, enhance apiMiddleware for video streaming 2025-11-18 11:50:29 +01:00
b643a9778b feat: update environment variables in Dockerfile and env.ts; modify logging in api_middleware and settings router 2025-11-12 17:28:59 +01:00
208deeac28 Refactor image handling in announcement components
- Updated CardAnnuncio and related components to use a new images structure instead of url_immagini.
- Removed references to url_immagini and replaced them with images array containing img and thumb properties.
- Adjusted API responses to include images in the new format.
- Modified middleware and storage service to accommodate new image handling.
- Cleaned up unused code and schemas related to old image references.
- Updated Docker configuration for storage service.
2025-10-27 17:58:42 +01:00
7f93bdeb98 refactor: update storage-related API and components for improved functionality 2025-10-24 18:05:51 +02:00
5ea42bb24b upd 2025-10-23 15:16:42 +02: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
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
1aca72ac69 fix: update access token expiration to 1 minute and comment out secure flag 2025-09-04 11:55:46 +02:00
26e0754b1c d 2025-09-04 11:32:17 +02:00
1426f0efef refactor: streamline conditional logic and improve readability across multiple components 2025-09-01 16:48:03 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
39f6cdfdbd fix: change SameSite cookie attribute from 'strict' to 'lax' for better compatibility 2025-08-25 12:33:29 +02:00
e20731e027 Enhance API error handling: add errorLink to handle UNAUTHORIZED errors and reload the page 2025-08-19 19:14:30 +02:00
0be8a9d4d2 Increase refetchInterval in SessionProvider for improved data consistency 2025-08-08 19:58:03 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00