Commit graph

11509 commits

Author SHA1 Message Date
Tomas Babej
bd0d907335 CLI2: Apply desugaring of plain filter args to date args
This ensures that commands like `task marc` perform description
substring search on `marc`.

Closes #2451.
2021-04-14 02:44:33 -04:00
Tomas Babej
475a16b3d4 CLI2: Fix docstring for desugarFilterPlainArgs
Desugaring is applied also for tokens of Lexer::type::identifier, make
sure the docstring correctly documents that.
2021-04-14 02:44:33 -04:00
Dustin J. Mitchell
8d15ce896f try cargo audit at main 2021-04-12 11:16:24 -04:00
Paolo Capriotti
856b589bac Parse 'context' verbose token correctly 2021-04-11 20:32:42 -04:00
Dustin J. Mitchell
1b8672ffc9 fix audit cron 2021-04-11 19:55:35 +00:00
Max Rossmannek
6546c050c5 Un-wait a waiting task when deleted 2021-04-06 23:34:32 -04:00
Max Rossmannek
33dcea68f5 Un-wait a waiting task when done
Implements #2322
2021-04-06 23:34:32 -04:00
Tomas Babej
5c92dea674
ChangeLog: Document TW #2442
Closes #2442.
2021-04-04 22:14:15 -04:00
Tomas Babej
506cb4fc8a
tests: Add regression test for TW #2429 2021-04-04 22:14:14 -04:00
DanielMowitz
fb6c42f375 Change nagging behavior
Don't nag if the specified set of tasks consists only of highest urgency tasks.
2021-04-04 22:06:07 -04:00
Tomas Babej
4dea5dd944
README: Highlight our new discussion forum 2021-04-03 20:44:05 -04:00
Tomas Babej
e86f2591ba
docs: Update README 2021-04-03 20:37:33 -04:00
Dustin J. Mitchell
6bfa77e29d
Merge pull request #195 from taskchampion/issue174-actions
add taskchampion-tests action
2021-04-03 20:17:57 -04:00
Dustin J. Mitchell
d20884281b add security audit 2021-04-03 20:16:12 -04:00
Dustin J. Mitchell
e4e40b3e5e Add actions
These will be more easily maintained by others than a Taskcluster
configuration.
2021-04-03 20:11:08 -04:00
Dustin J. Mitchell
c767718ac9
Merge pull request #194 from taskchampion/issue174
Update links ot point to new org
2021-04-03 19:46:21 -04:00
Dustin J. Mitchell
c2349cf708 Update links to point to new org 2021-04-03 19:44:31 -04:00
Tomas Babej
e8c38b75e7 ChangeLog: Document TW #2428 2021-04-03 17:57:08 -04:00
Tomas Babej
693f2f74cd CmdEdit: Respect bulk option
Since 'task edit' is a data-modification operation (that is particularly
hard to cancel mid-way), it should also respect the 'bulk' option like
all the other modification operations (mod, start...).

Closes #2428.
2021-04-03 17:57:08 -04:00
Tomas Babej
d95b64c5a0 docs: Add info about writeable contexts to NEWS 2021-04-03 15:01:39 -04:00
Tomas Babej
c80869875d docs: Update changelog 2021-04-03 15:01:39 -04:00
Tomas Babej
8bf2aec0ae docs: Promote myself 2021-04-03 15:01:39 -04:00
Tomas Babej
4a726175f5 docs: Expand the manpage to explain writeable context 2021-04-03 15:01:39 -04:00
Tomas Babej
fe6a6ca93b compatibility: Explicitly specify template type to support older compilers
This makes curret development branch buildable on Ubuntu 18 / Centos 7 /
SUSE 15.
2021-04-03 15:01:39 -04:00
Tomas Babej
80490b625e tests: Fix context-related tests 2021-04-03 15:01:39 -04:00
Tomas Babej
c701137313 CmdContext: Report context as not found if nothing was deleted 2021-04-03 15:01:39 -04:00
Tomas Babej
1bba59e972 CLI2: Move the recursion block to the right place in addContext 2021-04-03 15:01:39 -04:00
Tomas Babej
87c05c4c6d tests: Context definition now requires answering two questions 2021-04-03 15:01:39 -04:00
Tomas Babej
201b1c37b4 CmdContext: Allow user to define read-only / write-only contexts 2021-04-03 15:01:39 -04:00
Tomas Babej
4de23a3e20 CmdContext: Remove all types of context when deleting 2021-04-03 15:01:39 -04:00
Tomas Babej
062878022b CmdContext: Expand information provided in 'context show' 2021-04-03 15:01:39 -04:00
Tomas Babej
a558ffcd42 CmdContext: List info about both read and write context 2021-04-03 15:01:39 -04:00
Tomas Babej
351c3b025c getTaskContext: Allow getting context info for a non-active context 2021-04-03 15:01:39 -04:00
Tomas Babej
c0ded37f91 CmdContext: Discard .read/.write suffix when discovering contexts 2021-04-03 15:01:39 -04:00
Tomas Babej
41823c7939 CmdContext: Expand description 2021-04-03 15:01:39 -04:00
Tomas Babej
9a380887ee CLI2: Simplify context determination
Simlifies by offloading portion of the logic into the singleton Context
class (which has nothing to do with the task context per se, just a
implementation singleton).
2021-04-03 15:01:39 -04:00
Tomas Babej
985aab0541 CmdContext: Define both read and write context 2021-04-03 15:01:39 -04:00
Tomas Babej
26fb4521fe tests: Update commands.t to reflect new signature of CmdAdd
The 'task add' command now accepts context.
2021-04-03 15:01:39 -04:00
Tomas Babej
5716f5abb7 CLI2: Generalize method to add context to support writeable context 2021-04-03 15:01:39 -04:00
Tomas Babej
5c3cf0f438 CLI2: Implement inserting modification arguments
Method to inject mods into the command, to be used by writeable context.
2021-04-03 15:01:39 -04:00
Tomas Babej
9128798fee CLI2: Generalize 'add' to insert arguments at arbitrary position 2021-04-03 15:01:39 -04:00
Tomas Babej
9bc726ba61 commands: Modify CmdAdd and CmdLog to use context
This only sets the command properties.
2021-04-03 15:01:39 -04:00
Tomas Babej
a2c3d224d3 CLI2: Generalize _context_filter_added latch name 2021-04-03 15:01:39 -04:00
Dustin J. Mitchell
ed576a8c6c
Merge pull request #193 from djmitche/dependabot/cargo/serde_json-1.0.64
Bump serde_json from 1.0.59 to 1.0.64
2021-03-31 18:29:39 -04:00
Dustin J. Mitchell
51f9a1093e
Merge pull request #192 from djmitche/dependabot/cargo/textwrap-0.13.4
Bump textwrap from 0.12.1 to 0.13.4
2021-03-31 18:29:32 -04:00
Dustin J. Mitchell
ad878b7b29
Merge pull request #191 from djmitche/dependabot/cargo/actix-web-3.3.2
Bump actix-web from 3.3.0 to 3.3.2
2021-03-31 18:29:19 -04:00
Dustin J. Mitchell
b9ad3ea9a0
Merge pull request #190 from djmitche/dependabot/cargo/anyhow-1.0.40
Bump anyhow from 1.0.39 to 1.0.40
2021-03-31 18:28:39 -04:00
dependabot[bot]
35ae3420b8
Bump serde_json from 1.0.59 to 1.0.64
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.59 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.59...v1.0.64)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 07:30:38 +00:00
dependabot[bot]
e69efe79d0
Bump textwrap from 0.12.1 to 0.13.4
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.12.1 to 0.13.4.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.12.1...0.13.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 07:30:25 +00:00
dependabot[bot]
5b28993be0
Bump actix-web from 3.3.0 to 3.3.2
Bumps [actix-web](https://github.com/actix/actix-web) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v3.3.0...web-v3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 07:30:16 +00:00