Jeppe B
677d4700b0
Enforce customer product restrictions for order bookings ( #318 )
...
## What changed
- validate every normalized order-booking item against active customer
product rules before reservation and persistence
- return a structured HTTP 400 response containing the rejected product
and matching rule metadata
- document the rejection response in both OpenAPI specifications
- add API coverage for restricted base products, restricted add-ons, and
allowed neighboring products
## Why
Frontend rule guidance alone cannot prevent stale or crafted requests
from persisting restricted booking products. The booking write boundary
must enforce the same customer rules.
## Validation
- full backend API suite
- focused order-booking API coverage
- PHP syntax checks
- OpenAPI and diff checks
## Related frontend PR
The coordinated frontend PR provides fail-closed selection, recovery,
and responsive booking-page behavior.
2026-07-20 14:09:20 +02:00
Jeppe B
e1fb79d9b6
Add customer rule product restrictions
2026-07-16 11:50:52 +02:00
Jeppe B
879dfcf79a
Improve invoice period data and POS add-on validation
2026-07-15 17:04:52 +02:00
Jeppe B
0feb705059
Support collected invoice economic PDF downloads
2026-07-14 15:39:39 +02:00
Jeppe Bundgaard
5bac316e4b
Add loading screen for session confirmation and enhance vehicle management labels
2026-07-13 22:11:54 +02:00
Jeppe Bundgaard
582edd3e6c
Implement subuser verification and invoice/self-serve API fixes
2026-07-13 15:11:49 +02:00
Jeppe Bundgaard
327e9cf817
Update self-serve permissions and enhance UI components for customer interactions
2026-07-13 10:21:22 +02:00
Jeppe Bundgaard
012e5366ba
Add system status displays for Minio and Redis, and enhance backup configuration
2026-07-13 10:08:00 +02:00
Jeppe Bundgaard
6a694f92cc
Add bulk action preview and apply endpoints for collected invoices
2026-07-08 13:46:31 +02:00
Jeppe Bundgaard
3221223865
Enhance vehicle summary retrieval for customers and update OpenAPI schema for subuser management grants
2026-07-08 12:15:18 +02:00
Jeppe Bundgaard
6b7592921d
Add subuser permission templates service and related tests
2026-07-08 11:49:40 +02:00
Jeppe Bundgaard
10d1eb5bac
Refactor system search cache handling and update OpenAPI specifications for max results
2026-07-07 18:59:07 +02:00
Jeppe Bundgaard
084435e9b8
Add customer pricing permissions and update related tests
2026-07-07 17:58:39 +02:00
Jeppe Bundgaard
172a21c517
Implement department-specific customer pricing functionality
2026-07-07 17:27:56 +02:00
Jeppe Bundgaard
bf1d6a583e
Allow customers to read own attributes
2026-07-07 13:05:24 +02:00
Jeppe Bundgaard
ce43c4e064
Expose limited backoffice role permission templates
2026-07-07 03:23:42 +02:00
Jeppe Bundgaard
c10af48954
Add daily report product target API
2026-07-06 18:52:24 +02:00
Jeppe B
8544ce0a18
Merge pull request #297 from copenhagentruckwash/codex/customer-product-fixed-price-overrides
...
Add customer product fixed price overrides
2026-07-06 17:23:06 +02:00
Jeppe B
742b15116d
Merge pull request #295 from copenhagentruckwash/fix/economic-ean-transfer
...
Fix e-conomic EAN customer transfer
2026-07-06 17:00:57 +02:00
Jeppe Bundgaard
248a901f24
Merge master into fixed price override branch
2026-07-06 16:54:01 +02:00
Jeppe B
0d4a5470e5
Add superuser department overview API ( #301 )
...
Merge backend API for the superuser department overview.
2026-07-06 16:01:04 +02:00
Jeppe B and Jeppe Bundgaard
8e46ce1b04
[codex] Allow error reports without screenshots ( #299 )
...
* Allow error reports without screenshots
* Stabilize edge gateway shell transcript smoke
---------
Co-authored-by: Jeppe Bundgaard <jb@truckwash.dk >
2026-07-06 14:27:47 +02:00
Jeppe Bundgaard
eca7a81f9d
Add superuser department overview API
2026-07-06 13:59:40 +02:00
Jeppe Bundgaard
f02dfd8c9c
Add customer product fixed price overrides
2026-07-06 12:52:33 +02:00
Jeppe Bundgaard
db1b9a2c96
Fix e-conomic EAN customer transfer
2026-07-06 11:34:23 +02:00
Jeppe B and Jeppe Bundgaard
3f41eebdf6
Default vehicle subscriptions to false ( #288 )
...
Co-authored-by: Jeppe Bundgaard <jb@truckwash.dk >
2026-07-06 09:21:31 +02:00
Jeppe Bundgaard
3ea92be722
Add endpoint and functionality to test Slack internal department goal progress webhook
2026-06-29 11:32:47 +02:00
Jeppe Bundgaard
42f8ae0c47
Refactor input value handling and improve validation in ObjectsGlobal component
2026-06-29 11:08:50 +02:00
Jeppe Bundgaard
e6a18ce5d8
Add Slack customer registration webhook test endpoint
2026-06-11 15:06:31 +02:00
Jeppe Bundgaard
df7153a5ba
Fix self-serve path outcome case limit
2026-06-11 14:46:27 +02:00
Jeppe B
574b263a54
Merge pull request #278 from copenhagentruckwash/fix/self-serve-start-wash-type
...
Honor wash type in self-serve lane start
2026-06-10 20:07:46 +02:00
Jeppe Bundgaard
cea469c95a
Honor wash type in self-serve lane start
2026-06-10 19:18:19 +02:00
Jeppe B
cb34b030c8
Add order booking completion confirmation resend route
2026-06-10 17:55:57 +02:00
Jeppe Bundgaard
91d3332d4e
Add Slack customer registration notification functionality
2026-06-08 12:42:03 +02:00
Jeppe Bundgaard
bedbf21c29
Add superuser new customer email notification preferences
2026-06-08 12:20:07 +02:00
Jeppe Bundgaard
c23168afc5
Merge remote-tracking branch 'origin/master'
2026-06-02 10:29:25 +02:00
Jeppe Bundgaard
72704b7806
Add "Get My Active Self-Serve Wash" endpoint and corresponding tests
...
- Introduced a new `/modules/self-serve/lane/wash/my-active-wash` endpoint to retrieve the authenticated customer's active self-serve wash.
- Implemented authentication and permission checks for secure access.
- Added detailed response handling for various scenarios, including 401, 403, and 404 statuses.
- Extended API documentation and OpenAPI spec to support the new endpoint.
- Updated unit and API tests to validate endpoint functionality and route wiring.
2026-06-02 10:29:15 +02:00
Jeppe B
47068e6d7e
Add booking confirmation resend endpoint
2026-06-02 09:15:34 +02:00
Jeppe B
6712368323
Clamp self-serve path projection limits
2026-06-01 23:27:22 +02:00
copilot-swe-agent[bot]
b8f65f242f
Merge origin/master and resolve property gate conflict
2026-06-01 19:02:11 +00:00
Jeppe B
787db994dd
Fix property gate command authorization bypass
2026-06-01 20:57:21 +02:00
Jeppe Bundgaard
b7aeb11801
Add department_selfserve_path_confirmations table and enhance PingApiTest
...
Introduce a new database table `department_selfserve_path_confirmations` to store path confirmations related to department configurations. Update `PingApiTest` to verify additional keys, ensuring `backend_version` and `api_commit_sha` are checked in the response.
2026-05-27 17:35:16 +02:00
Jeppe Bundgaard
d52ceb8513
Add robust release update and API health checks
...
This commit introduces a release update mechanism, including candidate detection, asset pre-downloading, and installation workflows with proper state management. Additionally, it implements API health checks both for successful and failure scenarios and adds related unit and e2e tests for enhanced reliability.
2026-05-27 13:24:15 +02:00
Jeppe Bundgaard
78462f3ae4
Integrate cors_policy class to standardize CORS handling, refactor optionsRoute to use it, and add unit tests for CORS and Self-Serve Lane Access functionalities.
2026-05-26 16:35:02 +02:00
Jeppe Bundgaard
bc7c0280f2
Add .gitattributes for binary files and extend order booking update tests. Enhance dynamic image and routing logic with program_picker support.
2026-05-26 14:04:27 +02:00
Jeppe Bundgaard
c5a1271798
Enhance Coolify API deployment with improved gateway route handling and extensive test coverage. Add new methods for service updates and ensure Composer vendor sanity checks in PHP container.
2026-05-20 16:45:50 +02:00
Jeppe Bundgaard
44c4b7656f
Enhance Coolify integration with gateway route deployment, add tests for new application route labels, and refactor gateway probing process.
2026-05-20 12:59:51 +02:00
Jeppe Bundgaard
00a8723347
Integrate Coolify API client and module for managing Coolify services, enhancing automation and deployment processes.
2026-05-19 13:17:07 +02:00
Jeppe Bundgaard
ab31cd6dbb
Enhance MinIO handling in replication management and update legacy test bootstrap. Add MinIO replication logic, legacy setup cleanup, and include necessary tests for improved MinIO interaction and error tolerance.
2026-05-18 14:12:03 +02:00
Jeppe Bundgaard
f53b99ad94
Implement replication management endpoints and enhance application write freeze handling
2026-05-18 09:59:15 +02:00