Commit graph

56 commits

Author SHA1 Message Date
5327cc86c6 feat: add note field to Users schema and implement NoteUtenteDialog for user notes management 2026-03-17 18:47:35 +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
0619ca0c34 feat: add email sending functionality for receipt and conditions in AdminOrdiniModal 2026-03-10 13:16:32 +01:00
a9a9104711 fix: update payment method type in PurchaseData and related components 2026-03-09 18:14:22 +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
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
ee670581e7 fix: update routing in user swap mutation to redirect to load-page 2026-03-06 14:10:36 +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
068f4b0c01 chore: update Stripe dependencies and remove unused chart components
- Updated @stripe/react-stripe-js from ^5.4.1 to ^5.6.0
- Updated @stripe/stripe-js from ^8.6.1 to ^8.8.0
- Updated stripe from ^20.2.0 to ^20.4.0
- Removed dynamic imports for TimeserieBarChart and TimeserieBarChartStacked in AdminDashboard
- Deleted TimeserieBarChart and TimeserieBarChartStacked components
- Deleted Chart component and related utilities
2026-02-26 12:25:10 +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
70736e4aa1 refactor: update styling for Sidebar, DataTable, SiteHeader, AnnuncioCard, and Tabs components 2026-02-24 12:02:02 +01:00
fd7da28535 feat: implement manual order creation dialog and associated form components 2026-02-24 10:40:32 +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
f1a323f478 chore: enhance error handling in sendInvite mutation and invalidate email cache on success 2026-01-16 11:52:59 +01:00
66a70b92cc refactor: remove unnecessary console log from ContattiProprietarioModal 2025-12-30 17:36:52 +01:00
2082ea2c62 refactor: remove unnecessary text-primary class from headings for consistent styling 2025-12-29 16:09:51 +01:00
a0d5faf972 refactor: update email service functions and add delete all user emails functionality 2025-12-29 16:00:57 +01:00
72a2935797 refactor: remove unused components and enhance navigation flow in user views 2025-12-18 15:12:05 +01:00
e692f9f1cb refactor: enhance servizio update handling by invalidating packs solution cache after modifications 2025-12-18 12:18:24 +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
7de7d90b95 cleanup 2025-12-15 12:23:41 +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
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
2ef18a0b5b feat: enhance Potenziali management with delete functionality and user assignment 2025-12-03 16:16:28 +01:00
8ac1c1da3d feat: refactor Potenziali context to use editingItem and improve item management 2025-12-03 14:51:35 +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
eaf9ecc1d3 intestazione maker 2025-11-20 16:48:29 +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
88bf525ae4 refactor: fix sidebar expand functionality and improve button accessibility 2025-11-17 17:29:47 +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
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
d116ebd3d5 feat: integrate DocumentiUploadSection for document handling in various components 2025-11-11 15:41:20 +01:00
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +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
bd5a35a172 Refactor service document handling and contact modal
- Removed temp_tokens data from SQL initialization.
- Updated AllegatiComp to invalidate additional service announcements on file removal.
- Simplified imports in interactions.tsx and removed unused components.
- Enhanced ServizioContent layout for better display of announcements.
- Adjusted button styles in servizio_annunci_accordions for responsiveness.
- Streamlined ricerca-table by removing unnecessary ServizioProvider wrapping.
- Modified upload modal to support new upload callback structure.
- Added new document reference fields to Servizio schema.
- Introduced UsersStorageUserStorageId type for better type safety.
- Updated servizio.controller to include document references in service announcements.
- Changed storage.controller to return user_storage_id on conflict.
- Updated docker-compose to streamline storage service configuration.
- Created migration script for new foreign key constraints on document references.
- Implemented ContattiProprietarioModal to manage document uploads and contact unlocking.
2025-10-29 09:39:06 +01:00
f85ea22215 chore: update biome schema and dependencies, refactor key usage in components
- Updated biome schema version from 2.2.2 to 2.3.1 in biome.json.
- Removed experimentalScannerIgnores from files section and replaced with ignore patterns.
- Added CSS parser configuration for Tailwind directives.
- Updated linter rules for better code quality.
- Refactored key usage in various components to use unique identifiers instead of array indices.
- Updated package-lock.json and package.json to reflect new biome version.
- General code cleanup and improvements across multiple components for better maintainability.
2025-10-28 11:55:01 +01:00
7b619e54db refactor: remove unused setOpen prop from ARMinimizableLinks component 2025-10-24 16:17:53 +02:00
6acfc08169 new storage for files 2025-10-24 16:10:59 +02:00
2cb7067beb refactor: enhance sidebar functionality with cookie state management and animations 2025-10-21 14:34:24 +02:00
a87a35ffbe sort classes rule and fix 2025-10-10 16:18:43 +02:00
cb9fce9289 fix: adjust CredenzaContent max-width for better responsiveness 2025-09-09 10:36:43 +02:00
1426f0efef refactor: streamline conditional logic and improve readability across multiple components 2025-09-01 16:48:03 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00