marco370
fcb2020618
Saved your changes before rolling back
...
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 94491beb-cc63-4877-b64a-41f1e2a4c43a
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-17 08:46:16 +00:00
marco370
a900ed2755
Improve vehicle creation by handling unassigned guards correctly
...
Update vehicle creation API to correctly map "unassigned" guard values to null, and adjust the UI SelectItems to use "unassigned" string value.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/B8lcojv
2025-10-17 08:46:14 +00:00
marco370
6f1d83ad8f
Saved your changes before starting work
...
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 94491beb-cc63-4877-b64a-41f1e2a4c43a
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-17 08:46:13 +00:00
marco370
6db91c5cef
Update Git push configuration for exports
...
No changes to commit.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/B8lcojv
2025-10-17 08:38:57 +00:00
marco370
2f0831b81e
Improve database backup reliability and error handling
...
Enhance pg_dump backup command with --clean, --if-exists, and --inserts flags for improved reliability and compatibility, and update error logging for failed backups.
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/B8lcojv
2025-10-17 08:38:07 +00:00
Marco Lanzara
4693b782cb
🚀 Release v1.0.8
...
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.8_20251017_083612.sql.gz
- Data: 2025-10-17 08:36:24
2025-10-17 08:36:24 +00:00
marco370
3f6556392a
Improve management of services, schedules, and data exports
...
Address issues with vehicle data insertion, service management, and database export functionality.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/B8lcojv
2025-10-17 08:33:42 +00:00
marco370
5c15e6ad27
Add ability to manage services and improve planning page
...
Update `advanced-planning.tsx` to properly fetch and display training courses and absences. Modify `services.tsx` to enable adding and editing services with form validation and mutation logic.
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/B8lcojv
2025-10-17 08:33:07 +00:00
marco370
2b53650f1b
Rename advanced planning page and set default vehicle location
...
Update sidebar navigation and page title from "Pianificazione Avanzata" to "Gestione Pianificazioni". Add a default 'roccapiemonte' location to the vehicle model in client/src/pages/vehicles.tsx.
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/kxc8yZp
2025-10-17 08:25:32 +00:00
Marco Lanzara
dd468716d9
🚀 Release v1.0.7
...
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.7_20251017_080727.sql.gz
- Data: 2025-10-17 08:07:39
2025-10-17 08:07:39 +00:00
marco370
fdbcc3eee3
Add version number to the system header and implement planning page
...
Update UI with version number, implement planning page, and address issues with vehicle management and service page.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/kxc8yZp
2025-10-17 08:00:49 +00:00
marco370
7ab5ae65a7
Introduce an advanced planning page and improve existing planning features
...
Replaces the existing planning page with an advanced version, adds a new route and sidebar link for advanced planning, and refactors the planning page component to support new functionalities.
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/kxc8yZp
2025-10-17 08:00:17 +00:00
marco370
5c6bf0ca4d
Update vehicle management to include location selection
...
Modify the client-side vehicle management page to allow selection of vehicle location (site) during creation and editing, and adjust the form layout to accommodate the new field.
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/kxc8yZp
2025-10-17 07:56:59 +00:00
marco370
500da807cf
Add a new page for managing different types of security services
...
Implement the Services page with routing, navigation, and data fetching for service statistics.
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/kxc8yZp
2025-10-17 07:55:17 +00:00
marco370
8237234fad
Add current version number to the dashboard and specify testing environment
...
Add current version number to the dashboard UI and document that all tests are performed on the external server with local authentication.
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:53:11 +00:00
Marco Lanzara
47fa3104e3
🚀 Release v1.0.6
...
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.6_20251017_074358.sql.gz
- Data: 2025-10-17 07:44:09
2025-10-17 07:44:09 +00:00
marco370
d75bbaaaa4
Improve user experience by fixing a critical issue in the schedule view
...
Fix an issue where the schedule view would crash when no guards were assigned to a shift.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_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:40 +00:00
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
marco370
34221555d8
Add location filtering and meal voucher settings
...
Implements multi-location filtering on Dashboard and Shifts pages, adds meal voucher configuration options in Parameters, and introduces multi-location seeding in server/seed.ts.
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:25:08 +00:00
marco370
e21b19c0e6
Add multi-location support and meal voucher parameters
...
Introduce a new enum for locations (Roccapiemonte, Milano, Roma) and update schema definitions for guards, vehicles, and sites to include location. Add meal voucher configuration to 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:13:29 +00:00
Marco Lanzara
2bf8b54dc6
🚀 Release v1.0.5
...
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.5_20251017_065422.sql.gz
- Data: 2025-10-17 06:54:32
2025-10-17 06:54:33 +00:00
Marco Lanzara
969c2c1569
🚀 Release v1.0.4
...
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.4_20251017_065308.sql.gz
- Data: 2025-10-17 06:53:19
2025-10-17 06:53:19 +00:00
marco370
7fb5f35138
Update repository access to use username and token for Gitea
...
Modify deploy script to use username and token for HTTPS Git access, aligning with Gitea's authentication requirements instead of GitLab's OAuth2.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/Z1LDqzu
2025-10-17 06:52:30 +00:00
Marco Lanzara
aae6a56a86
🚀 Release v1.0.3
...
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.3_20251017_064815.sql.gz
- Data: 2025-10-17 06:48:26
2025-10-17 06:48:26 +00:00
marco370
d36b45d724
Update GitLab deployment to use correct authentication format
...
Modify `deploy-to-gitlab.sh` to use `oauth2` as the username with a Personal Access Token for HTTPS Gitlab repository authentication.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/Z1LDqzu
2025-10-17 06:46:44 +00:00
Marco Lanzara
5b27943029
🚀 Release v1.0.2
...
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.2_20251017_064413.sql.gz
- Data: 2025-10-17 06:44:23
2025-10-17 06:44:23 +00:00
marco370
273f29fcd7
Fix bug that prevents users from accessing their personal accounts safely
...
Update authentication middleware to correctly handle user login requests.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/Z1LDqzu
2025-10-17 06:43:39 +00:00
Marco Lanzara
8632353d2d
🚀 Release v1.0.1
...
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.1_20251017_064224.sql.gz
- Data: 2025-10-17 06:42:36
2025-10-17 06:42:36 +00:00
marco370
70967cfcb3
Improve GitLab deployment process and version management
...
Add documentation for a new script that automates database backups, version incrementing, and Gitlab pushes, including a .env file for credentials and commands for patch, minor, and major version updates.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/Z1LDqzu
2025-10-17 06:39:43 +00:00
marco370
acc1939f44
Add automated deployment with versioning and database backup
...
Introduces a new deployment script (push-gitlab.sh) and documentation (GITLAB-DEPLOY.md) to automate pushing code to GitLab. The system supports semantic versioning (patch, minor, major) for releases and automatically backs up the database before each deployment. It also includes instructions for configuring GitLab credentials via a `git.env` file.
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/Z1LDqzu
2025-10-17 06:38:57 +00:00
marco370
be38d9a68f
Add script to automate database backups and Git deployments with versioning
...
Create a bash script `deploy-to-gitlab.sh` for automating database backups and pushing code to GitLab. The script supports semantic versioning (patch, minor, major increments) and reads GitLab credentials from a `git.env` file. It also creates/updates a `version.json` file to track the current version and changelog.
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/Z1LDqzu
2025-10-17 06:36:21 +00:00
Marco Lanzara
743ec4261f
Deploy: 2025-10-17 06:25:23
2025-10-17 06:25:27 +00:00
marco370
dcb6a87ef8
Update Italian translation for user interface elements
...
Translate UI strings from English to Italian to improve usability for Italian-speaking users.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/Z1LDqzu
2025-10-16 17:57:11 +00:00
marco370
b81f1253ac
Add system parameters configuration for contract rules
...
Introduce a new section in the application for managing contract parameters. This includes backend API endpoints for fetching and updating contract parameters, schema definitions for these parameters, and a frontend page to display and edit them. Admins and coordinators can now configure various aspects of contract rules and shift planning.
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/Z1LDqzu
2025-10-16 17:56:46 +00:00
marco370
0203c9694d
Add vehicle management and improve user authentication and management
...
Introduce a new section for vehicle management, enhance user authentication with bcrypt, and implement CRUD operations for users.
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/GNrPM6a
2025-10-16 17:41:22 +00:00
marco370
09ff76e02d
Adapt database connections for local and cloud environments
...
Update dependencies and logic in `server/db.ts` to use either the standard PostgreSQL driver or the Neon serverless driver based on the environment, along with configuration adjustments in `ecosystem.config.cjs`.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/EAVbbe1
2025-10-16 17:07:26 +00:00
marco370
db1bbe825a
Update server code and restart application services
...
Update `server/localAuth.ts` to resolve certificate validation errors and restart the application using PM2.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/EAVbbe1
2025-10-16 16:54:36 +00:00
marco370
b5008a9dc8
Fix login redirect and server error handling for admin users
...
Introduces a GET route for /api/login to redirect to /api/auto-login-admin, and enhances error handling and logging within the local authentication module, particularly for admin user retrieval.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/EAVbbe1
2025-10-16 16:50:17 +00:00
marco370
51a2eec68b
Add local authentication for external deployments
...
Introduce a local authentication system using Passport.js for deployments outside of Replit, including session management and a default admin user setup.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/EAVbbe1
2025-10-16 16:43:55 +00:00
marco370
6924345aa8
Update server and deployment scripts for improved stability
...
Update REPLIT_DOMAINS, package.json scripts, .env variables, and deploy.sh to include dev dependencies and ensure correct database schema synchronization.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/AwjfjCW
2025-10-16 16:34:19 +00:00
marco370
6194b2cc7b
Improve deployment script to fix build errors and dependency issues
...
Update deploy/deploy.sh to resolve 'Cannot find module' error during Vite build and address npm audit warnings for improved deployment stability.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/AwjfjCW
2025-10-16 16:29:53 +00:00
marco370
8b07e96896
Fix issues and improve overall system stability and performance
...
No changes to review.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/AwjfjCW
2025-10-16 16:17:46 +00:00
marco370
50adb0ed9a
Improve deployment process and external server compatibility
...
Updates deployment scripts and documentation, making external server integration more flexible by making REPLIT_DOMAINS optional and providing automatic fallback.
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/AwjfjCW
2025-10-16 16:17:05 +00:00
marco370
dc290c48d7
Update deployment process and fix server configuration issues
...
Update server deployment scripts and configuration files to resolve issues with environment variables, dependency installation, and build processes.
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/AwjfjCW
2025-10-16 16:08:06 +00:00
marco370
c82fafd438
Improve authentication by supporting external servers
...
Update Replit authentication to use environment variables for domains and REPL ID.
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/AwjfjCW
2025-10-16 16:05:48 +00:00
marco370
7c9ba798ed
Update deployment script to use npm commands for builds
...
Modify deploy.sh to utilize `npm run build` and `npm run db:push` for frontend builds and database migrations, and simplify PM2 process management.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/AwjfjCW
2025-10-16 15:38:12 +00:00
marco370
12e1efaa3d
Update deployment script to use local binaries for build tools
...
Modify deploy.sh to use local npm package binaries for Vite and Drizzle Kit, and update ecosystem.config.js to use ES Module export syntax.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/AwjfjCW
2025-10-16 15:34:32 +00:00
marco370
088ec72ddc
Improve deployment script to handle database backups and application restarts
...
Update deploy.sh to include database backup, dependency installation, Vite build, Drizzle schema push, and PM2 application restart with rollback functionality.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/AwjfjCW
2025-10-16 15:31:17 +00:00
marco370
a92b7a5096
Improve deployment process to handle environment variables and schema updates
...
Update the deployment script to correctly load environment variables for PM2, ensuring proper configuration for database connections and other runtime settings. This also includes ensuring that database schema migrations are pushed to the database using `drizzle-kit push --force` during deployment.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/AwjfjCW
2025-10-16 15:24:36 +00:00
marco370
0f0311d214
Fix deployment issues related to environment variables and tool configuration
...
Updates the deployment script to correctly handle PM2 environment variables and the npx command for drizzle-kit.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/AwjfjCW
2025-10-16 15:23:24 +00:00