Commit Graph
100 Commits
Author SHA1 Message Date
Jeppe B 6658af814b Remove committed env backup with secrets 2026-06-01 22:04:11 +02:00
Jeppe B 9002b3a113 Merge pull request #139 from copenhagentruckwash/document-canonical-relationship-model-for-entities
Clarify canonical self-serve relationships and condition/question naming intent
2026-03-12 08:49:50 +01:00
Jeppe B fd389cf1a4 Merge pull request #141 from copenhagentruckwash/add-weatherapi-module-implementation-6ti277
Add WeatherAPI module with routes, config and OpenAPI definitions
2026-03-12 08:49:33 +01:00
Jeppe B 87c442040f Merge branch 'master' into add-weatherapi-module-implementation-6ti277 2026-03-12 08:49:24 +01:00
Jeppe B 7835f068b6 Merge pull request #140 from copenhagentruckwash/add-weatherapi-module-implementation
Add WeatherAPI module, config and department weather timeline endpoints
2026-03-11 14:52:16 +01:00
Jeppe B 3607aef2ca Align WeatherAPI OpenAPI schemas with actual response envelopes 2026-03-11 14:37:37 +01:00
Jeppe B 527e6a9ec4 Document WeatherAPI and department weather endpoints in OpenAPI 2026-03-11 13:56:29 +01:00
Jeppe B 3ec338457e Clarify self-serve entity relationships and naming intent 2026-03-11 13:54:11 +01:00
Jeppe B dd4c9da86c Merge pull request #137
Add Bird voice webhook handler for automated gate opening and tighten test call number handling
2026-03-09 09:47:01 +01:00
Jeppe B cc4e59a3e5 Fix inbound caller detection for Bird voice webhooks 2026-03-04 11:35:49 +01:00
Jeppe B 37f0f280d8 Adjust Bird inbound department prompt to press-digit menu 2026-03-04 11:17:57 +01:00
Jeppe B 218344650c Merge pull request #135
Implement department gates and relays objects, CRUD routes and OpenAPI docs
2026-03-03 12:06:13 +01:00
Jeppe B acc913c9b5 Implement department gates and relays objects and routes 2026-03-03 12:01:02 +01:00
Jeppe B 6853cdc9ce Merge pull request #131 from copenhagentruckwash/codex/find-and-fix-important-bug
Fix selfserve lane bootstrap failures from eager logging dependencies
2026-02-27 02:04:23 +01:00
Jeppe B 0bb032bd0f Fix selfserve lane logging bootstrap dependency handling 2026-02-27 02:02:30 +01:00
Jeppe B 48b625a8a0 Add Qodana code quality workflow 2026-02-24 10:24:21 +01:00
Jeppe B 82e41f45a9 Merge pull request #127 from copenhagentruckwash/scalability-enhancement
scalability-enhancement
2026-02-16 13:26:55 +01:00
Jeppe B d39bf2dbd6 Merge pull request #94 from copenhagentruckwash/copilot/add-openapi-documentation
Add OpenAPI 3.0.3 specification for all API routes and schemas
2026-01-05 13:16:38 +01:00
Jeppe B 62fbbdf38e Merge pull request #92 from copenhagentruckwash/updater-v1
updater-v1
2026-01-05 09:22:40 +01:00
Jeppe B a6d17b8828 Merge pull request #74 from copenhagentruckwash/xl-vask-module
Xl vask module
2025-07-14 14:26:53 +02:00
Jepp9350 ffd0606ece Enhance xlvask_tasks: introduce date range options and additional debug outputs for runSyncUsage. Add new parsers xlvask_parser_ingen_b_rster_foran_no_brush_wash_front and xlvask_parser_ht_dysebom and integrate into xlvask_helpers. Improve rate limiting and reduce FastCGI timeout in nginx configuration. Adjust execution time and memory limits in cli.php. 2025-07-14 09:22:32 +02:00
Jepp9350 edcb6e5926 Adjust cron job intervals: increase execution intervals for SyncUserEconomicCustomerDiscounts, SyncEconomicInvoiceStatus, and SyncXLVaskModuleCron to reduce frequency. 2025-07-11 08:37:34 +02:00
Jepp9350 0f8ec71ffe Enhance orders_o: add wash ID, timestamp creation, and detailed debug logging for mismatched totals. Add new parsers (xlvask_parser_ikke_b_rster_mellom_bil_og_trailer, xlvask_parser_s_be_dysebom_tak) and integrate into xlvask_helpers. Set memory limit in moduleXLVaskRoute. 2025-07-06 19:31:07 +02:00
Jepp9350 7a8edd0f28 Enhance orders_o and InvoicingPeriodRoute: expand duplicate detection logic by including additional registration fields, refine duplicate filtering criteria, and update transaction handling flag for possible duplicates. Add new xlvask_parser_ikke_ht_dysebom_mellom_bil_trailer parser and integrate it into xlvask_helpers. 2025-07-06 13:38:34 +02:00
Jepp9350 112f28228d Enhance vehiclesRoute: strip whitespace from vehicle registration numbers before setting values. 2025-07-03 12:23:02 +02:00
Jeppe B 1c7470b502 Merge pull request #71 from copenhagentruckwash/limble-module
limble-module
2025-07-03 09:59:39 +02:00
Jepp9350 3d8700bad6 Refactor InvoicingPeriodRoute: add meta parameter for transactions, enhance fixed pricing retrieval, and implement utility method for array-based object matching. 2025-07-03 09:59:12 +02:00
Jeppe B 98a616189d Merge pull request #70 from copenhagentruckwash/limble-module
limble-module
2025-07-02 12:21:08 +02:00
Jepp9350 bf6c2d711d Refactor getOrder in order_items_o: add explicit type casting for order_id to ensure proper ID handling. 2025-07-02 12:19:43 +02:00
Jeppe B f783eca8eb Merge pull request #69 from copenhagentruckwash/limble-module
limble-module
2025-07-01 13:56:03 +02:00
Jepp9350 c429c359ea Refactor getOrdersWithPossibleDuplicates and InvoicingPeriodRoute: simplify duplicate order detection, enhance customer transaction handling, and streamline object construction for improved efficiency. 2025-07-01 13:51:31 +02:00
Jepp9350 f503a5379e Enhance orders_o, order_items_o, and InvoicingPeriodRoute: add transaction and calculation methods, implement debug execution timing, refine invoicing period handling, optimize order retrieval, improve caching, and expand database query logic. 2025-07-01 13:01:01 +02:00
Jeppe B cb1731f095 Merge pull request #68 from copenhagentruckwash/limble-module
limble-module
2025-06-30 17:39:44 +02:00
Jepp9350 e583a269d0 Add getOrdersWithPossibleDuplicates method in orders_o and getPossibleDuplicates method in InvoicingPeriodRoute to identify and handle potential duplicate orders within a specified date range. 2025-06-30 17:39:11 +02:00
Jeppe B c2c5c1384f Merge pull request #65 from copenhagentruckwash/limble-module
limble-module
2025-06-30 14:40:25 +02:00
Jepp9350 6b80637208 Refactor InvoicingPeriodRoute and vehiclesRoute: streamline invoicing period data retrieval, enhance transaction handling across customer types, introduce new methods for efficient object construction, and add improved type validation in object_property. 2025-06-30 14:37:37 +02:00
Jepp9350 e0f582289f Refactor orders_o, InvoicingPeriodRoute, and object_property: enhance ID validation, streamline customer processing, and improve method structures for better data handling. 2025-06-26 16:55:37 +02:00
Jeppe B 34ddefbf3b Merge pull request #64 from copenhagentruckwash/limble-module
limble-module
2025-06-26 16:06:30 +02:00
Jepp9350 c5a6b2006f Add methods for retrieving customers and transactions within date ranges, enhance orders_o functionality, and improve customer object construction in invoicing routes. 2025-06-26 16:06:02 +02:00
Jeppe B a0d447fa87 Merge pull request #63 from copenhagentruckwash/limble-module
limble-module
2025-06-26 14:33:10 +02:00
Jepp9350 1bcd15fa2f Enhance customer_vehicles_o: add asArray caching with expiration, implement cache invalidation in object changes, and improve vehicle update flow with cache management. 2025-06-26 12:33:38 +02:00
Jepp9350 5b88ef9dc3 Refactor order and order item management: add cache invalidation, improve object change tracking, and enhance asArray conversion with caching and expiration support. 2025-06-26 08:55:58 +02:00
Jepp9350 0e90c80ee1 Uncomment vehicle cache retrieval in xlvask_vehicles helper. 2025-06-26 07:59:46 +02:00
Jepp9350 2b3ebfe357 Add xlvask_parser_h_nger to XLVask helpers imports for extended parsing functionalities 2025-06-24 10:40:52 +02:00
Jepp9350 c16d8729cb Add xlvask_parser_h_nger to XLVask helpers imports for extended parsing functionalities 2025-06-24 09:48:10 +02:00
Jepp9350 b65b1346bb Update XLVask helpers: modify parser setup string, add 'Hænger' to usage log, and clean up whitespace. 2025-06-24 09:39:20 +02:00
Jepp9350 c0ff18761d Add useDynamicPricing property and getUnitPriceExVat method in XLVask helpers. Refactor parsing logic to use integer type casting for price and count. 2025-06-24 09:16:03 +02:00
Jepp9350 dacb7ef4e0 Add xlvask_parser_h_nger helper class for handling specific XLVask product parsing 2025-06-24 08:38:35 +02:00
Jeppe B 8e0a3f041f Merge pull request #62 from copenhagentruckwash/limble-module
limble-module
2025-06-19 15:02:51 +02:00
Jepp9350 29aa63bb08 Add vehicle type handling in customer_vehicles_o, including vehicle type retrieval, setting, and creation in XLVask. Extend route logic to support vehicle type updates and auto-start on LPR configurations, incorporating enhanced validation and permission checks. Refactor and streamline helper classes for consistency and functionality expansion. 2025-06-19 15:01:22 +02:00
Jepp9350 75e3efcb89 Introduce xlvask_helper base class and refactor XLVask helper classes to extend it. Add methods for XLVask vehicle checks and retrievals, enhance vehicle caching functionality, and update helper class instantiation logic. 2025-06-19 11:06:53 +02:00
Jepp9350 9d431d55d8 Refactor vehicle synchronization logic in XLVask helpers, update instantiation, and remove legacy customer creation code. 2025-06-18 15:39:27 +02:00
Jepp9350 3bf1292775 Add runSyncVehicles method to XLVask helpers for vehicle synchronization and caching. 2025-06-18 15:34:07 +02:00
Jepp9350 6ee8c0e2b1 Add vehicle caching methods to XLVask: interface and implementation updates for handling vehicle cache. 2025-06-18 15:20:59 +02:00
Jeppe B e1d2414574 Merge pull request #60 from copenhagentruckwash/limble-module
Limble module
2025-06-18 15:05:32 +02:00
Jepp9350 9bcf52a046 Remove obsolete and commented-out legacy code in XLVask customer creation route. 2025-06-18 15:02:28 +02:00
Jepp9350 8c4dd34d68 Add multiple XLVask parser helper classes and update imports in XLVask helpers. 2025-06-18 15:01:33 +02:00
Jepp9350 8a8a6f19cf Add xlvask_parser_ht_osc_sider_lave_tur helper class and update imports in XLVask helpers. 2025-06-18 14:43:19 +02:00
Jepp9350 177767c499 Remove debugging statements and refine XLVask customer creation logic. 2025-06-18 14:36:35 +02:00
Jepp9350 bd0b1f83b8 Add validation methods to xlvask_customer, enhance default property values, and update createCustomer with new references to ensure data consistency. 2025-06-18 12:47:09 +02:00
Jepp9350 280f87535c Enhance XLVask customer handling: improve JSON encoding with error handling, refine property assignment in xlvask_customer, add debugging logs, and update customer cache logic. 2025-06-18 12:11:30 +02:00
Jeppe B ecb4b83bc2 Merge pull request #59 from copenhagentruckwash/limble-module
limble-module
2025-06-18 09:48:52 +02:00
Jepp9350 7b837a8a58 Add xlvask_parser_chassisskylning helper class and update imports in XLVask helpers. 2025-06-18 09:48:15 +02:00
Jeppe B 127a80ef26 Merge pull request #58 from copenhagentruckwash/limble-module
limble-module
2025-06-17 20:10:11 +02:00
Jepp9350 b068d499ca Reinstate modules_xlvask_sync_usage permission check in XLVask debug task route. 2025-06-17 20:09:24 +02:00
Jepp9350 cc0d1861cc Add updateCustomer method to XLVask endpoints, enhance cache handling for customer retrieval and management, and refine customer property definitions in helper class. 2025-06-17 20:05:03 +02:00
Jepp9350 c94537ecab Add createCustomer method to XLVask endpoints, update interface, and refine imports. 2025-06-17 19:14:12 +02:00
Jepp9350 43f0cd3a25 Ensure vehicleId is set before deleting vehicle and update route logic for vehicle fetching and debugging. 2025-06-17 19:08:52 +02:00
Jepp9350 3b4232a308 Add deleteVehicle method to XLVask endpoints and update route logic to use it 2025-06-17 18:49:32 +02:00
Jepp9350 67b178b002 Add vehicle management utilities for XLVask, implement updateVehicle method, refine endpoint logic, and introduce helper class for vehicle operations. 2025-06-17 18:42:20 +02:00
Jepp9350 19438f5d52 Add methods to retrieve XLVask vehicle types by ID, name, and product ID in vehicle management helpers. 2025-06-17 17:55:54 +02:00
Jepp9350 9a92f14637 Add support for XLVask vehicle management helpers, implement GUID generation, vehicle type handling, and createVehicle method in endpoints. Extend route logic and refine class imports. 2025-06-17 17:16:13 +02:00
Jeppe B 49620fefaf Merge pull request #57 from copenhagentruckwash/limble-module
limble-module
2025-06-17 13:40:22 +02:00
Jepp9350 6e6ab047ec Add XLVask customer creation logic, extend user and helper classes, and integrate Slack notifications for failed API requests. 2025-06-17 12:24:14 +02:00
Jeppe B f70e3e8d49 Merge pull request #56 from copenhagentruckwash/limble-module
limble-module
2025-06-16 15:24:01 +02:00
Jepp9350 ce95304fae Reinstate permission check for sync-usage task in Module XLVask route. 2025-06-16 15:09:30 +02:00
Jepp9350 5693d30c47 Add runCleanupTasks method to XLVask tasks, including module enablement check and task execution logic 2025-06-16 11:51:39 +02:00
Jepp9350 8edc0f9312 Add logic to handle duplicate potential order matches, include shouldIgnoreDuplicate method, and introduce route to ignore duplicates with permission checks. 2025-06-16 11:31:13 +02:00
Jepp9350 3987cf5de9 Refactor xlvask_potential_order_matches_o object, update related method signatures, and introduce route for retrieving potential order matches with permission checks and pagination. 2025-06-16 10:47:53 +02:00
Jepp9350 d72c534b2f Add xlvask_potential_order_matches_o object and logic to manage potential order matches in XLVask tasks. 2025-06-16 09:37:05 +02:00
Jepp9350 c2fb7cf873 Refine Limble module task retrieval to include cursor-based pagination support. 2025-06-16 08:02:53 +02:00
Jepp9350 447c52f917 Expand Limble module with new webhook payload helpers, JSON validation, Slack notifications, and task-specific webhook handling logic. 2025-06-12 19:57:04 +02:00
Jepp9350 978f51d8cd Expand Limble module with new webhook payload helpers, JSON validation, Slack notifications, and task-specific webhook handling logic. 2025-06-12 19:56:59 +02:00
Jepp9350 9371883138 Expand Limble module with additional helper classes, task formatting logic, webhook handling, configuration endpoints, and extended API request support. 2025-06-12 15:15:26 +02:00
Jepp9350 8c7a1f1509 Introduce Limble module with core interfaces, helper classes, and initial implementation. 2025-06-12 13:11:10 +02:00
Jepp9350 facd2a312a Introduce Limble module with core interfaces, helper classes, and initial implementation. 2025-06-12 13:10:34 +02:00
Jepp9350 56927b8994 Introduce initial structure for Limble module with core configuration classes 2025-06-12 12:50:17 +02:00
Jeppe B 73524caa52 Merge pull request #49 from copenhagentruckwash/xl-vask-synchronization
xl-vask-synchronization
2025-06-12 12:19:54 +02:00
Jepp9350 7109f68cdd Comment out $dateFrom echo statement in XLVask tasks helper to clean up output 2025-06-12 12:15:13 +02:00
Jepp9350 27e8c558a4 Add getPlateReferenceIfExists in customer_vehicles_o, refine order creation logic to include plate references, enable usage synchronization in XLVask tasks, and introduce xlvask_parser_special_s_be_front. 2025-06-12 12:14:20 +02:00
Jepp9350 5d38eae9f6 Add lane property to orders_o, include lane handling in XLVask usage logs, and introduce xlvask_parser_kapellvask_alle_trailere parser. 2025-06-11 12:57:20 +02:00
Jepp9350 5fb962f6ba Add XLVask order creation logic, enhance wash item validation, update customer handling, and refine parser product ID logic 2025-06-11 12:30:06 +02:00
Jepp9350 f8c0c5a78c Extend order selection logic with registration number and date range in orders_o, update Slack messaging for modules, and implement potential order detection in XLVask tasks. 2025-06-11 09:38:21 +02:00
Jepp9350 1e9ca3e015 Add isCountAboveZero method to xlvask_wash_item and update task logic to skip items with non-positive counts 2025-06-10 16:45:20 +02:00
Jepp9350 940969a466 Update XLVask parsers with correct product IDs, add skipped item details to task logs, and handle special case for vask_udf_rt parser logic. 2025-06-10 16:03:28 +02:00
Jepp9350 59a0c642d3 Add additional XLVask parsers, refine department name capitalization logic, enhance task log outputs, and update helper imports 2025-06-10 15:40:32 +02:00
Jepp9350 e4e4a03b09 Include department and product name details in xlvask task log output for improved clarity. 2025-06-10 15:07:02 +02:00
Jepp9350 39e24465c4 Add multiple XLVask parsers, extend department and order selection logic, and add usage synchronization endpoint 2025-06-10 14:52:47 +02:00
Jepp9350 af75d38af9 Add new cron task for XLVask module with synchronization logic in Cron.php and tasks helper functions 2025-06-03 14:08:59 +02:00
Jepp9350 4d2d72224c Update comments in xlvask_tasks.php to clarify cache addition behavior and remove redundant newlines 2025-06-03 14:00:42 +02:00