Conversation
…ansaction repository methods - Changed date validation in transaction filters from datetime to date. - Updated transaction repository methods to include category names in category totals. - Improved date handling in transaction queries to ensure correct filtering by date range.
- Added new report types: Transactions Summary, Expenses by Category, Monthly Trend, Budget Performance, and Financial Overview. - Implemented corresponding formatting functions for PDF generation of new report types. - Updated report service to handle new report types and their respective data processing. - Improved date handling in report filters and ensured proper validation for goal IDs in report requests. - Refactored PDF generation components for better modularity and maintainability.
…ervices - Introduced a complete project documentation file detailing system architecture, backend and frontend technologies, and database structure. - Added new CSV and Excel formatting functions for various report types, including Budget Performance and Financial Overview. - Enhanced PDF generation for reports with improved layout and modularity. - Implemented new repository methods for goal sharing and refined existing report handling logic. - Updated date formatting utilities for consistent date representation across reports.
… clarity - Refactored debt and user repository methods to improve code readability and maintainability. - Standardized naming conventions for properties, changing `registrationDate` to `registration_date` across relevant interfaces and implementations. - Enhanced the mapping functions to ensure consistent data transformation from database records to entity models. - Updated method signatures to reflect the new property names, ensuring compatibility with existing functionality.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…repository.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
refactor: [devjaes] update transaction date validation and enhance tr…
Feat/reports
Feat/user profile
…ulation logic - Added `findAllActive` method to `PgGoalRepository` for fetching active goals based on end date and contribution amounts. - Updated `recalculateContributionAmountCron` to utilize the new method, improving the efficiency of goal suggestion processing. - Refactored code for better readability and consistency, including formatting adjustments and streamlined logic for checking recent suggestions.
- Implemented `forgotPassword` and `resetPassword` routes in the authentication service to handle password recovery requests. - Added validation schemas for forgot and reset password requests. - Integrated email service to send recovery links to users. - Updated the router to include new password recovery routes, enhancing user account security and recovery options.
…suggestions - Added a new `recommendations` table to store personalized suggestions for users, including types, priorities, and actionable items. - Implemented a `recommendations_enabled` column in the `users` table to control feature access. - Developed services for generating recommendations based on spending analysis, goal optimization, debt reminders, and more. - Created DTOs for handling recommendation data and integrated AI-driven insights for actionable suggestions. - Enhanced the database schema and updated snapshots to reflect the new structure and relationships.
feat: add password recovery functionality with email notifications
Feat/subs
- Added the `openai` package to `package.json` for improved AI capabilities. - Updated TypeScript configuration to include path mapping for easier imports. - Integrated a new daily recommendations job in the application to provide users with personalized suggestions. - Enhanced the notification repository to ensure notifications are created with a default unread status and improved query readability.
- Updated the cron job to run daily at 8 AM (America/Bogota) instead of every 2 minutes. - Added a mechanism to prevent concurrent executions of the job. - Improved logic for recalculating contribution amounts and sending notifications for inactive goals. - Refactored notification handling to avoid duplicate suggestions within a 24-hour period. - Cleaned up code for better readability and maintainability.
… Drizzle database migration, and update bun dependencies.
…d add Drizzle support for test database URLs.
Feature/recomendations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.