Commit Graph

50648 Commits

Author SHA1 Message Date
Roeland Jago Douma 242ed6bb0b
Merge pull request #17080 from nextcloud/dump_eol_dbs
No need to test against EOL dbs
2019-09-10 11:00:00 +02:00
Roeland Jago Douma 01b2b1ec51
No need to test against EOL dbs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-10 10:01:50 +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
Roeland Jago Douma 776889f4e1
Merge pull request #17078 from nextcloud/fix/default_csp_404
set default CSP on NotFoundResponse
2019-09-10 09:23:03 +02:00
Julius Härtl 9e0078824e
Add nextcloud-router
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:27 +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 0b6706225b
Add moment-timezone
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +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
Nextcloud bot 4c850263a2
[tx-robot] updated from transifex 2019-09-10 02:15:33 +00: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 1cc6f34d88
adapt file hooks test to eventdispatcher utilization
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 23:28:51 +02:00
Arthur Schiwon 3a4e31ef6b
fix missing @since's
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:06 +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
Julius Härtl 5891ec602f
Return actual event data instead of self calling
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 20901c59d4
emit file events via Dispatcher, too
another step to get rid of hooks and emitters

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