Commit graph

975 commits

Author SHA1 Message Date
9886e5042a refactor: convert type definitions to enums for consistency in schema files 2026-04-27 18:43:58 +02:00
2ac16e4f33 Refactor Kanel configuration and update schema files
- Updated kanel.config.js to use makePgTsGenerator and adjusted type filtering.
- Modified various schema files to remove autogenerated comments and updated type definitions for enums to use union types.
- Added new MessagesAttachments schema and integrated it into PublicSchema.
- Ensured consistency in export types across all schema files.
2026-04-27 16:53:54 +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
f5d1530683 rem 2026-04-22 16:56:14 +02:00
c2fb43cdeb feat: add initial data migration for banners, etichette, flags, prezziario, and testi_e_stringhe 2026-04-22 13:30:04 +02:00
d0d23a8873 feat: remove outdated migration script for banners, etichette, flags, prezziario, and testi_e_stringhe 2026-04-22 13:20:44 +02:00
1a2d19729b feat: comment out adminpack extension creation and related comment in migration script 2026-04-22 12:32:00 +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
34c19831f0 feat: update pgx and gommon dependencies to latest versions 2026-04-21 11:50:54 +02:00
53ba53e3cc feat: improve locatore formatting by trimming spaces and replacing multiple spaces with a single space 2026-04-21 11:49:45 +02:00
e46af92bb3 feat: refactor expires_date validation and update default values in FormAddCodaEmail 2026-04-20 12:19:02 +02:00
c1c0ad2a2f feat: update validation message for expires_date to allow today's date 2026-04-20 12:12:58 +02:00
2676dc61ed feat: refactor error handling and response structure in authentication and payment processes 2026-04-17 17:15:13 +02:00
a03326f036 feat: add link button to view service details in IncrociTable 2026-04-16 16:49:48 +02:00
d7bd1656c2 feat: enhance IncrociDialog layout and improve table header styling 2026-04-16 16:42:47 +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
995eadd9dc feat: implement user intestazione generation and update related handlers 2026-04-16 13:35:34 +02:00
6d41ff4520 feat: add usedInvite column to users table and update related configurations 2026-04-15 15:08:57 +02:00
7fa36c4b72 feat: enhance invite token verification and processing with email handling 2026-04-14 17:23:13 +02:00
28c40be091 chore: update package dependencies to latest versions 2026-04-14 16:40:29 +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
e0353bb6f9 feat: enhance email processing with dynamic filenames and additional email notifications 2026-04-14 15:04:59 +02:00
453183ce3b fix: disable send_interrupt option in .air.toml configuration 2026-04-13 18:48:51 +02:00
51ebe0be1f feat: add new invite request functionality and update invite page with new dialog 2026-04-13 18:47:38 +02:00
14eb5bf113 refactor: remove progressbar dependency and replace with logging in image and video processing 2026-04-13 18:47:33 +02:00
1e2eb19d80 fix: update Go version and dependencies in Dockerfile and go.mod 2026-04-13 18:09:36 +02:00
c8b11c745e fix: improve error handling for SESSION_EXPIRED and UNAUTHORIZED in TRPC links 2026-04-13 16:23:09 +02:00
680d344215 feat: enhance user table phone number display with additional fields and filtering 2026-04-13 13:11:40 +02:00
4f21773cea fix: enhance error messages with context in various controllers and services 2026-04-13 12:45:42 +02:00
e847aefe64 feat: add support for additional phone numbers and titles in user profiles 2026-04-13 12:45:37 +02:00
d600cac8ed fix: update @tanstack/react-virtual and @tanstack/virtual-core to version 3.13.23 2026-04-13 11:42:30 +02:00
1b89b794a4 fix: update package.json overrides to include ajv and markdown-it dependencies 2026-04-13 11:40:11 +02:00
11e55b5a96 fix: remove and re-add react-email dependency in package.json; update devtools lodash version 2026-04-13 11:16:51 +02:00
9ed0cb53e6 chore: update package dependencies to latest versions 2026-04-13 10:45:35 +02:00
7fdef1c945 fix: update package dependencies and improve null checks
- Updated @tiptap packages to version 3.22.3 for improved functionality.
- Upgraded react-email to version 5.2.10 for bug fixes.
- Updated @biomejs/biome to version 2.4.11 for better performance.
- Upgraded knip to version 6.4.1 for enhanced features.
- Improved null checks in modale_contatti.tsx, trpc.ts, annunci.controller.ts, and event_queue.controller.ts for better error handling.
2026-04-13 10:28:34 +02:00
c5cf5302c4 chore: update dependencies in package.json
- Bump @react-email/components from 1.0.8 to 1.0.12
- Bump @react-email/render from 2.0.4 to 2.0.6
- Bump framer-motion from 12.34.3 to 12.38.0
- Bump kysely from 0.28.10 to 0.28.16
- Bump nodemailer from 8.0.1 to 8.0.5
- Bump react-phone-number-input from 3.4.14 to 3.4.16
- Bump zod from 4.1.12 to 4.3.6
- Bump @react-email/preview-server from 5.2.8 to 5.2.10
- Bump @vitejs/plugin-react from 5.1.4 to 6.0.1
- Bump jsdom from 28.1.0 to 29.0.2
- Bump kanel from 3.16.1 to 4.0.1
- Bump kanel-kysely from 0.8.0 to 4.0.0
- Bump vitest from 4.0.18 to 4.1.4
2026-04-13 10:09:34 +02:00
0e606aa60e refactor: clean up unused code and improve type definitions in various components 2026-04-10 12:08:33 +02:00
d4c28117d7 refactor: simplify authentication check in AnnuncioView component 2026-04-10 10:00:34 +02:00
440f3b1467 refactor: remove unused "Incroci" entry from admin navigation in i18n files 2026-04-09 16:46:36 +02:00
9f1c6c67bb refactor: update AnnuncioConfermaPopover button variant based on confirmation status 2026-04-09 16:41:45 +02:00
dc25815e06 refactor: update Annuncio actions to use new components for confirmation and contact details 2026-04-09 16:27:33 +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
a3d3e8f5bd refactor: simplify error handling in database connection pool 2026-04-09 11:15:52 +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
621d227760 fix: add name attributes to input fields in FormEditOrder and SearchInput components 2026-04-07 16:05:30 +02:00