Commit graph

63 commits

Author SHA1 Message Date
Mo Tarbin
da41061163 Update due date calculations. as it now fix to pick from time from FrequencyMetadata 2025-03-05 20:07:04 -05:00
Mo Tarbin
81acbd8eba Add subtask model and repository, implement webhook notification handling
fix Issue with Scheduler
Support NotificationPlatformWebhook
support Discord as notification target
2025-03-05 19:52:10 -05:00
Mo Tarbin
8db572f1ec Add subtask model and repository, implement webhook notification handling
fix Issue with Scheduler
Support NotificationPlatformWebhook
2025-02-25 23:56:49 -05:00
Mo Tarbin
41be361463 Implement chore completion logic and user assignment validation 2025-02-15 00:07:34 -05:00
Mo Tarbin
04d1894aea Add Event Producer
Update User to carry webhook from circle if assigned
Refactor notification handling and update models for webhook support
2025-02-09 20:15:28 -05:00
Mo Tarbin
3919429f77 Allow Edit for admin in circle 2025-02-07 00:38:09 -05:00
Mo Tarbin
86c90a34ee chore: Fix completion window check in completeChore function
Add Resource handler
2025-02-06 21:54:34 -05:00
Mo Tarbin
63fcdb6130 scheduler to handle frequency metadata properly 2025-01-20 21:47:39 -05:00
Mo Tarbin
40f51ce783 Fix timezone handling in completeChore and correct frequency type constants
Add Tests for scheduler
Build on PR and run tests
2025-01-20 21:40:34 -05:00
Mo Tarbin
2145299638 Fix timezone handling in completeChore and correct frequency type constants
Add Tests for scheduler
Build on PR and run tests
2025-01-20 21:17:36 -05:00
Mo Tarbin
b7ce79a21c Update CompleteChore to deduct point properly 2025-01-18 13:11:18 -05:00
Mo Tarbin
3e0b68bbff Update CompleteChore to deduct point properly 2025-01-18 13:11:11 -05:00
Mo Tarbin
9296d6e1b8 Add description field to ChoreDetail model and repository methods 2025-01-17 00:54:46 -05:00
Mo Tarbin
8f3dd068c9 Add description field to ChoreDetail model and repository methods 2025-01-17 00:53:31 -05:00
Mohamad Tarbin
12cdfe8bf9
Merge pull request #91 from dkhalife/dev/fix-typos
Fix typos: frequancy -> frequency
2025-01-15 21:57:47 -05:00
Mo Tarbin
ac733343da Add Support to consume/redeem points
Support Creating task/chore via api
Add initial Description for tasks
2025-01-14 11:21:04 -05:00
Mo Tarbin
71030913cd Add Support to consume/redeem points
Support Creating task/chore via api
Add initial Description for tasks
2025-01-14 10:43:05 -05:00
Dany Khalife
560c86d556
frequancy -> frequency 2025-01-11 08:50:32 -08:00
johan-autohome
ece729610f Correct expected date in tests 2025-01-07 00:23:03 +01:00
johan-autohome
90dba7b399 Merge 2025-01-07 00:08:58 +01:00
johan-autohome
015aeba0c2 Isrolling fixes and add tests 2025-01-03 19:11:50 +01:00
Mo Tarbin
11f1985831 Update scheduler to handle rolling chores 2025-01-03 01:07:09 -05:00
Mo Tarbin
925b7db300 Update scheduler to handle rolling chores 2025-01-03 01:06:53 -05:00
Mo Tarbin
310a717294 - Update API routes for consistency and versioning. any communication with donetick will go through /api/v1. for external will user prefix /eapi/v1
- Update Readme and add Discord and Reddit
- changing the api url should fix #71
2025-01-02 23:21:17 -05:00
Mo Tarbin
b7b434ae8c - Update API routes for consistency and versioning. any communication with donetick will go through /api/v1. for external will user prefix /eapi/v1
- Update Readme and add Discord and Reddit
2025-01-02 23:21:05 -05:00
Mo Tarbin
aceeb74e75 Add Points to user's circle, GetChoresHistoryByUserID
make sure task completed only if it's within completion window
2024-12-31 02:36:27 -05:00
Mo Tarbin
33801b5004 Updating UserCircle points when completing a chore 2024-12-31 02:19:02 -05:00
Mo Tarbin
13d6cfd7e7 Add support for completion window in chore creation and editing 2024-12-31 02:18:42 -05:00
Mo Tarbin
27a47a0c1f Add Support for Activities , Initial Support for Completion Window and points 2024-12-28 18:59:08 -05:00
Mo Tarbin
52af6652d8 Update Readme
Support Archive and unarchive
Fix bug with the scheduler  #53
2024-12-22 14:23:32 -05:00
Mo Tarbin
d1d07b84a0 chore: Add chore archiving and unarchiving functionality 2024-12-21 01:49:19 -05:00
Mo Tarbin
b9160bf681 Fix #53 Completing a task multiple times with "Reschedule from completion date" pushes it further into the future 2024-12-21 01:49:04 -05:00
Mo Tarbin
89b7664176 Merge Github Workflow.
Support Loading Archived Tasks
2024-12-15 18:13:51 -05:00
Mo Tarbin
4d1f401a15 Add API endpoint to retrieve archived chores 2024-12-15 10:46:05 -05:00
Mo Tarbin
33e24d2d1f - Assign default circle to user when leaving a circle
- Support Pushover
- Support Disable Signup
- Migrate chatID to TargetID
2024-12-14 02:56:42 -05:00
Mo Tarbin
adf5c0c0cd - Assign default circle to user when leaving a circle
- Support Pushover
- Support Disable Signup
- Migrate chatID to TargetID
2024-12-14 02:15:51 -05:00
Mo Tarbin
0bd7c08a8b Require ID, LabelID, User ID for adding label
Add Validation priorty update
Update priorty only update priorty
Add Support to get tasks via API endpoint
2024-11-30 10:32:55 -05:00
Mo Tarbin
a8f8550a66 Add API endpoint to retrieve all chores via API 2024-11-29 19:04:49 -05:00
Mo Tarbin
a3c5a81ce4 Update ChoreLabels struct with not null constraints 2024-11-28 11:32:37 -05:00
Mo Tarbin
46a5549e53 Update Priority as standalone endpoint 2024-11-28 11:30:39 -05:00
Mo Tarbin
8c4f0aa5ac Add Support for Advance Labels ( LabelV2)
Add Support for Custom Migration to keep supporting two database( sqlite and postgres)
Migration from Label to LabelV2
2024-11-23 20:30:16 -05:00
Mo Tarbin
0c07b33359 Add Support for Advance Labels ( LabelV2)
Add Support for Custom Migration to keep supporting two database( sqlite and postgres)
Migration from Label to LabelV2
2024-11-23 20:29:53 -05:00
Mo Tarbin
9f50772dbe Add endpoint to update priority 2024-11-04 00:25:21 -05:00
Mo Tarbin
493d9264d3 Add endpoint to update priority 2024-11-03 22:47:03 -05:00
Mohamad Tarbin
8343df8cd2
Merge pull request #1 from mschwerz/feature/random-except-last-assigned
Random Assignment Except the Last Assigned Assignment Mode
2024-09-26 21:27:06 -04:00
Mo Tarbin
187078ffe8 update updateAssignee to retrieve the current user and use their ID as the UpdatedBy field. 2024-09-06 01:13:29 -04:00
Mark Schwerzler
e63c083a38 Adding the handling of the random except last assigned assign state. 2024-08-18 19:37:29 -04:00
Mo Tarbin
229e843e4c update updateAssignee to retrieve the current user and use their ID as the UpdatedBy field. 2024-08-10 14:28:24 -04:00
Mo Tarbin
4f22460313 Refactor scheduleAdaptiveNextDueDate function for improved readability and fix bug, Add New Tests for it 2024-08-10 00:27:07 -04:00
Mo Tarbin
ce3ee9e9dc Update FrequencyType to use enum in Chore and ChoreReq struct 2024-08-10 00:24:15 -04:00