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
f4b9d71d40
Merge pull request #270 from copenhagentruckwash/add-customer-self-serve-module-authorization-checks
...
Guard customer self-serve command fallback behind global module flag
2026-06-02 09:25:00 +02:00
Jeppe B
77b1c8ec78
Merge pull request #271 from copenhagentruckwash/inspect-command-authorization-for-self-serve-route
...
Authorize self-serve lane commands by customer scope and operator permission
2026-06-02 09:24:38 +02:00
Jeppe B
46bdeded78
Fix self-serve lane command customer authorization
2026-06-02 09:15:24 +02:00
Jeppe B
eefa521fc5
Guard customer self-serve commands behind module flag
2026-06-02 09:14:57 +02:00
Jeppe B
ec1988715d
Merge pull request #269 from copenhagentruckwash/fix-parse-error-in-index.php
...
Handle Release Manager gate parse-error deadlock
2026-06-02 02:53:54 +02:00
Jeppe B
c3fb2e8651
Handle release gate parse-error deadlock
2026-06-02 02:50:02 +02:00
Jeppe B
0fb279fc5f
Merge pull request #268 from copenhagentruckwash/investigate-and-fix-failing-tests
...
Resolve PHP merge conflicts and restore search/autoload behavior
2026-06-02 02:33:35 +02:00
Jeppe B
3e970d9cb9
Seed subuser session cache in API fixtures
2026-06-02 02:29:52 +02:00
Jeppe B
8c10c07cc9
Resolve Caddy replication bootstrap conflict
2026-06-02 02:25:29 +02:00
Jeppe B
18a8513b40
Use namespaced subuser object in API fixtures
2026-06-02 02:21:53 +02:00
Jeppe B
4c77b78c6c
Keep self-serve invoice billing customer authoritative
2026-06-02 02:15:27 +02:00
Jeppe B
bb249da477
Align API tests with hardened auth and department access
2026-06-02 02:09:14 +02:00
Jeppe B
eb16a4e6ce
Fix collected invoice queue count expectations
2026-06-02 02:00:35 +02:00
Jeppe B
a2e525fa9e
Update unit expectations for hardened flows
2026-06-02 01:53:58 +02:00
Jeppe B
0bf19c9d33
Restrict indexed department filters to scoped entities
2026-06-02 01:34:21 +02:00
Jeppe B
5850bfbce7
Keep autoload cache validation test compatible
2026-06-02 01:16:20 +02:00
Jeppe B
fd51a5b119
Fix search table argument ordering
2026-06-02 01:07:45 +02:00
Jeppe B
140365c8bb
Resolve PHP merge conflict test failures
2026-06-02 00:58:15 +02:00
Jeppe B
c9ceac8533
Merge pull request #267 from copenhagentruckwash/fix-permission-checks-for-subuser-endpoints
...
Require SUBUSERS_LIST permission for GET /subusers to enforce RBAC
2026-06-02 00:42:48 +02:00
copilot-swe-agent[bot]
4266b933f5
Merge remote-tracking branch 'origin/master' into fix-permission-checks-for-subuser-endpoints
...
# Conflicts:
# services/nginx/app/routes/subusersRoute.php
2026-06-01 22:41:35 +00:00
Jeppe B
72ec62d042
Merge pull request #259 from copenhagentruckwash/fix-redis-autoload-cache-vulnerability
...
Harden Redis-backed autoloader against poisoned path inclusion
2026-06-02 00:37:33 +02:00
copilot-swe-agent[bot]
d24b50f751
Plan: Resolve merge conflicts in index.php autoloader
2026-06-01 22:36:09 +00:00
Jeppe B
21f5e6d9cf
Enforce permission check on subuser list endpoint
2026-06-02 00:35:48 +02:00
Jeppe B
73b91ccec9
Merge pull request #265 from copenhagentruckwash/fix-unauthenticated-bird-voice-webhook
...
Reinstate authorization check for Bird inbound voice webhook
2026-06-02 00:33:43 +02:00
Jeppe B
0c809a19da
Merge pull request #257 from copenhagentruckwash/propose-fix-for-redis-image-cache-vulnerability
...
Limit Redis dynamic image caching to default variant only
2026-06-02 00:33:27 +02:00
Jeppe B
3a6685c345
Merge pull request #255 from copenhagentruckwash/fix-system-search-authorization-bypass
...
Enforce department scoping in system search for generic entities
2026-06-02 00:33:02 +02:00
Jeppe B
a60983f328
Merge pull request #266 from copenhagentruckwash/propose-fix-for-n8n-ssrf-vulnerability
...
Harden n8n webhook trigger URL validation against SSRF
2026-06-02 00:32:47 +02:00
Jeppe B
e2c2eb21cb
Harden n8n webhook trigger URL validation
2026-06-02 00:32:35 +02:00
copilot-swe-agent[bot]
51c619b0c6
Resolve merge conflicts in departmentLanesRoute.php
2026-06-01 22:29:49 +00:00
copilot-swe-agent[bot]
fe9daf1bf2
Merge remote-tracking branch 'origin/master' into fix-unauthenticated-bird-voice-webhook
...
# Conflicts:
# services/nginx/app/routes/birdVoiceWebhooksRoute.php
2026-06-01 22:27:40 +00:00
copilot-swe-agent[bot]
9c2d7140b4
Merge master into branch to resolve conflicts
2026-06-01 22:27:04 +00:00
copilot-swe-agent[bot]
1505464095
Plan: Resolve merge conflicts with master
2026-06-01 22:25:49 +00:00
Jeppe B
cc00fb2aed
Reinstate auth on Bird inbound voice webhook
2026-06-02 00:23:58 +02:00
Jeppe B
7f38cf2f7e
Merge pull request #264 from copenhagentruckwash/propose-fix-for-ssrf-in-workfeed-api
...
Restrict Workfeed API base URL to trusted hosts (prevent SSRF)
2026-06-02 00:22:35 +02:00
Jeppe B
d281dddbc1
Restrict Workfeed API base URL
2026-06-02 00:22:18 +02:00
Jeppe B
267ec1bed1
Merge pull request #263 from copenhagentruckwash/fix-machine-relay-set-endpoint-vulnerability
...
Guard machine relay set status
2026-06-02 00:21:49 +02:00
Jeppe B
a96f40cf13
Guard machine relay set status
2026-06-02 00:21:32 +02:00
Jeppe B
d6190626ce
Merge pull request #262 from copenhagentruckwash/fix-cross-tenant-job-data-exposure
...
Scope economic transfer queue jobs by creator
2026-06-02 00:20:48 +02:00
Jeppe B
ce8e6d0dab
Scope economic transfer queue jobs by creator
2026-06-02 00:20:30 +02:00
Jeppe B
c13c2e2cab
Merge pull request #261 from copenhagentruckwash/fix-customer-data-leak-in-wash-endpoint
...
Restrict in-progress wash details by lane department
2026-06-02 00:20:07 +02:00
Jeppe B
7380bc729b
Restrict in-progress wash details by lane department
2026-06-02 00:19:55 +02:00
Jeppe B
434a5049e2
Merge pull request #260 from copenhagentruckwash/fix-unpinned-github-actions-vulnerability
...
Harden Qodana workflow permissions and pin checkout action
2026-06-02 00:17:44 +02:00
copilot-swe-agent[bot]
6489706231
Merge master and resolve conflicts
...
- Retained security improvements from master (token detection, cache prep, safe directory)
- Applied security hardening by pinning actions/checkout@v4 to commit SHA 11bd71901bbe5b1630ceea73d27597364c9af683
- Added persist-credentials: false to checkout step to prevent credential exposure
2026-06-01 22:14:21 +00:00
Jeppe B
eb66b343ea
Harden Qodana workflow permissions and checkout pin
2026-06-02 00:04:10 +02:00
Jeppe B
e363f27da9
Harden autoload Redis cache path validation
2026-06-02 00:02:40 +02:00
Jeppe B
fbad5f767f
Merge pull request #258 from copenhagentruckwash/fix-hardcoded-auth-tokens-in-configuration
...
Sanitize leaked auth tokens in HTTP test env
2026-06-02 00:02:06 +02:00
Jeppe B
94d9b347bf
Sanitize leaked auth tokens in HTTP test env
2026-06-02 00:01:57 +02:00
Jeppe B
76744fd6c3
Limit dynamic image Redis caching to default variant
2026-06-02 00:00:04 +02:00
Jeppe B
f5c1a34c29
Merge pull request #256 from copenhagentruckwash/fix-idor-vulnerability-in-economic-v2-endpoints
...
Prevent IDOR on Economic V2 collected-invoice endpoints
2026-06-01 23:58:41 +02:00