Commit graph

617 commits

Author SHA1 Message Date
Arthur Schiwon
1378614f67
pass the proper storage-internal path
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-17 15:00:44 +01:00
Roeland Jago Douma
2df9073025
Merge pull request #18430 from nextcloud/fix/noid/double-flow
Fix/noid/double flow
2019-12-16 20:29:53 +01:00
Arthur Schiwon
8b18b0c97d
lower to debug, since we fire two events, so it is legitimate
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-16 15:30:50 +01:00
Arthur Schiwon
ea7294f7d5
do not add (user) flows twice
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-16 15:30:18 +01:00
Christoph Wurst
af79ad242e
Bump serialize-javascript to v2.1.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-16 12:18:01 +01:00
dependabot-preview[bot]
25b16f0203 Bump css-loader from 3.2.1 to 3.3.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.2.1...v3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-16 07:33:17 +00:00
Nextcloud bot
4dc7fc1220
[tx-robot] updated from transifex 2019-12-15 02:26:54 +00:00
Arthur Schiwon
f8394e3551
flow file entity to provide the internal URL
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-13 12:33:35 +01:00
Joas Schilling
4a151c545a
Allow to specify apps that somethign is a dir
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-10 09:11:43 +01:00
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