Commit graph

254 commits

Author SHA1 Message Date
1971251490 feat(chat): implement chat bubble, list, sidebar, topbar, and loading components
- Added ChatBubble component for displaying individual chat messages with read status and timestamps.
- Introduced ChatList component to manage and display a list of messages, including editing and deleting functionalities.
- Created ChatSidebar for navigating between active chats and managing user interactions.
- Developed ChatTopbar for displaying chat information and admin actions.
- Implemented loading animation for messages with MessageLoading component.
- Enhanced user experience with context menus for chat options and dialogs for editing and deleting messages.
2026-04-22 19:17:54 +02:00
b256293b77 feat: update PostgreSQL image to version 18-bookworm and adjust volume paths; add chat_sse2 router and related schemas; implement AdminChat and GuestChat components 2026-04-22 12:20:32 +02:00
2676dc61ed feat: refactor error handling and response structure in authentication and payment processes 2026-04-17 17:15:13 +02:00
eef0030676 feat: add IncrociDialog component and integrate into admin and user interactions 2026-04-16 16:31:25 +02:00
c7dc508821 feat: update export mutation to invalidate additional cache for Fatture In Cloud 2026-04-16 13:37:39 +02:00
7fa36c4b72 feat: enhance invite token verification and processing with email handling 2026-04-14 17:23:13 +02:00
71036954c9 refactor: unify password hook usage across forms and update related imports 2026-04-14 16:36:10 +02:00
d9fdfabf00 refactor: replace strong password hook with mild password implementation and update related components 2026-04-14 15:43:57 +02:00
51ebe0be1f feat: add new invite request functionality and update invite page with new dialog 2026-04-13 18:47:38 +02:00
c8b11c745e fix: improve error handling for SESSION_EXPIRED and UNAUTHORIZED in TRPC links 2026-04-13 16:23:09 +02:00
e847aefe64 feat: add support for additional phone numbers and titles in user profiles 2026-04-13 12:45:37 +02:00
d4c28117d7 refactor: simplify authentication check in AnnuncioView component 2026-04-10 10:00:34 +02:00
ed7359aa16 refactor: update confirmation handling in service announcements
- Changed the confirmation status checks from `accettato_conferma_at` to `status_conferma` in various components and controllers.
- Introduced a new `StatusConfermaEnum` to standardize confirmation statuses.
- Removed deprecated confirmation-related fields from the `ServizioAnnunci` schema.
- Deleted unused confirmation-related API methods and adjusted related logic in the service controller.
- Updated the search parameters schema to use the new confirmation status.
- Removed the `conferma-immobile` and `riapri-conferma` pages as they are no longer needed.
2026-04-09 16:17:24 +02:00
dc28e42baa refactor: remove unused incroci router and related components; update SCAN_DIRS and PROCEDURE_REGEX 2026-04-09 16:04:55 +02:00
73675480f6 refactor: rename getServizioAnnuncio to getServizioContratto and update related logic in servizio router 2026-04-09 16:03:32 +02:00
3f477ca3b8 refactor: update session handling across components to use new session structure and improve loading states 2026-04-09 11:09:25 +02:00
f52dd96c11 feat: implement Stripe reports management for admin panel
- Add new page for managing Stripe reports with functionality to generate and view reports.
- Create API router for handling Stripe report operations including listing, setting up, and generating reports.
- Introduce caching service for managing cache invalidation related to reports.
- Update Typst templates for formatting financial reports in EUR.
- Enhance utility functions for price formatting and error handling.
- Implement a script to check for unused tRPC procedures in the codebase.
2026-04-03 18:57:39 +02:00
964abfbf46 feat: add email queue management features
- Implemented FormNewMail for creating new email entries in the queue.
- Enhanced AdminPotenziali page layout for better responsiveness.
- Added Coda component to manage user email queues, including adding, removing, and clearing emails.
- Updated API routes for managing email queue operations, including adding, removing, and clearing user email queues.
- Introduced new mail templates and integrated them into the mailer service.
- Improved error handling in the email queue controller and service.
- Added Zod validation for event IDs in the utility types.
2026-04-03 11:51:55 +02:00
a11fc1241c feat: add comms_enabled flag to users and update email notification logic 2026-03-30 18:44:51 +02:00
73b1997c15 feat: update service confirmation routing and enhance order management UI components 2026-03-30 17:36:35 +02:00
18ff13a64d feat: implement saldo preview functionality in payment process and update receipt generation 2026-03-27 20:23:21 +01:00
a6e4ace3b6 feat: add header to invite acceptance page for user guidance 2026-03-27 19:23:55 +01:00
69ce93ec3e feat: update redirect after account creation to go directly to dashboard 2026-03-27 19:19:08 +01:00
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