Commit graph

256 commits

Author SHA1 Message Date
8c48dbb4b6 feat: integrate Typst for PDF generation and add new fonts
- Added Typst templates for receipts and announcements.
- Implemented TypstRunner and TypstRunner2 services for PDF generation.
- Included necessary fonts for Typst rendering.
- Updated Dockerfile to install Typst and Pandoc.
- Enhanced API with new endpoints for Typst functionality.
- Added temporary directory handling for generated files.
- Updated .gitignore and .dockerignore to exclude temporary files.
2026-04-01 10:44:46 +02:00
aec6860cbd feat: add isAdmin parameter to interruzioneServizio and update related components 2026-03-31 09:24:22 +02:00
a11fc1241c feat: add comms_enabled flag to users and update email notification logic 2026-03-30 18:44:51 +02:00
04f0c5e790 feat: add Interruzione email template and integrate into mailer service 2026-03-30 16:37:08 +02:00
bb8c796fa8 feat: enhance RichiesteTable with context menu for user actions and improve status resolution logic 2026-03-30 16:26:03 +02:00
18ff13a64d feat: implement saldo preview functionality in payment process and update receipt generation 2026-03-27 20:23:21 +01:00
4eabd56a83 feat: update Invito email template to include invite URL and remove sensitive user information 2026-03-27 19:18:54 +01:00
67958105a1 feat: document login flow and update flow generation for login process 2026-03-27 18:49:13 +01:00
f3425c0cd5 feat: update Invito email template to include user credentials and remove invite URL 2026-03-27 18:18:58 +01:00
9452535a9f feat: implement NotePopover component for managing user notes and integrate it into UsersTable and RichiesteTable 2026-03-27 18:10:17 +01:00
ccc27ddcb5 feat: add pdf-lib dependency and implement PDF generation for receipt 2026-03-26 17:12:33 +01:00
ef31656639 feat: add userEmailQueue procedure to retrieve queued emails for a user 2026-03-25 17:30:45 +01:00
7adb33f485 feat: enhance RichiesteTable with improved status and decorrenza handling
- Updated RichiesteTable to display decorrenza with tooltip based on status.
- Enhanced status display with badges indicating various states (e.g., Attesa attivazione, Interrotto).
- Added Popover for displaying Annunci details in RichiesteTable.
- Refactored API to fetch user interests and related announcements.
- Introduced Queue component to display email events for users.
- Updated translations to include new "Requests" section in admin navigation.
- Improved database queries for fetching user interests and announcements.
2026-03-25 17:30:33 +01:00
2f9a0762ad feat: update database schema and add export functionality for users to Fatture In Cloud 2026-03-25 11:28:44 +01:00
5bff7219e8 refactor: remove ServiziHeader component and integrate its functionality directly into RicercaUser page
feat: update Servizio component to handle interruzioneDays and acceptedInterr logic

refactor: simplify servizio_actions by removing unused InterruzioneServizio and EditParametri components

feat: enhance FormEditServizioAdmin to include interruzioneDays and acceptedInterr fields

fix: adjust email service to delete obsolete emails and handle invalid email types gracefully

chore: update stripe controller to utilize interruzioneDays for lock expiration logic

fix: ensure correct handling of servizio expiration and interruzione logic in service controller
2026-03-24 17:01:40 +01:00
1d1051f25a feat: implement AvvisoInterruzione email template and integrate into mailer service 2026-03-23 12:01:29 +01:00
70cc0e4536 feat: add error handling for database connection pool to manage admin shutdown during backup windows 2026-03-23 12:01:18 +01:00
ed93eb12a1 feat: update Counter component to conditionally apply disabled styles and enhance FormServizio with improved disabled state handling 2026-03-20 17:03:35 +01:00
cc06738db4 feat: remove unused EmailContattiConScheda component and related email functionality 2026-03-20 16:02:13 +01:00
d4ec0919c3 feat: update userSendConfermaIntent to reflect interest notification for property 2026-03-20 15:54:54 +01:00
6a20a7fb36 feat: enhance getCompatibileAnnunci query to include additional delivery month conditions 2026-03-20 14:16:03 +01:00
8c7f0cd9b3 feat: update service queries to use getAllServiziData for improved data handling 2026-03-20 13:53:56 +01:00
b274a729ee feat: refactor DataTableProps type declaration and remove unused Facehash component files 2026-03-19 10:23:07 +01:00
a87b9f57a7 feat: implement Result type for handling success and error states in API responses
feat: create AnnuncioNotFound page to handle missing announcements gracefully
feat: refactor Annuncio component to use structured AnnuncioData and improve SEO metadata handling
refactor: remove unused getAnnuncioMetaByCod function and streamline getAnnuncioData logic
2026-03-19 10:20:41 +01:00
1c2202f604 feat: enhance error messages in middleware to include request URL for better debugging 2026-03-18 17:39:12 +01:00
083a97e74f feat: add tipo_locatore to PostUnlock display and getProprietarioDataHandler for enhanced locatore information 2026-03-17 19:10:04 +01:00
57cd55d2d8 feat: add tipo_locatore field to various components and update related logic for improved locatore display 2026-03-17 19:08:14 +01:00
5327cc86c6 feat: add note field to Users schema and implement NoteUtenteDialog for user notes management 2026-03-17 18:47:35 +01:00
58ea254180 feat: refactor Annuncio context and related data fetching for improved structure and clarity 2026-03-17 18:47:30 +01:00
1307f352a4 feat: enhance payment preparation logic and add rinnovo handling
- Refactor `preparePayment` function to handle multiple order types including Rinnovo.
- Introduce new `RinnovoSolver` function to calculate renewal packs based on duration.
- Add `createRinnovo` service to manage the creation of renewal orders.
- Update `whIntentSucceededHandler` to handle payment confirmations for Rinnovo and other order types.
- Introduce default conditions for packs in `prezziario.service.ts`.
- Add new utility functions for managing renewal durations and permanenza.
- Update database interactions to ensure proper handling of orders and renewals.
- Enhance error handling and logging throughout the payment and renewal processes.
2026-03-17 18:46:43 +01:00
162c456834 refactor: remove ShareAnnunci email component and its related type from mailer 2026-03-17 18:42:25 +01:00
300c9edfc4 feat: add admin contact details dialog and streamline cache invalidation in AnnuncioEditForm 2026-03-12 16:55:06 +01:00
41d743c97f refactor: update TypeScript SDK path and improve error handling in servizio service 2026-03-12 16:27:24 +01:00
6c53ef130c feat: add dotenv package for environment variable management and update payment logic to use new database queries 2026-03-12 16:24:16 +01:00
400dc037fe feat: add Richieste management page and table for admin 2026-03-11 12:07:19 +01:00
a04e3c2fd3 feat: implement user labels management with CRUD operations and UI integration 2026-03-10 16:56:26 +01:00
eedaab6e9b fix: correct receipt note wording and enhance address parsing in servizio controller 2026-03-10 15:17:25 +01:00
0759f4216f feat: add telefono field to UsersTable and user controller for enhanced user information 2026-03-10 13:57:29 +01:00
0619ca0c34 feat: add email sending functionality for receipt and conditions in AdminOrdiniModal 2026-03-10 13:16:32 +01:00
a09fa0597d fix: update PDF filename format to replace spaces with dashes and enhance Puppeteer service configuration 2026-03-10 12:36:11 +01:00
70c1902a36 fix: swap order of nome and cognome in username generation across forms and auth controller 2026-03-10 12:27:51 +01:00
09479eb9f2 fix: update PDF filename format in ReceiptGenerator and whIntentSucceededHandler to include customer name and date 2026-03-10 11:28:52 +01:00
464e5285a1 fix: enhance PDF generation error handling and timeout settings in puppeteer service 2026-03-10 09:56:33 +01:00
f364e79aaf feat: add codiceFiscale to PurchaseData and update Receipt component to display it 2026-03-09 19:14:05 +01:00
237ecec27e feat: add email notification for new payment received with PDF receipt attachment 2026-03-09 18:30:54 +01:00
a9a9104711 fix: update payment method type in PurchaseData and related components 2026-03-09 18:14:22 +01:00
0904bba970 feat: enhance AddAnnuncio options to include title in label and update query to select title in getAnnunciAvailableToAdd 2026-03-09 10:41:34 +01:00
b861d43520 feat: refactor output structure in preparePayment procedure for consistency 2026-03-09 10:15:59 +01:00
73245f3564 feat: update payment preparation logic to include 'Rinnovo' type and handle errors gracefully 2026-03-08 15:33:50 +01:00
a8d29c6840 feat: refactor ordini and servizio controllers to use services, remove old controller files 2026-03-08 14:34:21 +01:00