mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1264
- TW-1264 Project | Tags assigned ratio of tasks (thanks to Benjamin Weber).
This commit is contained in:
parent
20fe380a5e
commit
e9178f6b34
4 changed files with 5 additions and 1 deletions
|
@ -36,6 +36,7 @@
|
|||
- TW-1261 Migrate test bug.360.t to new unit testing framework (thanks to
|
||||
Renato Alves).
|
||||
- TW-1263 Command Reference Redesign.
|
||||
- TW-1264 Project | Tags assigned ratio of tasks (thanks to Benjamin Weber).
|
||||
- TW-1274 Map 'modification' attribute to 'modified' (thanks to jck).
|
||||
- TW-1278 Next report filters tasks with due date set until due date arrives
|
||||
(thanks to Renato Alves).
|
||||
|
|
3
NEWS
3
NEWS
|
@ -5,7 +5,8 @@ New Features in taskwarrior 2.4.0
|
|||
- Removed deprecated commands 'push', 'pull' and 'merge'.
|
||||
- Portuguese (por-PRT) localization.
|
||||
- Better handling for deletion of recurring tasks.
|
||||
- New virtual tags: YESTERDAY, TOMORROW, READY, PENDING, COMPLETED, DELETED.
|
||||
- New virtual tags: YESTERDAY, TOMORROW, READY, PENDING, COMPLETED, DELETED,
|
||||
TAGGED.
|
||||
- The '_get' command properly uses exit codes.
|
||||
- Regular expressions are now enabled by default.
|
||||
|
||||
|
|
|
@ -591,6 +591,7 @@ are:
|
|||
UNTIL Matches if the task expires
|
||||
WAITING Matches if the task is waiting
|
||||
ANNOTATED Matches if the task has annotations
|
||||
TAGGED Matches if the task has tags
|
||||
PENDING Matches if the task has pending status
|
||||
COMPLETED Matches if the task has completed status
|
||||
DELETED Matches if the task has deleted status
|
||||
|
|
|
@ -1225,6 +1225,7 @@ bool Task::hasTag (const std::string& tag) const
|
|||
if (tag == "UNTIL") return has ("until");
|
||||
if (tag == "WAITING") return has ("wait");
|
||||
if (tag == "ANNOTATED") return hasAnnotations ();
|
||||
if (tag == "TAGGED") return has ("tags");
|
||||
if (tag == "PARENT") return has ("mask");
|
||||
if (tag == "PENDING") return get ("status") == "pending";
|
||||
if (tag == "COMPLETED") return get ("status") == "completed";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue