jessikitty
e079baa865
Fix: Convert empty string to None for due_date field in update_chore
...
When updating a chore with an empty due_date field, SQLite was throwing an error
because it only accepts Python datetime and date objects, not empty strings.
This fix checks if due_date is an empty string and converts it to None before
setting the attribute, preventing the TypeError.
Error fixed: "SQLite DateTime type only accepts Python datetime and date objects as input"
2026-02-02 11:48:36 +11:00
jessikitty
21c76d9f1a
Fix field name mismatch: Change assigned_to_id to assigned_user_id in demo chores to match Chore model definition
2026-02-01 21:39:31 +11:00
jessikitty
0c5dbb7ad7
Add points field to Chore model to support point-based reward system
2026-02-01 13:30:44 +11:00
jessikitty
0a8489a89c
Fix: Update init_db.py to use correct import paths
...
- Changed imports to use app.core.database and app.models structure
- Added Base import from app.core.database (not app.models)
- Fixed imports to match actual project structure
- Added comprehensive demo data with 5 users and 12 chores
- Fixes ModuleNotFoundError when running database initialization
2026-01-31 23:00:59 +11:00
jessikitty
b351c216b3
Fix: Add ENVIRONMENT and CORS_ORIGINS fields to Settings class
...
- Added ENVIRONMENT field (str, default: "development") to match .env file
- Renamed ALLOWED_ORIGINS to CORS_ORIGINS to match .env file
- Updated cors_origins property to use CORS_ORIGINS instead of ALLOWED_ORIGINS
- Fixes Pydantic validation error when loading settings from .env
2026-01-31 22:57:54 +11:00
jessikitty
615f8a8eac
Update dependencies to versions with pre-built wheels for Windows
2026-01-30 22:11:44 +11:00
jessikitty
9b02ebd49f
Add demo chore data to database initialization
2026-01-28 21:18:19 +11:00
jessikitty
c36c005166
Create database initialization script with full schema
2026-01-28 19:41:48 +11:00
jessikitty
99f0c694bd
Add GET /api/v1/users endpoint for admin to list all users
2026-01-28 17:40:33 +11:00
jessikitty
b214f56570
Add Settings link to Dashboard header
2026-01-28 17:39:30 +11:00
jessikitty
d4608fefbe
Add Settings route to application
2026-01-28 17:38:50 +11:00
jessikitty
c9d98f8a32
Create Settings page with profile editing and admin user management
2026-01-28 17:26:59 +11:00
jessikitty
aede5167d8
Add user profile update endpoints (self-update and admin update)
2026-01-28 17:26:04 +11:00
jessikitty
00230f9994
Add field validator to accept date strings and convert to datetime
2026-01-28 17:25:40 +11:00
jessikitty
b5526d6e2f
Add migration script for discord_id and profile_picture columns
2026-01-28 17:22:23 +11:00
jessikitty
dfdc1d83be
Add discord_id and profile_picture to user schemas, add UserAdminUpdate for admin actions
2026-01-28 17:22:12 +11:00
jessikitty
2d5a7076f1
Add discord_id and profile_picture fields to User model
2026-01-28 17:21:47 +11:00
jessikitty
54dfc39e32
Fix date conversion: convert YYYY-MM-DD to datetime format before submission
2026-01-28 17:21:25 +11:00
jessikitty
b76fcbdb84
Update ChoreFrequency enum: replace adhoc with on_trigger
2026-01-28 17:04:31 +11:00
jessikitty
2b0f3f66c8
Fix text color visibility and error handling, update frequency options
2026-01-28 17:04:16 +11:00
jessikitty
3f73ead13f
Change email field from EmailStr to str to allow .local domains
2026-01-28 15:14:04 +11:00
jessikitty
b2a9b7ea04
Fix login sequence: store token BEFORE calling getCurrentUser
2026-01-28 14:59:16 +11:00
jessikitty
b36b8e4846
Update frontend VITE_API_URL to use server IP 10.0.0.127
2026-01-28 13:22:09 +11:00
jessikitty
6099b87db9
Add 10.0.0.127:5173 to CORS allowed origins
2026-01-28 12:01:36 +11:00
jessikitty
cd8a062145
Update API URL to use server IP instead of localhost
2026-01-28 11:35:58 +11:00
jessikitty
1f58169043
Import both User and Chore models to fix relationships
2026-01-28 08:23:59 +11:00
jessikitty
7eb45c8b93
Fix User-Chore relationship with lazy loading
2026-01-28 08:23:46 +11:00
jessikitty
fb53891bc2
Fix import: get_current_user from auth module not security
2026-01-27 23:05:11 +11:00
jessikitty
baa93959e4
Fix input text color visibility (add text-gray-900)
2026-01-27 22:49:39 +11:00
jessikitty
24b3f53f7c
Add Phase 2 deployment script
2026-01-27 22:32:32 +11:00
jessikitty
54d16bd553
Add Phase 2 implementation guide and documentation
2026-01-27 22:31:26 +11:00
jessikitty
42a4434b59
Add frontend environment configuration
2026-01-27 22:30:30 +11:00
jessikitty
c8897ba69c
Update App.tsx with routing and authentication
2026-01-27 22:29:34 +11:00
jessikitty
9ce049abb5
Add chores router to main app
2026-01-27 22:28:01 +11:00
jessikitty
ecf14bda69
Add chores API endpoints with CRUD operations
2026-01-27 22:27:41 +11:00
jessikitty
08192a089e
Add chore schemas for API requests/responses
2026-01-27 22:26:48 +11:00
jessikitty
d21c368cfd
Add CreateChoreModal component
2026-01-27 22:22:59 +11:00
jessikitty
da92c08a7e
Add ChoreCard component
2026-01-27 22:22:37 +11:00
jessikitty
93a2b8acb1
Add dashboard page with chore management
2026-01-27 22:22:21 +11:00
jessikitty
cdfcb1bcce
Add login page component
2026-01-27 22:21:51 +11:00
jessikitty
edd51e61d3
Add auth context for user state management
2026-01-27 22:21:39 +11:00
jessikitty
d2f6fbd886
Add chore service API
2026-01-27 22:21:28 +11:00
jessikitty
6bcc0554e0
Add auth service with login/logout
2026-01-27 22:21:16 +11:00
jessikitty
00bf118781
Add axios API client with auth interceptors
2026-01-27 22:21:08 +11:00
jessikitty
d077647158
Pin bcrypt to 4.0.1 for compatibility with passlib
2026-01-26 22:55:35 +11:00
jessikitty
5284cce20d
Fix default password - use shorter password for bcrypt
2026-01-26 22:26:44 +11:00
jessikitty
1729d07b64
Add email-validator dependency
2026-01-26 22:26:24 +11:00
jessikitty
54b9d96850
Update main.py to use cors_origins property
2026-01-26 22:18:48 +11:00
jessikitty
30efd49e8f
Remove ALLOWED_ORIGINS from docker-compose - use default from config
2026-01-26 22:18:38 +11:00
jessikitty
6d83d89073
Fix ALLOWED_ORIGINS to accept comma-separated string
2026-01-26 22:17:18 +11:00
jessikitty
370b600916
Add user management endpoints
2026-01-26 21:56:52 +11:00
jessikitty
b0349f641e
Add authentication endpoints
2026-01-26 21:56:38 +11:00
jessikitty
5dcdee7afd
Add api/v1 __init__.py
2026-01-26 21:56:24 +11:00
jessikitty
1eea6692e8
Add api __init__.py
2026-01-26 21:56:20 +11:00
jessikitty
c84e173a7f
Add Auth schemas
2026-01-26 21:56:15 +11:00
jessikitty
e74f5d717f
Add User schemas
2026-01-26 21:56:10 +11:00
jessikitty
742a9c9880
Add schemas __init__.py
2026-01-26 21:56:04 +11:00
jessikitty
5a022ebcb2
Add Meal model
2026-01-26 21:55:58 +11:00
jessikitty
0a17ecf1a8
Add Chore model
2026-01-26 21:55:51 +11:00
jessikitty
5d79f10f85
Add User model
2026-01-26 21:55:43 +11:00
jessikitty
c87dd94ef8
Add models __init__.py
2026-01-26 21:55:35 +11:00
jessikitty
15d13d5225
Add security utilities
2026-01-26 21:55:30 +11:00
jessikitty
93a65fb29d
Add database configuration
2026-01-26 21:55:21 +11:00
jessikitty
5619820413
Add core __init__.py
2026-01-26 21:55:14 +11:00
jessikitty
dc20f50fa2
Add core configuration
2026-01-26 21:55:09 +11:00
jessikitty
d4a691bb1e
Add app __init__.py
2026-01-26 21:55:02 +11:00
jessikitty
48e1ea9f6b
Add main FastAPI application
2026-01-26 21:54:58 +11:00
jessikitty
9b565d0ff4
Add database initialization script
2026-01-26 21:54:50 +11:00
jessikitty
939e933823
Add backend requirements.txt
2026-01-26 21:54:36 +11:00
jessikitty
c3424c7f29
Add backend Dockerfile
2026-01-26 21:54:31 +11:00
jessikitty
4b6f8a6969
Add frontend public directory
2026-01-26 21:51:43 +11:00
jessikitty
784e89e068
Add frontend App test file
2026-01-26 21:51:31 +11:00
jessikitty
903cee27b9
Add frontend App.tsx with welcome page
2026-01-26 21:51:22 +11:00
jessikitty
8604708df1
Add frontend index.css
2026-01-26 21:51:06 +11:00
jessikitty
900d3737af
Add frontend main.tsx
2026-01-26 21:50:59 +11:00
jessikitty
ec89ce1c4d
Add frontend index.html
2026-01-26 21:50:53 +11:00
jessikitty
3fa073f99b
Add frontend TypeScript node config
2026-01-26 21:50:47 +11:00
jessikitty
ccc2aaee4f
Add frontend TypeScript config
2026-01-26 21:50:42 +11:00
jessikitty
abe48de039
Add frontend postcss config
2026-01-26 21:50:35 +11:00
jessikitty
13029a5a23
Add frontend tailwind config
2026-01-26 21:50:30 +11:00
jessikitty
cc8d1244a6
Add frontend vite config
2026-01-26 21:50:25 +11:00
jessikitty
ad7a148b83
Add frontend package.json
2026-01-26 21:50:18 +11:00
jessikitty
79f2e67d6e
Add frontend Dockerfile
2026-01-26 21:50:10 +11:00
jessikitty
4cc1a556ac
Add Makefile with convenient development commands
2025-12-19 13:00:17 +11:00
jessikitty
3936a80680
Add root .env.example for Docker Compose configuration
2025-12-19 12:59:59 +11:00
jessikitty
97a3b750e9
Add .gitignore for Python and Node projects
2025-12-19 12:59:49 +11:00
jessikitty
f4f9794359
Add docker-compose.yml for container orchestration
2025-12-19 12:59:38 +11:00
jessikitty
9be8ac67ca
Fix README with clean, meaningful documentation
2025-12-19 09:16:36 +11:00
jessikitty
92fa35f2bd
Add session summary documenting Phase 1 completion
2025-12-18 16:37:19 +11:00
jessikitty
447861feed
Add quick setup guide for easy installation
2025-12-18 16:35:10 +11:00
jessikitty
0f485c8ed8
Add backend environment configuration template
2025-12-18 16:34:09 +11:00
jessikitty
e16d172079
Add comprehensive PROJECT_ROADMAP.md for development tracking
2025-12-18 16:33:43 +11:00
jessikitty
f9da802872
Update README with comprehensive project documentation and roadmap
2025-12-18 15:24:43 +11:00
jessikitty
30a1d5ac54
Initial commit
2025-12-18 15:10:08 +11:00