Mohamad.Elsena
ed222c840a
Remove obsolete Alembic migration files related to chore tables and assignments. This cleanup eliminates unused migration scripts that are no longer needed in the project.
2025-05-21 13:38:00 +02:00
google-labs-jules[bot]
16c9abb16a
feat: Initial backend setup for Chore Management (Models, Migrations, Schemas, Chore CRUD)
...
I've implemented the foundational backend components for the chore management feature.
Key changes include:
- Definition of `Chore` and `ChoreAssignment` SQLAlchemy models in `be/app/models.py`.
- Addition of corresponding relationships to `User` and `Group` models.
- Creation of an Alembic migration script (`manual_0001_add_chore_tables.py`) for the new database tables. (Note: Migration not applied in sandbox).
- Implementation of a utility function `calculate_next_due_date` in `be/app/core/chore_utils.py` for determining chore due dates based on recurrence rules.
- Definition of Pydantic schemas (`ChoreCreate`, `ChorePublic`, `ChoreAssignmentCreate`, `ChoreAssignmentPublic`, etc.) in `be/app/schemas/chore.py` for API data validation.
- Implementation of CRUD operations (create, read, update, delete) for Chores in `be/app/crud/chore.py`.
This commit lays the groundwork for adding Chore Assignment CRUD operations and the API endpoints for both chores and their assignments.
2025-05-21 09:28:38 +00:00
Mohamad.Elsena
185e89351e
Update expense creation to include current user ID for better tracking. Introduce a utility function to round monetary values to two decimal places. Enhance ListDetailPage styles by adding overflow handling for improved UI layout.
2025-05-21 09:34:51 +02:00
Mohamad
fc355077ab
Enhance database connection management by adding pool_pre_ping to ensure connections are live. Update connection pool settings for improved reliability.
2025-05-20 10:42:34 +02:00
mohamad
c8cdbd571e
Add FastAPI database transaction management strategy and update requirements
...
Introduce a new technical specification for managing database transactions in FastAPI, ensuring ACID compliance through standardized practices. The specification outlines transaction handling for API endpoints, CRUD functions, and non-API operations, emphasizing the use of context managers and error handling.
Additionally, update the requirements file to include new testing dependencies for async operations, enhancing the testing framework for the application.
2025-05-20 01:19:37 +02:00
mohamad
d6d19397d3
Refactor authentication and user management to standardize session handling across OAuth flows. Update configuration to include default token type for JWT authentication. Enhance error handling with new exceptions for user operations, and clean up test cases for better clarity and reliability.
2025-05-20 01:19:21 +02:00
mohamad
323ce210ce
Refactor database session management across multiple API endpoints to utilize a transactional session, enhancing consistency in transaction handling. Update dependencies in costs, financials, groups, health, invites, items, and lists modules for improved error handling and reliability.
2025-05-20 01:19:06 +02:00
mohamad
98b2f907de
Refactor CRUD operations across multiple modules to standardize transaction handling using context managers, improving error logging and rollback mechanisms. Enhance error handling for database operations in expense, group, invite, item, list, settlement, and user modules, ensuring specific exceptions are raised for integrity and connection issues.
2025-05-20 01:18:49 +02:00
mohamad
e4175db4aa
Implement test fixtures for async database sessions and enhance test coverage for CRUD operations. Introduce mock settings for financial endpoints and improve error handling in user and settlement tests. Refactor existing tests to utilize async mocks for better reliability and clarity.
2025-05-20 01:18:31 +02:00
mohamad
2b7816cf33
Update user model migration to include secure password hashing; set default hashed password for existing users. Refactor database session management for improved transaction handling and ensure session closure after use.
2025-05-20 01:17:47 +02:00
mohamad
5abe7839f1
Enhance configuration and error handling in the application; add new error messages for OCR and authentication processes. Refactor database session management to include transaction handling, and update models to track user creation for expenses and settlements. Update API endpoints to improve cost-sharing calculations and adjust invite management routes for clarity.
2025-05-17 13:56:17 +02:00
mohamad
c2aa62fa03
Update user model migration to set invalid password placeholder; enhance invite management with new endpoints for active invites and improved error handling in group invite creation. Refactor frontend to fetch and display active invite codes.
2025-05-16 22:31:44 +02:00
mohamad
f2ac73502c
Enhance OAuth token handling in authentication flow; update frontend to support access and refresh tokens. Refactor auth store to manage refresh token state and improve token storage logic.
2025-05-16 22:08:56 +02:00
mohamad
9ff293b850
Ensure database transaction is committed after list creation in the API endpoint; improve reliability of list creation process.
2025-05-16 22:08:47 +02:00
mohamad
7a88ea258a
Refactor database session management and exception handling across CRUD operations; streamline transaction handling in expense, group, invite, item, list, settlement, and user modules for improved reliability and clarity. Introduce specific operation errors for better error reporting.
2025-05-16 21:54:29 +02:00
mohamad
515534dcce
Add conflict resolution for list creation and updates; implement offline action handling for list items. Enhance service worker with background sync capabilities and improve UI for offline states.
2025-05-16 02:07:41 +02:00
mohamad
3f0cfff9f1
Refactor authentication endpoints and user management; update CORS settings and JWT handling for improved security and compatibility with FastAPI-Users. Remove deprecated user-related endpoints and streamline API structure.
2025-05-14 01:04:09 +02:00
mohamad
72b988b79b
Refactor authentication and database session handling; update user schemas for enhanced functionality and compatibility with FastAPI-Users.
2025-05-14 00:24:51 +02:00
mohamad
1c08e57afd
fastapi-users, oauth, docker support, cleanup
2025-05-14 00:10:31 +02:00
mohamad
18f759aa7c
Add Sentry integration for error tracking; update requirements and configuration files. Introduce new Alembic migration for missing indexes and constraints in the database schema.
2025-05-13 21:45:45 +02:00
mohamad
cacfb2a5e8
commit i guess
2025-05-13 20:33:02 +02:00
mohamad
227a3d6186
migrate to vue+vueuse+valerieui bc quasar customisation is sad
2025-05-13 19:23:15 +02:00
mohamad
f6a50e0d6a
Update costs router in API to include prefix for improved endpoint organization and clarity.
2025-05-08 23:37:54 +02:00
mohamad
0dbee3bb4b
Refactor logging in item API endpoints to use a local variable for user email; enhance clarity and maintainability of log messages. Update transaction management in item CRUD operations to ensure proper commit handling and version conflict checks.
2025-05-08 23:27:51 +02:00
mohamad
e484c9e9a8
Enhance error handling and transaction management in item creation; explicitly commit changes and rollback on exceptions to ensure database integrity.
2025-05-08 22:53:26 +02:00
mohamad
f52b47f6df
Refactor CRUD operations in group, item, and list modules to remove unnecessary transaction context; enhance error handling and improve code readability. Update API endpoint for OCR processing in configuration and add confirmation dialogs for item actions in ListDetailPage.
2025-05-08 22:34:07 +02:00
mohamad
262505c898
Refactor API integration across multiple components; introduce centralized API configuration, enhance error handling, and improve type safety in API calls for better maintainability and user experience.
2025-05-08 22:22:46 +02:00
Mohamad
ff25af26f5
bugfix: hashed_password to password_hash
2025-05-08 19:12:00 +02:00
Mohamad
6198a29768
migrations fresh start
2025-05-08 19:11:21 +02:00
Mohamad.Elsena
c7fdb60130
Add database error messages and improve exception handling in CRUD operations
2025-05-08 16:00:12 +02:00
Mohamad
e3024ccd07
remove old cost splitter
2025-05-08 14:31:34 +02:00
mohamad
bbb3c3b7df
0705
2025-05-08 00:56:26 +02:00
mohamad
423d345fdf
add_version_to_lists_and_items
2025-05-07 23:30:23 +02:00
mohamad
d2d484c327
001
2025-05-07 20:16:16 +02:00
mohamad
839487567a
end of phase 5
2025-04-02 23:54:43 +02:00
mohamad
53c7382b88
end of phase 4
2025-03-31 00:07:43 +02:00
mohamad
4fbbe77658
end of phase 3
2025-03-30 19:42:32 +02:00
mohamad
4b7415e1c3
weeee 💃
2025-03-30 16:02:49 +02:00