Commit graph

11314 commits

Author SHA1 Message Date
Tomas Babej
a8d4ce52c3 ViewTask: Handle negative overage by decreasing size of the largest columns 2021-09-16 07:33:53 -04:00
Tomas Babej
04e84cb06f refactoring: Reorder verbosity tokens 2021-09-16 07:15:54 -04:00
Tomas Babej
9a3b103861 Context: Override verbosity token should not imply header
Users might want to only opt-in into footnote override notifications,
without seeing header-based override information about TASKRC or
TASKDATA.
2021-09-16 07:15:54 -04:00
Tomas Babej
a5d5a025b7 tests: Make sure test accessing header output have correct verbosity tokens
This change was needed because the information about the default command
is no longer part of the default output.
2021-09-16 07:15:54 -04:00
Tomas Babej
e3e2c50c24 NEWS: Document the 'default' verbosity token 2021-09-16 07:15:54 -04:00
Tomas Babej
ed6249fee6 Context: Make default/override imply header 2021-09-16 07:15:54 -04:00
Tomas Babej
c5f6419dfd docs: Document the 'default' token 2021-09-16 07:15:54 -04:00
Tomas Babej
712f0080dd Context: Introduce 'default' verbosity token
The purpose of this token is to control the display of information
messages about taskwarrior choosing a default action of some sort.
2021-09-16 07:15:54 -04:00
Tomas Babej
867efe3928 Context: Update the list of verbosity tokens
- Add the "context" token to the default tokens..
- Remove the "filter" token from the default list.
2021-09-16 07:15:54 -04:00
Tomas Babej
235c6614af feedback: Remove redundant variable 2021-09-16 07:15:54 -04:00
Dustin J. Mitchell
217f3bf28a Add cache-control headers to API responses 2021-09-15 22:32:35 +00:00
Jasha
5ad8f47000 fix a typo in the help commnad 2021-09-14 20:36:11 -04:00
Dustin J. Mitchell
3837a61b6f
Merge pull request #284 from taskchampion/issue128
Add integration test for replica/server interactions
2021-09-14 09:36:57 -04:00
Dustin J. Mitchell
7d3aae4555 allow publishing taskchampion-cli, to allow 'cargo install' 2021-09-14 09:26:44 -04:00
Dustin J. Mitchell
757f923c66 reword README 2021-09-13 17:42:16 -04:00
Dustin J. Mitchell
fb39c90592 Add an integration test combining replica and server
This confirms that task changes are replicated via the server.
2021-09-12 21:30:05 +00:00
Dustin J. Mitchell
ebcf9527dc refactor sync-server into a lib crate with a binary 2021-09-12 21:30:04 +00:00
DanielMowitz
c1e811a4fe Fixed error with tasks that were completed instantly not rendering. 2021-09-11 13:56:03 -04:00
DanielMowitz
c6be724a96 Changed burndown test so it doesn't block forever 2021-09-11 13:56:03 -04:00
DanielMowitz
bad672dc0a Update burndown.t
Fixed indentation error.
2021-09-11 13:56:03 -04:00
DanielMowitz
cb07e93ddd Changed configuration option name and added documentation. 2021-09-11 13:56:03 -04:00
DanielMowitz
1d804ae7c8 Implemented non-cumulative burndown reports and added a test for them. 2021-09-11 13:56:03 -04:00
dbr/Ben
4690cf7fc8
Merge pull request #206 from dbr/sqlstore
Switch to SQLite storage backend
2021-09-10 10:04:08 +09:30
dbr
11a3b7882b Changelog entry! 2021-09-10 10:03:46 +10:00
dbr
43ca0623b1 Merge branch 'main' into sqlstore 2021-09-10 09:59:35 +10:00
dbr/Ben
4cbc9a805f
Merge pull request #279 from taskchampion/changelog
Basic changelog infrastructure
2021-09-10 09:26:24 +09:30
Dustin J. Mitchell
1ee07de6a9
Merge pull request #282 from taskchampion/issue281
Fix clippy and only run it with the MSRV
2021-09-06 10:12:39 -04:00
Dustin J. Mitchell
91b2e1164f run clippy on the MSRV 2021-09-05 22:14:21 +00:00
Dustin J. Mitchell
72b4941485 fix new clippy warnings 2021-09-05 21:55:09 +00:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers 2021-09-05 12:02:07 -04:00
dbr
8ca7f70cef Store changelog snippets as .md 2021-09-05 17:02:48 +10:00
Tomas Babej
7d5c82e3e7 meta: Expand review build target to allow specifying PR reference for libshared
This allows us to conveniently review PRs for libshared using

    make LIBPR=62 review

and taskwarrior PRs that require libshared PRs as well using

    make PR=2189 LIBPR=63 review
2021-09-04 12:13:25 -04:00
Tomas Babej
2bd0d8ebd3 Task: Make sure tag and dependency attributes are not identified as orphan UDAs 2021-09-04 11:15:37 -04:00
Dustin J. Mitchell
309e99d49e Refactor task diffs to handle new attributes
This refactors task(Info)Differences to be methods of Task and to
correctly handle the `annotation_`, `tags_`, and `dep_` attributes.
2021-09-04 10:49:45 -04:00
dbr
a4b67d9f4e Remove unused error variant 2021-09-04 13:29:03 +10:00
dbr
f8ed4cecdd Reset operation auto-increment ID 2021-09-04 13:05:21 +10:00
dbr
5db04ee1af Tidying 2021-09-04 13:05:10 +10:00
dbr
89e9a42374 Refactor calculation of next working set ID
As per Dustin's code-review comment
2021-09-04 13:02:03 +10:00
dbr
1d62799437 Deduplicate StoredUuid wrapper 2021-09-04 12:53:37 +10:00
dbr/Ben
477bf9e328
Tweaks from code review
Co-authored-by: Dustin J. Mitchell <dustin@v.igoro.us>
2021-09-04 12:05:30 +09:30
Tomas Babej
7aee9567a3
Task: Fix extra whitespace typo 2021-09-03 21:15:07 -04:00
Tomas Babej
505bbf60bb
colors: Do not provide any color for color.tagged by default
The simple fact that the task has a single or more tags of any value
does not convey a lot of information. As such, we should not color tasks
based on this property by default.

Users can still configure the color.tagged configuration variable if the
color rule makes sense in their system.
2021-08-31 18:28:54 -04:00
Tomas Babej
99f4929dc5
CmdExport: Throw an exception when the report is not found
The Context::getContext ().error only issues a log message, but allows
the execution of the program. In order to interrupt the execution, an
exception must be raised.
2021-08-31 18:27:45 -04:00
Dheepak Krishnamurthy
9ce366ddab task <filter> export [<report>] 2021-08-29 12:48:18 -04:00
Tomas Babej
ef176478e9
ci: Temporarily disable CentOS 7 tests
Suspend the CI runs on CentOS 7, which fail due to a cryptic git error
connected with checking out the libshared submodule version. Might be
just a bug that is fixed in more recent git versions, which would
explain why other CI runs work fine.
2021-08-29 12:31:07 -04:00
Tomas Babej
7a9c8eaf4a
Merge pull request #2543 from sebu06/getFromContext
Allow overriding configuration variables per context
2021-08-29 00:00:10 -04:00
Tomas Babej
d91e30ee13
Merge branch '2.6.0' into getFromContext 2021-08-28 23:53:40 -04:00
Tomas Babej
8b30046d0a CLI2: Simplify code by using const quote string
The "\'" string is equal to "'", which is already stored in the quote
variable, so we might as well use that.

Thanks to Sebastian Uharek for the review suggestion.
2021-08-28 21:01:29 -04:00
Tomas Babej
2619435148 tests: Add test for TW-2189 2021-08-28 21:01:29 -04:00
Tomas Babej
ddf2f122a2 CLI2: Pre-reserve the size of the escaped string 2021-08-28 21:01:29 -04:00