This website requires JavaScript.
Explore
Help
Sign In
torsten
/
yourpart-daemon
Watch
1
Star
0
Fork
0
You've already forked yourpart-daemon
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
688b21581dac06a5a76ca65896aec591b0a8e3b7
yourpart-daemon
/
src
/
worker
History
Torsten Schulz (local)
688b21581d
Enhance logging in BaseWorker and DirectorWorker: Added detailed debug logs before database calls in change_falukant_user_money, improving traceability of user ID and money change values during production start and sell operations.
2025-12-08 16:07:08 +01:00
..
base.rs
Enhance logging in BaseWorker and DirectorWorker: Added detailed debug logs before database calls in change_falukant_user_money, improving traceability of user ID and money change values during production start and sell operations.
2025-12-08 16:07:08 +01:00
character_creation.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
director.rs
Enhance logging in BaseWorker and DirectorWorker: Added detailed debug logs before database calls in change_falukant_user_money, improving traceability of user ID and money change values during production start and sell operations.
2025-12-08 16:07:08 +01:00
events.rs
Enhance user notification structure in EventsWorker: Updated the notification process to include detailed event information in the database entries. Notifications now contain event ID, type, and effects, improving clarity and data integrity for user alerts.
2025-12-08 13:29:18 +01:00
house.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
mod.rs
Add EventsWorker to worker module: Introduced EventsWorker for handling event-related tasks. Updated main.rs to include EventsWorker in the worker creation process. Adjusted WeatherWorker instantiation to use cloned pool and broker for consistency.
2025-12-08 11:17:16 +01:00
politics.rs
Add functionality to identify elections needing candidates: Introduced a new SQL query to select elections without candidates, including both newly registered and manually created elections. Updated the PoliticsWorker to schedule elections and insert candidates accordingly, ensuring all relevant elections are processed.
2025-11-26 17:02:36 +01:00
produce.rs
Enhance production management by adding region_id to ProductionPlan and updating SQL queries: Introduced region_id to the ProductionPlan struct and modified the insert production query to include weather_type_id based on region. Updated finished productions query to account for weather effects on quality ratings, ensuring accurate production assessments. Improved comments for clarity on the impact of weather on production quality.
2025-12-02 09:57:31 +01:00
simple.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
stockage_manager.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
transport.rs
Refactor transport planning in DirectorWorker: Updated variable naming for clarity by changing 'shipped' to '_shipped' to indicate unused variable. Removed unused get_branch_user_id function from TransportWorker to streamline code and improve maintainability.
2025-12-05 14:20:56 +01:00
underground.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
user_character.rs
Refactor WebSocket user ID filtering and enhance SQL query security: Updated user ID handling in the WebSocket server to improve filtering logic for numeric user IDs. Implemented parameterized queries in the database operations across multiple worker files to prevent SQL injection vulnerabilities, ensuring safer data handling.
2025-12-08 11:56:04 +01:00
value_recalculation.rs
Refactor hourly price recalculation logic: Implemented a two-tier pricing adjustment system based on sales data, comparing city sales against global and parent-region averages. Updated SQL queries to reflect new pricing rules, ensuring dynamic price adjustments within defined tolerances. Enhanced logging for better tracking of affected regions during recalculation.
2025-12-02 09:29:33 +01:00
weather.rs
Refactor weather update query in WeatherWorker: Simplified the SQL logic for assigning random weather types to regions by removing unnecessary joins and using a subquery for random selection. Enhanced comments for clarity on the individual weather assignment process for each region.
2025-12-05 13:36:55 +01:00