211 Commits

Author SHA1 Message Date
fc364621e3 modify gitea
All checks were successful
Chore App Build and Push Docker Images / build-and-push (push) Successful in 12s
2026-02-11 00:04:44 -05:00
dffa4824fb modify gitea
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 13s
2026-02-10 23:35:15 -05:00
28166842f1 modify gitea
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 11s
2026-02-10 23:28:57 -05:00
484c7f0052 modify gitea
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 11s
2026-02-10 23:26:19 -05:00
682e01bbf1 modify gitea
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 12s
2026-02-10 23:24:49 -05:00
917ad25f7f more editing
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 6s
2026-02-10 23:23:33 -05:00
26f90a4d1f modify gitea
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 11s
2026-02-10 23:03:00 -05:00
73b5d831ed Modifying gitea actions.
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 29s
2026-02-10 23:00:20 -05:00
401c21ad82 feat: add PendingRewardDialog, RewardConfirmDialog, and TaskConfirmDialog components
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 25s
- Implemented PendingRewardDialog for handling pending reward requests.
- Created RewardConfirmDialog for confirming reward redemption.
- Developed TaskConfirmDialog for task confirmation with child name display.

test: add unit tests for ChildView and ParentView components

- Added comprehensive tests for ChildView including task triggering and SSE event handling.
- Implemented tests for ParentView focusing on override modal and SSE event management.

test: add ScrollingList component tests

- Created tests for ScrollingList to verify item fetching, loading states, and custom item classes.
- Included tests for two-step click interactions and edit button display logic.
- Moved toward hashed passwords.
2026-02-10 20:21:05 -05:00
3dee8b80a2 feat: Implement task and reward tracking feature
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 24s
- Added tracking events for tasks, penalties, and rewards with timestamps.
- Created new TinyDB table for tracking records to maintain audit history.
- Developed backend API for querying tracking events with filters and pagination.
- Implemented logging for tracking events with per-user rotating log files.
- Added unit tests for tracking event creation, querying, and anonymization.
- Deferred frontend changes for future implementation.
- Established acceptance criteria and documentation for the tracking feature.

feat: Introduce account deletion scheduler

- Implemented a scheduler to delete accounts marked for deletion after a configurable threshold.
- Added new fields to the User model to manage deletion status and attempts.
- Created admin API endpoints for managing deletion thresholds and viewing the deletion queue.
- Integrated error handling and logging for the deletion process.
- Developed unit tests for the deletion scheduler and related API endpoints.
- Documented the deletion process and acceptance criteria.
2026-02-09 15:39:43 -05:00
27f02224ab feat: Implement admin role validation and enhance user management scripts
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 17s
2026-02-08 23:19:30 -05:00
060b2953fa Add account deletion scheduler and comprehensive tests
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 49s
- Implemented account deletion scheduler in `account_deletion_scheduler.py` to manage user deletions based on a defined threshold.
- Added logging for deletion processes, including success and error messages.
- Created tests for deletion logic, including edge cases, retry logic, and integration tests to ensure complete deletion workflows.
- Ensured that deletion attempts are tracked and that users are marked for manual intervention after exceeding maximum attempts.
- Implemented functionality to check for interrupted deletions on application startup and retry them.
2026-02-08 22:42:36 -05:00
04f50c32ae feat: Refactor path handling for data directories and enhance test setup with user-specific image management
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 11s
2026-02-06 17:02:45 -05:00
0d651129cb feat: Implement account deletion (mark for removal) feature
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 23s
- Added `marked_for_deletion` and `marked_for_deletion_at` fields to User model (Python and TypeScript) with serialization updates
- Created POST /api/user/mark-for-deletion endpoint with JWT auth, error handling, and SSE event trigger
- Blocked login and password reset for marked users; added new error codes ACCOUNT_MARKED_FOR_DELETION and ALREADY_MARKED
- Updated UserProfile.vue with "Delete My Account" button, confirmation modal (email input), loading state, success/error modals, and sign-out/redirect logic
- Synced error codes and model fields between backend and frontend
- Added and updated backend and frontend tests to cover all flows and edge cases
- All Acceptance Criteria from the spec are complete and verified
2026-02-06 16:19:08 -05:00
47541afbbf Add unit tests for LoginButton component with comprehensive coverage
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 46s
2026-02-05 16:37:10 -05:00
fd70eca0c9 feat: add restriction to prevent deletion of system tasks and rewards
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 23s
- Implemented logic to hide delete button for system tasks and rewards in ItemList.vue, TaskView.vue, and RewardView.vue.
- Added backend checks in task_api.py and reward_api.py to return 403 for delete requests on system items.
- Ensured that items without a user_id are treated as system items across frontend and backend.
- Updated acceptance criteria to include UI and backend tests for the new functionality.
2026-02-03 14:54:38 -05:00
99d3aeb068 refactor: Update layout and styling components; remove unused CSS files and enhance button styles
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 46s
2026-02-02 23:53:04 -05:00
5351932194 feat: Enhance task and reward assignment logic to prioritize user items over system items with the same name; add corresponding tests
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 15s
2026-02-01 23:39:55 -05:00
e42c6c1ef2 feat: Implement logic to prevent deletion of system tasks and rewards; update APIs and tests accordingly
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 34s
2026-02-01 16:57:12 -05:00
f14de28daa feat: Implement user validation and ownership checks for image, reward, and task APIs
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 36s
- Added `get_validated_user_id` utility function to validate user authentication across multiple APIs.
- Updated image upload, request, and listing endpoints to ensure user ownership and proper error handling.
- Enhanced reward management endpoints to include user validation and ownership checks.
- Modified task management endpoints to enforce user authentication and ownership verification.
- Updated models to include `user_id` for images, rewards, tasks, and children to track ownership.
- Implemented frontend changes to ensure UI reflects the ownership of tasks and rewards.
- Added a new feature specification to prevent deletion of system tasks and rewards.
2026-01-31 19:48:51 -05:00
6f5b61de7f feat: normalize email handling in signup, login, and verification processes; refactor event handling in task and reward components
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 50s
2026-01-28 16:42:06 -05:00
3066d7d356 feat: add parent PIN setup functionality and email notifications
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 23s
- Implemented User model updates to include PIN and related fields.
- Created email sender utility for sending verification and reset emails.
- Developed ParentPinSetup component for setting up a parent PIN with verification code.
- Enhanced UserProfile and EntityEditForm components to support new features.
- Updated routing to include PIN setup and authentication checks.
- Added styles for new components and improved existing styles for consistency.
- Introduced loading states and error handling in various components.
2026-01-27 14:47:49 -05:00
cd9070ec99 Refactor build workflow to separate backend and frontend image builds; enhance clarity and structure
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 36s
2026-01-23 22:10:25 -05:00
74d6f5819c Refactor forms to use EntityEditForm component; enhance styles and improve structure
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 6s
2026-01-23 19:29:27 -05:00
63769fbe32 Refactor components to use ModalDialog and StatusMessage; update styles and remove unused files
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 9s
- Replaced inline modal dialogs in ParentView with a reusable ModalDialog component.
- Introduced StatusMessage component for loading and error states in ParentView.
- Updated styles to use new colors.css and styles.css for consistent theming.
- Removed ChildRewardList.vue and ChildTaskList.vue components as they were no longer needed.
- Adjusted RewardAssignView and TaskAssignView to use new styles and shared button styles.
- Cleaned up imports across components to reflect the new styles and removed unused CSS files.
2026-01-22 16:37:53 -05:00
a0a059472b Moved things around
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 6s
2026-01-21 17:18:58 -05:00
a47df7171c Add detailed Copilot instructions and enhance child API logging
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 14s
- Introduced a comprehensive instructions document for the Reward project, outlining architecture, data flow, key patterns, and developer workflows.
- Enhanced logging in the child API to track points and reward costs, improving error handling for insufficient points.
- Updated Vue components to reflect changes in reward handling and improve user experience with pending rewards.
2026-01-21 16:35:50 -05:00
59b480621e refactoring
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 12s
2026-01-18 21:56:19 -05:00
904185e5c8 refactoring
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 12s
2026-01-15 16:42:01 -05:00
dcac2742e9 refactoring
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 13s
2026-01-14 14:42:54 -05:00
c7c3cce76d added in gitea actions
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 10s
2026-01-13 16:09:38 -05:00
7de7047a4d added in gitea actions
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 9s
2026-01-13 16:05:34 -05:00
49c175c01d added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 9s
2026-01-13 16:04:13 -05:00
35c4fcb9bb added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 8s
2026-01-13 16:03:12 -05:00
3b1e1eae6d added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 9s
2026-01-13 16:00:51 -05:00
6cec6bdb50 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 10s
2026-01-13 15:59:29 -05:00
cc436798d1 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Has been cancelled
2026-01-13 15:54:57 -05:00
cd34d27f76 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Has been cancelled
2026-01-13 15:54:16 -05:00
92020e68ce added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 0s
2026-01-13 15:52:57 -05:00
7b91d2c8a4 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Has been cancelled
2026-01-13 15:38:57 -05:00
696683cf30 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 9s
2026-01-13 15:37:39 -05:00
96ccc1b04c added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 7s
2026-01-13 15:36:42 -05:00
007187020b added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 8s
2026-01-13 15:34:45 -05:00
39eea3ed07 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 27s
2026-01-13 15:33:36 -05:00
eac6f4b848 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Has been cancelled
2026-01-13 14:54:51 -05:00
caa28a3a2b added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 7s
2026-01-13 14:51:44 -05:00
fd5a828084 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Has been cancelled
2026-01-13 14:29:52 -05:00
76091ff06c added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 15s
2026-01-13 14:11:32 -05:00
4b1b3cedd1 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 6s
2026-01-13 14:07:50 -05:00
40a835cfd2 added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 7s
2026-01-13 14:06:55 -05:00