Commit graph

20 commits

Author SHA1 Message Date
ed24cfc034 fix: update email script to skip env validation and improve logo alt text in email template 2026-01-26 09:55:28 +01:00
edaee780d6 refactor: remove unused annunci data fetching and components; update ricerca logic
- Deleted the `annunci.ts` file which contained the database fetching logic.
- Removed the `TestAppPage` component that relied on the deleted data fetching.
- Eliminated the `AnnunciList` component that was dependent on the removed data.
- Updated `annunci_map.tsx` to handle optional `selectComune` parameter.
- Refactored `annunci_tutorial.tsx` to use `buildRicercaUrl` for navigation.
- Adjusted `annuncio_card.tsx` for consistent styling and layout changes.
- Modified `codiceRicerca.tsx` to fix z-index issue.
- Enhanced `failed-loading.tsx` and `500Auth.tsx` for responsive design.
- Updated `annunci.tsx` to include loading state for map and annunci list.
- Refined filter handling in `Filters` component to use a single `setAllParams` method.
- Introduced `FrequentSearches` component for better user navigation.
- Updated `RicercaProvider` to streamline state management and URL building.
- Adjusted server-side logic in `annunci.controller.ts` to ensure valid data.
2026-01-20 18:38:17 +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
830b89d4b1 refactor: implement getStorageUrl utility for consistent storage URL generation 2025-11-28 15:11:14 +01:00
5d3b0c1c14 fix: update contact phone number in email templates 2025-11-27 14:06:41 +01:00
3ea9354abb feat: implement email sending for contact details with PDF attachment 2025-11-20 11:59:24 +01:00
f85ea22215 chore: update biome schema and dependencies, refactor key usage in components
- Updated biome schema version from 2.2.2 to 2.3.1 in biome.json.
- Removed experimentalScannerIgnores from files section and replaced with ignore patterns.
- Added CSS parser configuration for Tailwind directives.
- Updated linter rules for better code quality.
- Refactored key usage in various components to use unique identifiers instead of array indices.
- Updated package-lock.json and package.json to reflect new biome version.
- General code cleanup and improvements across multiple components for better maintainability.
2025-10-28 11:55:01 +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
b84c98c334 refactor: replace baseUrl prop with env.BASE_URL in email components 2025-10-20 17:27:32 +02:00
f2ee374e32 fix cid 2025-10-20 17:08:13 +02:00
07767dd51b fix: update environment variable handling and add baseUrl prop to email components for improved functionality 2025-10-20 12:33:49 +02:00
357f21cb39 fix: update contact information in email footer 2025-10-20 11:40:56 +02:00
a87a35ffbe sort classes rule and fix 2025-10-10 16:18:43 +02:00
ada7f0b7e0 feat: update Docker configuration and add nginx setup for reverse proxy 2025-10-10 15:11:09 +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
7207e9ffd0 Refactor email Base component: update container styles and clean up commented code 2025-08-19 15:53:43 +02:00
df9313b3b4 Add logo attachment to email and update image source in Base component 2025-08-19 15:37:21 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00