Commit Graph
26 Commits
Author SHA1 Message Date
carmine.savino 1208187a17 feat: integrate Draco compression for 3D models in backoffice
- Added support for uploading and compressing GLB models using Draco in the backoffice.
- Implemented commands for importing and re-compressing 3D models.
- Updated model resource to handle 3D model uploads and validations.
- Introduced a new script for compressing GLB files with Draco.
- Modified Vite configuration to remove GLB files from the build output.
- Updated package dependencies to include GLTF-transform libraries for handling 3D models.
- Added tests to ensure proper functionality of 3D model handling and compression.
2026-11-01 10:35:50 +01:00
carmine.savino 24f9e59654 feat: rimuovi il plugin di compressione Draco per modelli GLB 2026-11-01 10:35:41 +01:00
carmine.savino 24df94cdc3 feat: integrate Draco compression for GLB models and implement encryption for secure loading
- Added DRACOLoader to starter.js for handling compressed GLB models.
- Created a createGltfLoader function to initialize GLTFLoader with DRACOLoader.
- Implemented dracoModels plugin in vite.config.js to compress GLB models during build.
- Introduced model_loader.js for loading encrypted GLB models with WebCrypto.
- Developed encryptModels plugin to encrypt GLB files, ensuring no clear models are exposed.
- Updated asset handling to remove uncompressed GLB files post-build.
2026-10-28 10:00:09 +01:00
carmine.savino f539e4e185 feat: aggiorna l'anno di copyright dinamicamente e migliora la leggibilità del testo nel menu 2026-10-23 12:27:34 +02:00
carmine.savino df06ceb56c feat: aggiungi file .node-version per specificare la versione di Node.js 2026-10-23 11:51:50 +02:00
carmine.savino 3d110a136a feat: aggiungi adattamento dinamico del canvas per il menu mobile e migliora la gestione del resize 2026-10-23 11:50:07 +02:00
carmine.savino 0f0764367f feat: remove obsolete glass configurations, add title import functionality
- Deleted the `vetro.json` file containing glass configurations.
- Introduced `ImportaTitoliAction` to facilitate importing model titles from Excel.
- Created `TitoliModelliImporter` for handling title import logic and updating existing models.
- Updated `SistemaResource` to include the new title import action.
- Modified `ConfigurazioneModello` to adjust the model name retrieval logic.
- Changed `ListinoImporter` to make the alias constant public.
- Added tests for title import functionality, ensuring correct updates and creation of new models.
2026-10-23 11:15:28 +02:00
carmine.savino 139b1690ff feat: aggiungi supporto per superadmin in diverse risorse e aggiorna il modello utente 2026-10-23 10:13:54 +02:00
carmine.savino f8ef927120 Implement feature X to enhance user experience and optimize performance 2026-10-22 21:33:25 +02:00
carmine.savino 386c3d7744 fix: aggiorna gli script per utilizzare npx con pnpm e allinea la versione nel package.json 2026-10-22 21:23:34 +02:00
carmine.savino 1a1e3cd09f fix: aggiorna build.sh per utilizzare pnpm e modifica la documentazione per riflettere le dipendenze corrette 2026-10-22 21:19:48 +02:00
carmine.savino 72666fb0d1 fix: aggiorna i comandi di installazione e build in build.sh per utilizzare npm invece di pnpm 2026-10-22 21:15:42 +02:00
carmine.savino 9358e1ffec fix: correggi la gestione del file deploy.env nel .gitignore 2026-10-20 18:50:42 +02:00
carmine.savino d81f9348a2 feat: aggiorna la gestione delle dipendenze e rimuove lo script di deploy obsoleto 2026-10-20 18:49:27 +02:00
carmine.savino 0dfda3a338 Refactor PVC models and update tests
- Updated the PVC models in the database and adjusted the tests accordingly to reflect the new model counts and codes.
- Removed deprecated models from the JSON data for PVC systems.
- Added new GLB models for "scorrevole_sf_3_ante" and "scorrevole_sf_4_ante".
- Enhanced the development scripts to streamline the build process for both frontends.
- Updated documentation to reflect changes in the development environment and deployment process.
- Improved the styling of texture radio options for better visibility.
- Fixed URL handling in the configurator to ensure proper routing and API calls.
2026-10-20 18:40:59 +02:00
carmine.savino b6a32edfe6 Remove obsolete model, handle, and glass data for scorrevole_sf_1_anta and scorrevole_parallelo_1_anta 2026-10-20 18:40:37 +02:00
carmine.savino 8bef57b64b feat: implement discount and transport features in the quote system
- Added maximum discount settings configurable by the administrator.
- Implemented discount calculations in the quote confirmation process.
- Introduced transport options with associated costs, including handling for exceeding maximum piece limits.
- Updated frontend to display discounts and transport information in the quote summary.
- Created new database migrations for storing discount and transport settings.
- Developed a new Filament page for managing global discount settings.
- Enhanced email templates to include discount and transport details.
- Added tests to ensure proper functionality of discounts and transport calculations.
2026-10-20 17:45:50 +02:00
carmine.savino 06617a985a feat: add previous configuration handling for user selections in quotes
- Implemented session storage management for the last configuration choices made by the user.
- Added functionality to prompt users when changing models to retain their previous selections.
- Introduced methods to apply previous choices to the newly loaded model, including finishes, handles, glass types, and options.
- Enhanced user experience by ensuring selections are automatically applied where applicable.
2026-10-19 19:49:44 +02:00
carmine.savino 863e6ca920 feat: Aggiungi supporto per prezzi personalizzati nel listino e modifica la logica di importazione 2026-10-19 17:01:18 +02:00
carmine.savino 1e352eb2ef feat: Implement price list management and import functionality
- Added ListinoRelationManager for managing price lists associated with models.
- Introduced ImportaListiniAction for importing price lists from Excel files.
- Created ListinoPrezzo model to represent price entries in the database.
- Developed ListinoExcelParser for parsing Excel files containing price lists.
- Implemented ListinoImporter to handle the import logic and associations.
- Added migration for creating listino_prezzi table and converting measures to mm.
- Updated frontend logic to handle new price list features and validations.
- Enhanced tests for price list import and conversion functionalities.
2026-10-19 16:51:24 +02:00
carmine.savino a8aa6d9927 Refactor code structure for improved readability and maintainability 2026-10-19 16:25:15 +02:00
carmine.savino 2ed2c0389d fix: Correggi il campo del nominativo del cliente nel preventivo 2026-10-19 16:04:42 +02:00
carmine.savino 31d5152d8c feat: Aggiungi funzionalità di eliminazione per clienti e preventivi con gestione delle dipendenze 2026-10-19 15:48:15 +02:00
carmine.savino d6a9978167 feat: Implement client authentication and pre-fill functionality
- Added AuthController for client login and token management.
- Introduced AuthGate for handling authentication state and login UI.
- Updated API to support fetching client data for pre-filling forms.
- Modified App.vue to pre-fill client information if logged in.
- Enhanced client model to include username and password fields.
- Created migration for adding username and password to clients table.
- Added utility for generating secure usernames and passwords.
- Updated frontend to handle client tokens for pre-filling checkout forms.
- Removed old CSS file and updated HTML references to new assets.
- Added StatsOverview widget for displaying client and quote statistics.
- Improved error handling and user feedback in the login process.
2026-08-24 17:24:46 +02:00
carmine.savino 1c40ef6601 backoffice first commit 2026-07-17 11:34:15 +02:00
carmine.savino 761db06329 versione 0.8 2026-07-13 11:58:30 +02:00