Torsten Schulz (local)
b2b1ec7a67
Add calendar feature: Integrate calendarRouter and CalendarEvent model, enhance CalendarView with API interactions for event management, and update localization files for error handling in both English and German. This update improves the calendar functionality and user experience.
2026-01-30 14:29:11 +01:00
Torsten Schulz (local)
fe13adfdff
Implement personal section in navigation: Add a new 'personal' menu item with sub-items for language learning and calendar. Update localization files for English and German to include translations for the new section. Integrate personal routes into the router configuration for navigation.
2026-01-30 13:53:27 +01:00
Torsten Schulz (local)
d5a6acc819
Refactor dashboard widget management: Update dashboardService to handle user-specific widget configurations with create and update logic. Enhance LoggedInView to support adding the same widget type and display error messages for save operations. Ensure effective endpoint handling for widgets and improve UI interactions.
2026-01-30 07:31:38 +01:00
Torsten Schulz (local)
797bcac94d
Enhance character name display in DashboardWidget: Refactor character name construction logic in FalukantService to include title handling and create a new computed property for display name in DashboardWidget. Update styles for gender display and ensure proper localization for age representation.
2026-01-29 17:28:58 +01:00
Torsten Schulz (local)
084bacc20d
Add news widget functionality: Integrate newsRouter for fetching news data, update initializeWidgetTypes to include news endpoint, and enhance DashboardWidget component to display news articles with pagination support. Update LoggedInView to manage widget request counters for unique endpoint handling.
2026-01-29 17:20:06 +01:00
Torsten Schulz (local)
ab5620dea8
Add dashboard widget functionality: Implement getDashboardWidget method in FalukantService to retrieve compact user data for the dashboard. Update FalukantController and router to expose the new endpoint, and enhance DashboardWidget component to display user-specific information including character name, gender, age, money, unread notifications, and children count.
2026-01-29 17:03:32 +01:00
Torsten Schulz (local)
c53f01793f
Add widget management functionality: Implement getAvailableWidgets method in dashboardService to retrieve widget types, and create corresponding API endpoint in dashboardRouter. Update LoggedInView to allow users to select and add widgets dynamically, enhancing dashboard customization options.
2026-01-29 16:57:12 +01:00
Torsten Schulz (local)
3769f95f63
Add dashboard functionality: Integrate dashboardRouter and UserDashboard model, enabling user-specific dashboard configurations. Update LoggedInView to support dynamic widget management, including adding, removing, and saving widget configurations, enhancing user experience and interactivity.
2026-01-29 16:52:54 +01:00
Torsten Schulz (local)
17803e31e1
Refactor inventory handling in FalukantService: Update product transport logic to retrieve all stocks for a branch, improving inventory checks and ensuring accurate transport cost calculations. Implement locking during inventory updates to maintain data integrity during transactions.
2026-01-29 16:44:02 +01:00
Torsten Schulz (local)
2b13979fe7
Enhance FalukantService with character caching and optimized city retrieval: Introduce caching for cities with branch types to reduce database queries, and streamline character retrieval logic. Update product and knowledge fetching to improve performance and maintainability.
2026-01-29 16:04:43 +01:00
Torsten Schulz (local)
d0f98cdb81
Add batch processing for product price retrieval: Implement getProductPricesInCitiesBatch method in FalukantService for handling multiple product price requests in a single API call. Update FalukantController and router to support new endpoint, and refactor RevenueSection and SaleSection components to utilize batch processing for improved performance and reduced API calls.
2026-01-29 15:58:31 +01:00
Torsten Schulz (local)
a7c159a4af
Refactor FalukantService and SaleSection components: Optimize product and knowledge retrieval by using Promise.all for concurrent database queries, improving performance. Additionally, reorganize the speedLabel method for better readability and maintainability, ensuring accurate localization handling for transport speed values.
2026-01-29 15:20:38 +01:00
Torsten Schulz (local)
769b2b788a
Add synchronous price calculation method: Introduce calcRegionalSellPriceSync for improved performance in price calculations when worthPercent is known. Refactor getAllProductPricesInRegion to utilize this new method, enhancing efficiency by reducing database calls. Update BranchView to manage product prices cache with regionId for better data handling.
2026-01-29 15:06:38 +01:00
Torsten Schulz (local)
d6568b2beb
Remove unused logging for queries in check-knowledge-pkey.js to streamline output and enhance clarity in database performance diagnostics.
2026-01-29 14:06:43 +01:00
Torsten Schulz (local)
3ede2f7a66
Enhance database performance diagnostics: Add detailed logging for unused primary key index and implement error handling for query statistics retrieval. Additionally, automate ANALYZE execution for affected tables after index creation to ensure PostgreSQL optimizes query performance. This improves clarity on index usage and enhances overall database performance management.
2026-01-29 14:05:24 +01:00
Torsten Schulz (local)
19131a0296
Refactor database performance diagnostics: Update connection pool diagnostics in diagnose-db-performance.js to improve error handling and enhance console output clarity. This change ensures more accurate user feedback regarding database connection pooling.
2026-01-29 14:03:15 +01:00
Torsten Schulz (local)
4355c1898a
Refactor connection pool diagnostics in diagnose-db-performance.js: Update pool configuration retrieval to use Sequelize config, improve error handling, and enhance console output for better clarity on pool status. This change ensures more accurate diagnostics and user feedback regarding database connection pooling.
2026-01-29 13:56:46 +01:00
Torsten Schulz (local)
debf95cf2d
Refactor database performance diagnostics: Update SQL queries in diagnose-db-performance.js to use 'relname' instead of 'tablename' for improved accuracy in table and index size calculations. This change enhances the clarity and correctness of performance diagnostics.
2026-01-29 13:55:07 +01:00
Torsten Schulz (local)
73db3771ee
Update StatusBar component: Refactor rendering logic for status items, improve icon and label display, and enhance CSS for better alignment and styling. This change aims to boost visual clarity and overall user experience in the status bar.
2026-01-29 13:29:42 +01:00
Torsten Schulz (local)
f612be108e
Add money history graph feature: Implement moneyHistoryGraph method in FalukantService and corresponding controller and router updates. Enhance frontend with a new dialog for displaying money history over various time ranges, including localization updates for German and English. This improves user experience by providing visual insights into financial data.
2026-01-29 10:40:13 +01:00
Torsten Schulz (local)
0278b99cb2
Add reputation actions and localization updates: Implement getReputationActions method in FalukantService, enhancing reputation management. Update German and English localization files to include new reputation action terms and mood descriptions, improving user experience and clarity.
2026-01-29 09:37:34 +01:00
Torsten Schulz (local)
cace68b610
Refactor association keys in setupAssociations: Update foreign key naming conventions in Party and TitleOfNobility associations for consistency and clarity. Enhance error handling in FalukantService to ensure party ID is present before adding invited nobilities.
2026-01-29 09:05:38 +01:00
Torsten Schulz (local)
3c98f784db
Add reputation actions endpoint: Implement getReputationActions method in FalukantService, update FalukantController to wrap the new method, and add corresponding route in falukantRouter for retrieving reputation actions.
2026-01-29 08:59:00 +01:00
Torsten Schulz (local)
10da8eaa3b
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.
2026-01-29 07:46:17 +01:00
Torsten Schulz (local)
ef0d616cc8
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.
2026-01-28 17:07:11 +01:00
Torsten Schulz (local)
fb72823ebc
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.
2026-01-28 17:02:27 +01:00
Torsten Schulz (local)
29868b01bb
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.
2026-01-28 16:57:46 +01:00
Torsten Schulz (local)
e31aa564fc
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.
2026-01-28 16:52:44 +01:00
Torsten Schulz (local)
3e1772ab27
Remove unused supervisor assignment in FalukantService: Clean up code by eliminating the conditional block that sets the supervisor object, streamlining the availablePositions logic.
2026-01-28 16:47:57 +01:00
Torsten Schulz (local)
4e71bb8bf5
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.
2026-01-28 16:45:40 +01:00
Torsten Schulz (local)
061d5a20c9
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.
2026-01-28 16:41:19 +01:00
Torsten Schulz (local)
10b68a6824
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.
2026-01-28 15:18:26 +01:00
Torsten Schulz (local)
40b139c028
Refactor ProductType model: Remove unused sellCostMinNeutral and sellCostMaxNeutral fields for cleaner code and improved maintainability.
2026-01-28 15:13:39 +01:00
Torsten Schulz (local)
0c1b79bcc3
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.
2026-01-28 15:05:28 +01:00
Torsten Schulz (local)
72c2fa158f
Update FalukantService to include character ID in attributes and enhance logging in PoliticsView for better debugging of character data retrieval.
2026-01-28 14:58:11 +01:00
Torsten Schulz (local)
80bced3d97
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.
2026-01-28 14:52:08 +01:00
Torsten Schulz (local)
efab6cef79
Add lay-preacher office and update prerequisites in FalukantTypes; enhance church localization in English and German
2026-01-28 14:24:24 +01:00
Torsten Schulz (local)
8367927361
Remove debug logging from getFalukantUserByHashedId and getChildren methods in FalukantService for cleaner code and improved performance.
2026-01-28 13:44:12 +01:00
Torsten Schulz (local)
7cfebcf13d
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.
2026-01-28 13:34:42 +01:00
Torsten Schulz (local)
98fe68638c
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.
2026-01-28 13:29:15 +01:00
Torsten Schulz (local)
ea8b188d96
Füge Funktion zum Abbrechen der Werbung hinzu: Implementiere cancelWooing in FalukantService und FalukantController, aktualisiere FamilyView für die Benutzeroberfläche und verbessere die Fehlermeldungen bei vorzeitigen Abbrüchen.
2026-01-28 11:53:34 +01:00
Torsten Schulz (local)
5d5923cf5c
Enhance gift sending logic: Implement retry mechanism for 'tooOften' error in FalukantService and update error handling in FamilyView to display retry time.
2026-01-26 16:45:13 +01:00
Torsten Schulz (local)
d9b694ee4b
Enhance database connection management by introducing configurable pool settings and implementing a retry mechanism for transient connection issues. Updated Sequelize pool options to use environment variables for better flexibility and added a retry wrapper for initializing settings to handle connection timeouts gracefully.
2026-01-26 16:27:36 +01:00
Torsten Schulz (local)
ee3dda9476
Refactor SaleSection component: Simplify sell item and sell all logic, remove unnecessary state management, and improve UI feedback. Update translations and clean up unused code in i18n files. Optimize price loading in BranchView and remove legacy product loading in MoneyHistoryView. Streamline PoliticsView by removing own character ID handling and related logic.
2026-01-26 16:03:48 +01:00
Torsten Schulz (local)
a6f9d94d24
Remove deprecated relationship change log migration and enhance error handling in FalukantService for partner retrieval
2026-01-26 10:10:22 +01:00
Torsten Schulz (local)
25ee3cbbb6
Add RelationshipChangeLog model and enhance character loading logic
2026-01-26 09:54:40 +01:00
Torsten Schulz (local)
dd9f2147b6
Refactor and reintroduce character name enrichment logic in FalukantService
...
- Moved the enrichNotificationsWithCharacterNames function back into the FalukantService class, ensuring character names are correctly parsed and attached to notifications.
- Implemented a comprehensive ID collection and resolution mechanism for character references, enhancing the accuracy of character name assignments.
- Improved error handling during JSON parsing and ID resolution to maintain robustness in notification processing.
2026-01-23 13:46:06 +01:00
Torsten Schulz (local)
5acfc5d26a
Enhance syncModelsAlways function to handle problematic ENUM changes
...
- Added logic to skip synchronization for specific tables with known ENUM issues, improving stability during model synchronization.
- Restored associations and virtual fields for models when skipping sync, ensuring data integrity and consistency.
2026-01-23 13:39:14 +01:00
Torsten Schulz (local)
2f61c479a1
Add connection management scripts to package.json
...
- Introduced new scripts: check-connections and cleanup-connections for managing database connections.
- These scripts enhance the backend's ability to monitor and maintain connection health.
2026-01-23 13:35:33 +01:00
Torsten Schulz (local)
9c5857df82
Update Sequelize configuration for improved connection management
...
- Reduced connection pool size and adjusted timeout settings to prevent connection limits.
- Added automatic reconnection handling for better resilience against connection losses.
- Introduced retry logic for specific connection errors to enhance stability during database interactions.
2026-01-23 13:28:31 +01:00