Go to file
marco370 4a1c21455b Implement contract rules for shift assignments
Add CCNL (Contratto Collettivo Nazionale di Lavoro) validation logic on the server-side to check shift durations against defined contract parameters. This includes updating the client to handle potential violations and display them to the user via an alert dialog. The server now exposes a new API endpoint (/api/shifts/validate-ccnl) for this validation. Additionally, seeding script has been updated to include default contract parameters.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/IdDfihe
2025-10-17 07:39:19 +00:00
attached_assets Adapt database connections for local and cloud environments 2025-10-16 17:07:26 +00:00
client Implement contract rules for shift assignments 2025-10-17 07:39:19 +00:00
deploy Update deployment script to use npm commands for builds 2025-10-16 15:38:12 +00:00
server Implement contract rules for shift assignments 2025-10-17 07:39:19 +00:00
shared Add multi-location support and meal voucher parameters 2025-10-17 07:13:29 +00:00
.env.production.example Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
.gitignore Add script to automate database backups and Git deployments with versioning 2025-10-17 06:36:21 +00:00
.gitlab-ci.yml Add deployment guide and scripts for automated server setup and deployment 2025-10-16 07:12:27 +00:00
.replit Add location filtering and meal voucher settings 2025-10-17 07:25:08 +00:00
components.json Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
deploy-to-gitlab.sh 🚀 Release v1.0.4 2025-10-17 06:53:19 +00:00
DEPLOYMENT-FIX.md Update deployment process and fix server configuration issues 2025-10-16 16:08:06 +00:00
DEPLOYMENT.md Update deployment to securely manage database passwords 2025-10-16 11:00:27 +00:00
design_guidelines.md Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
drizzle.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
dump.sql Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
dump.zip Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
ecosystem.config.js Update deployment script to use local binaries for build tools 2025-10-16 15:34:32 +00:00
fix-server.sh Update deployment process and fix server configuration issues 2025-10-16 16:08:06 +00:00
GITLAB-DEPLOY.md Add automated deployment with versioning and database backup 2025-10-17 06:38:57 +00:00
GUIDA-DEPLOYMENT-FINALE.md Improve deployment process and external server compatibility 2025-10-16 16:17:05 +00:00
package-lock.json Add vehicle management and improve user authentication and management 2025-10-16 17:41:22 +00:00
package.json Add vehicle management and improve user authentication and management 2025-10-16 17:41:22 +00:00
postcss.config.js Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
push-gitlab.sh Add automated deployment with versioning and database backup 2025-10-17 06:38:57 +00:00
push-to-gitlab.sh Deploy: 2025-10-16 13:42:30 2025-10-16 13:42:30 +00:00
QUICKSTART-DEPLOYMENT.md Update deployment to securely manage database passwords 2025-10-16 11:00:27 +00:00
QUICKSTART-GITLAB.md Improve GitLab deployment process and version management 2025-10-17 06:39:43 +00:00
replit.md Add multi-location support and meal voucher parameters 2025-10-17 07:13:29 +00:00
sidebar_collapsed.png Improve sidebar visibility and appearance in the application 2025-10-11 15:06:44 +00:00
sidebar_visible.png Improve sidebar visibility and appearance in the application 2025-10-11 15:06:44 +00:00
tailwind.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
tsconfig.json Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
version.json 🚀 Release v1.0.5 2025-10-17 06:54:33 +00:00
vite.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00