Commit Graph

522 Commits

Author SHA1 Message Date
Nextcloud bot 0d03115eb0
[tx-robot] updated from transifex 2019-10-13 02:15:52 +00:00
Christoph Wurst c2e8821345
Use the external initial state implementation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-12 13:21:50 +02:00
Nextcloud bot 7f8ff16c76
[tx-robot] updated from transifex 2019-10-12 02:15:10 +00:00
Roeland Jago Douma 0646167111
Bump nextcloud/event-bus to 0.2.1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-11 12:57:19 +02:00
Nextcloud bot 2b0f49455d
[tx-robot] updated from transifex 2019-10-09 02:15:07 +00:00
Christoph Wurst 81613d2246
Switch to @nextcloud/axios for the CSRF update fix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-05 19:06:00 +02:00
Nextcloud bot e9cef938ea
[tx-robot] updated from transifex 2019-10-05 02:15:04 +00:00
Roeland Jago Douma 7b729c581d
Merge pull request #17359 from nextcloud/bugfix/noid/dont-call-basename-on-null
Don't call basename on null
2019-10-04 11:29:14 +02:00
John Molakvoæ (skjnldsv) 972279d31b
Split drone webpack tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-04 07:04:29 +02:00
John Molakvoæ (skjnldsv) c2c7c2778b
Fix master testing and update eslint-config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-04 06:44:21 +02:00
Nextcloud bot 3e28565458
[tx-robot] updated from transifex 2019-10-03 02:14:24 +00:00
Nextcloud bot 74dcd84ee8
[tx-robot] updated from transifex 2019-10-02 02:15:09 +00:00
Joas Schilling 0f3de7828e
Don't call basename on null
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01 17:30:52 +02:00
John Molakvoæ (skjnldsv) b9bc2417e7
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:16:09 +02:00
Nextcloud bot f9870eec2c
[tx-robot] updated from transifex 2019-10-01 12:41:53 +00:00
Nextcloud bot 8ca587be3a
[tx-robot] updated from transifex 2019-09-28 02:14:51 +00:00
Joas Schilling f23d49266f
Merge pull request #17286 from nextcloud/bugfix/noid/correctly-detect-mimetype-from-uploads
Correctly detect the mimetype from uploads
2019-09-27 10:51:10 +02:00
Joas Schilling 744b635d5c
Correctly detect the mimetype from uploads
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26 17:43:47 +02:00
Joas Schilling 2959e15c7a
Fix "Cannot add a NOT NULL column with default value NULL"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26 15:51:55 +02:00
Nextcloud bot 6217b45e26
[tx-robot] updated from transifex 2019-09-26 02:14:57 +00:00
Nextcloud bot c99fcd63f8
[tx-robot] updated from transifex 2019-09-25 02:14:47 +00:00
Nextcloud bot a76e1a9596
[tx-robot] updated from transifex 2019-09-21 02:14:49 +00:00
Nextcloud bot ce10683944
[tx-robot] updated from transifex 2019-09-19 02:15:38 +00:00
Nextcloud bot 6af36c8c6a
[tx-robot] updated from transifex 2019-09-18 02:14:55 +00:00
Nextcloud bot 8cc41974a4
[tx-robot] updated from transifex 2019-09-17 12:33:26 +00:00
Roeland Jago Douma dc3d545e30
We should ignore compiles javascript!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-17 14:18:55 +02:00
Julius Härtl e383bf0470
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-15 20:35:35 +02:00
Julius Härtl 69ed4bb939
Fix check listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-15 20:33:08 +02:00
dependabot-preview[bot] e2393ef3d9 Bump webpack from 4.39.3 to 4.40.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-13 14:33:26 +00:00
Julius Härtl 228cb240bc
Bump workflow bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-11 11:58:57 +02:00
Arthur Schiwon 6f5f53c0f4
bump version to reflect fundamental changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-11 11:28:13 +02:00
blizzz bfec3715ee
Merge pull request #16706 from nextcloud/workflow-frontend
Workflow frontend overhaul
2019-09-10 16:05:17 +02:00
Arthur Schiwon f889ea8373
fix manager tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-10 12:01:12 +02:00
Julius Härtl 7683208dfa
Workflow vue cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:44:20 +02:00
Julius Härtl 99e1063a57
Add user group selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl 370242cf6d
Add request url selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl 335d7cfba3
Add tag selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl e17a666517
Implement custom check components and fix linting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl 24aec9b9d2
Frontend polishing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl 98666a9f4d
Move over checker plugins
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl d6b3af9d77
Load checks from the backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl c665d5475a
Fix removing checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl 2364fc84d7
Make rule listing more compact
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl 11d6486b1d
Migrate check plugins
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl 1742f97acf
Allow placeholder and validation without custom vue component
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl 69ac169fd9
Do not use shot tag
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl 28a7721b2b
Handle operator registration properly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl ae55829989
Document plugins to be used by integrators
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl f36b50c502
Migrate plugins to vuex store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl b3bafb1614
Add missing files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl af3cb9c772
Use trigger hint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl bd281daa47
Move to vuex store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl aa00f401b3
Adjust to new backend URLs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl 0f84696d10
Styling fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl 9f8ccf1036
Use entity/event definitions from backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl aed630ac0a
Adjust template id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:22 +02:00
Julius Härtl e7e9166efe
Add endpoint to test operations before submitting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:22 +02:00
Julius Härtl ad976c66fd
Unified workflow management
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:22 +02:00
Julius Härtl 9eb7a31864
Fix test mocking
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 08:59:51 +02:00
Julius Härtl 72a7fe8185
Fix type hinting on setFileInfo
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 08:52:13 +02:00
Arthur Schiwon d363654132
fix order/entity types when setting the context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-10 00:52:27 +02:00
Arthur Schiwon 5610f73b7a
File entity supports tagging events now
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 23:59:31 +02:00
Arthur Schiwon ae1cc1d14d
entities equip the RuleMatcher on the events they are aware of
Operations will receive the matcher instance

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:06 +02:00
Arthur Schiwon 849d025d09
let a dedicate service serve a stateful process
* includes making ICheck not requiring any context setter
* and IFileCheck extending the IEntityCheck as entity data can be handed in
  via Dispatcher

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:05 +02:00
Arthur Schiwon 4cd931fcc6
require IChecks to receive entity context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:05 +02:00
Arthur Schiwon fd2de58503
seperate setFileInfo from ICheck
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:05 +02:00
Julius Härtl 687edb4bc8
No need to get the class since the entity is already the class string
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-09 22:56:05 +02:00
Julius Härtl 32279ed062
Extend missing check classes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-09 22:56:05 +02:00
Arthur Schiwon 36624def94
add type hint for IDE
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:04 +02:00
Arthur Schiwon c2a52813e2
extends ICheck with scope and entity support, provide them as initialState
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:04 +02:00
Arthur Schiwon d2c8b939d5
WFE as proxy listen to relevent events and forwards them
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:04 +02:00
Arthur Schiwon bed518e8ab
introduce GenericEntityEvent and adapt File entity
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:04 +02:00
Arthur Schiwon 0d7f7e5495
kill old non-OCS Controller
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:04 +02:00
blizzz dcfe4ab2cc
fix parameter for OCSExcpetion
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>

Co-Authored-By: Julius Härtl <jus@bitgrid.net>
2019-09-09 22:56:04 +02:00
blizzz ce4f3598ff
use correct builder instance
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>

Co-Authored-By: Julius Härtl <jus@bitgrid.net>
2019-09-09 22:56:03 +02:00
Arthur Schiwon f0f0a7b43e
adds a trigger hint for complex operations
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:03 +02:00
Arthur Schiwon 54bdc95cc1
fix missing value and run against empty tables in migration script
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:03 +02:00
blizzz 4c717884e3
fix personal settings class name in xml
Co-Authored-By: Julius Härtl <jus@bitgrid.net>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2019-09-09 22:56:03 +02:00
Arthur Schiwon ed58343e60
split events DB field into entity and events, adjust biz logic
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:03 +02:00
Arthur Schiwon 827dd896fa
extend DB table, manager, controller with support for entity events
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:03 +02:00
Arthur Schiwon fe2a78609a
add missing dep
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:02 +02:00
Arthur Schiwon 26b19b73a4
remove IEntity's getId in favor of class name
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:02 +02:00
Arthur Schiwon 4c2fdbb908
merge IOperator with IOperation for simplicity
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:02 +02:00
Arthur Schiwon ec36c0ae80
add operator interfaces / API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:02 +02:00
Arthur Schiwon 1c67357db8
section and settings for users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:02 +02:00
Arthur Schiwon 4aba1f1cff
scope aware workflow controller and manager
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:02 +02:00
Arthur Schiwon bd5c455da4
the workflow manager becomes scope aware, Part 1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:01 +02:00
Arthur Schiwon 804d4fe69f
introducing Entity interfaces and a File one as first implementation
also adds admin settings that pass entities as initial state

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:01 +02:00
Arthur Schiwon 9a6f7cc8cb
add scope table for workflows and switch to migrations
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:01 +02:00
Arthur Schiwon 445d6eb839
open the WFE to deal with other subjects but files
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:01 +02:00
Arthur Schiwon d015cd9c55
provides an OCS workflow controller for admins
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:55:56 +02:00
dependabot-preview[bot] a41f7a4a50 Bump handlebars from 4.1.2 to 4.2.0
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.2.0.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-08 15:31:36 +00:00
Nextcloud bot 365f30b05b
[tx-robot] updated from transifex 2019-09-08 02:16:42 +00:00
Roeland Jago Douma 57437e8fc8
Merge pull request #16977 from nextcloud/bugfix/noid/webpack-jsonp
Use different jsonpFunction for entry points
2019-09-07 11:09:25 +02:00
Nextcloud bot b7cf1f322d
[tx-robot] updated from transifex 2019-09-07 02:15:33 +00:00
Julius Härtl e6e73b636f
Use different jsonpFunction
This avoids issues when multiple entrypoints try to asynchronously load chunks on the same page

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-06 11:10:11 +02:00
Nextcloud bot 1a7310f4b3
[tx-robot] updated from transifex 2019-09-06 02:15:01 +00:00
Roeland Jago Douma 04ef434af0
Development is 18 now!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-05 11:26:35 +02:00
Roeland Jago Douma 361ff3127e
Merge pull request #16932 from nextcloud/fix/workflow/jails
Be sure to get the jailed path if the storage is a jail
2019-09-04 08:55:47 +02:00
Roeland Jago Douma f57fa231f7
Be sure to get the jailed path if the storage is a jail
Fixes: https://github.com/nextcloud/groupfolders/issues/583

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-03 09:57:09 +02:00