Commit Graph

198 Commits

Author SHA1 Message Date
jdb 85d561c8a5 Update Nim pinned version, drop jester dependency (pit_api currently not supported). 2025-05-06 14:45:08 -05:00
jdb 1064de3e1b Add support for syncing the parent property (if it exists). 4.29.1 2025-01-13 08:16:07 -06:00
jdb 8b0c751344 Bump version for 4.29.0 release. 4.29.0 2025-01-11 11:59:52 -06:00
jdb 0f7e257f76 Cap output width to 80 characters max. 2025-01-11 11:59:17 -06:00
jdb 76225d1c50 Add the autoSync config property to automatically sync contexts after relevant issues change. 2025-01-11 11:58:47 -06:00
jdb 0361d1b869 Add the --silent option to allow suppressing log output. 2025-01-11 11:58:02 -06:00
jdb 40cb602362 Add support for syncing to Probatem's Virtual Status Board. 4.28.0 2025-01-09 11:57:32 -06:00
jdb e2a306c1d6 Refactor to clean up package source structure. 2025-01-08 18:07:19 -06:00
jdb e955cd5b24 Add list tags sub-command, accept properties update to the edit command. 4.27.0 2025-01-06 10:38:47 -06:00
jdb 4176dfea3a Migrate from asdf to mise. 2024-12-10 10:00:53 -06:00
jdb 587e3c4509 Update for Nim 2.x. No longer building pit_api.
`pit_api` cannot be built for Nim 2.x without a non-trivial refactor due
to the enforcement of gc-safety. See the `pit_api.nim` source for
details.
4.26.0
2024-11-30 08:08:40 -06:00
jdb f6a97c384a Use update_nim_package_version from the package repository. 2024-11-30 07:56:55 -06:00
jdb 0c3d73dc2b Add debug logging when changing the state of an issue. 4.25.2 2024-08-12 10:52:51 -05:00
jdb 9a0bf35882 Add asdf tool-versions definitions pinning this to Nim 1.6 2024-05-10 11:58:35 -05:00
jdb be7c099b7b Format listed issues plainly when STDOUT is not a TTY 4.25.1 2024-01-01 12:55:01 -06:00
jdb d04797460c Format listed issues plainly when STDIN is not a TTY
When calling pit from other programs or as part of a pipe, the display
style typically used to format listed issues contains a lot of unwanted
output (ANSI escape code, headings, etc.). Now when STDIN is not a TTY,
a plain and consistently formatted version of the issues is listed
without any additional formatting, one issue per line of output.
4.25.0
2024-01-01 12:47:43 -06:00
jdb 8cf0bf5d98 Change how time entries based on PIT issues are logged when using --ptk. 4.24.1 2023-12-17 07:32:46 -06:00
jdb ddad90ddef Add examples to the online help for all special properties. 2023-12-15 21:34:38 -06:00
jdb 34ce2b61b9 When creating new recurrences, put them in the TodoToday state, not Todo. 4.24.0 2023-07-06 08:07:22 -05:00
jdb 661d5959c6 Add show-dupes command, fix BareExcept warnings. 4.23.4 2023-05-19 09:24:53 -05:00
jdb 6665f09b7b Fixed missed version bump in cliconstants. 4.23.3 2023-05-19 09:05:02 -05:00
jdb bcb1c7c17c Extract logic for locating the config file to the cliutils library. 2023-05-13 07:30:25 -05:00
jdb b0e3f5a9d8 Expose issue formating functionality. 4.23.2 2023-03-21 11:11:44 -05:00
jdb fee4ba70a6 Update state field when changing an issue's state. 4.23.1 2023-03-21 10:27:25 -05:00
jdb 171adbb59d Make IssueState available as a field on Issue.
* Add `state` on `Issue` to be able to query the state of an issue even
  if you only have a reference to this issue and don't have a reference
  to the context or issues table. This does not change the persisted
  format of the issue. On disk the state of an issue is still
  represented by it's location in the file hierarchy.

* Refactored libpit to use zero_functional instead of sequtils.
4.23.0
2023-03-21 08:30:29 -05:00
jdb d01d6e37f4 Update timeutils version to include support for the shorter ISO8601 date format. 4.22.2 2023-02-28 23:29:06 -06:00
jdb b98596574d Add find utility method for searching for issues among multiple issue states. 4.22.1 2023-02-17 12:12:13 -06:00
jdb ea9f8ea7ac Move issue loading logic into the publicly-exposed library methods. 4.22.0 2023-02-16 11:07:09 -06:00
jdb ae4a943e82 Allow access to pit functionality as a Nim libaray. 4.21.2 2023-02-16 09:07:02 -06:00
jdb 58a5321d95 Rework dependencies using JDB Softwar package repo instead of URLs. 4.21.1 2023-02-13 08:48:40 -06:00
jdb 7215b4969b Re-design output to make skimming easier.
- We now always protect the left margin when printing task details
  (including tags) to make it easier to skim down that line.
- Also made the actual summary always follow immediately after the ID,
  to align to that skimmable line.
- Moved the information about the delegatee to the end of the summary,
  next to the tags, and changed the color of the delegatee to make it
  easier to distinguish.
- Added the `-G` option, to allow filtering out issues matching any of
  the provided tags.
- We now allow options to be passed to both the `delegate` and `help`
  command. Any options are ignored, but this allows the use of tools
  like `cmd_shell` which always wrap commands with the pre-given
  options.
4.21.0
2022-07-31 20:01:39 -05:00
jdb c7891de310 Show Pending in either Today's list of the Future list, but not both at the same time. 4.20.0 2022-07-28 10:48:51 -05:00
jdb a373af0658 Add support for filtering based on property exclusion.
For example, allow commands like:

  # exclude issues from context "abc"
  pit list -C abc

  # exclude issues delegated to John Doe
  pit list -P "delgated-to:John Doe"
4.19.0
2022-07-22 10:39:13 -05:00
jdb de3ee05680 Change logging format. 4.18.2 2022-01-22 10:31:58 -06:00
jdb 59440d2c9d Remove unused, old copies of usage and outline text. 2022-01-21 15:01:07 -06:00
jdb 6226ff21c5 Fix compile-time message includes when installing via Nimble. 4.18.1 2022-01-21 14:59:22 -06:00
jdb 71e035fdbe Add --show-hidden to ignore hide-until properties. 4.18.0 2022-01-04 22:27:08 -06:00
jdb df854f864c When completing an issue, print info about any new issue created by recurrence. 4.17.0 2021-09-21 10:14:49 -05:00
jdb 7bccd83e23 Add support for issue recurrence. 4.16.0 2021-09-17 13:51:37 -05:00
jdb b25d2be164 Adding more comrehensive documentaition regaring issue types and properties. 4.15.0 2021-09-16 23:31:12 -05:00
jdb e0ab3cb401 Include Pending in the 'today' view. Allow listing multiple issues or states. 4.14.0 2021-08-30 11:49:35 -05:00
jdb d93c0cf348 Add the ability to hide tasks until a certain date. 4.13.0 2021-08-24 10:56:47 -05:00
jdb 9606e71cec Add support for binary properties via data URIs. 4.12.0 2021-06-07 18:34:41 -05:00
jdb 98f4dda1ad Reset terminal attributes after printing single issues. 4.11.1 2021-02-01 07:41:01 -06:00
jdb 393be347c9 Default list command no longer includes Done issues. 4.11.0 2020-11-12 14:50:43 -06:00
jdb f8fed9d937 Allow filtering by issue tags. 4.10.0 2020-11-12 07:37:22 -06:00
jdb ef16eafd48 Update to address changes for Nim 1.x (currently 1.4.0). 4.9.4 2020-11-12 04:05:04 -06:00
jdb 4af0d09356 Remove stuff in the README that I don't understand. 🤷 2020-10-02 12:33:51 -05:00
jdb 071c4b66e5 Explicitly document list contexts subcommand. Sort listed contexts alphabetically. 4.9.3 2020-10-02 12:13:22 -05:00
jdb 57a3af4f2f When moving issues, create target directories if they do not already exist. 4.9.2 2020-07-06 11:47:31 -05:00