nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.52k stars 4.08k forks source link

automated tagging based on tagging #14229

Closed schaarsc closed 3 years ago

schaarsc commented 5 years ago

Is your feature request related to a problem? Please describe. I'd like to suggest to add the ability to trigger actions after a tag is assigned or removed

Describe the solution you'd like similar to the automated tagging for files during upload, for example:

as in #10425 it would be nice if a rule could be applied to files that were on the sever before the rule was created.

schaarsc commented 5 years ago

I've created a proof of concept based on v16. It requires changes to the app and to the server

Problems with this proof of concept:

Spartachetto commented 5 years ago

Take into account that this should be strongly related to the on going work to solve issue #12790 (Workflow Improvements)

schaarsc commented 4 years ago

proof of concept on top of stable18: https://github.com/schaarsc/server/tree/stable18-14229-automated-tagging-based-on-tags https://github.com/schaarsc/files_automatedtagging/tree/stable18-14229-automated-tagging-based-on-tags

Changes:

schaarsc commented 4 years ago

turns out that apps/workflowengine/lib/Check/FileSystemTags.php may be a little bit tricky ...

does anyone have an idea how to workaround these issues? and whether including system tags from parents and ignoring shared files is a design decision or a bug?

szaimen commented 3 years ago

Hi there, do you mind creating a PR with your patches for discussion? Thank you!

ghost commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.