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
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
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
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
1c08e57afd
fastapi-users, oauth, docker support, cleanup
2025-05-14 00:10:31 +02:00
mohamad
cacfb2a5e8
commit i guess
2025-05-13 20:33:02 +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.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
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