Commit graph

77 commits

Author SHA1 Message Date
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
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
99e7b2b565 Fix Bug unable to redeem points : Add migration to PointHistory 2025-01-18 09:52:22 -05:00
Mo Tarbin
c473627112 Add PointsHistory model for tracking points history 2025-01-18 09:51:13 -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
Mohamad Tarbin
50b1357dfa
Merge pull request #58 from dkhalife/bugfix/save-without-target
Bugfix: error when disabling push notifications
2025-01-06 18:59:59 -05: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
Dany Khalife
ad5678d02d unable to save to None without this 2024-12-26 23:42:51 -08: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
7f7293ac0e remove username field from UserCircleDetail struct 2024-12-14 02:54:25 -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
850d472445 Assign default circle to user when leaving a circle 2024-12-06 23:43:38 -05:00
Mo Tarbin
95a9e4af5b Skip sending Telegram message if bot is not initialized 2024-11-30 15:33:54 -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
ed4144a64b - Fix failure when trying to save empty labels
- Update README
2024-11-27 19:14:25 -05:00
Mo Tarbin
a0265de264 Refactor AssignLabelsToChore function to optimize label assignment and avoid unnecessary 2024-11-27 19:14:16 -05:00
Mo Tarbin
98038dcf23 Remove unused migrationDir function and related imports
Support Migration using sql ( for future use)
2024-11-23 21:04:08 -05:00
Mo Tarbin
8198829b73 chore: Remove unused migrationDir function and related imports
Support Migration using sql ( for future use)
2024-11-23 21:03:45 -05:00
Mo Tarbin
f49fc848e4 use embed File System for Migration script 2024-11-23 20:51:25 -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
7c71515b62 Add Support for reset password for selfhosted version without email configration 2024-11-17 14:30:42 -05:00
Mo Tarbin
6dc8092ff4 chore: Add updateUserPasswordLoggedInOnly endpoint for self-hosted instances 2024-11-17 14:30:34 -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
09043b0841
Merge pull request #4 from mschwerz/bug/notification-suffix-removal
Fix incorrect ordinal suffix in notification messages
2024-09-26 23:55:47 -04:00