nextcloud / nextcloud/server

Workflow Improvements

Open
#12,790 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: workflows overview
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

  • have one app that can do copy/move/etc (so it's a "complete" rules - action - argument thing)

@jospoortvliet I understand what you mean is to have one, unified GUI for any app that takes advantage of the workflow engine

Missing pieces from #16682

Backend
  • Dispatcher Events: currently we rely on GenericEvents, but it is not reliable (i.e. tagging is using the deprecated Disptacher's Event subclass) and we actually have an offical API subclass (based on GenericAPI). These needs to be ironed out to work generally:
    • WFE should either require \OCP\EventDispatcher\Event or find a good way for any of those. Related: https://github.com/nextcloud/server/pull/17085
    • switch File events (and move event names to constants)
    • maybe change tagging events to be based on \OCP\EventDispatcher\Event
  • optimize File entity to fetch nodes from the respective userFolder, not rootFolder
  • ensure user-scoped rules to not access foreign objects
  • OCC command for admins to manipulate the workflow, at least to disable user workflows that might be stressful for the instance
  • CompoundEntity – predefined for end users: an entity with one or more checkres, e.g. "Picture" (File + mimetype) or "One on one" (direct chat).
  • add more entities (see use cases)
  • add more operations (see use cases)
Frontend
UX
  • when choosing "Images" as mime type, the checker will only work when the operator is "matches", not "is"
App modifications

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the unchecked Backend, Frontend, UX, and App modifications items, along with the referenced pull requests. The issue names no files, tests, or single entry point, so first identify one narrowly scoped missing piece. Done would require completing that piece and validating its related workflow behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend, frontend, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.