Commit graph

88 commits

Author SHA1 Message Date
db63591bcb style: update component styles to use bg-card and adjust heights for consistency 2026-03-12 12:11:57 +01:00
f8aea2446e style: update button styles across multiple forms for consistency 2026-03-12 12:11:41 +01:00
b8d92df023 feat: enhance tipologia selection with admin restrictions in FormNewServizioAcquisto 2026-03-12 12:03:08 +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
b496aa5d75 fix: correct payment method options mapping in FormEditOrder component 2026-03-09 18:21:10 +01:00
a9a9104711 fix: update payment method type in PurchaseData and related components 2026-03-09 18:14:22 +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
b32ebf9fde refactor: remove redundant getServizio invalidations across components 2026-03-06 18:23:35 +01:00
024059cee3 feat: add autocomplete attributes to email and password inputs in FormNewUser 2026-03-06 14:23:58 +01:00
7b76132a94 feat: implement codice fiscale calculation and validation
- Added `CalcolaCodiceFiscale` function to calculate Italian fiscal code based on name, surname, birth date, gender, and municipality code.
- Introduced utility functions for generating parts of the fiscal code, including handling special cases for names and surnames.
- Created tests for the fiscal code calculation covering various scenarios.
- Updated forms to enforce a maximum length for the fiscal code input.
- Added `vitest` for testing and configured it with Vite.
- Updated package dependencies to include testing libraries and Vite plugins.
2026-03-05 15:17:09 +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
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
6cd09cce1b refactor: remove console.log statements from various files for cleaner code 2026-02-24 15:18:59 +01:00
fd7da28535 feat: implement manual order creation dialog and associated form components 2026-02-24 10:40:32 +01:00
51d58a3008 refactor: replace checked with defaultChecked for Switch components across multiple forms 2026-02-24 10:40:07 +01:00
61927448ca refactor: remove company-related fields from user forms and schemas 2026-02-19 11:45:09 +01:00
9f02c49193 feat: refactor Slider component and update budget filters for improved functionality and responsiveness 2026-02-03 12:54:41 +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
c87a7238a7 Refactor various components for improved UI consistency and functionality; update layout styles, enhance user interactions, and introduce reset button functionality in forms. 2026-01-16 17:11:53 +01:00
1baca2997a Refactor AnnuncioCard to use AdminActions and UserActions based on user role; remove unused Interactions component; update button sizes and styles across various components; enhance ServizioContent with mutation handling; improve user feedback on actions; update confirmation messages for clarity; adjust layout for better responsiveness in AnnunciRichiesti; streamline form submissions with updated data structures. 2026-01-16 15:47:38 +01:00
675db60bb9 chore: adjust button height in FormEditServizio for improved UI consistency 2026-01-16 11:53:07 +01:00
f97533fab0 chore: update component styles for improved layout and consistency 2026-01-16 10:30:27 +01:00
539f4dc4f8 chore: update biome schema version and refactor code style
- Updated biome schema version from 2.3.1 to 2.3.11 in biome.json.
- Refactored package.json for better readability and updated dependencies.
- Adjusted class names in InformationBubble, ChatAttachments, ChatBubble, FileUpload, Loading, and other components for consistent styling.
- Changed height classes from fixed pixel values to relative values for better responsiveness.
- Removed unnecessary comments and unused variables in user.controller.ts.
2026-01-14 14:21:57 +01:00
12c9f1a63f feat: update default values for skipControlloDoc and skipDocMotivazione in FormNewServizio 2025-12-30 15:27:24 +01:00
4899c66822 refactor: update terminology from 'preferenze' to 'parametri' for consistency across components and forms 2025-12-18 12:11:08 +01:00
bc9689cb4d refactor: implement NullableStringOnChange utility for improved form handling across multiple components 2025-12-17 16:38:15 +01:00
c783dfed03 refactor: enhance AdminLavoraConferma component with GeneralSection and improve form handling in AnnuncioEditForm 2025-12-16 16:43:42 +01:00
831ae0edef Refactor components for improved styling and layout consistency
- Updated Layout component to enhance flex properties for better responsiveness.
- Adjusted CredenzaContent width in UserDashboard for improved layout.
- Modified Footer component for better spacing and logo size adjustments.
- Enhanced ServizioContent layout with new AlarmClockSVG and improved button styling.
- Updated Status500 and 404 pages to use muted foreground text for better readability.
- Added new PasswordSVG and AlarmClockSVG components for better icon representation.
- Refined table components to use muted foreground colors for icons.
- Improved form components by removing unnecessary classes and enhancing label styling.
- Cleaned up global CSS by removing unused CSS variables for better maintainability.
2025-12-15 17:07:08 +01:00
94b603b83c refactor: remove 'mustChangePassword' field from user forms and related logic 2025-12-15 12:15:26 +01:00
4d7802ccc6 feat: implement user invitation system with email invites and password setup
- Added user_invites table to manage invitation tokens.
- Created invite router with procedures for sending, verifying, and accepting invites.
- Implemented email sending functionality for invites.
- Updated user controller to handle password setting during invite acceptance.
- Introduced mustChangePassword flag in user schema and related logic.
- Added middleware to enforce password change requirement.
- Created forms for accepting invites and changing passwords.
- Updated database migrations to reflect new user invite structure and fields.
2025-12-14 18:57:56 +01:00
c459da5d23 feat: update mq field handling in AnnuncioEditForm for improved data parsing 2025-12-03 14:51:39 +01:00
23b4e09e36 feat: add description for scadenza motivazione field in FormNewServizio 2025-12-01 12:33:32 +01:00
0ecd7ce30d refactor: change 'mq' type from string to float64 and update related parsing logic 2025-11-25 12:05:14 +01:00
29c8453bad refactor: improve login error handling and user feedback in FormLogin and auth.controller 2025-11-24 10:51:51 +01:00
70e24b5abe refactor: update NumberInput usage to utilize defaultValue and improve field handling in forms 2025-11-21 14:09:06 +01:00
7bad7dd480 refactor: clean up TODOs and improve comments in FormFlags and chat_sse files 2025-11-20 16:50:59 +01:00
eaf9ecc1d3 intestazione maker 2025-11-20 16:48:29 +01:00
9c18ca37ab Refactor API structure and update flag handling
- Replaced references to `api.settings` with `api.etichette`, `api.flags`, and `api.strings` in various admin pages to align with new API structure.
- Removed the deprecated `settingsRouter` and introduced `flagsRouter`, `etichetteRouter`, and `stringsRouter` to handle respective functionalities.
- Updated the `Flags` schema to change the `value` field from string to boolean.
- Modified flag handling logic in the `SendMessage` and `NewMail` functions to check for boolean flags instead of string values.
- Added migration script to convert the `value` column in the `flags` table from string to boolean.
- Implemented new routers for banners, etichette, flags, revalidation, and strings to encapsulate related functionalities.
2025-11-20 12:38:42 +01:00
3ea9354abb feat: implement email sending for contact details with PDF attachment 2025-11-20 11:59:24 +01:00
5eadcc2df5 refactor: remove unnecessary text color class from LoginPage and FormLogin headings 2025-11-18 16:51:03 +01:00
f4262b8711 feat: Refactor video handling in announcements
- Updated the announcement detail component to directly use images and videos from the data structure.
- Changed the form edit component to accommodate the new media structure, replacing AnnunciWithImages with AnnunciWithMedia.
- Modified the announcements list to initialize videos as an empty array.
- Enhanced the announcement view to handle external videos and updated the footer to display them correctly.
- Introduced a new utility function to generate YouTube embed URLs.
- Updated the database schema to replace url_video with external_videos and added a new videos_refs table for video management.
- Implemented video processing logic, including downloading, transcoding, and thumbnail generation.
- Added migration scripts for the new videos_refs table and updated existing references in the database.
2025-11-18 15:20:14 +01:00
b741f7ce72 refactor: update button styles in Counter component and improve Badge variant handling in forms 2025-11-17 18:39:58 +01:00
d7bfd8fdf1 feat: Update UI components and styles across multiple pages
- Enhanced the CardInfos component in [cod].tsx with improved styling and added TrafficCone icon for status indication.
- Increased dialog content width in prezziario.tsx and testi-stringhe.tsx for better layout.
- Replaced static badge elements with the Badge component in chi-siamo.tsx, contatti.tsx, guida.tsx, prezzi.tsx, and proprietari.tsx for consistent styling.
- Updated button components to use the Button component in contatti.tsx and proprietari.tsx for improved accessibility and styling.
- Modified the TrovaCasaCTA and FrequentSearches components in index.tsx for better visual consistency and updated color usage.
- Refactored global CSS variables for improved color management and added new color variables for better theme support.
- Implemented dynamic loading for the KabanExample component in test.tsx to enhance performance.
2025-11-14 17:21:21 +01:00
219f76dd10 catasto 2025-11-13 15:45:55 +01:00
3dc0bccb58 feat: implement lazy loading for CardAnnuncio component; add skeleton loading state and enhance InputNumber component with height prop 2025-11-12 15:52:04 +01:00
db8d1da5ab feat: add conditional rendering for skip payment and document controls in FormNewServizio 2025-11-11 15:22:21 +01:00
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00
23525d8f14 feat: add AdminLavoraConferma and AdminContratto components for managing service confirmations and contracts
- Implemented AdminLavoraConferma component to handle confirmation processes with document management.
- Added AdminContratto component for managing rental contracts and related documents.
- Introduced shared components for document selection and display (DocInfo and DocCombo).
- Enhanced storage controller with a new function to retrieve storage ID from user storage ID.
- Updated database interactions to improve error handling and data retrieval.
2025-11-06 17:03:42 +01:00
82aeb763a0 refactor: Rename 'updated_at' column to 'media_updated_at' and update references throughout the codebase 2025-11-06 13:17:20 +01:00