Commit graph

202 commits

Author SHA1 Message Date
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
1d70ce9a44 Enhance AnnuncioEditForm mutation: invalidate additional queries after successful edit 2025-08-20 09:58:06 +02:00
e20731e027 Enhance API error handling: add errorLink to handle UNAUTHORIZED errors and reload the page 2025-08-19 19:14:30 +02:00
709ac307e1 Enhance AnnuncioActions and ServizioMain components: refactor document handling and update layout for better responsiveness 2025-08-19 19:14:27 +02:00
0ae854ede5 Refactor ServizioMain component: update content layout and add AnnunciSelezionati for admin actions 2025-08-19 17:23:05 +02:00
6124ba0271 Prevent closing dialog when announcements are selected in AddAnnuncio component 2025-08-19 16:47:12 +02:00
63d2fbd8ad Enhance ServizioActions and TabServizio components: pass userId to AddAnnuncio and integrate AnnunciSection for better announcement management 2025-08-19 16:44:38 +02:00
c0da9daad0 Add interruption toggle to TabServizio component for managing service status 2025-08-19 16:44:23 +02:00
fd22901c45 Refactor CTA_TipologiaModal: update Dialog onOpenChange handler for better async handling 2025-08-19 16:07:48 +02:00
f7553e827d Remove unused publicProcedure from testRouter and clean up mailer imports 2025-08-19 16:00:24 +02:00
7207e9ffd0 Refactor email Base component: update container styles and clean up commented code 2025-08-19 15:53:43 +02:00
df9313b3b4 Add logo attachment to email and update image source in Base component 2025-08-19 15:37:21 +02:00
24c9754dae Remove STRIPE_LIMITED_KEY from environment variables across configuration files 2025-08-19 14:38:53 +02:00
1619833103 Add line break support in AnnuncioDettaglio description and update Italian FAQ text for clarity 2025-08-19 14:32:46 +02:00
a4dc57c6ef Enhance ConfirmSection layout with padding and improved checkbox styling 2025-08-19 14:16:01 +02:00
9733cda490 Fix email sender format in mailer service 2025-08-19 14:00:13 +02:00
7a1f4ade54 Replace error throw with console error and return null for missing announcement by code 2025-08-19 14:00:09 +02:00
43f3c99185 Add codice to SbloccaContatti response message for clarity 2025-08-19 13:59:43 +02:00
03b160d1ee Add handling for half-floor indication in CardInfos component 2025-08-18 10:31:01 +02:00
7a8de50a43 Fix typo in Italian FAQ description for property visits 2025-08-18 10:30:55 +02:00
d4690ed653 Refactor test script to use echo for testing success instead of ping 2025-08-18 10:29:11 +02:00
24a5749272 Update scripts to use /bin/sh and ensure executable permissions 2025-08-18 10:22:02 +02:00
d471fe0f02 Add script files to Docker image 2025-08-18 09:55:51 +02:00
a7fdb2227a Add scripts for cleaning expired storage and updating jobs 2025-08-18 09:54:38 +02:00
52712c25d5 Implement code changes to enhance functionality and improve performance 2025-08-16 19:38:38 +02:00
3127f773ba Add localization support for service confirmation and payment pages 2025-08-13 17:29:26 +02:00