Commit graph

215 commits

Author SHA1 Message Date
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
4ec060c14d save payment method on intent creation wh received 2026-02-20 11:52:14 +01:00
89248e3787 refactor: clean up unused console logs and streamline Stripe integration 2026-02-20 11:42:46 +01:00
52801bebd1 feat: refactor payment processing and checkout flow with Stripe integration
- Removed AcquistoProcessing component and replaced it with a new CheckoutForm component for better separation of concerns.
- Added new payment checkout page to handle payment intents and display payment status.
- Updated server-side logic to create payment intents and retrieve payment data for checkout.
- Enhanced error handling and user feedback during payment processing.
- Introduced new utility functions for fetching payment data and managing Stripe integration.
2026-02-20 11:36:47 +01:00
f20408ebd9 fix: update redirect path after successful account creation in AcceptInvitePage 2026-02-19 10:52:05 +01:00
8f3802ede3 fix: change default theme to light in ThemeProvider 2026-02-19 09:59:07 +01:00
8c6f01a8b1 feat: update meta title handling in AnnuncioDettaglio for missing meta case 2026-02-17 12:36:44 +01:00
9f02c49193 feat: refactor Slider component and update budget filters for improved functionality and responsiveness 2026-02-03 12:54:41 +01:00
42c15dfe96 feat: integrate PDF generation using Puppeteer
- Removed dependencies on html2canvas-pro and jsPDF.
- Added puppeteer-core for PDF generation.
- Created a new API endpoint for generating PDFs.
- Updated SchedaAnnuncioStampabile component to use the new PDF generation API.
- Enhanced error handling and user feedback during PDF generation.
- Added browserless service to docker-compose for Puppeteer.
- Updated environment variables to include BROWSER_WS_URL.
- Refactored code to improve readability and maintainability.
2026-02-03 11:20:26 +01:00
a40e32978a feat: add Facehash component for deterministic avatar generation and update UserAvatar to use it 2026-01-30 15:24:09 +01:00
efb28a96e7 fix: remove unused button and improve layout in ShareAnnunci email template
fix: clear selected listings and email state on successful email send
fix: add logging for annunci data in comunicazioni router
2026-01-27 16:47:02 +01:00
95315e6605 feat: implement email sharing functionality for selected listings 2026-01-27 16:30:19 +01:00
07132e8cd6 fix: update date formatting to Italian locale in email and user views 2026-01-26 17:45:52 +01:00
ab3b109652 fix: escape URLs in sitemap generation to ensure valid XML output 2026-01-23 13:55:44 +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
cb97919157 feat: enhance contact modal and guide components with translation support; update pricing display and improve accessibility 2026-01-20 15:30:25 +01:00
a4f822d462 feat: update page titles and descriptions for improved SEO and user experience
- Updated Italian translations for "Area Riservata" description in it.ts
- Added <Head> components with appropriate titles for the following pages:
  - Admin Annunci
  - Admin Banners
  - Admin Blacklist
  - Admin Chats
  - Admin Etichette
  - Admin Flags
  - Admin Impostazioni
  - Admin Ordini
  - Admin Potenziali
  - Admin Prezziario
  - Admin Storage
  - Admin Testi Stringhe
  - Admin Utenti
  - Allegati
  - User Chat
  - Comunicazioni
  - Ordini
  - Profilo
- Removed unused translation hooks from several components
2026-01-19 10:23:16 +01:00