Commit graph

49 commits

Author SHA1 Message Date
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
3e0b68bbff Update CompleteChore to deduct point properly 2025-01-18 13:11:11 -05:00
Mo Tarbin
c473627112 Add PointsHistory model for tracking points history 2025-01-18 09:51:13 -05:00
Mo Tarbin
8f3dd068c9 Add description field to ChoreDetail model and repository methods 2025-01-17 00:53:31 -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
Mo Tarbin
925b7db300 Update scheduler to handle rolling chores 2025-01-03 01:06:53 -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
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
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
4d1f401a15 Add API endpoint to retrieve archived chores 2024-12-15 10:46:05 -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
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
a0265de264 Refactor AssignLabelsToChore function to optimize label assignment and avoid unnecessary 2024-11-27 19:14:16 -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
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
6dc8092ff4 chore: Add updateUserPasswordLoggedInOnly endpoint for self-hosted instances 2024-11-17 14:30:34 -05:00
Mo Tarbin
493d9264d3 Add endpoint to update priority 2024-11-03 22:47:03 -05: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
042cd3b473 Add endpoint to update user notification target 2024-08-10 00:26:33 -04:00
Mo Tarbin
ce3ee9e9dc Update FrequencyType to use enum in Chore and ChoreReq struct 2024-08-10 00:24:15 -04:00
Mo Tarbin
33b3389384 Change to Sqlite driver that doesn't need CGO github.com/glebarez/sqlite 2024-07-25 01:35:25 -04:00
Mo Tarbin
31211a9436 Support linux_386 by changing minChores to int64, remove debugging log for getNotification 2024-07-22 18:43:03 -04:00
Mo Tarbin
ee7a8e24da Update ChoreHistory model to include updatedAt field, Support history modification 2024-07-20 03:42:38 -04:00
Mo Tarbin
861a1666e4 Remove unnecessary code in skipChore and completeChore functions 2024-07-17 01:11:20 -04:00
Mo Tarbin
c7b29fa195 Add CircleGroup notifications to chore notifications 2024-07-17 01:09:47 -04:00
Mo Tarbin
2d538ff43c Update database configuration to support custom SQLite path 2024-07-09 18:31:10 -04:00
Mo Tarbin
e862a281d9 Add time field to FrequencyMetadata struct 2024-07-07 19:53:08 -04:00
Mo Tarbin
970cf40745 resetPassword function to handle user not found case 2024-07-07 02:59:04 -04:00
Mo Tarbin
9fe382d26e Update chore notification messages to use markdown formatting 2024-07-07 02:52:52 -04:00
Mo Tarbin
2004031055 Update chore notification messages to use markdown formatting 2024-07-07 00:31:19 -04:00
Mo Tarbin
010db330a4 chore: Update chore detail query to include notes in result 2024-07-07 00:26:08 -04:00
Mo Tarbin
c92cdb427d Add GetChoreHistoryWithLimit method to ChoreRepository 2024-07-06 03:26:11 -04:00
Mo Tarbin
36f4717454 Group chore detail query by chore ID and last completed date 2024-07-06 03:15:56 -04:00
Mo Tarbin
45e18c8edd Add GetChoreDetail endpoint to retrieve detailed chore information 2024-07-06 02:36:14 -04:00
Mo Tarbin
f115d70c49 make thing a pointer on chore 2024-07-05 00:34:35 -04:00
Mo Tarbin
6845fd54f1 Add validation to deleteThing endpoint to prevent deletion of things with associated tasks 2024-07-02 01:40:09 -04:00
Mo Tarbin
e40c2a84cd Dissociate chore with thing in deleteChore function 2024-07-02 01:39:46 -04:00
Mo Tarbin
17326a16a0 Update local.yaml to set is_done_tick_dot_com to false, add things history 2024-07-01 18:44:41 -04:00
Mo Tarbin
c13dd9addb Move to Donetick Org, first commit 2024-06-30 21:41:41 -04:00