Commit graph

273 commits

Author SHA1 Message Date
f4b781dafc split some svg into individual comps 2026-05-12 16:33:59 +02:00
ac10ee1909 minor change e commented garanzia possible change 2026-05-12 16:13:34 +02:00
d303c189a9 new guida 2026-05-12 16:10:01 +02:00
fecac3428d disabled logic for event_queue 2026-05-08 16:18:36 +02:00
feb6c7e2c9 cleanup 2026-05-06 17:29:27 +02:00
92779d8b4e removed tiles redis, now using pg 2026-05-06 17:19:40 +02:00
d6c0e67bfd chore: update dependencies and clean up test page
- Updated @react-email/render from 2.0.6 to 2.0.8
- Updated pg from 8.19.0 to 8.20.0
- Updated react-is from 19.2.3 to 19.2.5
- Updated @types/pg from 8.16.0 to 8.20.0
- Updated jsdom from 29.0.2 to 29.1.1
- Updated react-email from 5.2.10 to 6.0.5
- Updated vitest from 4.1.4 to 4.1.5
- Removed OnboardingDemo component from test page for simplification
2026-05-05 15:16:21 +02:00
fddb1ba9f4 feat: update layout and styling for Home page and TrovaCasaCTA component
Co-authored-by: Copilot <copilot@github.com>
2026-05-05 15:07:38 +02:00
8834932345 feat: enhance user dashboards and pages with improved layout and styling
Co-authored-by: Copilot <copilot@github.com>
2026-05-04 19:06:20 +02:00
20e50d5c6d Refactor date input components across forms to use DateInput instead of Popover with Calendar for improved usability and consistency
Co-authored-by: Copilot <copilot@github.com>
2026-05-04 18:31:36 +02:00
4afee4788a feat: enhance banner management with color options and improved layout components
Co-authored-by: Copilot <copilot@github.com>
2026-05-04 12:50:43 +02:00
a0bb309f16 feat: add admin override functionality to ProfileFormAnagrafica and update related components 2026-04-30 13:56:07 +02:00
2669de4caf feat: add building year and garage information to CardInfos component 2026-04-29 16:40:39 +02:00
e33ee7a8cd feat: enhance email management features and improve flag handling
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 16:31:57 +02:00
b3c70bfa1a feat: add admin appunti management page and related functionality
- Introduced a new page for managing appunti in the admin area.
- Created AppuntiProvider to manage appunti state and API interactions.
- Added schemas for appunti and appunti groups.
- Implemented CRUD operations for appunti and appunti groups in the API.
- Removed potenziali related files and services as part of the refactor.
- Updated the public schema to include appunti and appunti groups.
- Improved error handling in the appunti service.

Co-authored-by: Copilot <copilot@github.com>
2026-04-29 15:12:52 +02:00
984b1d7ae5 refactor: remove z.config(z.locales.it()) from multiple form components and update chat import paths 2026-04-29 13:16:37 +02:00
60e4b187bf Refactor: Update Zod schemas and replace custom types with imported schemas across various files
- Replaced custom Zod types with imported schemas in stripe router and user router.
- Updated payment controller to use new enum imports for order types and payment statuses.
- Refactored payment tests to utilize the new enum structure.
- Removed deprecated zod_types file and created new zod_chat_types file for chat-related schemas.
- Adjusted service files to align with the new order type enums and schemas.
- Enhanced the Caratteristiche type definition using Zod for better validation.

Co-authored-by: Copilot <copilot@github.com>
2026-04-28 20:32:19 +02:00
d17ac87917 feat: add Zod schemas for various entities and update API routes
- Introduced Zod schemas for validation in the following entities:
  - Provincie
  - Ratelimiter
  - Rinnovi
  - Servizio
  - ServizioAnnunci
  - ServizioInteressi
  - TestiEStringhe
  - Users
  - UserEtichette
  - UserInvites
  - UsersAnagrafica
  - UsersStorage
  - VideosRefs
  - StatusConfermaEnum
  - TipologiaPosizioneEnum

- Updated API routes in `catasto.ts` to include CRUD operations for Comuni, Nazioni, and Provincie with appropriate input validation.
- Enhanced controller methods in `catasto.controller.ts` to handle create, edit, and delete operations for Comuni and Nazioni.
- Added new utility Zod types for ComuniId, NazioniId, and ProvincieId.

Co-authored-by: Copilot <copilot@github.com>
2026-04-28 17:46:34 +02:00
98463da038 feat(chat): refactor chat components to use ChatProvider for context management
- Updated ChatTopbar and Chat components to utilize ChatProvider for managing chat state and user information.
- Removed unnecessary props from ChatTopbar and adjusted its implementation to fetch data from context.
- Added ChatProvider to encapsulate chat-related state and functionality.
- Enhanced message handling by introducing reply and forward features in the chat schema and API.
- Cleaned up unused components and optimized imports across chat-related files.
- Improved user avatar color generation logic and removed hardcoded color values.
- Updated loading states and error handling in admin chat management pages.
2026-04-27 16:52:32 +02:00
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