Is your feature request related to a problem? Please describe.
The tasks.py section of the wiki is missing some key functions. For example a task named archive_projects is documented in the Wiki but does not seem to be part of the tasks.py source code anymore.
The documentation outlines: https://github.com/GhostManager/Ghostwriter/wiki/Scheduled-Tasks#archive-projects however this function is not in the tasks.py source code from what I can see.
Secondly, I would like to see an example of scheduled tasks using buttons in Ghostwriter. One use case I can think of, when a project report is set to 'Delivered' notify the client via Slack or MS Teams message. I have created a webhook for this use case, however, I don't see any documentation for how you would trigger a scheduled task based on the status of an item changing or a button being pressed.
It is documented in https://www.ghostwriter.wiki/features/background-tasks that you can use a button (various) in GW to trigger a scheduled task, however, I don't see any examples in the documentation.
Describe the solution you'd like
I would like to see the archive_projects source code or know which release this scheduled task was last released in. I would like to see an example of a scheduled task based on a GW UI function being called, or some more examples of scheduled tasks.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
The tasks.py section of the wiki is missing some key functions. For example a task named archive_projects is documented in the Wiki but does not seem to be part of the tasks.py source code anymore.
The documentation outlines: https://github.com/GhostManager/Ghostwriter/wiki/Scheduled-Tasks#archive-projects however this function is not in the tasks.py source code from what I can see.
Secondly, I would like to see an example of scheduled tasks using buttons in Ghostwriter. One use case I can think of, when a project report is set to 'Delivered' notify the client via Slack or MS Teams message. I have created a webhook for this use case, however, I don't see any documentation for how you would trigger a scheduled task based on the status of an item changing or a button being pressed.
It is documented in https://www.ghostwriter.wiki/features/background-tasks that you can use a button (various) in GW to trigger a scheduled task, however, I don't see any examples in the documentation.
Describe the solution you'd like
I would like to see the archive_projects source code or know which release this scheduled task was last released in. I would like to see an example of a scheduled task based on a GW UI function being called, or some more examples of scheduled tasks.
Describe alternatives you've considered
N/A
Additional context
N/A