forked from janek/mostr
1
0
Fork 0
Commit Graph

243 Commits

Author SHA1 Message Date
xeruf 17b3334aea fix: prompt via readline 2024-08-21 11:05:43 +03:00
xeruf 77ba311bab feat(main): neatly interpret plain hour in date filter 2024-08-21 10:14:01 +03:00
xeruf 9da41db427 feat(main): implement readline functionality with rustylinez
Including background log output
2024-08-20 22:40:16 +03:00
xeruf a67bd384ec fix(tasks): creation position in filter_or_create 2024-08-20 21:42:05 +03:00
xeruf ace365de38 fix(main): enhance Result warnings macro with string interpolation 2024-08-20 21:16:01 +03:00
xeruf 07bba314ec fix(main): print Result warnings via macro 2024-08-20 20:41:41 +03:00
xeruf 126bd8cf81 fix: move from std::sync fully to tokio
Fixes Relay adding

Closes https://github.com/rust-nostr/nostr/issues/533
2024-08-20 14:29:09 +03:00
xeruf b5b2ea9b71 fix(main): client communication ordering 2024-08-20 14:18:37 +03:00
xeruf f98486f012 docs: small updates 2024-08-20 13:51:23 +03:00
xeruf ada3492487 feat: upgrade to nostr sdk 0.34 2024-08-20 13:00:36 +03:00
xeruf efc0061390 feat(main): rudimentary filter by date or author 2024-08-19 22:16:19 +03:00
xeruf 1b0f7dca09 fix(main): more intuitive behavior when stopping tracking with stamp 2024-08-19 21:55:44 +03:00
xeruf f4cff3d702 feat: use author name consistently 2024-08-19 21:41:45 +03:00
xeruf f8a4777f71 feat(kinds): more accurate tag formatting 2024-08-19 21:25:59 +03:00
xeruf 0296556bcd fix(main): fetch task kinds before updates 2024-08-19 21:25:20 +03:00
xeruf c64a1fa051 feat(tasks): add task author to default columns 2024-08-19 21:21:31 +03:00
xeruf 721c200b97 fix(tasks): hide duplicates again in personal time-tracking history 2024-08-19 17:35:26 +03:00
xeruf 3b9fedd9a3 feat(tasks): display details on task without subtasks 2024-08-19 17:30:05 +03:00
xeruf 12b7c909ab feat(tasks): track depth in ChildIterator 2024-08-19 16:52:19 +03:00
xeruf 5bc3509930 refactor: provide position ref and cloned 2024-08-19 16:36:06 +03:00
xeruf 629db66018 fix(tasks): properly find current position when futures are involved 2024-08-19 13:59:37 +03:00
xeruf e0d241ec5a fix(tasks): undo tracking with history-based position 2024-08-19 13:56:28 +03:00
xeruf 506a73060a fix(tasks): properly process movement with history-based position 2024-08-19 13:47:27 +03:00
xeruf ebfe632497 feat(tasks): derive position from history 2024-08-19 13:06:20 +03:00
xeruf a4f9398846 fix: simplify tracking functions
Pruning the local history is not worth it.
2024-08-19 11:45:12 +03:00
xeruf 416a7f195d feat: format visible time tracking history 2024-08-19 11:27:12 +03:00
xeruf f8375cf879 refactor(task): state kind numbers as enum values 2024-08-18 22:47:19 +03:00
xeruf 8bf305d4d4 fix: only show default state for proper tasks 2024-08-18 22:43:14 +03:00
xeruf eaeeebca7b feat: add notes as stateless tasks 2024-08-18 22:37:02 +03:00
xeruf 2255abc1b8 docs: unify property columns documentation 2024-08-18 21:54:48 +03:00
xeruf 19d0fbb8fc feat(task): expose remaining relevant event properties 2024-08-18 21:38:20 +03:00
xeruf 903536bd3b docs: some helpful comments 2024-08-18 21:37:39 +03:00
xeruf 86654c8348 feat: show named task authors 2024-08-18 21:33:32 +03:00
xeruf d88cae4273 feat(main): enable filtering by author 2024-08-16 21:58:38 +03:00
xeruf 9ad1243078 fix(main): better messages for background thread operations 2024-08-16 17:46:04 +03:00
xeruf 2fac3fd8f8 refactor(tasks): resolve recursive tasks without intermediate collections 2024-08-16 09:45:35 +03:00
xeruf 34540370c3 refactor(main): small cleanups 2024-08-15 15:50:58 +03:00
xeruf 43278a6631 feat(tasks): interpret plain numbers as minutes and strip prefixes 2024-08-15 13:22:16 +03:00
xeruf 9c0a688297 fix(tasks): prevent tracking invalid times 2024-08-15 13:12:42 +03:00
xeruf fcd5e9c0c9 feat(tasks): employ time parsing libraries for tracking offsets 2024-08-15 12:21:32 +03:00
xeruf 3e056eb2b6 feat: feedback when filter does not match 2024-08-15 10:33:52 +03:00
xeruf 930c6b9c38 fix: improve task filtering, especially with slash
- smart case
- substring match
- less movement needed
2024-08-15 10:33:06 +03:00
xeruf c93b2f2d91 feat(main): enhance prompt formatting 2024-08-15 09:31:49 +03:00
xeruf 0253b00c61 feat(tasks): display tracking since for current task 2024-08-14 22:12:43 +03:00
xeruf 957422f767 feat: localize nostr Timestamps consistently 2024-08-14 21:49:36 +03:00
xeruf 3eefbad6d5 feat: allow setting multiple tag filters at once 2024-08-14 19:42:58 +03:00
xeruf b544616801 test(tasks): small rearrangements 2024-08-14 16:00:03 +03:00
xeruf 1e0cc319b8 docs: expand Readme and adjust code comments 2024-08-14 15:59:43 +03:00
xeruf 8588fb9a04 refactor(main): improved debug output 2024-08-14 15:57:05 +03:00
xeruf bbfbb2d8b0 fix(main): better feedback on url parse error 2024-08-14 15:40:15 +03:00
xeruf f5aca3eca8 fix(main): better feedback after adjusting timetracking 2024-08-14 15:36:54 +03:00
xeruf be582cb536 fix(main): revamp prompt formatting 2024-08-14 15:33:50 +03:00
xeruf 68d5c101e9 feat(main): enable switching to new relay while running 2024-08-14 15:32:42 +03:00
xeruf 45b8f9cf0f feat(main): define MostrMessage type for inter-thread channel 2024-08-13 21:40:23 +03:00
xeruf ae4d315d87 fix: small sorting adjustment 2024-08-13 21:40:01 +03:00
xeruf 66af6af0ab fix(main): do not superfluously move in place 2024-08-13 21:40:01 +03:00
xeruf a059ff1c3e refactor(main): define timeout delays as constants 2024-08-13 21:39:47 +03:00
xeruf 6cb2d47a8d feat(main): advanced logger instantiation 2024-08-13 21:27:26 +03:00
xeruf 6d4666c12d feat(tasks): improve visible tasks summary 2024-08-13 11:59:57 +03:00
xeruf c67ef3b119 feat(main): batch up messages for relays 2024-08-13 11:54:14 +03:00
xeruf 619bcfbbad feat(tasks): generate tree from iterator 2024-08-12 23:08:06 +03:00
xeruf 85b923edc8 feat: enable creating dependent sibling task 2024-08-12 23:06:49 +03:00
xeruf 9f84fd7ef1 refactor(tasks): find task tree as references 2024-08-12 12:17:03 +03:00
xeruf 67a19d61f2 feat(tasks): implement fallback for finding task children 2024-08-12 12:09:46 +03:00
xeruf 8f3552aeba feat: move up after setting state manually 2024-08-12 11:57:21 +03:00
xeruf b3d70ab0b7 feat(tasks): enable excluding tags from view 2024-08-11 12:28:08 +03:00
xeruf c83d8a2f55 feat(tasks): option to fully set sorting 2024-08-11 12:05:29 +03:00
xeruf a7d02e60b2 feat(tasks): make sorting by property customizable 2024-08-11 10:58:34 +03:00
xeruf 55792ca34f feat(tasks): sorting by property 2024-08-11 10:01:46 +03:00
xeruf dda969e08b feat: integrate progress and dependencies into state property 2024-08-10 21:27:47 +03:00
xeruf dcf333353b fix(tasks): ignore future stamps in time-tracking summation 2024-08-10 21:27:47 +03:00
xeruf 15bd21059d fix: show currently running timetracking for task 2024-08-10 21:27:47 +03:00
xeruf 9fbe3e27cb feat: implement task stopping shortcut 2024-08-10 21:27:41 +03:00
xeruf 06bfe8e18a fix(task): properly parse str into State 2024-08-10 18:16:29 +03:00
xeruf b74ac18e39 style: reformat and remove leftover debug print 2024-08-10 18:14:19 +03:00
xeruf ae2172c8f2 feat(main): properly apply input trimming 2024-08-10 18:11:42 +03:00
xeruf b03ad00b6a feat: quick filter for all task states 2024-08-10 15:44:52 +03:00
xeruf ff74ac216b feat(task): colorize state property 2024-08-10 15:14:09 +03:00
xeruf c48355e5da feat(task): parse dependees 2024-08-09 20:53:30 +03:00
xeruf 7a8a048d6c feat: add procedures for dependency lists 2024-08-08 21:10:17 +03:00
xeruf c492d64d9e style: align command match branches 2024-08-08 18:16:25 +03:00
xeruf b62ec6fd39 feat: summarize time tracked on visible tasks 2024-08-08 15:14:04 +03:00
xeruf 43c62bf742 feat: list existing tracked times 2024-08-08 15:09:39 +03:00
xeruf 79b42b8df0 style: reformat code 2024-08-08 13:52:02 +03:00
xeruf a3a732879f feat(tasks): don't create tasks from typos 2024-08-08 13:04:52 +03:00
xeruf 6b7b6b91a8 feat: hashtag list and quick filter override 2024-08-08 13:04:22 +03:00
xeruf 08b0ba48a3 feat: properly handle commands without argument 2024-08-08 00:18:34 +03:00
xeruf 4180533844 fix(tasks): apply state to new tasks 2024-08-07 23:59:05 +03:00
xeruf fca9b1492b fix(tasks): recursive time tracked format string 2024-08-07 15:04:57 +03:00
xeruf 50ac994d21 docs: slight additions to readme and code comments 2024-08-07 15:04:18 +03:00
xeruf 65207a1de2 feat: allow switching between initial relays 2024-08-07 15:03:29 +03:00
xeruf 6932e1f257 feat: hide Tasks attributes for feedback logs and make column interaction 1-indexed 2024-08-07 00:06:09 +03:00
xeruf b66089fc94 refactor: create helpers file 2024-08-06 23:01:59 +03:00
xeruf f4f1b56f02 feat: info feedback on what you are doing 2024-08-06 22:54:22 +03:00
xeruf b5b57b7ac9 fix: flush after backtrack 2024-08-06 17:57:01 +03:00
xeruf db4f9ee8cb fix(tasks): test time-tracking including automatic back-tracking 2024-08-06 17:52:31 +03:00
xeruf d950c13098 feat: migrate to nostr-sdk 0.33 2024-08-06 11:34:18 +03:00
xeruf a2505e94fb feat: allow timetracking with date specifier 2024-08-02 20:40:42 +03:00
xeruf 8c2c279238 refactor: put kinds and helpers in own module 2024-08-02 14:44:47 +03:00
xeruf aa468f80c5 test(tasks): separate test cases 2024-08-02 14:31:28 +03:00