Paul Beckingham
5ae32dd036
CLI2: 'info' was tagged 'DEFAULT' and should have been 'ASSUMED'
2015-09-06 00:13:44 -04:00
Tomas Babej
e0a808a6ba
commands: Colorize only if color=on is set
...
Commands 'columns', 'commands' and 'custom' would output color
escape sequences desipte color=off being set.
2015-09-05 20:18:58 -04:00
Paul Beckingham
44afdb89e3
CmdImport: Tyo
2015-09-05 18:27:36 -04:00
Tomas Babej
6c7aecc2a6
CmdImport: Neglect attributes with dynamic default values
...
If not explicitly stated on import, values with default dynamic
values (such as modified, entry or end) can produce a false
notion of incoming 'modified' data, where the only difference
between the data in the database and data being imported is
that the dynamic defaults differ, since they have been
generated at different times.
Solve the issue by neglecting the attributes with dynamic defaults,
if they have been generated.
2015-09-05 18:25:12 -04:00
Paul Beckingham
3765aacc73
Tests: Fixed test that will no longer compile
2015-09-05 17:23:48 -04:00
Tomas Babej
ab40fae67e
TDB2: Only ever update task if it differs from original
2015-09-05 17:20:20 -04:00
Tomas Babej
4042cbf964
feedback: Replace taskDiff method by Task inequality operator
2015-09-05 17:19:18 -04:00
Tomas Babej
efab724802
Task: Convince myself Task comparison is implemented correctly
2015-09-05 17:19:13 -04:00
Paul Beckingham
98991c1c1a
Command: Defaulted ::_uses_context to false, which is predominant setting
...
- It's actually not yet predominant, but it looks like it will be. Since the
introduction of the context feature, subsequent changes have been made to
restrict it's influence. It appears that ultimately ゐt will only affect
reports, but currently enjoys a broader scope.
2015-09-05 15:27:04 -04:00
Paul Beckingham
28d0c534b1
CmdContext: Added 'const' for method args that are const
2015-09-05 14:39:52 -04:00
Tomas Babej
a49f5bb23c
tests: Bring tw-1452 and tw-1481 back to life
...
TW-1481 is not yet fixed though, so mark it as expectedFail.
2015-09-05 14:34:29 -04:00
Tomas Babej
ae1405a7be
tests: Modernize tw-1452 and tw-1481 tests
2015-09-05 14:34:21 -04:00
Tomas Babej
21617bf55e
tests: Add tests for referencing DOM values in filter expressions
2015-09-05 14:33:58 -04:00
Tomas Babej
619c5d5533
tests: Add tests for accessing UDA attribute values using DOM
2015-09-05 14:33:39 -04:00
Tomas Babej
76000d7515
tests: Add tests for references to DOM values on addition
2015-09-05 14:33:20 -04:00
Tomas Babej
9fe7993d96
tests: Add export_one and latest helpers to the Task test interface
...
- The 'export_one' method will export one task matching a filter,
raising error if not exactly one task was matched.
- The 'latest' property will return the task matching the "+LATEST"
filter.
2015-09-05 14:33:02 -04:00
Tomas Babej
f5b9370623
tests: State explicit filetype for .t python files
2015-09-05 14:22:52 -04:00
Paul Beckingham
ca37fab090
Revert "Test: Corrected import test"
...
This reverts commit a9b7d1b533
.
2015-09-05 14:22:42 -04:00
Tomas Babej
a8922629ae
docs: Document attribute-specific DOM references
2015-09-04 17:14:50 -04:00
Paul Beckingham
9b786de5be
CLI2: Clarified intent for demotion
2015-09-04 17:14:50 -04:00
Paul Beckingham
a82927cb54
CLI2: Refactored some of ::prepareFilter into ::categorizeArgs
2015-09-04 17:14:50 -04:00
Wilhelm Schuermann
5cd1649db2
Tests: Add failing on-modify hook
...
- An on-modify hook that reverts all changes (i.e. returns the original
task) should result in no changes. Currently the "modified:"
attribute gets updated despite no other changes being present.
2015-09-04 21:39:08 +02:00
Tomas Babej
56aad60a41
CmdShow: Update the list of supported config values
2015-09-04 08:15:53 -04:00
Tomas Babej
2dcd698686
docs: Document updates to the urgency of the next tag
2015-09-04 08:13:18 -04:00
Tomas Babej
0dac8d63df
docs: Add notes about deprecation of urgency.next.coefficient
2015-09-04 08:12:57 -04:00
Tomas Babej
a08d354971
Urgency: Add backwards compatible handling of next coefficient
2015-09-04 08:10:45 -04:00
Tomas Babej
6b83945a21
Urgency: Replace 'next' coefficient with configuration entry
2015-09-04 08:10:36 -04:00
Paul Beckingham
a9b7d1b533
Test: Corrected import test
...
- Test was comparing two supposedly identical exports, but it is possible,
and is occasionally true, that the 'entry' and 'modified' dates were not
identical.
2015-09-04 08:08:31 -04:00
Paul Beckingham
288bd81d8f
CmdShow: Added 'rule.color.merge' as a valid configuration setting
2015-09-04 07:58:36 -04:00
Paul Beckingham
aae29cbcfd
Test: Fixed test broken by command category rename.
2015-09-04 07:56:50 -04:00
Tomas Babej
7bea132bd5
Color: Remove redundant flag in colorize method
2015-09-04 00:32:10 -04:00
Tomas Babej
24bb1fd6ca
docs: Document the removal of color values with underscores
2015-09-04 00:31:51 -04:00
Tomas Babej
99b650a3ba
Color: Remove support for underscores in color values
...
Values like 'on_red' will no longer work.
This feature has been deprecated since 2009.
2015-09-04 00:27:01 -04:00
Paul Beckingham
8536dc9658
Rules: Added parens to fix conditional
2015-09-04 00:10:34 -04:00
Tomas Babej
184d736763
tests: Add tests for rule.color.merge
2015-09-03 18:14:09 -04:00
Tomas Babej
7d1fa92bd4
docs: Document rule.color.merge
2015-09-03 18:13:54 -04:00
Tomas Babej
7989177f7c
colors: Add rule.colors.merge
2015-09-03 16:19:20 -04:00
Paul Beckingham
ef16020cbb
TW-1660: Disabled sorting option
...
- Thanks to David Patrick.
2015-09-01 20:59:23 -04:00
Paul Beckingham
225fd769fd
TW-1616: Intermittent lengthy delay when starting or completing a task
...
- Thanks to Jeremy John Reeder.
2015-09-01 20:52:57 -04:00
Paul Beckingham
89880f2323
TW-1448: Add possibility to modify newest task
...
- Thansk to Jens Erat.
2015-09-01 20:29:10 -04:00
Paul Beckingham
7e78157c74
TW-1375: Use of ^ in regex parsed as exponentiate operator
...
- Thanks to lolilolicon.
2015-09-01 20:19:59 -04:00
Paul Beckingham
f9572b3d14
Test: Tweaked tw-20 test
...
- Added 'Harley Pig' to AUTHORS.
- Made test executable.
2015-08-31 18:44:27 -04:00
Harley Pig
e91137c315
Test: TW-20 Check that annotations are not deleted and re-added when not edited
2015-08-31 18:43:22 -04:00
Paul Beckingham
4008a64fdd
Virtual Tags: New 'PROJECT', 'PRIORITY' and 'LATEST' virtual tags
...
- Added documentation.
2015-08-31 16:54:18 -04:00
Paul Beckingham
ada6c24789
Virtual Tag: Undocumented, experimental support for 'LATEST'
2015-08-31 12:59:44 -04:00
Paul Beckingham
86dc14823e
Docs: Typo
...
- Thanks to Daniel Shahaf.
2015-08-31 10:59:24 -04:00
Harley Pig
7d02676f68
Test: Check for correct handling when same task entered twice
...
Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com>
2015-08-30 20:55:39 +02:00
Wilhelm Schuermann
6e22a1f279
Tests: Use TASKDATA env variable in Bash tests
...
- Now that bash_tap.sh no longer uses subshells, TASKDATA can and
and should be used. This fixes a bug introduced with the switch
to "eval" where having TASKDATA set while running tests would
potentially lead to problems.
2015-08-30 18:34:29 +02:00
Paul Beckingham
28d872dd31
CmdCommands: Added command description column
...
- Shrunk the default widths of all the columns, for better spacing.
2015-08-29 12:32:17 -04:00
Paul Beckingham
70b252f280
CmdColumns: Added 'type'
2015-08-28 09:18:36 -04:00