Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -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
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
Dustin J. Mitchell
20041c120e
Refactor to store tags as individual attributes
...
Each tag is stored as `tag_<tagname>: x`. The `x` is required because
empty attributes are treated as nonexistent.
For compatibility, the `tags` attribute is updated in sync with the
per-tag attributes. This compatibility support may be dropped in later
versions.
Note that synchronization _updates_ use JSON format, which does not
change with this patch, and thus no compatibility issues exist. The
synchronization _initialization_, however, uses FF4, meaning that a
sync server initialized from a version of `task` with this patch will
contain `tag_<tagname>` attributes, which will look like orphaned UDAs
to older versions. However, as updates to tasks are synchronized via
the sync server, the updates will not contain these attributes and they
will show as "deleted" in the `task info` display on the older version.
Aside from the noise in the `task info` output, this is harmless.
2021-08-05 02:11:27 -04:00
Scott Mcdermott
607baa081d
CmdInfo: fix missing spaces causing run-on in virtual tag list
...
without the fix, when listing out the tags we would see output like:
Virtual tags PENDING PROJECTREADY TAGGED UDA UNBLOCKED
there isn't a PROJECTREADY tag of course, but rather a missing space
2021-07-23 17:07:11 -04:00
Vladyslav Tronko
af6f2b55ec
Fix matching project name during urgency calculation
2021-07-17 16:21:59 -04:00
Rosen Penev
8ffb85b327
clang-tidy: use '' for single character find
...
Found with performance-faster-string-find
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2021-04-22 23:18:16 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Tomas Babej
6ff63286b5
CmdInfo: Properly format date and duration UDAs
...
The 'type' variable was never assigned value, hence the checking for
'date' and/or 'duration' always failed. Use col->type() instead.
Closes #2060 .
2020-12-28 20:36:32 -05:00
Max Rossmannek
3d850715f4
Make virtual tags consistent across commands.
...
- the DUETODAY tag was deprecated in b2d49f397
- the QUARTER tag was added in 630a1530e and 4711dd9e1
- the PROJECT, PRIORITY and LATEST tags were added in 4008a64
Note: the documentation in the man page is already up-to-date.
Fixes #2359
2020-12-03 01:45:07 -05:00
Tomas Babej
a09f9d48ab
Update copyright to 2020
2020-11-21 12:27:05 -05:00
mrossinek
6fbd400e77
Fix #1999
2019-03-02 19:44:18 -05:00
Tomas Babej
8066e4e6e2
meta: Update copyright year
2019-01-01 08:46:21 -05:00
Kirill Bobyrev
5cdbe6d019
Use nullptr instead lf C-styled NULL
2018-03-07 22:21:28 +03:00
Simon Ruderich
e817dfc800
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Mark Scannell
7af6db4c17
Portability: Updated to make main re-entrant()
...
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
865e277b76
l10n: Eliminated some column labels
2018-01-21 22:32:17 -05:00
Paul Beckingham
611d09cb16
l10n: Eliminated some column labels
2018-01-21 22:18:18 -05:00
Paul Beckingham
957b769412
l10n: Eliminated some column labels
2018-01-21 22:15:26 -05:00
Paul Beckingham
5335512c38
l10n: Eliminated some column labels
2018-01-21 22:11:25 -05:00
Paul Beckingham
a6c4c2fb2a
l10n: Eliminated some column labels
2018-01-21 22:09:51 -05:00
Paul Beckingham
6c1a411d7e
l10n: Eliminated some column labels
2018-01-21 22:07:57 -05:00
Paul Beckingham
64f2436d87
l10n: Eliminated STRING_COLUMN_LABEL_DESC
2018-01-21 13:15:20 -05:00
Paul Beckingham
2d859aa048
l10n: Eliminated STRING_CMD_INFO_*
2018-01-21 12:21:42 -05:00
Paul Beckingham
cf56983b58
l10n: Eliminated STRING_COLUMN_LABEL_ID
2018-01-20 14:44:01 -05:00
Paul Beckingham
2605cfa227
l10n: Eliminated STRING_COLUMN_LABEL_TEMPLATE
2018-01-15 13:35:38 -05:00
Paul Beckingham
367f3a5e32
l10n: Eliminated STRING_COLUMN_LABEL_PARENT
2018-01-15 12:24:57 -05:00
Paul Beckingham
193eebd852
l10n removal of STRING_COLUMN_LABEL_MASK, STRING_COLUMN_LABEL_MASK_IDX
2018-01-07 13:37:47 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
043884fc9b
CmdInfo: Table headers consistent
2017-03-20 09:11:00 -04:00
Paul Beckingham
218b43ecfa
CmdInfo: Fixed header underline problem
2017-03-20 08:29:51 -04:00
Paul Beckingham
440cfb009e
CmdTimesheet: Rewrote the command
...
- Updated the 'timesheet' command with a more compact report that accepts a
filter, and has a default filter showing the last four weeks of completed and
started tasks.
2017-02-09 08:19:30 -05:00
Paul Beckingham
a95dddd00c
CmdInfo: Code cleanup
2017-01-29 12:22:35 -05:00
Paul Beckingham
4e7576cb79
Merge branch 'recurrence' into 2.6.0
2017-01-07 12:29:11 -05:00
Paul Beckingham
fd4ca47581
CmdInfo: Added TEMPLATE and INSTANCE virtual tags
2017-01-07 12:04:13 -05:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
b0a4a409a6
Task: Improved method signature
2016-12-31 16:33:39 -05:00
Paul Beckingham
5193f7d03e
Task: Improved method signature
2016-12-31 15:55:06 -05:00
Paul Beckingham
cfc3e098c1
Task: Improved method signature
2016-12-31 15:44:13 -05:00
Paul Beckingham
1e7f451093
CmdInfo: Added Table::forceColor
2016-12-17 17:31:21 -05:00
Paul Beckingham
79c1a94289
CmdInfo: Migrated from ViewText to Table
2016-12-17 17:30:44 -05:00
Paul Beckingham
72076abc74
CmdInfo: Converted from ISO8601 to Datetime/Duration
2016-12-11 22:27:18 -05:00
Paul Beckingham
87757fb36f
util: Migrated optionalBlankLine from text
2016-12-11 17:46:06 -05:00
Paul Beckingham
3c6ce4e0fc
text: Removed local join/split implementation
2016-12-07 01:14:16 -05:00
Paul Beckingham
355620c640
libhsared: migrating from local to libshared
2016-12-06 07:20:45 -05:00
Paul Beckingham
8922728888
Cleanup: Don't use string literals when character literals are needed
2016-10-14 23:11:28 -04:00
Paul Beckingham
95f4989f77
Cleanup: Don't use string literals when character literals are needed
2016-10-14 22:27:34 -04:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
f92219e5cd
CmdInfo: Switched to use indices to make fewer string copies
2015-11-24 07:53:32 -05:00