Jeppe B
579ddcf510
Merge pull request #307 from copenhagentruckwash/copilot/update-limited-backoffice-roles
...
Fix limited-backoffice role permissions and enforce department access on order mutations
2026-07-07 02:53:06 +02:00
Jeppe Bundgaard
0b342a7780
Align limited backoffice permission cap tests
2026-07-07 02:47:49 +02:00
copilot-swe-agent[bot]
57bcbaf72a
Fix 11 failing API tests across 4 files
2026-07-07 00:31:43 +00:00
copilot-swe-agent[bot]
d9fbba3130
Return 404 when order item not found in DELETE /order/items
2026-07-06 23:19:00 +00:00
copilot-swe-agent[bot]
e4465d9d91
Improve DELETE /order/items: clearer error message, 404 when order not found
2026-07-06 23:17:50 +00:00
copilot-swe-agent[bot]
734cd13c87
Handle prepared statement failure with error response in DELETE /order/items
2026-07-06 23:16:55 +00:00
copilot-swe-agent[bot]
d0f94ac549
Use prepared statements for all new DB queries in tests and route
2026-07-06 23:15:59 +00:00
copilot-swe-agent[bot]
1d25cbe21c
Fix SQL injection concerns: use prepared statements in orderItemsRoute and tests
2026-07-06 23:14:34 +00:00
copilot-swe-agent[bot]
53d0636193
Fix limited-backoffice permissions and add department access restrictions
2026-07-06 23:12:01 +00:00
Jeppe B
04bb26f1b0
Merge pull request #306 from copenhagentruckwash/copilot/fix-php-api-job-failure
...
Fix two failing LimitedBackofficeApiTest assertions
2026-07-07 00:44:53 +02:00
copilot-swe-agent[bot]
df0d4783d0
Remove search_customers and search_vehicles from raw-permission exclusion list
2026-07-06 22:37:40 +00:00
copilot-swe-agent[bot]
39c06ceab6
Address code review: restore filter passthrough and add clarifying comments
2026-07-06 22:28:45 +00:00
copilot-swe-agent[bot]
7dd428d18e
Fix two failing LimitedBackofficeApiTest tests
...
Fix 1: Remove add_order_attachments and download_order_attachments from
the raw-permissions exclusion check in the test. These strings are valid
capability names that legitimately appear in the /limited-backoffice/roles
response, so including them in the 'should not contain' list caused a
false failure.
Fix 2: Update limitedBackofficeEmployeeListMode() in usersRoute.php to
exclude active limited backoffice employees when include_limited_backoffice_employees
is not set and the customer_number:0 filter is in use. Previously the
method returned additional_where:null in this case, so limited employees
were included in the result set alongside regular backoffice employees.
2026-07-06 22:27:45 +00:00
copilot-swe-agent[bot]
0103a40156
Initial plan
2026-07-06 22:19:38 +00:00
Jeppe B
e208b1b2a4
Merge pull request #305 from copenhagentruckwash/codex/limited-backoffice-employee-migration
...
Add limited backoffice employee migration
2026-07-07 00:14:25 +02:00
Jeppe Bundgaard
6b4b55cb62
Add limited backoffice employee migration
2026-07-07 00:10:22 +02:00
Jeppe Bundgaard
0cca597fdc
Fix XLVask usage import dates
...
Fix XLVask usage-log import metadata and period-scoped Selvvask automation.
2026-07-06 23:49:28 +02:00
Jeppe B
709c6acbba
Fix product null department permissions
...
Treats null-like optional product query params as omitted and avoids department_access_0 permission checks.
2026-07-06 20:14:45 +02:00
Jeppe Bundgaard
ed2736e528
Fix product null department permissions
2026-07-06 19:56:07 +02:00
Jeppe B
c7f5c73a9e
Merge pull request #303 from copenhagentruckwash/codex/daily-report-product-targets-api
...
[codex] Add daily report product target API
2026-07-06 19:35:37 +02:00
Jeppe Bundgaard
c10af48954
Add daily report product target API
2026-07-06 18:52:24 +02:00
Jeppe Bundgaard
7ac5c5585b
Add limited backoffice employee QR login links
2026-07-06 17:32:58 +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 Bundgaard
614715822f
Fix backend merge fallout for booking and limited employees
2026-07-06 17:16:22 +02:00
Jeppe Bundgaard
1da02e2486
Fix limited backoffice price save reset
2026-07-06 17:13:04 +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
e0ae74bdc2
Merge remote-tracking branch 'origin/master' into codex/customer-product-fixed-price-overrides
2026-07-06 17:00:52 +02:00
Jeppe Bundgaard
08dc803b3e
Make limited backoffice employees regular employees
2026-07-06 16:59:32 +02:00
Jeppe Bundgaard
248a901f24
Merge master into fixed price override branch
2026-07-06 16:54:01 +02:00
Jeppe Bundgaard
8bbdf9daf5
Require booking add node for subuser booking creation
2026-07-06 16:48:07 +02:00
Jeppe B
c089186046
Merge pull request #302 from copenhagentruckwash/codex/customer-orderbooking-create-without-permission
...
Allow customer order booking creation without booking permission
2026-07-06 16:39:17 +02:00
Jeppe Bundgaard
2ae1fc3fcf
Allow customer order booking creation without booking permission
2026-07-06 16:33:31 +02:00
Jeppe Bundgaard
d9eacf6f84
Deduplicate limited backoffice price products
2026-07-06 16:28:08 +02:00
Jeppe B
f262047476
Merge pull request #300 from copenhagentruckwash/codex/scoped-monthly-split-api
...
Scope monthly invoice split API
2026-07-06 16:01:54 +02:00
Jeppe B
b8390ac0d3
Merge pull request #298 from copenhagentruckwash/codex/only-tankcleaning-order-enforcement
...
Enforce only tankcleaning order products
2026-07-06 16:01:40 +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
845ca6e48e
Merge pull request #290 from copenhagentruckwash/codex/custom-pricing-only-departments
...
Add custom-only department pricing enforcement
2026-07-06 15:31:27 +02:00
Jeppe Bundgaard
1cda2a81aa
Merge remote-tracking branch 'origin/master' into codex/custom-pricing-only-departments
...
# Conflicts:
# services/nginx/app/tests/Api/OrderItemsApiTest.php
2026-07-06 15:21:31 +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
9f797bf6b8
Add opening hours table to API test schema
2026-07-06 14:27:39 +02:00
Jeppe Bundgaard
d345db927f
Add daily report table to API test schema
2026-07-06 14:16:41 +02:00
Jeppe B and Jeppe Bundgaard
11c2a1b72e
Block restricted customer order items ( #296 )
...
Co-authored-by: Jeppe Bundgaard <jb@truckwash.dk >
2026-07-06 14:06:29 +02:00
Jeppe Bundgaard
eca7a81f9d
Add superuser department overview API
2026-07-06 13:59:40 +02:00
Jeppe Bundgaard
62f2c80dda
Scope monthly invoice split endpoint
2026-07-06 13:37:31 +02:00
Jeppe B and Jeppe Bundgaard
6f3d7e0f7d
Add limited backoffice employee contact fields ( #294 )
...
Co-authored-by: Jeppe Bundgaard <jb@truckwash.dk >
2026-07-06 13:14:06 +02:00
Jeppe Bundgaard
430c90cbca
Enforce only tankcleaning order products
2026-07-06 12:53:42 +02:00
Jeppe Bundgaard
f02dfd8c9c
Add customer product fixed price overrides
2026-07-06 12:52:33 +02:00
Jeppe B
a8fba73d99
Add limited backoffice role permission details ( #291 )
...
Adds grouped safe permission metadata for limited backoffice role presets.
2026-07-06 12:24:54 +02:00
Jeppe B
669759461d
Merge pull request #293 from copenhagentruckwash/codex/economic-collected-invoice-transfer-speed
...
Optimize collected e-conomic invoice transfers
2026-07-06 11:49:47 +02:00
Jeppe Bundgaard
db1b9a2c96
Fix e-conomic EAN customer transfer
2026-07-06 11:34:23 +02:00