Commit Graph

5 Commits

Author SHA1 Message Date
Samer Salameh d28802994a Production container runs as the owner of /mnt/NTPFiles (65534:2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 09:36:38 +03:00
Samer Salameh bf1c04b590 Security hardening, time zone, voice call SOAP, registry fixes, CO role, remarks byte limit
- Permits: confirming a turn (accept/reject/revoke-accepted) is staff-only; submit needs REQST; company access check no longer passes null; seed/check-trucks SU-only; duplicate company-destinations endpoint removed
- Registry: attachment download scoped to the user's company; long original names and 20-char column caps; add-trailer button after revoke
- Dialer callback: constant-time key, NO_ANSWER only for REQST and legacy-style reset, postpone days capped
- Voice call: SOAP callAPI like legacy, single flight, started/busy results
- Company turn permits: truck number editable
- Blacklist remarks cut by UTF-8 bytes (500-byte column)
- Distribution: BlCategory bind, OPEN guards, process-with-destination dropdowns and server check, per-category confirmation
- Container TZ=Asia/Amman; production ownership code lists; IVR config
- Role CO (same rights as GTO), date field padding, home page grouping, grid and report fixes

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 15:55:03 +03:00
Samer Salameh cc5772092f Production attachments on /mnt/NTPFiles; center trucks/used columns in orders grid
- appsettings.Production.json: Grains:Registry UploadedFilesPath=/mnt/NTPFiles, TempUploadPath=/mnt/NTPFiles/tempuploadedfiles
- docker-compose (prod): bind-mount /mnt/NTPFiles into the container
- Orders grid: عدد السيارات / المستخدم centred

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 09:13:48 +03:00
Samer Salameh 1b3a8500ab DISP role: view tender-order permits of own company; permit edit dialog (trailer and driver only, validate on Enter)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 12:24:04 +03:00
Samer Salameh e24ab12182 Deploy: QA and production Docker setup, serve web app from the API, report menu names
- deploy/qa and deploy/prod: Dockerfile (API + built web app), compose, .env.example, Apache vhost templates
- API serves wwwroot with an SPA fallback that leaves file requests to the static file middleware
- Docker/ENVIRONMENTS docs for QA and production
- Reports menu: drop the word تقرير from the item names

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 17:31:22 +03:00