Torsten Schulz torsten
  • Joined on 2025-12-19
torsten pushed to main at torsten/miriamgemeinde 2026-04-14 11:54:19 +02:00
64d6c3e6b4 Enhance worship filtering logic: Modify fetchWorships method to conditionally include neighborInvitation parameter for neighborhood pages, ensuring location filters do not interfere with neighborhood-specific worship retrieval.
torsten pushed to main at torsten/miriamgemeinde 2026-04-14 11:48:46 +02:00
6e30f739a6 Enhance worship filtering functionality: Update getFilteredWorships method to include neighborInvitation query parameter, allowing for filtering based on neighborhood invitations. This improves the granularity of worship event retrieval based on user preferences.
torsten pushed to main at torsten/yourpart3 2026-04-14 11:39:46 +02:00
deb6f5f36c feat(falukant): add improve lover affection feature and localization updates
torsten pushed to main at torsten/yourpart-daemon 2026-04-14 11:39:05 +02:00
48d8e9b293 Enhance event effect handling in EventsWorker: Added logic to store detailed notes for price and production quality changes in notifications. Updated notification JSON structure to include these notes, improving the clarity of event effects communicated to users. Additionally, refined money change logic for the "theft" event to handle insufficient funds scenarios more effectively.
torsten pushed to main at torsten/yourpart3 2026-04-14 08:06:59 +02:00
26daf5fed5 feat(falukant): enhance notification handling and localization updates
torsten pushed to main at torsten/yourpart-daemon 2026-04-14 07:50:59 +02:00
b0ee0da722 Add logic to prevent multiple births for mothers in a single day: Implemented a new SQL query to check if a mother has already given birth today. Updated the FalukantFamilyWorker and UserCharacterWorker to utilize this check, enhancing the birth registration process and ensuring compliance with the new birth rule.
torsten pushed to main at torsten/yourpart3 2026-04-13 16:11:56 +02:00
9deda3147e feat(falukant): add transport cost option to product price calculations
torsten pushed to main at torsten/yourpart3 2026-04-13 16:05:42 +02:00
b50d2a9a93 feat(falukant): refine tax calculation logic to handle political office exemptions
torsten pushed to main at torsten/yourpart3 2026-04-13 15:58:33 +02:00
f92b62e55b feat(falukant): enhance tax calculation and update messaging parameters
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:55:38 +02:00
6e931c1069 Implement director resignation processing in DirectorWorker: Added logic to check for director resignations based on satisfaction levels, including new SQL queries for retrieving candidates and deleting directors. Enhanced notification system to alert users of high resignation risks, improving overall management of director statuses.
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:45:06 +02:00
3af0ab1156 Refactor best production SQL query: Simplified and optimized the QUERY_GET_BEST_PRODUCTION by restructuring the query to use a WITH clause for better readability and performance. This change enhances the accuracy of production candidate selection by incorporating additional metrics and calculations.
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:34:31 +02:00
00ce7fc655 Refactor SQL query for candidate selection: Updated the SQL query to include a new FROM candidates clause, ensuring accurate retrieval of the top production candidates based on worth calculations. This change enhances the clarity and functionality of the production selection process.
torsten pushed to main at torsten/yourpart3 2026-04-13 15:31:50 +02:00
86e14a875d feat(falukant): add scandalExtraDailyPct field and update related components
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:29:12 +02:00
cd21293fbd Enhance DirectorWorker logic for tax calculations: Updated the DirectorWorker to compute the cumulative tax percentage for net ranking and adjusted SQL queries to include this new parameter in production selection. Improved logging to capture additional metrics related to tax and net piece calculations, enhancing the traceability of production decisions.
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:20:49 +02:00
2eaea2481c Refactor SQL queries for type consistency: Updated various SQL queries to ensure consistent data types by casting results to text. This change enhances compatibility and improves the handling of JSON data in the application.
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:13:30 +02:00
3df83b507e Add debug functionality for best production selection: Introduced a new SQL query QUERY_GET_BEST_PRODUCTION_DEBUG to retrieve the top 5 production candidates with detailed metrics. Enhanced the DirectorWorker to log debug information during production selection, improving traceability of decision-making processes.
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:07:42 +02:00
df092d1790 Add notify module and update notification SQL query: Introduced a new notify module for handling notifications. Updated the SQL query in insert_notification_conn to use QUERY_INSERT_NOTIFICATION instead of QUERY_INSERT_NOTIFICATION_FULL, simplifying the notification insertion process.
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:05:03 +02:00
670ea093d0 Update YpDaemon version to 0.5.0 and change edition to 2024 in Cargo.toml and Cargo.lock for improved compatibility and feature enhancements.
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 15:02:54 +02:00
8593824a73 Enhance sell log SQL query: Updated the QUERY_ADD_SELL_LOG to include a sell_timestamp field in the conflict resolution clause, ensuring accurate tracking of sell events. This change improves the logging mechanism for sales data in the database.
torsten pushed to main at torsten/yourpart-daemon 2026-04-13 14:53:10 +02:00
7ca43da52d Refactor product start calculation and SQL query: Updated the documentation for the best product start logic to clarify the ranking criteria and cost calculations. Adjusted the SQL query to enhance the worth calculation by incorporating new logic for category-based costs and headroom discounts, ensuring consistency with the updated pricing strategy.