Commit graph

577 commits

Author SHA1 Message Date
bacd466c9d fix: remove turbopack option from build script for consistency 2025-08-28 14:36:29 +02:00
7241c19cd5 fix: update development scripts to use turbopack for improved performance 2025-08-28 14:29:16 +02:00
f0881a062f test with turbo 2025-08-28 13:46:51 +02:00
5a6f23b4e8 fix: add compiler configuration to next.config for console removal 2025-08-28 13:31:03 +02:00
9f05c19494 Implement code changes to enhance functionality and improve performance 2025-08-28 13:19:43 +02:00
9d80dad9bd Refactor editAnnuncio functionality to use AnnunciUpdate schema
- Updated the editAnnuncio procedure to accept a new input structure containing annuncioId and data.
- Removed the old EdiAnnuncioSchema and replaced it with a direct use of AnnunciUpdate.
- Simplified the editAnnuncioHandler to directly spread the data object into the database update call.
- Renamed getAnnuncioById to getAnnuncioByIdForEdit for clarity.
2025-08-28 12:37:32 +02:00
26f1664696 fix: remove unused DevTool import from FormPrezzo component 2025-08-28 10:52:19 +02:00
682d792cb8 fix: Carousel 2025-08-28 10:29:04 +02:00
9fb9623671 fix: update data extraction and parsing for availability, permanence, and people in Annuncio 2025-08-27 17:03:57 +02:00
19d273ff49 fix: enhance pricing component formatting and update sorting logic in PrezzarioTable 2025-08-27 12:33:14 +02:00
f979fd9721 piccola roba 2025-08-27 11:11:21 +02:00
90e05c5989 fix: improve login error messages for better clarity 2025-08-27 10:56:15 +02:00
eba4e31d38 fix: update meta handling in AnnuncioDettaglio and improve error messages in getAnnunciByCod and getAnnunciMetaByCod 2025-08-27 10:56:13 +02:00
f20869d7fe fix: enhance error handling by including error messages in TRPCError responses 2025-08-27 10:19:49 +02:00
babb798505 fix: include user email in payment intent creation for receipt 2025-08-26 17:38:20 +02:00
ec818eb7ff fix: update form fields to allow nullable values for locatore, email, and numero 2025-08-26 17:38:12 +02:00
fc02a6debc fix: simplify numeroProprietario extraction logic in SbloccaContatti 2025-08-26 17:37:27 +02:00
39f6cdfdbd fix: change SameSite cookie attribute from 'strict' to 'lax' for better compatibility 2025-08-25 12:33:29 +02:00
8d6eeb49c5 fix: update stripe-dev script to use HTTPS for webhook forwarding 2025-08-25 12:06:46 +02:00
1dd8a8eed0 default open first ricerca 2025-08-25 12:06:33 +02:00
c3cdac8310 feat: add ignoreSessionCheck prop to AreaRiservataLayout for session handling flexibility 2025-08-24 19:59:59 +02:00
243148267b feat: implement TabRicerca component for user service search and integrate collapsible functionality 2025-08-24 15:47:08 +02:00
4982d064e3 feat: add EditServizioAdmin component and integrate into ServizioActions 2025-08-23 17:13:43 +02:00
47ff703be8 temp sitemap 2025-08-23 17:13:40 +02:00
779df357bc fix: update email sending logic to handle disabled state and improve error handling 2025-08-22 16:58:05 +02:00
283eb85066 fix 2025-08-22 16:27:58 +02:00
887f4e8f1d fix: update prezzo_cent validation to ensure non-negative values 2025-08-22 16:23:00 +02:00
237c068409 style: adjust spacing in FormPrezzo and update DialogContent max width in EditPrezzoModal 2025-08-22 15:55:43 +02:00
b9934cb390 testing app router 2025-08-22 15:44:18 +02:00
1ac2d4b3ab Refactor storage handlers to use centralized configuration
- Updated `fs.go` and `minio.go` to replace hardcoded storage paths with values from the new config package.
- Introduced a new `config` package to manage application configuration, including database and storage settings.
- Removed the `models.go` file from `typedefs` as it was no longer needed.
- Added a new `config.go` file to handle loading environment variables and application settings.
- Created a new `types.go` file in `typedefs` to define storage strategies.
- Updated `storage_handler.go` to utilize the new configuration structure.
2025-08-22 12:57:33 +02:00
2725098203 Refactor database handling and queries
- Updated DbHandler to accept configuration parameters instead of using environment variables directly.
- Moved database queries from handler.go to a dedicated queries package for better organization and separation of concerns.
- Implemented error handling in query functions to provide more informative error messages.
- Refactored image handling to utilize the new queries package for database interactions.
- Cleaned up unused code and comments across various files.
- Improved overall code readability and maintainability.
2025-08-22 10:11:07 +02:00
080002f4ae feat: add DbHandler and helpers for database operations with logging and utility functions 2025-08-21 13:54:15 +02:00
0837f447fc Refactor parser functionality: move ParseDettaglio and related tests to new parser package; remove unused utils functions 2025-08-21 13:53:55 +02:00
3b3d2e51ce feat: add utility functions for string manipulation, XML fetching, and directory handling 2025-08-21 13:53:38 +02:00
3e854270f0 feat: update type references to use typedefs in multiple files 2025-08-21 12:46:02 +02:00
a7cec21ab6 feat: add new fields to AnnunciTable for disponibile_da, permanenza, and persone 2025-08-21 12:45:58 +02:00
2ef3c38c8a feat: refactor MiogestHandler to use typedefs and add ParseDettaglio function with tests 2025-08-21 12:45:53 +02:00
0741ee0a68 chore: update @react-email/components and @react-email/render versions to 0.5.0 and 1.2.0 respectively 2025-08-20 18:39:16 +02:00
de3388e23d fix: simplify npm install command in Dockerfile by removing cache mount 2025-08-20 18:34:31 +02:00
612ac8513a chore: update @react-email/components version to 0.5.0 2025-08-20 18:27:33 +02:00
61f751e633 cache 2025-08-20 18:22:30 +02:00
2c0ff3bbbb chore: update next.js version to 15.4.7 and comment out TRPC panel API handler 2025-08-20 17:48:52 +02:00
18bde5eb9e Remove commented debug echo statement from Dockerfile to clean up the build process 2025-08-20 17:27:57 +02:00
515112a999 Remove transpilePackages configuration for jotai-devtools from next.config.mjs 2025-08-20 17:27:30 +02:00
51a7cb9426 Fix redirect destination in getServerSideProps to remove query string 2025-08-20 17:22:37 +02:00
33dfe87040 Cleanup Dockerfile: remove unnecessary blank line for improved readability 2025-08-20 17:14:14 +02:00
2b0efdfc32 Enhance styling and structure: update component styles for better visual consistency and usability across various components 2025-08-20 17:00:36 +02:00
aaea1eb6bb Enhance session management: restrict session access for blocked users and reduce token expiration to one day 2025-08-20 14:17:26 +02:00
b2a118e907 Enhance button styling: add cursor-pointer class to refresh buttons across admin components 2025-08-20 14:06:38 +02:00
485bcda0d3 Refactor session handling: implement useEnforcedSession for better session validation across components 2025-08-20 14:04:23 +02:00