Torsten Schulz torsten
  • Joined on 2025-12-19
torsten pushed to main at torsten/yourpart-daemon 2026-02-02 15:48:55 +01:00
00cb97ec57 Enhance logging for sales checks in DirectorWorker: Added detailed logging statements to track the sales verification process, including cases with no items to sell and the number of inventory items found. This improves visibility into the sales workflow and aids in debugging.
torsten pushed to main at torsten/yourpart-daemon 2026-02-02 15:29:55 +01:00
85b4c73c11 Update user money handling to prevent serialization errors: Adjusted the SQL query to cast money as numeric and modified the UserCharacterWorker to clamp and format the money value before executing the update. This change ensures valid numeric input and enhances error handling for user transactions.
torsten pushed to main at torsten/yourpart-daemon 2026-02-02 15:25:14 +01:00
658a9034ed Add SQL query to count children by user: Introduced a new query to count distinct children associated with a user across all their characters. Updated UserCharacterWorker to utilize this new query, replacing the previous count query. This enhances user-specific data retrieval capabilities.
torsten pushed to main at torsten/yourpart-daemon 2026-02-02 15:18:47 +01:00
460310ae89 Refactor error handling in ProduceWorker: Simplify error logging by removing detailed error messages and replacing them with silent error handling. This change streamlines the code and reduces console output during production processing, while maintaining functionality.
torsten pushed to main at torsten/yourpart-daemon 2026-02-02 15:04:57 +01:00
2f875d6c1c Refactor SQL query for finished productions: Update to use DISTINCT ON for unique production IDs, change JOINs to LEFT JOINs for character and director relationships, and simplify capacity checks to ensure sufficient storage for productions. Adjust ordering for improved query performance.
torsten pushed to main at torsten/yourpart3 2026-02-02 09:58:38 +01:00
ce34bae16a Enhance Bisaya course content creation: Update SQL query to include owner user ID and improve exercise handling logic. Implement checks for existing exercises and placeholder replacements for review lessons, ensuring better management of lesson content and user feedback.
torsten pushed to main at torsten/yourpart3 2026-02-02 09:48:03 +01:00
640cdcf671 Add new exercises and vocabulary tests for Bisaya language course: Introduce multiple-choice questions for Week 1, covering greetings, family terms, and common phrases. Enhance learning materials with explanations for each question to aid understanding.
torsten pushed to main at torsten/yourpart3 2026-02-02 09:35:19 +01:00
f15924c0be Adjust character positioning in OverviewView: Change the bottom offset of the character foreground from 10px to -15px to improve visual alignment within the user interface.
torsten pushed to main at torsten/yourpart3 2026-02-02 09:03:35 +01:00
0d32c5b4b3 Update character styling in OverviewView: Adjust character positioning and dimensions by changing the bottom offset to 10px and increasing width and height to 55%. This enhances the visual representation of characters in the user interface.
torsten pushed to main at torsten/yourpart3 2026-02-02 08:53:50 +01:00
101050ce58 Add avatar display logic in OverviewView: Introduce dynamic avatar styling based on user gender and age, enhancing character representation. Implement age group categorization for precise avatar positioning and dimensions, improving visual consistency in the user interface.
torsten pushed to main at torsten/yourpart3 2026-02-02 08:46:14 +01:00
b16249e7c2 Implement noBackground prop in Character3D component: Add functionality to conditionally render the background and background image based on the noBackground prop. Update OverviewView to utilize the new prop, enhancing the character display logic and improving visual customization options.
torsten pushed to main at torsten/yourpart3 2026-02-02 08:24:31 +01:00
8b63344bc2 Enhance proposal generation logic in FalukantService: Refactor character selection process to include region and age filters, improving the randomness and relevance of director character proposals. Implement fallback mechanism for character retrieval to ensure availability, enhancing overall proposal generation reliability.
torsten pushed to main at torsten/yourpart-daemon 2026-02-02 08:05:15 +01:00
340c658ad1 Implement character death handling and periodic checks: Add logic to process characters with health <= 0 in EventsWorker and UserCharacterWorker, including immediate death handling during health updates and a scheduled death check every 12 hours. Introduce a new SQL query to retrieve characters with zero health.
torsten pushed to main at torsten/yourpart3 2026-02-02 07:48:55 +01:00
b648175205 Refactor trigger creation logic: Update the created_at and updated_at fields to use the election date instead of the current timestamp, ensuring accurate term end calculations. Enhance socket event handling in StatusBar component by implementing setup and teardown methods for improved event management and user notifications.
torsten pushed to main at torsten/yourpart-daemon 2026-01-31 08:58:18 +01:00
972ef2b714 Reduce probabilities and effects of various random events in EventsWorker: Adjusted the likelihood and impact of events such as character illness, accidents, regional epidemics, and earthquakes to balance gameplay dynamics.
torsten pushed to main at torsten/yourpart-daemon 2026-01-31 08:55:51 +01:00
f6d566427a Add immediate handling for deceased characters in health update: Implement logic to check if a character's health is less than or equal to zero and handle their death accordingly, improving character state management.
torsten pushed to main at torsten/yourpart3 2026-01-31 00:23:23 +01:00
4bf1bc35ae Enhance supervisor office validation in falukantService: Update error handling to provide clearer messages when no supervisor position exists or when the position is vacant. This change improves user feedback during application processes by ensuring users understand the requirements for supervisor office fulfillment.
torsten pushed to main at torsten/trainingstagebuch 2026-01-31 00:16:25 +01:00
10e6d74d93 feat(tournament): add cleanup logic for orphaned matches
torsten pushed to main at torsten/trainingstagebuch 2026-01-31 00:13:04 +01:00
3fc1760b2c feat(tournament): add logic for creating missing group matches for new participants
torsten pushed to main at torsten/trainingstagebuch 2026-01-31 00:08:27 +01:00
d12b9daf87 fix(tournament): remove matches for participants before deletion