Commit graph

189 commits

Author SHA1 Message Date
25d75825be fix: replace toast import with react-hot-toast for consistency 2025-12-14 19:17:52 +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
5b2a3964ac fix: update accordion item keys for improved uniqueness in FAQSection 2025-12-12 11:37:44 +01:00
a0a38f0977 refactor: update button icons in AnnuncioInteractions and ContattoAnnuncio components for consistent sizing 2025-12-11 15:53:47 +01:00
cfbeadb93b refactor: remove ImageWithFallback component and replace with Next.js Image in various components 2025-12-05 16:36:17 +01:00
a268afee74 feat: enhance UI components and improve functionality across various modules 2025-12-04 17:16:49 +01:00
7ae27d8e30 refactor: remove MiniFooter from AreaRiservataLayout and update layout usage across pages 2025-12-04 11:02:28 +01:00
cfcddea9c8 feat: implement Potenziali and PotenzialiGroups management with CRUD operations and UI enhancements 2025-12-03 13:56:53 +01:00
3143870cfd feat: integrate DnD Kit for enhanced kanban functionality and add Potenziali management components 2025-12-02 16:14:37 +01:00
d93d23c607 feat: enhance email management with delete functionality and session handling 2025-12-01 12:29:48 +01:00
830b89d4b1 refactor: implement getStorageUrl utility for consistent storage URL generation 2025-11-28 15:11:14 +01:00
47f35c3bbe refactor: remove pagination logic and related state management from Annunci and RicercaProvider components 2025-11-27 13:37:37 +01:00
0ecd7ce30d refactor: change 'mq' type from string to float64 and update related parsing logic 2025-11-25 12:05:14 +01:00
94edc34e10 semplification 2025-11-25 09:57:31 +01:00
2e3eb7f4d1 refactor: update image and video source URLs to include cache keys for better cache management 2025-11-24 18:03:13 +01:00
8882107a50 refactor: update MobileLink styles for improved visual consistency and adjust viewport meta tag in _app.tsx 2025-11-24 16:19:47 +01:00
5df7e8cef8 refactor: enhance user confirmation response with userId in userAccettaConferma 2025-11-21 12:24:55 +01:00
1fae92dbaf refactor: adjust styles for LangToggle, SiteHeader, and ThemeSwitch components 2025-11-21 11:53:10 +01:00
a9df30cb70 refactor: remove Potenziali component and related context, update translations 2025-11-20 15:06:00 +01:00
e7e397759a pot 2025-11-20 15:05:05 +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
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
941055102d refactor: update Badge styling across multiple pages for improved visual consistency 2025-11-17 19:21:40 +01:00
f94312dcaa refactor: enhance EditUser component layout with Card and CardContent for improved styling 2025-11-17 18:13:13 +01:00
c6f7a51c50 refactor: improve TabsContent styling for better layout and consistency 2025-11-17 18:09:06 +01:00
fbc11b5f77 refactor: simplify display of property type in CardInfos component 2025-11-17 17:00:19 +01:00
a7ab100d6f feat: update theme and background color meta tags for light and dark modes 2025-11-14 18:35:07 +01:00
8c76fdc2f2 feat: change default theme in ThemeProvider from dark to system 2025-11-14 17:30:12 +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
db174cf4f4 feat: integrate @next/bundle-analyzer for improved bundle analysis; refactor dynamic imports in dashboard and pdf-viewer components 2025-11-13 11:38:23 +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
7666f08307 feat: add NumberInput component for enhanced numeric input handling; integrate react-number-format 2025-11-11 18:43:51 +01:00
24253f0cfb feat: refactor Ricerca component layout and enhance filter functionality in DrowdownFilters 2025-11-11 17:15:29 +01:00
1887f1ffec feat: remove console log from SelectFilter component to clean up rendering output 2025-11-11 16:14:57 +01:00
40b8f26cc0 feat: update default values for SelectFilter components in RicercaFilters; improve reset handling 2025-11-11 16:14:45 +01:00
4ca16be4a4 feat: update sorting options and default values in RicercaProvider; refine filter logic in RicercaFilters 2025-11-11 15:54:04 +01:00
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00
b7850f6994 feat: update package dependencies and enhance UI components with badges; refactor service dialogs and remove unused components 2025-11-07 17:03:08 +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
7b0469467f refactor: Remove AnnunciGrid component and update Annunci page to use CardAnnuncio directly 2025-11-04 19:18:13 +01:00
608e6a8e10 feat: Integrate Kanban board with drag-and-drop functionality using @dnd-kit 2025-11-04 16:21:20 +01:00
1fc855393f Refactor Annuncio Card Component and Remove Legacy Code
- Updated `CardAnnuncio` component to enhance functionality and styling.
- Removed `CardAnnuncio2` component as it was redundant.
- Added new icons and badges for better visual representation of availability and status.
- Improved layout and responsiveness of the card.
- Updated translations in English and Italian for consistency.
- Enhanced pagination controls in the `Annunci` page with new button styles.
- Adjusted footer components to accept additional class names for customization.
- Cleaned up unused CSS animations and styles in `globals.css`.
- Modified server-side controller to include homepage field in the Annuncio data structure.
2025-11-03 18:49:27 +01:00
d3ef842130 feat(annunci): Implement page reset logic in AnnunciList based on data availability 2025-11-03 15:50:24 +01:00
16bb7094dc feat(package.json): Add format script for code formatting 2025-11-03 11:03:41 +01:00
6ad74c9002 Refactor and enhance UI components across the application
- Renamed `AnnunciInConferma` to `AnnunciInConfermaDialog` and `AnnunciSelezionati` to `AnnunciSelezionatiDialog` for clarity.
- Simplified button notifications for announcements by always displaying the count.
- Introduced `AnnunciInConfermaAccordion` and `AnnunciSelezionatiAccordion` components to manage accordion behavior for announcements.
- Updated button styles to remove unnecessary flex properties for better alignment.
- Improved form validation logic in `FormNewServizioAcquisto` for better clarity and performance.
- Enhanced the `UploadModal` to accept props directly, simplifying the component structure.
- Added a new `CardAnnuncio` component for displaying announcements with improved layout and functionality.
- Updated global styles to include a new background color variable.
- Refactored API routes and controllers for better clarity and maintainability.
- Cleaned up various components by removing redundant class names and improving accessibility.
2025-11-03 10:59:45 +01:00
97503b34e5 fix(dependencies): Update react-day-picker to version 9.11.1 for improved functionality
fix(forms): Adjust endMonth in AnnuncioEditForm to 2050 for better date handling

refactor(forms): Remove date validation in ProfileFormAnagrafica for simplified logic

fix(user-view): Update DialogContent class for consistent styling in NewServizioModal
2025-10-30 19:39:40 +01:00
93169b191a feat(OnboardTutorial): Add onboarding tutorial component with localization support 2025-10-30 18:18:01 +01:00