Commit graph

770 commits

Author SHA1 Message Date
a6a1a4fd4b feat: add full deployment script to automate build and deployment processes 2026-03-09 10:49:05 +01:00
0904bba970 feat: enhance AddAnnuncio options to include title in label and update query to select title in getAnnunciAvailableToAdd 2026-03-09 10:41:34 +01:00
43d67dceb8 feat: update AnnuncioFooter to conditionally hide video label when no videos are present 2026-03-09 10:18:58 +01:00
b861d43520 feat: refactor output structure in preparePayment procedure for consistency 2026-03-09 10:15:59 +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
a8d29c6840 feat: refactor ordini and servizio controllers to use services, remove old controller files 2026-03-08 14:34:21 +01:00
2aa5ccea1d feat: update Receipt data structure to remove items and include packName, discount, and amount 2026-03-08 01:22:03 +01:00
0e936140f2 feat: remove PaymentsTable reference from PublicSchema 2026-03-08 01:06:41 +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
6211be289c feat: update layout and styling in UserDashboard and ServizioPage components 2026-03-06 18:54:48 +01:00
b32ebf9fde refactor: remove redundant getServizio invalidations across components 2026-03-06 18:23:35 +01:00
ccdbe03c2f feat: invalidate servizio data cache in multiple components after updates 2026-03-06 16:15:47 +01:00
024059cee3 feat: add autocomplete attributes to email and password inputs in FormNewUser 2026-03-06 14:23:58 +01:00
ee670581e7 fix: update routing in user swap mutation to redirect to load-page 2026-03-06 14:10:36 +01:00
572a5420c1 feat: enhance ComuniTable by adding nullable cap field 2026-03-06 13:25:14 +01:00
4f9a46d1d2 Refactor code structure for improved readability and maintainability 2026-03-06 12:35:41 +01:00
7b76132a94 feat: implement codice fiscale calculation and validation
- Added `CalcolaCodiceFiscale` function to calculate Italian fiscal code based on name, surname, birth date, gender, and municipality code.
- Introduced utility functions for generating parts of the fiscal code, including handling special cases for names and surnames.
- Created tests for the fiscal code calculation covering various scenarios.
- Updated forms to enforce a maximum length for the fiscal code input.
- Added `vitest` for testing and configured it with Vite.
- Updated package dependencies to include testing libraries and Vite plugins.
2026-03-05 15:17:09 +01:00
ef59e61545 refactor: replace getInizialiCF with calcolaParteCognome and calcolaParteNome for improved CF generation 2026-03-05 14:24:55 +01:00
8159519c75 fix: adjust padding and add line clamping to codice display in CardAnnuncio 2026-03-05 12:34:27 +01:00
ba4debdd1d Refactor: Remove unused procedures and clean up router files
- Deleted contact router and its associated mail functionality.
- Removed addEvent mutation from event_queue router.
- Cleaned up fatture router by removing createClient and getListClienti procedures.
- Commented out deletePrezziario mutation in prezziario router.
- Removed unused procedures in servizio router, including getServizioOrdini and getPreOnboardData.
- Cleaned up stats router by removing commented-out code.
- Updated stripe router to restrict health check to admin users and changed several public procedures to protected.
- Commented out sync router procedures and related types.
- Removed unused client-related functions in fic controller.
- Cleaned up servizio controller by removing getServizioOrdini and commented-out code.
- Refactored auth service to inline pwResetTokenFromMailHandler logic.
- Commented out deletePrezziario function in prezziario service.
- Cleaned up zod types by commenting out unused types.
- Commented out getMessagesArray function in kysely helper.
2026-03-05 12:32:03 +01:00
b27c06a18b feat: add API authentication context to TRPC and refactor Stripe webhook handler 2026-03-05 11:54:04 +01:00
8d89be35d5 feat: enhance error handling with custom messages for database operations 2026-03-05 10:29:08 +01:00
728ba71c84 feat: add missing_returning plugin to enforce return value on database operations 2026-03-05 10:28:31 +01:00
c423a7bdb7 a 2026-03-04 20:45:21 +01:00
b500c7133f feat: integrate email event queue for payment confirmation with attachments 2026-03-04 20:22:17 +01:00
81337c852f feat: add incroci page and API integration for managing incroci data 2026-03-04 19:56:09 +01:00
5579dfeed0 refactor: change export to const for CONDIZIONI_CACHE_PREFIX and genPdfCondizioni function 2026-03-04 19:12:37 +01:00
280e0ab5c2 feat: update payment recap links and add new receipt page
- Changed payment recap link in OrdiniModal to point to the new receipt page.
- Added new PaymentRecapPage for displaying receipt details.
- Updated PaymentsTable to set paid_at date based on payment status.
- Introduced manual payment type in PaymentType and updated related strings.
- Refactored getOrdineRicevutaData to use overridableProcedure for access control.
- Enhanced mail sending functionality to include PDF attachments for receipts and conditions.
- Updated PDF generation service to handle new receipt PDF generation.
- Cleaned up context checking utilities by removing unnecessary session checks.
2026-03-04 19:12:01 +01:00
6c9524e54b feat: add Redis cache invalidation and stats retrieval functionality 2026-03-04 17:34:15 +01:00
a36fd52af2 feat: implement email functionality for contact details with attached PDF scheda 2026-03-04 16:39:27 +01:00
783dc137ea fix: update budget condition checks in setupSaldoServizio for improved accuracy 2026-03-04 12:01:40 +01:00
3aed2c4a6b fix: adjust budget thresholds for pack selection logic in getPacksPerServizio 2026-03-04 12:01:10 +01:00
7a7c12bf1f fix: update Traefik router and service names for improved clarity and functionality 2026-03-03 11:01:30 +01:00
348e9b4d05 fix: update Traefik middleware names for apex redirection 2026-03-03 10:57:05 +01:00
454ff41f1b fix: update Traefik redirect regex for canonical domain handling 2026-03-03 10:55:00 +01:00
9f91f97693 fix: update API key and compose IDs in deployment script; adjust expose syntax in docker-compose 2026-03-03 10:53:07 +01:00
f1bd40afce feat: enhance update feedback with loading and success messages in forms and video processing 2026-03-02 16:33:54 +01:00
c31a68ef6d feat: implement image and video reconciliation, update pricing options, and enhance media removal functionality 2026-03-02 15:35:23 +01:00
74320248e0 chore(deps): bump @fattureincloud/fattureincloud-ts-sdk to version 2.1.2 2026-02-26 13:33:08 +01:00
bcce8fdf34 chore(deps): add peer dependencies to multiple packages in package-lock.json 2026-02-26 13:23:02 +01:00
475d9c9016 Merge branch 'main' of https://github.com/marcopedone/infoalloggi-monorepo 2026-02-26 13:22:08 +01:00
Marco
1521b39d0e
Merge pull request #544 from marcopedone/dependabot/npm_and_yarn/apps/infoalloggi/multi-5a26f77790
chore(deps): bump minimatch in /apps/infoalloggi
2026-02-26 13:21:33 +01:00
c265d686f4 s 2026-02-26 13:21:29 +01:00
dependabot[bot]
7485135f0c
chore(deps): bump minimatch in /apps/infoalloggi
Bumps  and [minimatch](https://github.com/isaacs/minimatch). These dependencies needed to be updated together.

Updates `minimatch` from 10.1.1 to 10.2.3
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.1.1...v10.2.3)

Updates `minimatch` from 3.1.2 to 3.1.4
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.1.1...v10.2.3)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.3
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 3.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-26 11:32:17 +00:00
e0fb5a4cfc chore(deps): update next and @react-email/preview-server to latest versions 2026-02-26 12:30:14 +01:00
9782cde917 refactor: comment out unused timeserie queries in stats router 2026-02-26 12:26:56 +01:00
068f4b0c01 chore: update Stripe dependencies and remove unused chart components
- Updated @stripe/react-stripe-js from ^5.4.1 to ^5.6.0
- Updated @stripe/stripe-js from ^8.6.1 to ^8.8.0
- Updated stripe from ^20.2.0 to ^20.4.0
- Removed dynamic imports for TimeserieBarChart and TimeserieBarChartStacked in AdminDashboard
- Deleted TimeserieBarChart and TimeserieBarChartStacked components
- Deleted Chart component and related utilities
2026-02-26 12:25:10 +01:00
e415f46104 chore(deps): update framer-motion and pg to latest versions 2026-02-26 12:15:26 +01:00