Commit Graph
16 Commits
Author SHA1 Message Date
Jepp9350 d3e9391160 Add new cron tasks and enhance user synchronization logic
Introduced cron tasks for syncing user economic customer details and discounts. Enhanced caching mechanisms for users and departments, added Slack messaging capabilities, and updated CLI/script routing for better flexibility. New routes and utility methods improve cron execution and logging.
2025-01-24 13:04:10 +01:00
Jepp9350 f450650db0 Refactor caching and customer data handling.
Replaced direct user object usage with Redis caching for customer information, optimizing retrieval logic and adding support for caching user IDs by customer number. Updated methods to allow dynamic object ID handling in caching operations and improved cache key consistency. These changes enhance performance and maintainability.
2025-01-23 17:03:41 +01:00
Jepp9350 bbc4eb07a8 Refactor cron tasks and user caching mechanisms
Introduced a more dynamic and modular cron task system for better task management. Reworked user-related caching to use a consistent structure, replacing economic-specific functions with general-purpose methods. Improved customer and booking synchronization processes to streamline operations.
2025-01-23 16:08:22 +01:00
Jepp9350 7c8306004e Add language pack support and improve token caching
Introduced language pack functionality with default and user-specific translation handling. Enhanced token caching in Redis for improved performance. Refactored logging system to display progress during database synchronization.
2025-01-22 17:46:15 +01:00
Jepp9350 4763cf55ff Refactor logging and Redis integration for efficiency
Updated logging to use prepared statements, improving security and performance. Refactored Redis-related functions for flexibility, added timing for sync operation, and ensured proper cache cleanup after log synchronization. Simplified `clear_keys` and enhanced code readability throughout.
2025-01-21 22:25:32 +01:00
Jepp9350 b794e95ba9 Refactor and enhance booking, customer, and caching logic
Improved booking handling with unfulfilled booking checks and Slack notifications. Enhanced customer data retrieval with caching optimizations and discount calculations. Added logging, debug capabilities, and expanded Redis functionalities for better data management.
2025-01-21 21:16:42 +01:00
Jepp9350 635ad0fa04 Add booking synchronization and API integration
Implemented methods for booking synchronization, including fetching, parsing, and updating bookings from a remote API. Added caching mechanisms and data validation for customer names, department names, and booking details. Integrated new API trait and remote booking class to improve scalability and enable automated tests for booking modules.
2025-01-20 15:49:08 +01:00
Jepp9350 f256e05c3d Add Redis caching, Slack notifications, and booking logic.
Implemented Redis caching for improved department and customer data retrieval. Added Slack integration to send department notifications. Enhanced booking features and status handling, including parsing logic and wash certificate processing.
2025-01-17 08:39:20 +01:00
Jepp9350 34fc194df1 Add Redis integration and improve order processing
Introduces Redis integration with a client class, traits, and interface for caching and object persistence. Adds Redis tests, updates `composer` to include Predis, and extends configurations to support Redis. Implements a new `delete` method for bookings and enhances pagination to include order details.
2025-01-16 11:27:19 +01:00
Jepp9350 30f30c66ba Refactor wash certificate handling and add user access checks.
Simplified wash certificate storage logic by updating methods for file existence checks and download link generation. Added validation to ensure users can only access their own wash certificates. Introduced a route for downloading wash certificates with proper permissions and error handling.
2025-01-15 15:16:43 +01:00
Jepp9350 0413071432 Add Minio integration for wash certificate storage
Introduced Minio support to store and manage wash certificates, replacing local file storage. This includes implementing traits, interfaces, and a Minio client integration, along with a CLI utility and relevant tests. Updated relevant modules and configurations.
2025-01-14 10:56:50 +01:00
Jepp9350 2a35b7ce4d Refactor pagination and filtering logic
Replaced redundant SQL queries with reusable methods for paginating, filtering, and searching records. Improved query safety using prepared statements and enhanced flexibility with dynamic order and filter processing. Updated related routes and objects to support the new structure.
2025-01-13 15:50:09 +01:00
Jepp9350 8bde53cf82 Update filtering logic, tokens, and wash certificate handling
Refine db_object_t filtering to handle numeric vs. string values. Add a new token for wash certificate authentication and update routes to include it in responses when applicable. Adjust data type for pickup_bool in bookingsRoute handling.
2025-01-13 13:22:39 +01:00
Jepp9350 e9a3029628 Added filter removing deleted objects from paginated object lists 2024-12-19 12:08:33 +01:00
Jepp9350 94e833da68 Added PATCH route method. 2024-12-17 12:01:01 +01:00
Jepp9350 914f5ba1b0 Added the files from MVP 2024-12-16 08:54:03 +01:00