Commit graph

11314 commits

Author SHA1 Message Date
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
Dustin J. Mitchell
fd2add5dea
Merge pull request #280 from gravityvi/feature/support-more-timestamps
added common business date acronyms
2021-08-28 16:14:57 -04:00
Ravi Sawlani
037807e3ac
update image ref 2021-08-28 02:06:33 +05:30
Ravi Sawlani
3edf45d238
added ref pic 2021-08-28 01:47:50 +05:30
Ravi Sawlani
d001b5dbc9
update doc 2021-08-28 01:01:02 +05:30
Ravi Sawlani
f013233c88
document changes 2021-08-28 00:59:09 +05:30
dbr
e8a4d8029b Update contribute+release docs regarding changelog 2021-08-26 19:56:53 +10:00
Ravi Sawlani
f824d6123c
added tests 2021-08-25 12:42:37 +05:30
Ravi Sawlani
c5e18aec31
lint issue 2021-08-24 22:41:45 +05:30
Ravi Sawlani
90b06df30f
refactor 2021-08-24 22:38:27 +05:30
Ravi Sawlani
4a3b19bba6
added common business date acronyms 2021-08-24 22:26:30 +05:30
Tomas Babej
d270ef31a4
docs: Document report.X.context in the man page 2021-08-21 12:39:17 -04:00
Tomas Babej
d515326fba
docs: Add Jake C. among AUTHORS 2021-08-21 10:09:59 -04:00
Tomas Babej
08dab41d48
docs: Document TW #2560 2021-08-21 10:09:45 -04:00
Tomas Babej
55f38bd48e
docs: Document TW #2580 2021-08-21 10:01:26 -04:00
Tomas Babej
3471e1cdaa
docs: Add bharatvaj among AUTHORS 2021-08-21 09:57:26 -04:00
Tomas Babej
4f14c529b0 tests: Add test for TW #2577
This is already fixed on 2.6.0 thanks to #2405, but it never hurts to
have more tests.

Closes #2577.
2021-08-21 09:53:46 -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
48bf64a501 tests: Add test for report.<name>.context variable 2021-08-21 08:25:06 -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
c195c59494 docs: Document TW #2581 2021-08-21 01:06:55 -04:00
Tomas Babej
1f76856579 tests: Add test for TW #2581 2021-08-21 01:06:55 -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
Tomas Babej
9768fb8bca
docs: Sort ChangeLog entries 2021-08-17 20:52:12 -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
9e67f4f946 docs: Add information about waiting status to NEWS 2021-08-15 22:50:55 -04:00
Tomas Babej
54aef35b57 docs: Document #2550 2021-08-15 22:50:55 -04:00
Tomas Babej
d3fdb2baf9 changelog: Adjust formatting 2021-08-15 22:50:55 -04:00
Tomas Babej
7fb457d892 test: Add tests for TW #2550 2021-08-15 22:50:55 -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
Tomas Babej
5a86a40220 tests: Temporarily disable testing on Debian stable 2021-08-14 18:09:54 -04:00
Tomas Babej
b4fe317896 docs: Document TW #1913 2021-08-14 18:09:54 -04:00
Tomas Babej
b467049720 tests: Add tests for TW #1913 2021-08-14 18:09:54 -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
2c44f79277 tests: Make sed/wc calls in tw-2563 compatible with OS-X'
The sed does not support -i flag in the same way. The wc -l prints
whitespace in front, which needs to be stripped.
2021-08-08 14:27:25 -04:00
Tomas Babej
b6ce51e83d tests: Reverse expectations for wait attribute removal uponn done/delete
The wait attribute is no longer expected to be removed by the
done/delete commands.
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
0c22823771 tests: Ensure virtual tags +PENDING and +WAITING are working as before TW-2563 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
Tomas Babej
7d81eadd5a tests: Add test for the migration path from 2.5.3 2021-08-08 14:27:25 -04:00
Tomas Babej
db324c41e3 TF2: Upgrade waiting tasks to pending, if applicable
This can be safely removed in one of the later releases (likely 3.1 or
later).
2021-08-08 14:27:25 -04:00