Torsten Schulz torsten
  • Joined on 2025-12-19
torsten pushed to main at torsten/yourpart3 2026-01-28 16:52:48 +01:00
8e20fbd24d Add church office requirements validation in FalukantService: Implement checks for prerequisite office types when determining available positions, enhancing the application process for church offices based on user qualifications.
torsten pushed to main at torsten/yourpart3 2026-01-28 16:47:59 +01:00
f102069f5a Remove unused supervisor assignment in FalukantService: Clean up code by eliminating the conditional block that sets the supervisor object, streamlining the availablePositions logic.
torsten pushed to main at torsten/yourpart3 2026-01-28 16:45:44 +01:00
afc36161ed Add region relationship to ChurchOffice model: Establish associations between ChurchOffice and RegionData, allowing for better organization of church offices by region. Enhance logging in getChurchOverview method for improved debugging and error handling.
torsten pushed to main at torsten/yourpart3 2026-01-28 16:41:22 +01:00
a8b76bc21a Add church management features: Implement endpoints for church overview, available positions, supervised applications, and application processing in FalukantService and FalukantController. Update router to include new routes for these functionalities, enhancing church-related operations.
torsten pushed to main at torsten/yourpart-daemon 2026-01-28 16:36:33 +01:00
05e6155e38 Enhance capacity management in DirectorWorker: Retrieve current capacity values directly from the database to prevent race conditions, calculate free capacity based on real-time data, and ensure production only occurs if sufficient storage is available. Update SQL query to check for adequate storage before returning production results.
torsten pushed to main at torsten/yourpart3 2026-01-28 15:18:28 +01:00
8550bd31d9 Add bulk pricing retrieval for products in region: Implement getAllProductPricesInRegion method in FalukantService, update FalukantController and router to support new endpoint, and modify BranchView to utilize bulk request for improved performance.
torsten pushed to main at torsten/yourpart3 2026-01-28 15:13:40 +01:00
8837494a06 Refactor ProductType model: Remove unused sellCostMinNeutral and sellCostMaxNeutral fields for cleaner code and improved maintainability.
torsten pushed to main at torsten/yourpart-daemon 2026-01-28 15:06:51 +01:00
4b4d84b15c Implement overproduction notification handling in ProduceWorker: Add logic to check for existing notifications and update them if necessary, or create a new notification if none exist. Introduce SQL queries for finding and updating overproduction notifications to enhance database interactions.
torsten pushed to main at torsten/yourpart3 2026-01-28 15:05:30 +01:00
0c407b81b7 Enhance error handling in FalukantService: Add validation for product sellCost in calcRegionalSellPrice and getProductPriceInRegion methods, ensuring proper error messages are logged when sellCost is undefined or null.
torsten pushed to main at torsten/yourpart3 2026-01-28 14:58:13 +01:00
71b4a02592 Update FalukantService to include character ID in attributes and enhance logging in PoliticsView for better debugging of character data retrieval.
torsten pushed to main at torsten/yourpart3 2026-01-28 14:56:09 +01:00
83e5767812 Enhance logging in PoliticsView: Add detailed console logs for API responses and error handling in loadCurrentPositions and loadOwnCharacterId methods. Improve isOwnPosition method with additional logging for better debugging and clarity.
torsten pushed to main at torsten/yourpart3 2026-01-28 14:52:10 +01:00
c544c2c7f9 Add holder ID to character object in FalukantService: Include the holder's ID in the character data structure to enhance user identification and data integrity.
torsten pushed to main at torsten/yourpart3 2026-01-28 14:47:23 +01:00
818c8fbdf9 Implement own position highlighting in PoliticsView: Add functionality to load and display the user's own character ID, enhancing the UI by highlighting positions associated with the user. Update styles for better visibility of own positions in the table.
torsten pushed to main at torsten/yourpart-daemon 2026-01-28 14:47:00 +01:00
710a2a62b2 Refactor SQL query in DirectorWorker: Remove original_sell_cost from selection and enhance cost resolution logic for improved clarity and efficiency in database interactions.
torsten pushed to main at torsten/yourpart-daemon 2026-01-28 14:41:30 +01:00
1d9a7ba8a0 Refactor product cost retrieval in DirectorWorker: Simplify the SQL query by removing the original_sell_cost from the selection, and adjust the cost resolution logic to improve clarity and efficiency in database interactions.
torsten pushed to main at torsten/yourpart3 2026-01-28 14:24:27 +01:00
a6326f149d Add lay-preacher office and update prerequisites in FalukantTypes; enhance church localization in English and German
torsten pushed to main at torsten/yourpart-daemon 2026-01-28 14:21:29 +01:00
c9e0781b61 Update dependencies and enhance WebSocket server logging: Add 'chrono' and 'android_system_properties' to Cargo.lock, improve error handling and logging in websocket_server.rs, and streamline character creation notifications in worker modules for better clarity and maintainability.
torsten pushed to main at torsten/yourpart3 2026-01-28 13:44:13 +01:00
01679697b4 Remove debug logging from getFalukantUserByHashedId and getChildren methods in FalukantService for cleaner code and improved performance.
torsten pushed to main at torsten/yourpart3 2026-01-28 13:34:44 +01:00
d4fb2a8ccc Enhance health activity error handling: Implement detailed error responses in FalukantController for 'tooClose' scenarios, including retry timing. Update localization files for improved user feedback on health measures and errors. Refactor error handling in HealthView to display appropriate messages based on error responses.
torsten pushed to main at torsten/yourpart3 2026-01-28 13:29:19 +01:00
08b6437a1e Improve error handling in FalukantController: Enhance response structure for error objects by including additional error data while maintaining status code integrity. This change allows for more informative error messages in the API response.