nextcloud / nextcloud/workflow_script
add possibility to define an activity text for each workflow which will be written to the activity stream
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- PHP
- Sterne
- 89
- Forks
- 19
- Ø Merge
- 6 Std. 38 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Enhancement request
For compliance reasons, it would be nice to be able to define an activity text for each workflow which then will be written to the activity stream of a user. Alternatively a text returned by the external script could be written to the activity stream. This would allow to get notice of the processing done by a workflow script. It should be possible to use the available place holders in that text string.
Example: Imagine you've created an external script which converts an uploaded 3gp-video to a mp4-video. As soon as you uploaded a file a message like "You have created xvz-video.3gp" is being logged. Next an external script is executed which converts the file to a mp4-video (xyz-video.mp4) and the original file is being deleted.
As a result you will see a file named "xyz-video.mp4" on your server but not the file "xyz-video.3gp" anymore. Currently the activity stream doesn't contain any entry about the external script execution nor the file renaming and how/why it has happened.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Dateien oder Tests genannt. Beginne damit, den Einstiegspunkt für die Workflow-Ausführung und die Integration des Aktivitäts-Streams zu finden, und prüfe anschließend, wie die Workflow-Konfiguration und Platzhalter dargestellt werden. Fertig ist die Aufgabe, wenn ein Workflow eine konfigurierte oder von einem Skript zurückgegebene Nachricht mit aufgelösten Platzhaltern im Aktivitäts-Stream des Benutzers erfassen kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- php
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100