Commit graph

66 commits

Author SHA1 Message Date
c092239ed5 nre db bkp 2026-05-26 10:42:00 +02:00
01aa8cdf5e asd 2026-05-22 17:03:02 +02:00
0cd2775da4 asd 2026-05-22 17:01:37 +02:00
bc7be9708d local dev pg tz 2026-05-22 16:23:16 +02:00
364f4a77b3 mediarefs 2026-05-22 15:49:28 +02:00
48b31a5491 mega update storage 2026-05-19 18:42:34 +02:00
fecac3428d disabled logic for event_queue 2026-05-08 16:18:36 +02:00
d0f146b99e isDisabled bool 2026-05-08 14:16:29 +02:00
92779d8b4e removed tiles redis, now using pg 2026-05-06 17:19:40 +02:00
b0f39f5f11 ratelimit updated 2026-05-06 16:18:25 +02:00
723bc9fc31 event_queue slimmed e indexes 2026-05-06 15:03:37 +02:00
14343ed611 typing 2026-05-06 14:59:31 +02:00
899289f6f8 feat: add posizione column to appunti and update related logic for data handling
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 18:12:28 +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
ff722eb2a7 feat(chat): enhance chat functionality with file attachments
- Added file attachment support in chat messages, allowing users to upload and send files.
- Implemented a new API endpoint to retrieve message attachments.
- Updated chat components to display attachments and handle file uploads.
- Improved user experience with loading indicators and toast notifications for file uploads.
- Refactored chat bottom bar to integrate file upload functionality seamlessly.
- Enhanced chat list to show attachments associated with messages.
- Updated database schema to support attachments in chat messages.

Co-authored-by: Copilot <copilot@github.com>
2026-04-28 14:05: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
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
6d41ff4520 feat: add usedInvite column to users table and update related configurations 2026-04-15 15:08:57 +02:00
e847aefe64 feat: add support for additional phone numbers and titles in user profiles 2026-04-13 12:45:37 +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
a11fc1241c feat: add comms_enabled flag to users and update email notification logic 2026-03-30 18:44:51 +02: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
d6cd5f86b8 feat: add note column to servizio_annunci table and implement AnnuncioNote component for admin annotations 2026-03-20 14:06:55 +01:00
337ca80fec feat: add tipo_locatore field to Annunci and related processing logic 2026-03-17 18:47:15 +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
c18f96b8c7 fix: remove trailing comma in user_etichette table definition 2026-03-10 17:03:55 +01:00
a04e3c2fd3 feat: implement user labels management with CRUD operations and UI integration 2026-03-10 16:56:26 +01:00
73245f3564 feat: update payment preparation logic to include 'Rinnovo' type and handle errors gracefully 2026-03-08 15:33:50 +01:00
8716d90148 feat: add migration to remove 'condizioni' column from 'ordini' table 2026-03-08 14:53:23 +01:00
b1143f5c24 feat: add drop table statement for payments in migration script 2026-03-08 01:05:50 +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
4f9a46d1d2 Refactor code structure for improved readability and maintainability 2026-03-06 12:35:41 +01:00
61927448ca refactor: remove company-related fields from user forms and schemas 2026-02-19 11:45:09 +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
cfcddea9c8 feat: implement Potenziali and PotenzialiGroups management with CRUD operations and UI enhancements 2025-12-03 13:56:53 +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
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
f8e8017572 refactor: clean up SQL migration for servizio_annunci table constraints and formatting 2025-11-14 18:23:38 +01:00
63397923c4 refactor: update SQL migration to use conditional blocks for dropping and adding columns in servizio and users_anagrafica tables 2025-11-14 18:09:11 +01:00
aea90d93ba feat: add columns scadenza_motivazione_transitoria, skipPayment, skipControlloDoc, and skipDocMotivazione to servizio table 2025-11-14 18:07:41 +01:00
def6be1d47 feat: remove document references from servizio table and update deployment services 2025-11-14 18:03:55 +01:00
f2c7bcce4e feat: add Comuni, Provincie, and Nazioni tables with primary keys and indexes; update PublicSchema to include new tables 2025-11-13 11:38:41 +01:00
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00
fa8dcb7d86 feat: migrate document references from servizio to users_anagrafica table 2025-11-10 12:22:55 +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