Commit Graph
14 Commits
Author SHA1 Message Date
Jeppe B 94d9b347bf Sanitize leaked auth tokens in HTTP test env 2026-06-02 00:01:57 +02:00
Jeppe Bundgaard bf636c0108 Add configuration files for HTTP client and Nginx logs visualization 2026-02-26 23:01:59 +01:00
Jeppe Bundgaard 76496fc403 Add Nginx test configurations, HTTP scripts for self-serve APIs, and .env example; update .gitignore for IntelliJ files and logs.
- Introduced `PemToCoseConversionTest` for WebAuthn key testing.
- Added example Nginx config (`nginx-example.conf`) with CORS and PHP handling.
- Created HTTP test scripts for self-serve API endpoints.
- Provided `.env` example for Elastic Stack credentials.
- Updated `.gitignore` to include IntelliJ and Nginx logs.
2026-02-24 11:44:09 +01:00
Jeppe Bundgaard aaaaedc70c Add tests for forced MACHINE relay control endpoints
- Introduce HTTP tests for `/modules/self-serve/lane/force/machine/enable` and `/disable`.
- Add `ForceMachineRelayBypassTest` to validate bypass behavior of manual gating restrictions.
2026-02-19 11:07:44 +01:00
Jeppe Bundgaard 7c8a04ff7a Add routes to view and update the self-serve enabled status for departments 2026-01-21 10:22:25 +01:00
Jeppe Bundgaard 9c3a3e6149 Add route and tests for listing module action logs with pagination and filtering 2026-01-06 11:11:40 +01:00
Jeppe Bundgaard b6371455ca Enforce command-specific permissions for self-serve lane operations and update related tests 2025-12-15 16:00:00 +01:00
Jeppe Bundgaard 46c7a2f2cd Add http-client.env.json for HTTP client test environment configuration 2025-12-15 10:34:48 +01:00
Jeppe Bundgaard fff5637fe6 Refactor self-serve.http tests to use dynamic variables for API URL, customer number, license plate, and lane ID 2025-12-15 10:34:42 +01:00
Jeppe Bundgaard 4e1404f070 Add invoices-pdf.http test for invoice PDF endpoint validation 2025-12-15 10:33:14 +01:00
Jeppe Bundgaard d0bd305b0b Add orders-potential-duplicates.http test for endpoint validation 2025-12-15 10:32:16 +01:00
Jeppe Bundgaard 761096495a Update numberplatescans.http to use dynamic variables for API URL, plate, bay ID, and authorization token 2025-12-15 10:30:59 +01:00
Jeppe Bundgaard 1b914b546e Add minute-based billing and lane management extensions to self-serve module
- Introduced `selfserve_lane_command_arguments` class for managing lane command parameters (e.g., customer number, license plate).
- Added traits for handling lane timer, invoice generation, license plate, and customer number management.
- Implemented minute-based billing logic with `selfserve_minute_product_c` configuration.
- Enhanced `selfserve_lane` with new behaviors: command arguments, invoicing, and time handling.
- Added `/modules/self-serve/lane/command` route for executing lane commands (START, STOP, RESET).
- Updated `/modules/self-serve/lane/status` route to include additional lane details (wash start, elapsed time, license plate, etc.).
- Improved Shelly device relay control for port management.
2025-12-08 23:05:35 +01:00
Jepp9350 707df910b0 Refactor: migrate files 2025-01-29 14:27:44 +01:00