Commit Graph

758 Commits

Author SHA1 Message Date
Joas Schilling 511a4ba66f
Improve mimetype detection in workflow components
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-10 09:11:43 +01:00
Nextcloud bot 98e2291f7a
[tx-robot] updated from transifex 2019-12-10 02:16:43 +00:00
Nextcloud bot 37fcf92bac
[tx-robot] updated from transifex 2019-12-09 02:16:28 +00:00
Nextcloud bot b41112a023
[tx-robot] updated from transifex 2019-12-07 02:16:37 +00:00
Julius Härtl c3061e6929
Make sure event names is always an array
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-06 10:32:55 +01:00
Nextcloud bot 4cbaf69bc3
[tx-robot] updated from transifex 2019-12-03 02:16:46 +00:00
Nextcloud bot 109755e2d3
[tx-robot] updated from transifex 2019-12-02 02:16:54 +00:00
Nextcloud bot e5b286f893
[tx-robot] updated from transifex 2019-12-01 02:18:15 +00:00
Nextcloud bot 6725a4b746
[tx-robot] updated from transifex 2019-11-30 02:16:49 +00:00
Nextcloud bot 73472725e6
[tx-robot] updated from transifex 2019-11-29 02:16:53 +00:00
Arthur Schiwon 2d34274c8a
adjust unit test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-28 14:25:50 +01:00
Julius Härtl 260f0fab4d
Set fileInfo in the rule matcher
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-28 13:51:21 +01:00
Arthur Schiwon b3749fbe16
add convenience interfaces so entities can provide presentable details
the File entity starts with a display text (used by talk)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-28 13:51:21 +01:00
Arthur Schiwon 7a7a415fdc
expose user of running flows
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-28 13:51:20 +01:00
Arthur Schiwon 7210852f07
allow user flows when the acting user is legitimate, but not its owner
for instance, when a sharee changes a file, the owner can act upon

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-28 13:51:16 +01:00
Roeland Jago Douma 669302e570
Merge pull request #18064 from nextcloud/feature/php74
Add php7.4 support
2019-11-28 08:36:10 +01:00
Nextcloud bot 563f9153a2
[tx-robot] updated from transifex 2019-11-28 02:16:54 +00:00
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 15:27:18 +01:00
Roeland Jago Douma c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 13:34:41 +01:00
Roeland Jago Douma a2046db6d0
Merge pull request #17997 from nextcloud/enh/workflow-frontend
More workflow frontend polishing
2019-11-27 08:36:25 +01:00
Nextcloud bot 15e599b9ab
[tx-robot] updated from transifex 2019-11-27 02:16:25 +00:00
Julius Härtl 0b0c7b5b2c
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-26 22:00:04 +01:00
Julius Härtl 840f034782
Fix wording
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-26 22:00:03 +01:00
Julius Härtl d10b313186
Rename to flow
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-26 22:00:03 +01:00
Julius Härtl caad94142f
Add cancel button to restore previously saved rule
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-26 22:00:03 +01:00
Julius Härtl ce6aed8667
Add hint about developer docs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-26 22:00:03 +01:00
Julius Härtl d0579bfb6d
Small fixes for workflow frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-26 22:00:02 +01:00
Nextcloud bot 123c4aa4e0
[tx-robot] updated from transifex 2019-11-26 02:15:57 +00:00
Roeland Jago Douma c7d5b8fc49
Merge pull request #18079 from nextcloud/fixes/phpcs
Some php-cs fixes
2019-11-25 14:07:00 +01:00
dependabot-preview[bot] 441b4c3808 Bump @babel/core from 7.7.2 to 7.7.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.2 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.2...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-11-24 07:35:32 +00:00
Roeland Jago Douma 68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-22 20:52:10 +01:00
Nextcloud bot 37ef64d24e
[tx-robot] updated from transifex 2019-11-21 02:16:02 +00:00
Nextcloud bot afa0f2c0d8
[tx-robot] updated from transifex 2019-11-20 02:16:19 +00:00
Nextcloud bot 9707fcf4fe
[tx-robot] updated from transifex 2019-11-19 02:17:47 +00:00
dependabot-preview[bot] b20e9c2e35 Bump vuex from 3.1.1 to 3.1.2
Bumps [vuex](https://github.com/vuejs/vuex) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/vuejs/vuex/releases)
- [Commits](https://github.com/vuejs/vuex/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-11-18 08:37:26 +00:00
Nextcloud bot 7bb3c0201c
[tx-robot] updated from transifex 2019-11-18 02:15:57 +00:00
Nextcloud bot c1cd0a25c7
[tx-robot] updated from transifex 2019-11-16 02:15:58 +00:00
Nextcloud bot 18efe3bad3
[tx-robot] updated from transifex 2019-11-15 02:16:03 +00:00
Nextcloud bot c952bec11d
[tx-robot] updated from transifex 2019-11-14 02:16:16 +00:00
Arthur Schiwon 2efe8aad38
relax dependency on GenericEvent, instead stay compatible with old events
* also fixes tagging events

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-13 14:23:39 +01:00
Nextcloud bot bf6fce483e
[tx-robot] updated from transifex 2019-11-13 02:16:08 +00:00
Nextcloud bot 9a460f9e39
[tx-robot] updated from transifex 2019-11-12 02:16:12 +00:00
Roeland Jago Douma c411dc4480
Merge pull request #17895 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.7.1
Bump @babel/preset-env from 7.6.3 to 7.7.1
2019-11-11 12:15:50 +01:00
dependabot-preview[bot] 3d63f3fbdf Bump @babel/preset-env from 7.6.3 to 7.7.1
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.3 to 7.7.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.3...v7.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-11-10 12:12:07 +00:00
Nextcloud bot cd7c7d78d7
[tx-robot] updated from transifex 2019-11-10 02:16:59 +00:00
Jan-Christoph Borchardt b38b610309
Merge pull request #17837 from nextcloud/design/flow-icon
Add Flow app icon
2019-11-09 11:24:42 +01:00
Jan-Christoph Borchardt cef0e622fb
Add Flow app icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-11-07 17:09:32 +01:00
Nextcloud bot f886d2f599
[tx-robot] updated from transifex 2019-11-07 02:15:55 +00:00
Nextcloud bot 6ba2a608d0
[tx-robot] updated from transifex 2019-11-06 02:16:07 +00:00
Nextcloud bot 5b5b451719
[tx-robot] updated from transifex 2019-11-05 02:15:46 +00:00
Robin Appelman ef2fb51065
remove missed manual Application instance constructions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-04 19:51:37 +01:00
blizzz 64bfd4bbeb
Merge pull request #17506 from nextcloud/bugfix/12790/workflow-frontend
Workflow frontend polishing
2019-11-04 15:01:55 +01:00
Nextcloud bot e517ca0530
[tx-robot] updated from transifex 2019-11-04 02:15:26 +00:00
Nextcloud bot 827a3c545a
[tx-robot] updated from transifex 2019-11-03 02:16:06 +00:00
Nextcloud bot 75b94cb5be
[tx-robot] updated from transifex 2019-11-01 07:46:26 +00:00
Arthur Schiwon 3f97025613
bump bundles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-29 18:09:28 +01:00
Arthur Schiwon 9c766cf03f
do not break on Checkers that do not need specific context info
request time, for example

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-29 18:03:57 +01:00
Julius Härtl 580c8355b2
Design fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:57 +01:00
Julius Härtl a0582efc86
Move delete/cancel button to the bottom
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:57 +01:00
Julius Härtl 5551da2e2f
Fix systemtag selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:57 +01:00
Julius Härtl 8a0164b6b9
Adjust user UserWorkflowController methods to AWorflowController
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:56 +01:00
Julius Härtl 928cf4bfcc
Fix issue with unavailable operations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:56 +01:00
Julius Härtl 2adcc75413
Fetch groups on the fly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:56 +01:00
Julius Härtl 06d43bdd77
Add missing ocs resource for user workflows
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:55 +01:00
Julius Härtl fce33f39d3
Fix operation list when scope is limited
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:55 +01:00
Julius Härtl 0fccda86c2
Fix input size and ellipsis
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:55 +01:00
Julius Härtl 6830daf104
Decode list of events when returning them
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:54 +01:00
Julius Härtl e72f58b000
Fix bugs with check plugins
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:54 +01:00
Julius Härtl 6878d36e50
Allow to select multiple events
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:54 +01:00
Julius Härtl 7b82a09a3b
Fix minor styling issues with the user agent picker
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:53 +01:00
Julius Härtl b15c4a3a2e
Properly validate individual checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:53 +01:00
Julius Härtl 71470463c6
Fix remaining comments from #16706
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:53 +01:00
Julius Härtl 327be375e1
Remove unused stylesheets from workflowengine
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:53 +01:00
dependabot-preview[bot] c92d15415c Bump nextcloud-vue from 0.12.6 to 0.12.7
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.6 to 0.12.7.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.6...v0.12.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-28 00:16:10 +00:00
dependabot-preview[bot] b0c0676429 Bump @nextcloud/axios from 0.4.2 to 0.5.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v0.4.2...v0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-27 10:21:41 +00:00
Nextcloud bot 4f2391d439
[tx-robot] updated from transifex 2019-10-27 02:14:12 +00:00
Nextcloud bot 908f13e9b9
[tx-robot] updated from transifex 2019-10-22 02:15:41 +00:00
Roeland Jago Douma c92e64b537
Merge pull request #17545 from nextcloud/bugfix/noid/workflow-catch
Ignore unavailable entity/operation classes
2019-10-21 09:25:46 +02:00
Roeland Jago Douma 83674f1b92
Merge pull request #17603 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.27
Bump moment-timezone from 0.5.26 to 0.5.27
2019-10-21 09:25:05 +02:00
Nextcloud bot 560d9c3006
[tx-robot] updated from transifex 2019-10-21 02:15:49 +00:00
dependabot-preview[bot] 31639b7862 Bump moment-timezone from 0.5.26 to 0.5.27
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.26 to 0.5.27.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.26...0.5.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-20 12:21:25 +00:00
Nextcloud bot e0e938295e
[tx-robot] updated from transifex 2019-10-20 02:16:43 +00:00
Nextcloud bot 41c92813c3
[tx-robot] updated from transifex 2019-10-18 02:15:23 +00:00
Julius Härtl 99c30453dd
Ignore unavailable entity/operation classes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-15 12:54:22 +02:00
Joas Schilling d4d3725bfe
Only cache the mimetype if the file exists
Otherwise files access control will cache "application/octet-stream"
for all the target node on:
rename, move, copy and all other methods which create a new item

To check this:
1. Add an automated tagging rule which tags on mimetype NOT "httpd/unix-directory"
2. Add an access control rule which checks for any mimetype
3. Create a folder and rename it, the folder should not be tagged, but it is

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-14 10:05:45 +02:00
dependabot-preview[bot] 191c51b99a Bump nextcloud-vue from 0.12.4 to 0.12.6
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.4 to 0.12.6.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.4...v0.12.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 17:58:08 +00:00
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
Nextcloud bot 0d1df80fbf
[tx-robot] updated from transifex 2019-09-03 02:15:06 +00:00
Nextcloud bot 50769b5966
[tx-robot] updated from transifex 2019-08-30 02:15:12 +00:00
Nextcloud bot cdd491c706
[tx-robot] updated from transifex 2019-08-28 02:15:26 +00:00
dependabot-preview[bot] 20a83bed16 Bump webpack from 4.39.1 to 4.39.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-18 14:22:01 +00:00
dependabot-preview[bot] b84b78d203 Bump webpack from 4.38.0 to 4.39.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.38.0 to 4.39.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.38.0...v4.39.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-04 07:57:44 +00:00
Nextcloud bot 67f90cb682
[tx-robot] updated from transifex 2019-08-02 02:14:30 +00:00
Nextcloud bot 9249a810fb
[tx-robot] updated from transifex 2019-07-21 02:15:10 +00:00
Nextcloud bot d307ed8e42
[tx-robot] updated from transifex 2019-07-14 02:15:06 +00:00
Nextcloud bot 0263821010
[tx-robot] updated from transifex 2019-07-11 02:14:31 +00:00
Roeland Jago Douma bf54d0f40d
Merge pull request #16324 from nextcloud/bugfix/noid/workflow-dark-theme
Improve dark theme handling in workflow apps
2019-07-10 21:45:59 +02:00
Joas Schilling 89ca22b170
Use SCSS nesting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-10 11:35:06 +02:00
Joas Schilling 80bd7cbabc
Mover workflow to SCSS and support the dark theme
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-10 11:23:14 +02:00
Julius Härtl d720339534
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-10 10:17:44 +02:00
Julius Härtl 4d3c06af6d
Make sure we merge webpack rules properly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-10 10:17:23 +02:00
Roeland Jago Douma b2a4e659a7
Add autoloaders for shipped apps
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-27 22:29:42 +02:00
Nextcloud bot 85767660ba
[tx-robot] updated from transifex 2019-06-14 02:14:26 +00:00
John Molakvoæ (skjnldsv) a442b78538
Build and update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-29 15:20:19 +02:00
John Molakvoæ (skjnldsv) b53a9130a6
Unify webpack config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-29 15:19:18 +02:00
Nextcloud bot c3f779b97d
[tx-robot] updated from transifex 2019-05-28 02:13:42 +00:00
Arthur Schiwon 738ca9f849
fix building WFE Handlebars
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-15 11:24:12 +02:00
Nextcloud bot 5d48a20927
[tx-robot] updated from transifex 2019-05-12 00:22:01 +00:00
Arthur Schiwon 3a5d4abdf1
use webpack to compile handlebars
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-10 14:50:40 +02:00
Arthur Schiwon e5fefd1338
webpackify workflowengine
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-09 18:42:52 +02:00
Nextcloud bot 579588a4cd
[tx-robot] updated from transifex 2019-05-02 00:12:57 +00:00
Nextcloud bot 5e8cedab9f
[tx-robot] updated from transifex 2019-05-01 00:12:41 +00:00
Joas Schilling 4c19b3b2c6
Bump versions of server and the requirements of apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-11 14:02:23 +02:00
Nextcloud bot 845fd2dd5a
[tx-robot] updated from transifex 2019-04-04 00:13:21 +00:00
Nextcloud bot 0a1d2bf494
[tx-robot] updated from transifex 2019-03-31 01:12:42 +00:00
Nextcloud bot 809058cb3c
[tx-robot] updated from transifex 2019-03-30 01:13:33 +00:00
Nextcloud bot a541443be7
[tx-robot] updated from transifex 2019-03-26 10:41:31 +00:00
Nextcloud bot 6ea5beccd7
[tx-robot] updated from transifex 2019-03-21 01:13:49 +00:00
Nextcloud bot 6fcf729545
[tx-robot] updated from transifex 2019-03-14 16:08:31 +00:00
Nextcloud bot 057e81a1e2
[tx-robot] updated from transifex 2019-02-28 01:12:39 +00:00
Nextcloud bot 876e2792d0
[tx-robot] updated from transifex 2019-02-26 01:12:12 +00:00
Nextcloud bot 5df6400e28
[tx-robot] updated from transifex 2019-02-25 01:12:18 +00:00
Nextcloud bot bc120bc5d7
[tx-robot] updated from transifex 2019-02-24 01:13:42 +00:00
Nextcloud bot 52e46a6885
[tx-robot] updated from transifex 2019-02-23 01:12:45 +00:00
Nextcloud bot 7c68e0eae7
[tx-robot] updated from transifex 2019-02-22 01:12:10 +00:00
Nextcloud bot 10388eab34
[tx-robot] updated from transifex 2019-02-21 01:12:02 +00:00
Roeland Jago Douma 7c68bf7859
Change Workflow to Tag Management
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-19 14:36:51 +01:00
Nextcloud bot 49a0ea01e5
[tx-robot] updated from transifex 2019-02-15 01:12:49 +00:00
Nextcloud bot d4cf0bdb6a
[tx-robot] updated from transifex 2019-02-10 01:13:28 +00:00
Nextcloud bot 5187ddcbfd
[tx-robot] updated from transifex 2019-02-09 01:12:40 +00:00
Nextcloud bot 45777abce0
[tx-robot] updated from transifex 2019-02-08 01:12:39 +00:00
Nextcloud bot 8db2f3ec3a
[tx-robot] updated from transifex 2019-02-06 22:18:24 +00:00
Roeland Jago Douma 635aa23b8c
Do not load bundled jstimezonedetect
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-06 09:16:45 +01:00
Roeland Jago Douma a201f2b4d0
No need to explicitly load bundle dependencies
oc-webdav-backbone is loaded by default

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-04 19:34:51 +01:00
Nextcloud bot ac6ee0b8b7
[tx-robot] updated from transifex 2019-01-17 01:12:15 +00:00
Nextcloud bot e35a5ef387
[tx-robot] updated from transifex 2019-01-16 01:12:34 +00:00
Nextcloud bot 56ad07b85e
[tx-robot] updated from transifex 2019-01-15 01:12:14 +00:00
Nextcloud bot 8edd9b0e33
[tx-robot] updated from transifex 2019-01-14 01:12:00 +00:00
Nextcloud bot a1b6333712
[tx-robot] updated from transifex 2019-01-05 01:11:57 +00:00
Nextcloud bot fbf906c9b6
[tx-robot] updated from transifex 2019-01-03 01:11:47 +00:00
Nextcloud bot 9d5f7c7f62
[tx-robot] updated from transifex 2018-12-24 01:11:46 +00:00
Nextcloud bot c0a6ad0a72
[tx-robot] updated from transifex 2018-12-21 01:11:48 +00:00
Nextcloud bot ffd2410a7e
[tx-robot] updated from transifex 2018-12-17 01:11:33 +00:00
Nextcloud bot 95d33cd889
[tx-robot] updated from transifex 2018-12-04 01:12:05 +00:00
Nextcloud bot 68f04686a0
[tx-robot] updated from transifex 2018-11-29 01:11:34 +00:00
Joas Schilling 1751c28c28
Bump versions of server and the requirements of apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-23 10:28:40 +01:00
Nextcloud bot 367560ccd6
[tx-robot] updated from transifex 2018-11-19 01:12:04 +00:00
Nextcloud bot 8bf7ec26e0
[tx-robot] updated from transifex 2018-11-18 01:12:58 +00:00
Nextcloud bot fef51895c2
[tx-robot] updated from transifex 2018-11-14 01:12:12 +00:00
Nextcloud bot 48395baa7e
[tx-robot] updated from transifex 2018-11-12 01:12:49 +00:00
Roeland Jago Douma 90dc8fb42e
A folder should get a folder mimetype
If doing achunked upload the mimetype of the folder would otherwise be
guessed from the path. Which always returned application/octet-stream.

If an access control rule to block that is in place this means that all
chunked uploads fail hard in directories as the isCreatable on the
directory always fails.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-29 21:35:08 +01:00