Add Feature: Import/Integrate Taskwarrior tasks
See original GitHub issueTaskwarrior is a task management tool mostly accessed from a terminal.
It’d be great if tasks could be integrated/imported from a Taskwarrior pending.data file. The import should not be a one off, one way import, but rather new tasks in Wekan should be synced back to the pending.data file and new files added to Taskwarrior from elsewhere should automatically appear in Wekan.
As a quick overview, it is possible to have a Taskserver which holds a master list of all tasks. Multiple remote machines can be used to view, add, edit tasks, and then synced back to the main server. As long as Taskwarrior was installed on the same server as Wekan, and syncing to a master server, there would be a Taskwarrior pending.data (pending tasks) file present.
There are very few viable UI tools for Taskwarrior. The only really useful one is inthe.am. While this is an open source tool, there are no installation instructions and the hosted version requires one to login with a Google account.
Perhaps this would form part of the long discussed Plugin system.
If this Feature was deemed viable, I’d be happy to work on requirements for mapping fields from a pending.data file to Wekan boards.
As an example of the format:
[description:"Important Birthday" due:"1480723100" entry:"1473174653" mask:"--" modified:"1484739219" priority:"H" project:"Personal.Family" recur:"yearly" status:"recurring" uuid:"2a3e26da-7964-44b5-b563-54c3d419654t"]
Also worth mentioning is Taskwarrior’s JSON support, which might be an easier way forward.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:17 (10 by maintainers)
Top GitHub Comments
Usually inside container Wekan code itself is read-only, it’s not possible to install plugins in-the-fly. Well, in theory, Wekan could write new Javascript code to writeable database directory and then eval it, but that could be dangerous.
@ahillio
I would prefer Wekan itself would not execute shell commands, that sounds kind of dangerous. Also if Wekan is inside some container like Snap/Docker/SandstormGrain, then it can not access anything outside that sandbox, it can only write to directory where are database files, and it’s subdirectories. I would recommend that webhook receiver code does some validation about what commands to execute.
It would be better that some webhook receiver is at localhost port.
You can use anything to receive webhook I think?
See right menu Webhooks at https://github.com/wekan/wekan/wiki . There is also Global Webhooks at Admin Panel, limiting webhook data, etc.
Wekan does send most board actions to webhooks. There are still some open issues that not everything is sent yet to webhook, like changes to card description, but anyone could add those missing webhooks, I did add some tips those webhook issues.