Torsten Schulz torsten
  • Joined on 2025-12-19
torsten pushed to main at torsten/yourpart-daemon 2026-01-29 08:10:41 +01:00
31998e310c Implement capacity check in ProduceWorker: Add a method to verify available storage before processing finished productions, ensuring that production only occurs if sufficient capacity is present. Update SQL query to reflect the new capacity validation logic for improved reliability in production handling.
torsten pushed to main at torsten/yourpart3 2026-01-29 07:46:19 +01:00
4cce044128 Refactor character name handling in enrichNotificationsWithCharacterNames: Update comments for clarity on character_name and characterName usage. Enhance localization by adding success messages in German and English translations.
torsten pushed to main at torsten/yourpart3 2026-01-28 17:07:14 +01:00
59875cf900 Implement migration to make church_application supervisor_id nullable: Enhance functionality by allowing supervisor_id to be null, improving flexibility in application processing. Add logging for migration success and error handling.
torsten pushed to main at torsten/yourpart3 2026-01-28 17:02:31 +01:00
37129055e6 Update supervisorId handling in ChurchApplication and FalukantService: Allow supervisorId to be null for entry-level positions, enhancing flexibility in application processing. Improve prerequisite office type updates in initializeFalukantTypes for better data integrity.
torsten pushed to main at torsten/yourpart3 2026-01-28 16:57:49 +01:00
934e80c2ab Enhance logging and validation in getAvailableChurchPositions: Add detailed console logs for office type requirements and user qualifications, improving debugging and ensuring correct handling of prerequisite office types.
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.