Commit graph

908 commits

Author SHA1 Message Date
Joas Schilling
87255e61a7
fix(workflow): Check tag attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-16 08:59:59 +01:00
Joas Schilling
b24a18a857
Also check the scope when reading operations from the database
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 06:26:44 +01:00
Joas Schilling
9cee3f29da
Validate the scope when validating operations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 06:26:43 +01:00
Nextcloud bot
fe00d42ee7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-09 02:27:20 +00:00
Nextcloud bot
7ffb63b7a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-30 02:27:08 +00:00
Carl Schwan
e5c54bd8ac
Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-17 14:39:31 +01:00
Carl Schwan
33f49b13ed Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:09 +00:00
Carl Schwan
27334942ca The storage is not static anymore
Don't call twice $cache->getId

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:06 +00:00
Carl Schwan
a8539c8084 Optimize FileSystemTags workflow for groupfolder
In https://github.com/nextcloud/server/pull/28774 we disabled the
caching for the groupfolder application since it worked due to the fact
that in groupfolders, getFileIds could be called with the same $cacheId
and path for actually different groupfolders.

This revert this change and instead add the folderId from the
groupFolder to the cacheId. This solve the issue of the uniqueness of
the cacheId inside GroupFolder. Downside is that we introduce
groupfolder specific implementation inside the server repo.

The seconf optimization is to not consider paths starting with
__groupfolders in executeCheck. This is due to the fact that files in
the groupfolder application call two times executeCheck one time with
the url __groupfolder/<folderId>/<path> and the other time with <path>.
The first time will always return an empty systemTags array while the
second call will return the correct system tags.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:05 +00:00
Nextcloud bot
05ca0ee5ad
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-28 02:24:14 +00:00
Nextcloud bot
89e392ad07
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:26:31 +00:00
Nextcloud bot
4ebc733b70
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 02:38:47 +00:00
Nextcloud bot
71d6316e2e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-14 02:26:10 +00:00
Nextcloud bot
6909cfab99
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 02:26:18 +00:00
Nextcloud bot
77a2c06a26
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-12 02:23:24 +00:00
Nextcloud bot
f77bd4360c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 02:23:36 +00:00
Joas Schilling
c363479279 Detect mimetype by content only with content
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27 13:47:20 +00:00
Arthur Schiwon
916b2e7164 fixes an undefined index when getAccessList returns an empty array
- [] is a valid return value that should be honored as having no access

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-10-23 12:53:23 +00:00
Nextcloud bot
5534aa02f2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-20 02:43:31 +00:00
Nextcloud bot
005162d87a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-07 02:26:00 +00:00
Nextcloud bot
c30bcfa6a3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-22 02:27:08 +00:00
Nextcloud bot
b13f25e02f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-18 02:29:12 +00:00
Richard Steinmetz
3aa21120bc Do not cache file ids in FileSystemTags inside group folders
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-14 14:12:39 +00:00
Vincent Petry
0cfbc41ab7
Merge pull request #28382 from nextcloud/backport/28318/stable20
[stable20] Make "name" column nullable for workflows
2021-09-13 12:11:16 +02:00
Nextcloud bot
1d9b502729
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-09 02:28:25 +00:00
Nextcloud bot
c27b32b43b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-04 02:26:39 +00:00
Nextcloud bot
fee066a416
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-02 02:27:41 +00:00
Daniel Kesselberg
7b5ed40da9 Set alias for result of cast column function
On OCI an expression like to_char(events) end up as $row['to_char(events)'] in the query result.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-20 13:46:23 +00:00
Vincent Petry
ffe7467187
Make "name" column nullable in workflow operations
The "name" column is now unused and the code is always inserting an
empty string. While this works with most databases, Oracle complains
because an empty string is equivalent to null.

To fix this, the column definition is changed to allow null values now.

Also added some logging in case of database exceptions, because without
this nothing would be logged to detect the above problem.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-12 14:11:11 +02:00
Nextcloud bot
1c31440aed
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-10 02:32:21 +00:00
Nextcloud bot
cf230cffd8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-06 02:27:24 +00:00
Nextcloud bot
61cc3990ea
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-04 02:27:04 +00:00
Nextcloud bot
23a5b86922
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 07:36:02 +00:00
dependabot[bot]
47a57f46f1
Bump regenerator-runtime from 0.13.7 to 0.13.9
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.7 to 0.13.9.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.7...regenerator-runtime@0.13.9)

---
updated-dependencies:
- dependency-name: regenerator-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-28 15:35:30 +02:00
dependabot[bot]
1b0ce5f786
Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/vue) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.6.12 to 2.6.14
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/compare/v2.6.12...v2.6.14)

Updates `vue-template-compiler` from 2.6.12 to 2.6.14
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/compare/v2.6.12...v2.6.14)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-28 08:58:23 +02:00
John Molakvoæ
d4ba2a0422
Merge pull request #27924 from nextcloud/dependabot/npm_and_yarn/stable20/moment-timezone-0.5.33
Bump moment-timezone from 0.5.31 to 0.5.33
2021-07-27 11:50:54 +02:00
Nextcloud bot
f1ef43eaf1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-19 02:25:48 +00:00
dependabot[bot]
87adfd8e44 Bump moment-timezone from 0.5.31 to 0.5.33
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.31 to 0.5.33.
- [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.31...0.5.33)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-17 13:52:44 +00:00
Nextcloud bot
f93fb228e8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-15 10:38:11 +00:00
dependabot[bot]
9cf6d3d007 Bump v-click-outside from 3.1.1 to 3.1.2
Bumps [v-click-outside](https://github.com/ndelvalle/v-click-outside) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/ndelvalle/v-click-outside/releases)
- [Commits](https://github.com/ndelvalle/v-click-outside/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-11 12:27:55 +02:00
Nextcloud bot
7da87a8624
[tx-robot] updated from transifex 2021-07-06 02:26:22 +00:00
Nextcloud bot
f395c32e6a
[tx-robot] updated from transifex 2021-06-28 02:25:31 +00:00
dependabot[bot]
06753b7084 Bump vue-loader from 15.9.3 to 15.9.7
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.3 to 15.9.7.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.3...v15.9.7)

---
updated-dependencies:
- dependency-name: vue-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-24 11:22:04 +02:00
Nextcloud bot
51551e6ac4
[tx-robot] updated from transifex 2021-06-17 02:26:11 +00:00
Nextcloud bot
2bcbc80759
[tx-robot] updated from transifex 2021-06-12 02:27:22 +00:00
Nextcloud bot
904adcde67
[tx-robot] updated from transifex 2021-06-10 02:32:35 +00:00
Nextcloud bot
f423da2851
[tx-robot] updated from transifex 2021-06-08 02:26:42 +00:00
Nextcloud bot
c4271ebbe1
[tx-robot] updated from transifex 2021-06-06 02:26:24 +00:00
Nextcloud bot
e50704f794
[tx-robot] updated from transifex 2021-06-05 02:28:56 +00:00
Nextcloud bot
cd4a538fa4
[tx-robot] updated from transifex 2021-06-04 02:28:37 +00:00