Commit graph

67 commits

Author SHA1 Message Date
Thomas Lauf
99116bcdd7 Rename test-file
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-10 21:43:26 +02:00
quazgar
7160e4f65b MAINT: Removing comment. 2021-05-10 21:43:26 +02:00
quazgar
21e55a3ee5 MAINT: on-modify.timewarrior imports from future
This should fix #216.

Untested commit.
2021-05-10 21:43:26 +02:00
Harish Ved
0a08541161 ReviewFixes: Reset tags instead of stop/start task; formatting changes 2021-05-10 21:43:26 +02:00
Harish Ved
7f10219760 Handling modifications to description/tag/project for task
The taskwarrior extension script `on-modify.timewarrior` did not forward
modifications for description/tag/project to `timew`.

This resulted in non-existent tasks (with old tag etc) contiued to be
tracked and not updated

[Closes #105](https://github.com/GothenburgBitFactory/timewarrior/issues/105)
2021-05-10 21:43:26 +02:00
Thomas Lauf
18eb53bc4a TI-94 #98 Fix Command Injection Security Vulnerability in on-modify.timewarrior
- Thanks to Aaron Fields
- Add unit test?
- What about missing ```if '.' in project:```?
2021-05-10 21:43:26 +02:00
Simon Ruderich
f026056230 Use https:// link for opensource.org 2021-05-10 21:43:26 +02:00
Paul Beckingham
4c7fec1525 TI-32: taskwarrior hook script doesn't stop recording waiting task
- Thanks to Yury Videneev.
2021-05-10 21:43:26 +02:00
Thomas Lauf
75be890476 extensions: Make extensions conform with PEP8 2021-05-10 21:43:26 +02:00
Paul Beckingham
339b849fff TI-48: Timewarrior hook is not Python3 compatible
- Thanks to Josh Proehl, Armado Martinez.
2021-05-10 21:43:26 +02:00
Paul Beckingham
5d91528598 TI-51: in the taskwarrior hook, deleting a task doesn't stop the watch
- Thanks to Mattia Rizzolo.
2021-05-10 21:43:26 +02:00
Paul Beckingham
2de2ecd440 Ext: Taskwarrior project handling
- Taskwarrior projects are now used as-is as tags, and also split on the '.' to
  represent project hierarchy as separate tags.
- Thanks to Josh Proehl.
2021-05-10 21:43:26 +02:00
Paul Beckingham
99d2d12f37 Ext: Fixed utf8 encoding in Taskwarrior integration hook
- Thanks to Martin Boeker.
2021-05-10 21:43:26 +02:00
Paul Beckingham
8f532d8eb9 TI-16: Should handle case where taskwarrior hook is used before timew
- Thanks to Aaron Curtis.
2021-05-10 21:43:26 +02:00
Paul Beckingham
35530d75e4 Ext: Removed UUID from hook script 2021-05-10 21:43:26 +02:00
Paul Beckingham
7f439e20ee Extensions: Added Taskwarrior integration hook
- This first draft hook script uses the task UUID, description, project and tags
  as Timewarrior tags, and responds to 'task <id> start' and 'task <id> stop'
  commands, as well as other changes that have the same effect.
2021-05-10 21:43:26 +02:00
Paul Beckingham
d995d7ba7b Ext: Added initial extensions and README 2021-05-10 21:43:25 +02:00