Commit graph

231 commits

Author SHA1 Message Date
67958105a1 feat: document login flow and update flow generation for login process 2026-03-27 18:49:13 +01:00
b0c00e2d0f feat: replace custom Textarea component with UI library version across multiple files 2026-03-27 18:10:05 +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
b4bfccd4c7 feat: add padding to PopoverContent in ComunicazioniUser component 2026-03-24 16:38:57 +01:00
c2e8d68b47 feat: add AnniversaryBanner component with visibility animation and update Home page layout 2026-03-24 12:03:31 +01:00
9e120379ed feat: refactor Pricing component to utilize PricingData type and streamline pricing logic 2026-03-20 14:32:46 +01:00
8c7f0cd9b3 feat: update service queries to use getAllServiziData for improved data handling 2026-03-20 13:53:56 +01:00
9187e8964f feat: add PhoneInput component and update form imports across multiple files 2026-03-19 12:14:06 +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
56402a374d feat: refactor button imports and usage across forms and pages for consistency 2026-03-18 18:01:02 +01:00
089640c4e1 feat: refactor input imports to use centralized Input component from ui directory 2026-03-18 17:44:42 +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
7e57f128f4 feat: implement redirectTo500 utility for consistent error handling across pages 2026-03-17 18:44:53 +01:00
eb36e07076 feat: refactor Pricing component to use context for pricing data and simplify props 2026-03-16 17:56:22 +01:00
985a302a05 Refactor Prezziario schema and related components
- Updated the Prezziario schema to replace boolean flags (isAcconto, isSaldo, isConsulenza, isStabile, isTransitorio) with new fields (order_type, service_type, service_variant) to better represent service attributes.
- Modified NewPrezzoModal to align with the updated schema.
- Renamed FormNewServizioAcquisto to FormServizioAcquisto in user onboarding pages for consistency.
- Adjusted imports and component usage in the user view and service onboarding pages to reflect the new form name.
2026-03-12 16:26:01 +01:00
400dc037fe feat: add Richieste management page and table for admin 2026-03-11 12:07:19 +01:00
50ba1d4c5d Add documentation comments for admin and user-facing pages
- Added descriptive comments for various admin management pages including announcements, banners, blacklist, chats, and more.
- Documented user-facing pages such as chat, communications, dashboard, and profile.
- Included comments for authentication-related pages like password reset and invite acceptance.
- Enhanced clarity on the purpose and routing of each page in the application.
2026-03-09 17:33:02 +01:00
91eeace646 feat: add Umami event tracking to various buttons across components 2026-03-09 16:00:54 +01:00
d5921996e5 feat: add analytics script to the document body 2026-03-09 15:26:29 +01:00
0192f710e2 refactor: remove NEXT_PUBLIC_UMAMI_ID from environment variables and related configurations 2026-03-09 14:19:43 +01:00
e563aa43fd feat: update environment variable for Umami ID and adjust related configurations 2026-03-09 14:09:32 +01:00
f20e5e8192 fix: remove duplicate data-website-id attribute in analytics script 2026-03-09 13:32:04 +01:00
88bdd96e2b feat: add UMAMI_ID environment variable and integrate Umami analytics script 2026-03-09 12:52:11 +01:00
366e17185c feat: enhance AnnunciRichiesti component to support adding announcements to services and update dialog styling 2026-03-09 11:07:35 +01:00
43d67dceb8 feat: update AnnuncioFooter to conditionally hide video label when no videos are present 2026-03-09 10:18:58 +01:00
73245f3564 feat: update payment preparation logic to include 'Rinnovo' type and handle errors gracefully 2026-03-08 15:33:50 +01:00
6c36bb9b74 feat: add order editing form and payment processing pages
- Implemented FormEditOrder component for editing orders with validation and submission handling.
- Created SchedaAnnuncioPage for displaying printable announcement details.
- Added BonificoManualePage for manual bank transfer payment instructions.
- Developed PagamentoPage for Stripe payment processing with PaymentIntent creation.
- Introduced PreviewPurchasePage for preparing payment with service details.
- Added pagamenti.controller for handling payment preparation and retrieval of payment data.
2026-03-08 01:02:57 +01:00
6211be289c feat: update layout and styling in UserDashboard and ServizioPage components 2026-03-06 18:54:48 +01:00
b32ebf9fde refactor: remove redundant getServizio invalidations across components 2026-03-06 18:23:35 +01:00
ee670581e7 fix: update routing in user swap mutation to redirect to load-page 2026-03-06 14:10:36 +01:00
572a5420c1 feat: enhance ComuniTable by adding nullable cap field 2026-03-06 13:25:14 +01:00
ba4debdd1d Refactor: Remove unused procedures and clean up router files
- Deleted contact router and its associated mail functionality.
- Removed addEvent mutation from event_queue router.
- Cleaned up fatture router by removing createClient and getListClienti procedures.
- Commented out deletePrezziario mutation in prezziario router.
- Removed unused procedures in servizio router, including getServizioOrdini and getPreOnboardData.
- Cleaned up stats router by removing commented-out code.
- Updated stripe router to restrict health check to admin users and changed several public procedures to protected.
- Commented out sync router procedures and related types.
- Removed unused client-related functions in fic controller.
- Cleaned up servizio controller by removing getServizioOrdini and commented-out code.
- Refactored auth service to inline pwResetTokenFromMailHandler logic.
- Commented out deletePrezziario function in prezziario service.
- Cleaned up zod types by commenting out unused types.
- Commented out getMessagesArray function in kysely helper.
2026-03-05 12:32:03 +01:00
b27c06a18b feat: add API authentication context to TRPC and refactor Stripe webhook handler 2026-03-05 11:54:04 +01:00
81337c852f feat: add incroci page and API integration for managing incroci data 2026-03-04 19:56:09 +01:00
280e0ab5c2 feat: update payment recap links and add new receipt page
- Changed payment recap link in OrdiniModal to point to the new receipt page.
- Added new PaymentRecapPage for displaying receipt details.
- Updated PaymentsTable to set paid_at date based on payment status.
- Introduced manual payment type in PaymentType and updated related strings.
- Refactored getOrdineRicevutaData to use overridableProcedure for access control.
- Enhanced mail sending functionality to include PDF attachments for receipts and conditions.
- Updated PDF generation service to handle new receipt PDF generation.
- Cleaned up context checking utilities by removing unnecessary session checks.
2026-03-04 19:12:01 +01:00
6c9524e54b feat: add Redis cache invalidation and stats retrieval functionality 2026-03-04 17:34:15 +01:00
a36fd52af2 feat: implement email functionality for contact details with attached PDF scheda 2026-03-04 16:39:27 +01:00
f1bd40afce feat: enhance update feedback with loading and success messages in forms and video processing 2026-03-02 16:33:54 +01:00
c31a68ef6d feat: implement image and video reconciliation, update pricing options, and enhance media removal functionality 2026-03-02 15:35:23 +01:00
320a5f19af feat: implement UserDashboardFaq component and add translation for "Dashboard" 2026-02-25 15:50:53 +01:00
ac1859e88f feat: add service management features and update Italian translations
- Introduced new service status translations in Italian.
- Added service detail and management components for user and admin views.
- Implemented API endpoints for fetching service data and announcements.
- Enhanced service data handling with improved date parsing and formatting.
- Created new pages for service details accessible by both users and admins.
- Updated database queries to support new service functionalities.
2026-02-25 15:30:53 +01:00
5f5aa18b87 refactor: remove unused pm_id parameter from whIntentCreatedHandler and related functions 2026-02-24 14:43:28 +01:00
baf92787a7 fix: log event data for payment_intent.created in stripe webhook handler 2026-02-24 14:06:47 +01:00
5094255b65 refactor: enhance styling and layout for various components, including Accordion and Pricing sections 2026-02-24 11:36:26 +01:00
055fcc230e feat: add Moon2 icon component and update theme toggle with dropdown menu
refactor: adjust styling for navbar components and remove settings modal
i18n: add theme translations for light, dark, and system modes
2026-02-24 11:07:39 +01:00
fd7da28535 feat: implement manual order creation dialog and associated form components 2026-02-24 10:40:32 +01:00
b5dcb5e8e1 refactor: update styling and layout for Input, Textarea, ChiSiamo, and Contatto components 2026-02-24 10:39:07 +01:00