Commit Graph

41 Commits

Author SHA1 Message Date
Bel LaPointe
bfdeebb7a2 use pttodo.Todos.Like...() 2023-11-06 13:06:11 -07:00
Bel LaPointe
bfcec9d1c5 add pttodo.NewRootFromFiles 2023-11-06 12:58:06 -07:00
Bel LaPointe
3e1f58c7b9 test pttodo.NewRootFromFile accepts both []Todo and Root 2023-11-06 12:54:46 -07:00
Bel LaPointe
cdd1be46a8 drop unused 2023-11-06 12:14:37 -07:00
Bel LaPointe
760c822323 add pttodo.NewRootFromFile, pttodo.NewTodosFromFile 2023-11-06 12:14:27 -07:00
Bel LaPointe
55e174e3b1 root moves fixed future schedules to shceduled on automove 2022-03-24 14:43:45 -06:00
Bel LaPointe
d7dab75f48 revert to clean todo 2022-03-24 09:26:44 -06:00
Bel LaPointe
3426deae4d revert automove for crons 2022-03-24 09:25:34 -06:00
Bel LaPointe
7fe4686c05 always write ts, when a todo with schedule deleted, conditionally go back to schedule for loopers 2022-03-24 09:18:19 -06:00
Bel LaPointe
814ae3ab23 add todo.ID() 2022-03-23 09:42:21 -06:00
Bel LaPointe
1d26cf125f if item in todo is scheduled for later, then move it 2022-03-23 08:04:35 -06:00
Bel LaPointe
0bd6347a93 getconfig in pttodo-cli 2022-03-23 07:27:49 -06:00
Bel LaPointe
20770ff5e6 update tests for mst 2022-03-23 07:13:55 -06:00
bel
65178b8bdf wip 2022-02-20 17:11:16 -07:00
Bel LaPointe
71c03f3ef5 accept THH on ezdate 2022-01-09 10:24:40 -05:00
Bel LaPointe
c2d1381607 add root.equals and todo.equals 2022-01-09 10:17:44 -05:00
Bel LaPointe
6d3f423845 parseinlocation for non utc crud 2022-01-06 21:28:44 -05:00
Bel LaPointe
6178e6ff93 root does not marshal TSs on todos, always on schedules, dones. Test. 2022-01-02 20:44:04 -05:00
Bel LaPointe
fdb24fcc60 only write TS on a todo if writeTS is set 2022-01-02 20:37:40 -05:00
Bel LaPointe
69eb868db6 add root MergeIn 2022-01-01 17:43:20 -05:00
Bel LaPointe
92d76443bc ezdate for yyyy-mm-dd for schedule 2022-01-01 17:21:38 -05:00
Bel LaPointe
7fc594d5c2 ts shouldnt yield zero ever, yield now if so 2022-01-01 17:13:50 -05:00
Bel LaPointe
7886723fe3 times are now unix dates over ints 2021-12-31 22:59:13 -05:00
Bel LaPointe
ff77af9ed4 remove unused stub 2021-12-31 22:49:51 -05:00
Bel LaPointe
a75d898487 set ts to currenttime if should display 2021-12-31 22:27:48 -05:00
Bel LaPointe
cb0f268454 change detail to details, more ideas for howto mobile and safe 2021-12-31 21:17:37 -05:00
Bel LaPointe
141a374441 eat my own dogfood, subtasks 2021-12-31 16:58:08 -05:00
Bel LaPointe
6c83f4197d test marshalling a just-a-string todo returns just-a-string 2021-12-31 16:47:00 -05:00
Bel LaPointe
ce7bd17e72 accept just a string for a todo task that converts to a struct on parse 2021-12-31 16:39:54 -05:00
Bel LaPointe
c1ed21ce19 Add TODO.md, add tags field 2021-12-31 16:31:44 -05:00
Bel LaPointe
88affea0e8 impl move scheduled to todo when schedule triggers 2021-12-31 16:26:52 -05:00
Bel LaPointe
76008647c8 add todo.triggered to indicate should be set to todo 2021-12-31 16:16:38 -05:00
Bel LaPointe
a4cfc77e0a use ts for tses, including in schedule 2021-12-31 16:16:22 -05:00
Bel LaPointe
106a6bd783 poc cli reader which is really nothing but hush 2021-12-31 16:11:43 -05:00
Bel LaPointe
2bcda28d5d add marshal yaml for ts 2021-12-31 16:07:54 -05:00
Bel LaPointe
28baac7dc6 impl schedule with cron, dur, and const ts 2021-12-31 15:56:17 -05:00
Bel LaPointe
a63c7bfbb2 json test root json 2021-12-31 15:31:02 -05:00
Bel LaPointe
80339a943b test ts fills zero 2021-12-31 15:28:44 -05:00
Bel LaPointe
9b3bedd6fb todo json 2021-12-31 15:27:31 -05:00
Bel LaPointe
12886416b7 test ezpz json 2021-12-31 15:23:59 -05:00
Bel LaPointe
80af3093b0 rename 2021-12-31 15:13:20 -05:00