Commit graph

74 commits

Author SHA1 Message Date
5ea42bb24b upd 2025-10-23 15:16:42 +02:00
6a5820dda1 test new storage 2025-10-22 15:41:53 +02:00
8fe0b6636d Refactor TypeScript schemas and enums for consistency and readability
- Updated enum definitions in PaymentStatusEnum and TipologiaPosizioneEnum to use single quotes and consistent formatting.
- Refactored Payments, Prezziario, Ratelimiter, Servizio, and other schema files to ensure consistent indentation and formatting.
- Added `updated_at` field to various queries in interests and servizio controllers.
- Removed unused imageCache utility file.
2025-10-21 18:42:03 +02:00
d2548e8854 refactor: remove redundant orderBy clauses in getAllServizioAnnunci function 2025-10-21 14:33:47 +02:00
11129d6ecb refactor: update getStaticProps to getServerSideProps in user-related pages for improved data fetching 2025-10-20 18:00:53 +02:00
b84c98c334 refactor: replace baseUrl prop with env.BASE_URL in email components 2025-10-20 17:27:32 +02:00
f2ee374e32 fix cid 2025-10-20 17:08:13 +02:00
8a17863c85 feat: update environment variable handling for BASE_URL and NEXT_PUBLIC_BASE_URL across Docker and application files 2025-10-20 16:39:59 +02:00
699579b432 feat: update environment variable handling and dependencies
- Added @t3-oss/env-nextjs for improved environment variable management.
- Updated zod to version 4.1.12 for enhanced validation capabilities.
- Upgraded jiti to version 2.6.1 for better module loading.
- Refactored environment variable imports from env.mjs to env.ts.
- Removed deprecated env.mjs file and replaced it with a new env.ts file using @t3-oss/env-nextjs.
- Adjusted various components and API routes to utilize the new environment variable structure.
- Updated next.config.js to support the new environment variable management.
- Modified Docker configuration to align with new BASE_URL handling.
2025-10-20 16:22:20 +02:00
60e3f26fd8 fix: update BASE_URL to INTERNAL_BASE_URL in revalidationHelper and remove unused BASE_URL from docker-compose 2025-10-20 15:04:35 +02:00
07767dd51b fix: update environment variable handling and add baseUrl prop to email components for improved functionality 2025-10-20 12:33:49 +02:00
054b9eff9a fix: improve revalidation logic by decoding path and invalidating cache after updates 2025-10-17 19:48:28 +02:00
6ae1993e8d fix: remove unnecessary encoding of path in revalidation API request 2025-10-17 19:29:38 +02:00
727f1e760c feat: add revalidation functionality and integrate it into various components and API routes 2025-10-17 19:14:27 +02:00
bc1f114837 feat: implement server-side rendering for various admin pages and update backend URL configuration 2025-10-17 18:12:10 +02:00
0e157b8ddd feat: add revalidation functionality for announcements with confirmation prompts 2025-10-15 15:45:24 +02:00
b6d9842bcd feat: add SKEBBY_USER and SKEBBY_PASS environment variables for Skebby integration 2025-10-08 11:32:06 +02:00
f07728454f fix: update image URL construction in getAnnunciMetaByCod handler 2025-10-07 18:23:46 +02:00
39074b58e4 Refactor code structure for improved readability and maintainability 2025-10-07 18:07:57 +02:00
be0cd554a6 fix: update payment ID reference in createIntentHandler for correct query execution 2025-09-05 16:59:52 +02:00
65ea60a647 refactor: remove console logs and update logger function in auth and db controllers 2025-09-05 15:22:48 +02:00
710ed8a97b feat: add sync router for handling user data synchronization 2025-09-04 12:41:07 +02:00
917d6e2a84 fix: change expiresIn parameter to string type in signToken function 2025-09-04 12:40:24 +02:00
128088abfd fix: update token expiration handling to use correct time units for cookies 2025-09-04 12:38:49 +02:00
d5894f6ec4 refactor: centralize token configuration and update cookie handling in auth middleware and controllers 2025-09-04 12:35:44 +02:00
8761c8d5a3 t 2025-09-04 11:49:15 +02:00
26e0754b1c d 2025-09-04 11:32:17 +02:00
2492b98c20 fix: streamline cookie import and improve error handling in logIn function 2025-09-04 11:07:31 +02:00
3ab995ded7 err check login 2025-09-03 21:43:41 +02:00
ae4eac1555 fix: correct DbLogger function usage in Kysely configuration 2025-09-02 20:17:14 +02:00
08333b80b2 feat: add error logging for user not found in login process 2025-09-02 19:12:17 +02:00
733452832a feat: add video support to AnnunciGrid and CardAnnuncio components 2025-09-01 17:31:19 +02:00
1426f0efef refactor: streamline conditional logic and improve readability across multiple components 2025-09-01 16:48:03 +02:00
467933299e feat: add test page with buttons for logging and server mutation 2025-09-01 10:15:15 +02:00
3284ccbf0d feat: refactor and enhance Annuncio components for improved functionality and print support 2025-08-29 18:18:37 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +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
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
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
779df357bc fix: update email sending logic to handle disabled state and improve error handling 2025-08-22 16:58:05 +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
485bcda0d3 Refactor session handling: implement useEnforcedSession for better session validation across components 2025-08-20 14:04:23 +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