Tomas Babej
3ed89393ec
NewsItem: Add stub
2021-09-26 21:10:41 -04:00
Tomas Babej
36bdd81d46
CmdNews: Prompt user to determine whether to show abbreviated summary
2021-09-26 21:07:21 -04:00
Tomas Babej
d092aaa2e5
CmdNews: Set news.version configuration variable upon success
2021-09-25 23:24:26 -04:00
Tomas Babej
63c176ea0e
CmdNews: Add plumbing to register the command
2021-09-25 22:05:46 -04:00
Tomas Babej
38fe7b6044
CmdNews: Add stub
2021-09-25 22:05:27 -04:00
Tomas Babej
4a993afb46
Task: Update versions of comments
2021-09-25 14:35:50 -04:00
Tomas Babej
cd2abc7132
Replace references to monthsperline with calendar.monthsperline
2021-09-25 13:34:58 -04:00
Tomas Babej
c22b233300
CmdCalendar: Respect calendar.monthsperline alongside monthsperline
2021-09-25 13:34:58 -04:00
Tomas Babej
38a0a25374
libshared: Bump version
...
This includes rebased versions of changes originally introduced in
PR #2558 .
2021-09-18 16:09:14 -04:00
Tomas Babej
03edf2e01c
CmdContext: Analyze the context filter for validity as modification
2021-09-18 14:15:47 -04:00
Tomas Babej
96fe962604
CmdCompletionContext: Fix typo
2021-09-18 14:15:47 -04:00
Tomas Babej
4e00106c71
CLI2: Add method to get MISCELLANEOUS tokens
2021-09-18 14:15:47 -04:00
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
ed6249fee6
Context: Make default/override imply header
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
Jasha
5ad8f47000
fix a typo in the help commnad
2021-09-14 20:36:11 -04:00
DanielMowitz
c1e811a4fe
Fixed error with tasks that were completed instantly not rendering.
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
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -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
Tomas Babej
7aee9567a3
Task: Fix extra whitespace typo
2021-09-03 21:15:07 -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
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
ddf2f122a2
CLI2: Pre-reserve the size of the escaped string
2021-08-28 21:01:29 -04:00
Tomas Babej
c119b6d1de
CLI2: Support escaped utf-8 characters
2021-08-28 21:01:29 -04:00
sebu06
0523ada9fc
Fixed bug with double escaped single quotes
...
Before, the parser always escaped single quotes, independent of the quotes being escaped already. This is now fixed.
2021-08-28 21:01:29 -04:00
Bharatvaj H
05904549a0
Fixes #2580
...
Check annotations field before parsing
Add test case for annotations
2021-08-21 08:28:43 -04:00
Tomas Babej
8cad6487c7
CLI2: Call uses_context from child classes, if applicable
2021-08-21 08:25:06 -04:00
Tomas Babej
21f1086f3d
Context: Add default values for report.<name>.context variables
2021-08-21 08:25:06 -04:00
Tomas Babej
5309132add
CmdTimesheet: Add ability to specify if context should be used
...
This makes timesheet consistent with other report commands.
2021-08-21 08:25:06 -04:00
Tomas Babej
ab29ef8326
CmdCustom: Respect report.<name>.context configuration variable
...
This allows the user to configure if a specific report should (or should
not) adhere to the currently active context.
Closes #2560 .
2021-08-21 08:25:06 -04:00
Tomas Babej
a464324617
CmdConfig: Properly preserve comments at the end of the line
...
Trailing comments previously caused crash of the application.
Closes #2581 .
2021-08-21 01:06:55 -04:00
Tomas Babej
e2e184b8d4
CmdConfig: Be more strict when matching confiuration variables
...
Allow only leading spaces in front of configuration variables, as
opposed to arbitrary strings.
This prevents matching variables like "report.list.context=" when one is
seeking to modify "context=".
2021-08-21 01:06:55 -04:00
Dustin J. Mitchell
20af583e21
Refactor to store dependencies as individual attributes
...
This also drops support for the transitional `json.depends.array`
configuration value, which has not been necessary since ~2016.
As with tags, dependencies are stored in both a "combined",
comma-separated format (for compatibility) and in an
attribute-per-dependency format (for the future).
2021-08-17 20:36:54 -04:00
Dustin J. Mitchell
413b8d22b7
Remove references to the 'depends' property outside of Task.cpp
...
With the exception of `taskDifferences` and `taskInfoDifferences`,
deferred to #2572 .
2021-08-17 20:36:54 -04:00
Tomas Babej
89a6f2b629
CLI2: Apply UUID/ID context break only for readable context
...
The purpose of this break is to not apply the context on commands like
task 4 info
so that we can still refer to tasks directly (using their ID/UUID
references) even if they fall outside of the currectly active context.
However, this break should not be applied for writeable context. This is
because the lexer can (a bit misleadingly) label parts of the desription
of the new task as number/identifier tokens
task add Replace 3 parts of the puzzle abc123
^ ^
type::number type:uuid
which would trigger the break unnecessarily.
Closes #2550 .
2021-08-15 22:50:55 -04:00
Dustin J. Mitchell
9a9ede7878
update built-in reports to use +WAITING, and doc
2021-08-08 14:27:25 -04:00
Tomas Babej
f8ca8cff81
Task: Make COMPLETED and DELETED virtual tags use getStatus()
...
This is now consistent with how PENDING is defined since recent commit
520d7e979b
.
2021-08-08 14:27:25 -04:00
Tomas Babej
91517151ad
docs: Add removal comments
2021-08-08 14:27:25 -04:00
Tomas Babej
861e8a6414
commands: Do not remove wait attribute upon task completion/deletion
2021-08-08 14:27:25 -04:00
Tomas Babej
ea008380db
Task: Use getStatus () call to determine if task is pending
2021-08-08 14:27:25 -04:00
Tomas Babej
582bee66e9
DOM: Implement special-cased status handling
...
This is required for status:pending filters not matching the tasks with
the virutal waiting tag.
2021-08-08 14:27:25 -04:00