Compare commits

..
Author SHA1 Message Date
Michael Barz 3bfc62a682 docs: prepare changelog 2024-01-26 20:05:41 +01:00
Michael Barz abd84fff99 feat: bump version 2024-01-26 19:45:41 +01:00
Michael Barz 2e44db937d Automated changelog update [skip ci] 2024-01-26 18:41:46 +00:00
Michael Barz b745d32ac8 Merge pull request #8298 from owncloud/backmerge-master-2
[full-ci] Backmerge master
2024-01-26 19:41:11 +01:00
Michael Barz 05e243a678 Merge branch 'master' into backmerge-master-2 2024-01-26 19:00:41 +01:00
kobergj 255566f66a Automated changelog update [skip ci] 2024-01-26 16:14:20 +00:00
kobergj c37ed59ebf Merge pull request #8287 from kobergj/PostprocessingBulkRestart
Postprocessing Bulk restart
2024-01-26 17:13:43 +01:00
Sawjan Gurung d8d7795122 test: revert error message 2024-01-26 21:19:11 +05:45
Sawjan Gurung 921f7d9d20 test: adjust MOVE between spaces test expectations 2024-01-26 20:56:39 +05:45
jkoberg b7635f59ee bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-26 15:22:48 +01:00
jkoberg a9ce2e003c allow bulkrestarting postprocessing
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-26 15:22:48 +01:00
Florian Schade 63f244bd60 enhancement: add parent name and path to shared the shared by me endpoint (#8293) 2024-01-26 12:34:20 +01:00
Michael Barz 8c1a9ce415 Merge pull request #8294 from owncloud/remove-lookacat-from-code-owners
chore: remove lookacat from code owners
2024-01-26 12:18:51 +01:00
Benedikt Kulmann e419efed22 chore: remove lookacat from code owners 2024-01-26 12:11:32 +01:00
Jörn Friedrich Dreyer 3ed0424735 add more upload session filters (#7933)
* add more upload session filters

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* default descriptions

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update readme

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use tablewriter, --json flag

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update readme

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-26 09:21:32 +01:00
Prarup Gurung 6cf8546bf8 Added test for sending share invitation with empty sharetype (#8137) 2024-01-26 12:12:42 +05:45
Prarup Gurung da898f0ebb Merge pull request #8136 from owncloud/add-test-for-invite-user-with-wrong-recipient-type
[full-ci] [tests-only] Add test to send share invitation with wrong recipient type
2024-01-26 11:19:12 +05:45
Prarup Gurung b8d1a278c6 Added test for sending share invitation with wrong sharetype 2024-01-26 09:49:58 +05:45
Jörn Friedrich Dreyer 48610091ad set size when starting an upload session via graph (#8288)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-25 22:00:12 +01:00
Prarup Gurung 3ddbdd6c93 Merge pull request #8189 from owncloud/add-test-to-invite-user-with-empty-objectId
[full-ci] [tests-only] Add test for sending share invitation with empty objectId
2024-01-25 19:47:05 +05:45
Viktor Scharf a9bf0f9bd5 [test-only] Cors test for settings api (#8286)
* add cors tests for settings api

* fix
2024-01-25 14:17:13 +01:00
Florian Schade 6cf5d8fb13 chore: bump icap client which fixes defer error handling (#8234)
* chore: bump icap client which fixes defer error handling

* chore: bump icap-client
2024-01-25 12:26:21 +01:00
Prarup Gurung 3ecf2e56ca Added test for sending share invitation to empty user id 2024-01-25 17:11:12 +05:45
Prarup Gurung 5d96e9bdf6 Merge pull request #8129 from owncloud/add-test-for-invite-user-with-wrong-objectId
[full-ci] [tests-only] Added test for sending share invitation to wrong objectId
2024-01-25 17:05:09 +05:45
Prarup Gurung c93783897f Addressed reviews 2024-01-25 14:17:09 +05:45
Prarup Gurung 2675e739b2 Added test for sending share invitation to wrong objectId 2024-01-25 14:13:46 +05:45
Nalem7 18a62b5133 replacing the featureContext with HttpREquestHelper in test (#8169)
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-01-25 14:06:45 +05:45
Roman Perekhod d3f5e07fee Automated changelog update [skip ci] 2024-01-25 08:14:36 +00:00
Roman Perekhod 970b556071 Merge pull request #8132 from 2403905/issue-8127
[skip-ci][changelog] disallow to delete a file during the processing
2024-01-25 09:14:03 +01:00
Roman Perekhod 42c0f48d92 Automated changelog update [skip ci] 2024-01-25 08:10:53 +00:00
Roman Perekhod 7568cfef73 Merge pull request #8246 from 2403905/issue-8242
fix the resource name
2024-01-25 09:10:17 +01:00
Roman Perekhod 7cb23b004f disallow to delete a file during the processing 2024-01-25 09:05:43 +01:00
Prajwol Amatya 759b443e4f added test for user with no share role trying to reshare a resource (#8147) 2024-01-25 12:52:48 +05:45
Michael Barz 25af4d7763 Automated changelog update [skip ci] 2024-01-25 06:25:48 +00:00
Michael Barz 512d12c6b4 Merge pull request #8282 from owncloud/backmerge-master
[full-ci] Backmerge from master
2024-01-25 07:25:15 +01:00
Swikriti Tripathi 00717481f7 [tests-only]test: add test for shared with me (#8010)
* test: add test for shared with me

* test: add test for shared with me shared file

* add missing field and add test to expected to fail

* address review

* test: move file

* tests: make differente funtion for regex fileid pattern matching
2024-01-25 09:47:56 +05:45
Michael Barz c9ec490281 Merge branch 'master' into backmerge-master 2024-01-24 22:56:07 +01:00
Viktor Scharf ee6f155e1c add more CORS tests (#8254) 2024-01-24 19:25:20 +01:00
Roman Perekhod 60e8a2d8b4 fix the resource name 2024-01-24 17:41:21 +01:00
kobergj 8c966a81cb Automated changelog update [skip ci] 2024-01-24 16:15:05 +00:00
kobergj 46af9cce40 move nats authentication to natsjsregistry package (#8281)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 17:14:19 +01:00
Ralf Haferkamp 19991677be Automated changelog update [skip ci] 2024-01-24 16:03:40 +00:00
Ralf Haferkamp da495fd306 graph/sharing: Fix role condition for space roots
When computing the allowed roles for a spaceroot use the correct conditions.
Spaceroots require '@Subject.objectId Any_of @Resource.owners'.

Note: Updating or deleting the permissions on a spaceroot via
'v1beta1/drives/{driveid}/items/{itemid}/permissions/{permissionid}' does still
not work.
2024-01-24 17:03:00 +01:00
Ralf Haferkamp c7943f014b graph/sharing: Adjust acceptance tests for latest changes
Don't try to assign space specific roles to file or directory shares in
positive tests. The API now forbids those correctly. We might want
to add negative tests for that.
2024-01-24 17:03:00 +01:00
Ralf Haferkamp d9fc4af575 graph/sharing: Add check for role conditions
Use the condition from the unifiedrole to check if the requested role
is actually applicable to the selected resource.

Fixes: #8131
2024-01-24 17:03:00 +01:00
Ralf Haferkamp f38f940d22 graph/sharing: Fix role conditions for Space specific sharing roles
Co-Owner and Manager are space specific roles. They need the UnifiedRoleConditionOwner.
2024-01-24 17:03:00 +01:00
Michael Barz 0cb731aef1 tests: fix test expectations for cors (#8279) 2024-01-24 16:52:38 +01:00
Jörn Friedrich Dreyer ccfb9101de it is called traceProvider (#8280)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-24 16:34:58 +01:00
Andre Duffeck b950fcecb1 Automated changelog update [skip ci] 2024-01-24 14:48:04 +00:00
Andre Duffeck 75939146db Merge pull request #8278 from aduffeck/bump-reva-6eec40
[full-ci] Bump reva
2024-01-24 15:47:28 +01:00
Sawjan Gurung c8818f5dd5 add test coverage for checking file versions after multiple restores (#8188) 2024-01-24 17:09:54 +05:45
kobergj cf53146f8b Automated changelog update [skip ci] 2024-01-24 10:17:53 +00:00
kobergj acf0cca01b Merge pull request #8236 from kobergj/FixNatsAuthentication
[full-ci] Fix nats authentication & Improvements
2024-01-24 11:17:15 +01:00
Prajwol Amatya 3b75b5b722 added test to reshare resources to other users SharingNg (#8275) 2024-01-24 15:45:35 +05:45
André Duffeck b5ed06dad6 Bump reva 2024-01-24 10:49:45 +01:00
jkoberg 82ee1a6305 use inmemory natsjskv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg cec6ea50eb remove unused stat cache
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg 8e613bbe7a fix store ttl
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg 13bb2785d4 fix cache authentication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:30 +01:00
jkoberg 10628f399d fix events authentication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:09 +01:00
Roman Perekhod 9b87682f4e Automated changelog update [skip ci] 2024-01-24 09:17:44 +00:00
Roman Perekhod 57cfb16d85 Merge pull request #8269 from 2403905/issue-8255
[full-ci][bump reva] fix race in a publicshare manager
2024-01-24 10:17:02 +01:00
Viktor Scharf 7f5aa6b4a8 [test-only] Add grafana link to CI (#8268)
* add grafana link to CI

* Update .drone.star

* Update .drone.star
2024-01-24 09:43:39 +01:00
Prajwol Amatya 4447ead4d0 added test to share resource to an already shared group (#8181) 2024-01-24 14:17:38 +05:45
dependabot[bot] d703a8ef1d build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.46.1 to 0.47.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.46.1...zpages/v0.47.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 09:01:16 +01:00
dependabot[bot] 6d4cb092a2 build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 09:00:39 +01:00
Prajwol Amatya 2d203775a9 added test to send share invitation to unknown group (#8175) 2024-01-24 12:13:54 +05:45
Sabin Panta be8973def1 [tests-only][full-ci] adding user quota using graph api instead of Provisioning api (#7000)
* refactored getQuota scenario

* deleted quota step inside provisioning file

* updating feature file of quota as per graphapi

* updated expected failures file

* updated expected failures file

* removed issue tag
2024-01-24 10:12:42 +05:45
nirajacharya2 7d6cdd649e added tests for searching users by normal user (#8241) 2024-01-24 09:57:38 +05:45
nirajacharya2 4592d06c2b fixing incorrect json format for json assertion steps (#8265) 2024-01-24 09:57:19 +05:45
ownClouders e5d910aceb [tx] updated from transifex 2024-01-24 00:44:59 +00:00
Roman Perekhod 8dc7420b04 [full-ci][bump reva] fix race in a publicshare manager 2024-01-23 17:20:38 +01:00
Michael Barz c9a77eb43f Automated changelog update [skip ci] 2024-01-23 08:59:16 +00:00
Michael Barz 17b14ee786 Merge pull request #8264 from owncloud/dragonchaser/bump-reva
[full-ci] Continuation of Dragonchaser/bump reva
2024-01-23 09:57:53 +01:00
Saw-jan a7ab682f17 fix php code 2024-01-23 12:42:47 +05:45
Saw-jan e1101940dc fix cors tests 2024-01-23 12:40:13 +05:45
Prarup Gurung ee931c9b75 Merge pull request #8226 from owncloud/add-test-for-invite-normal-user
[full-ci] [tests-only] Modified tests so sharee can check for received shares
2024-01-23 12:33:51 +05:45
Saw-jan ca2b5744a1 fix test expectations 2024-01-23 12:19:31 +05:45
Saw-jan 9cb81073c1 fix test expectations 2024-01-23 12:18:19 +05:45
Prarup Gurung f7599b3fc8 Added step to check as sharee for share invitation to group 2024-01-23 11:13:44 +05:45
Prarup Gurung 0312e72bd2 Addressed reviews 2024-01-23 11:07:51 +05:45
Prarup Gurung f08a9ae0d9 Added test for sending share invitation to normal user 2024-01-23 11:07:51 +05:45
Michael Barz c2f0ac41df tests: fix test expectation 2024-01-22 23:08:44 +01:00
Christian Richter 6515de1a90 bump reva
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-22 21:17:03 +01:00
Sawjan Gurung cb0090e840 extend test coverage for replacing file with zero-byte file (tus upload) (#8105) 2024-01-22 20:01:10 +05:45
Ralf Haferkamp 0d11932540 Automated changelog update [skip ci] 2024-01-22 13:05:14 +00:00
Ralf Haferkamp f3ed318d9d graph/drives: Fix status code for PATCH/DELETE on drives don't allow them
Return a 405 Status when UpdateSpace() or DeleteSpace() are not implemented
in the backend for a certain type of drive (e.g. the virtual mountpoint drives
created for shares).

Fixes: #7881
2024-01-22 14:04:38 +01:00
dependabot[bot] 6e1f3b9163 build(deps): bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.14.0...v2.15.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 11:08:51 +01:00
Andre Duffeck 0ba030949e Merge pull request #8207 from aduffeck/bump-reva-bde86a
[full-ci] Bump reva
2024-01-22 10:27:34 +01:00
dependabot[bot] 5264450c93 build(deps): bump go.opentelemetry.io/contrib/zpages
Bumps [go.opentelemetry.io/contrib/zpages](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.46.1 to 0.47.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.46.1...zpages/v0.47.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/zpages
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 10:17:52 +01:00
Sawjan Gurung 4df7c5712c [tests-only][ci] split large API test suites (#8212) (#8252)
* split large API test suites

* remove 30s sleep

* organize core-api test suites

* organize core-api test suites

* divide into 9 pipelines

* organize core-api test suites

* organize api-search suites

* organize api-search suites

* fix config file
2024-01-19 14:00:40 +01:00
kobergj ad147818d2 Merge pull request #8251 from owncloud/fix-docs-proxy
[docs-only] Fix proxy debug env name
2024-01-19 10:36:56 +01:00
Sawjan Gurung e07f4f0cb4 [tests-only][ci] split large API test suites (#8212)
* split large API test suites

* remove 30s sleep

* organize core-api test suites

* organize core-api test suites

* divide into 9 pipelines

* organize core-api test suites

* organize api-search suites

* organize api-search suites

* fix config file
2024-01-19 15:16:19 +05:45
Michael Barz 60a67d7b0a Fix proxy debug env name 2024-01-19 10:29:33 +01:00
André Duffeck 077d0980ba Bump wopiserver to fix a problem with 0-byte uploads 2024-01-19 09:56:00 +01:00
kobergj 0c6ebfec7c Automated changelog update [skip ci] 2024-01-19 08:04:34 +00:00
kobergj 9aebca17f0 Merge pull request #7893 from owncloud/fix-policies-jwt-config
remove jwt config from policies after #7672
2024-01-19 09:03:45 +01:00
Ralf Haferkamp 109881c06f Automated changelog update [skip ci] 2024-01-19 08:02:12 +00:00
Ralf Haferkamp 0e1b5dd989 graph/sharedWitMe: fix response for shares from project space
Resources on project space do not have a real owner assigned. A special
of the type USER_TYPE_SPACE_OWNER is returned as the owner. This type of
user can't be looked up via a GetUser request. So we skip that call for
this usertype.

This also fixes the behavior of 'sharedWithMe' for case when the owner
or creator of a share or shared resource can't be looked up in the 'users'
service. Previously cause the complete request to fail with an error message.
So a single share with an unresolvable owner caused 'sharedWithMe' to fail.
Now we log a warning but return all shares. Those where the owner or creator
couldn't be resolved will have the 'displayName' field of the user in the
'remoteItem.shared.owner' or 'remoteItem.shared.sharedBy' property left
empty.

Fixes: #8215
Fixes: #8027
2024-01-19 09:01:33 +01:00
Sagar Gurung 54a7da451f [tests-only][full-ci]Forward port setpassword and internallink (#8245)
* [tests-only][full-ci]Added test for banned password to create public link (#8194)

* Added test for banned password to create public link

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* review address

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* [tests-only][full-ci]Added type internal for share link (public) (#8210)

* Added type internal for share link (public)

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* fix Ci fail

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-19 09:33:02 +05:45
ownClouders e1c74f338f [tx] updated from transifex 2024-01-19 00:48:40 +00:00
jkoberg f7865c0ec7 add changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-18 15:38:11 +01:00
Willy Kloucek fb4213e75f remove jwt config from policies after #7672 2024-01-18 15:38:11 +01:00
Nalem7 c5f768153a [tests-only][full-ci] Restructure the steps implementation for group delete to use graph API endpoint (#8006) (#8227)
* remove ocs endpoint from delete group

* remove adminHasDeletedGroupUsingTheGraphApi

* adressing reviews
2024-01-18 16:58:51 +05:45
Sagar Gurung 7f85df579c [tests-only][full-ci]Added test for banned password to create public link (#8194)
* Added test for banned password to create public link

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* review address

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-18 16:45:12 +05:45
Sagar Gurung f66128eca2 [tests-only][full-ci]Added type internal for share link (public) (#8210)
* Added type internal for share link (public)

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* fix Ci fail

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-18 15:43:33 +05:45
nirajacharya2 448916a9dd [tests-only][full-ci] forward port user and group search tests (#8240)
* fixing json assertion for addUserToGroup.feature

* adding tests for searching groups as a normal user

* adding tests for searching user as a normal user

* fixing json assertion for removeUserFromGroup.feature

* fixing json assertion for listPermissions.feature
2024-01-18 15:14:10 +05:45
dependabot[bot] fafe08e9b0 build(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.30.0...v1.31.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 09:41:39 +01:00
dependabot[bot] 575af0f858 build(deps): bump go.opentelemetry.io/otel/sdk from 1.21.0 to 1.22.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 09:02:16 +01:00
ownClouders 348ad20b32 [tx] updated from transifex 2024-01-18 00:49:12 +00:00
kobergj 9632a2bb1d Automated changelog update [skip ci] 2024-01-17 13:41:10 +00:00
kobergj f56cf085a7 Merge pull request #8230 from kobergj/FixSearchPanic
Cleanup `search.go`
2024-01-17 14:40:31 +01:00
kobergj 903097ee28 Merge pull request #8228 from kobergj/UseProtoGetters
Cleanup `driveitems.go`
2024-01-17 14:40:17 +01:00
Christian Richter c4a46315cf Merge pull request #8229 from dragonchaser/fix-ocis-path-in-docs
change ocis basepath from home to
2024-01-17 13:53:15 +01:00
jkoberg b8b0d0b533 cleanup search/.../search.go
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-17 13:30:08 +01:00
jkoberg a4d71134f5 remove unused parameter
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-17 13:21:28 +01:00
Christian Richter aac3a772c5 add variable for defaultDataPath
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-17 13:18:04 +01:00
Christian Richter 7e750159ca change ocis basepath from home to
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-17 12:25:31 +01:00
jkoberg 386e37cbdc cleanup graph/.../driveitems.go
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-17 11:58:56 +01:00
Michael Barz f04a8fbfe2 Automated changelog update [skip ci] 2024-01-17 10:18:11 +00:00
Michael Barz 95bc57f424 Merge pull request #8225 from owncloud/release-5.0.0-rc.2
[full-ci] Release 5.0.0 rc.2
2024-01-17 11:17:30 +01:00
nirajacharya2 ad2303b490 adding tests for searching user as a normal user (#8094) 2024-01-17 15:43:07 +05:45
Nalem7 d14935ad78 [tests-only][full-ci] Restructure the steps implementation for group delete to use graph API endpoint (#8006)
* remove ocs endpoint from delete group

* remove adminHasDeletedGroupUsingTheGraphApi

* adressing reviews
2024-01-17 15:42:31 +05:45
Michael Barz aced54ddc1 docs: fix changelog 2024-01-17 10:23:08 +01:00
dependabot[bot] 0c2a5c6201 build(deps): bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.16.0 to 10.17.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.16.0...v10.17.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 10:20:07 +01:00
Michael Barz a717ff94da feat: bump version 2024-01-17 10:18:05 +01:00
Michael Barz 4552acb935 docs: prepare changelog 2024-01-17 10:15:49 +01:00
dependabot[bot] 8d7656207e build(deps): bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.2...v2.14.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 09:42:40 +01:00
Roman Perekhod f1a6f228d8 Automated changelog update [skip ci] 2024-01-17 08:10:32 +00:00
Roman Perekhod 19d6be934b Merge pull request #8152 from 2403905/issue-7916-rework
rework disabling the password policy
2024-01-17 09:09:56 +01:00
nirajacharya2 97f2c8d354 adding tests for searching groups as a normal user (#8096) 2024-01-17 12:52:37 +05:45
Andre Duffeck 7e18f96d87 Merge pull request #8220 from aduffeck/merge-master-b758d28-stable-5.0
Merge master b758d28 stable 5.0
2024-01-16 17:38:03 +01:00
André Duffeck 33a1f9bde2 Merge remote-tracking branch 'upstream/master' into merge-master-b758d28-stable-5.0 2024-01-16 16:57:36 +01:00
André Duffeck b758d2860e Automated changelog update [skip ci] 2024-01-16 15:54:58 +00:00
André Duffeck 599634148d Add changelog 2024-01-16 16:53:33 +01:00
Michael Barz 5b131b7571 Automated changelog update [skip ci] 2024-01-16 15:52:26 +00:00
Michael Barz 49d5748239 Merge pull request #8211 from 2403905/issue-8101
fix update and reset the logo
2024-01-16 16:51:49 +01:00
Andre Duffeck dfd022e38b Merge pull request #8200 from aduffeck/improve-search-logging
Do not error-log when outdated resources can't be indexed anymore
2024-01-16 16:20:51 +01:00
Michael Barz ee611d0cbe Merge pull request #8214 from rhafer/stable-5-merge
Merge master into stable-5.0
2024-01-16 15:58:53 +01:00
Ralf Haferkamp 6f042b8bc2 Merge remote-tracking branch 'origin/master' into stable-5-merge 2024-01-16 15:11:21 +01:00
Ralf Haferkamp 3cc485a0fc graph/sharewithme: add unit test for 'remoteitem.permissions' property 2024-01-16 15:09:27 +01:00
Ralf Haferkamp 2c161881ba graph/sharedWithMe: Fix 'parentReference' on 'driveItem'
The outer parentreference should refer to the drive containing the mountpoint.
In our case this is the storagespaceid of the virtual share jail.

Also 'CreatedBy' should be the same as on the wrapped remote item. Not the share creator.
2024-01-16 15:09:27 +01:00
Ralf Haferkamp eab501f593 graph/sharedwithme: move flags from 'remoteItem' back into 'permissions' 2024-01-16 15:09:27 +01:00
Ralf Haferkamp 5bfc943a0c graph/sharedWithMe: Renable and adjust unit test for recent changes 2024-01-16 15:09:27 +01:00
Ralf Haferkamp b5af346384 bugfix: graph/sharedWithMe fix shared.Owner property
The value of driveItem.remoteItem.shared.Owner should match the owner property
of the received share not the owner property of the resourceInfo.
2024-01-16 15:09:27 +01:00
Ralf Haferkamp 03e704c291 graph/sharedWithMe: Set the permission property only on the wrapped remoteItem
Sematically the outer driveItem shouldn't carryt the permission. It's the `remoteItem`
that reflects the grantee's permissions.
2024-01-16 15:09:27 +01:00
Ralf Haferkamp dd61270e7d graph/sharedWithMe: separate method for converting CS3 share to libregraph
For readability and reduced complexity of the sharedWithMe method. It was getting
too large already.
2024-01-16 15:09:27 +01:00
Florian Schade cfba9f29cc enhancement: make use uo remote item ui hidden and client synchronized 2024-01-16 15:09:27 +01:00
Florian Schade b91bc535a8 enhancement: simplify sharedWithMe
- remove unnecessary stat for accepted items
- only display permission actions if the role cannot be resolved
- add permission user and group displayName
2024-01-16 15:09:27 +01:00
Florian Schade 0b796443f2 enhancement: add ui hidden and client synced prop 2024-01-16 15:09:27 +01:00
Florian Schade 8c6ba9c360 fix: shared with me listing 2024-01-16 15:09:27 +01:00
Florian Schade 842baaf10f fix: bump libre-graph-api-go 2024-01-16 15:09:27 +01:00
Florian Schade cf5f1bcb8e fix: share jail usage for the listSharedWithMe endpoint 2024-01-16 15:09:27 +01:00
dependabot[bot] fce4d19e3f build(deps): bump github.com/nats-io/nats.go from 1.31.0 to 1.32.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.31.0...v1.32.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 14:38:55 +01:00
Christian Richter c353590c79 Automated changelog update [skip ci] 2024-01-16 12:31:29 +00:00
Christian Richter b0e3354322 Merge pull request #8208 from dragonchaser/merge-stable-5.0
Merge stable 5.0
2024-01-16 13:30:48 +01:00
Roman Perekhod 03f302227f fix update and reset the logo 2024-01-16 13:05:15 +01:00
dependabot[bot] 81e000b987 build(deps): bump github.com/gookit/config/v2 from 2.2.4 to 2.2.5
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.2.4...v2.2.5)

---
updated-dependencies:
- dependency-name: github.com/gookit/config/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 12:57:39 +01:00
Christian Richter c5c1db5141 revert version change
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-16 12:00:51 +01:00
Sawjan Gurung a18956e757 Revert "[tests-only][full-ci] added test to reshare a share invitation to other user" (#8209) 2024-01-16 16:27:22 +05:45
Christian Richter 9ce22a5c25 fix gerkins
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-16 10:35:48 +01:00
Prajwol Amatya 2e6c0a54b7 added test to reshare a share invitation (#8114) 2024-01-16 09:58:56 +01:00
Christian Richter 1c114fac0c Merge remote-tracking branch 'upstream/master' into merge-stable-5.0 2024-01-16 09:15:35 +01:00
André Duffeck ab17f4e6d7 Bump cs3api-validator 2024-01-16 08:50:43 +01:00
André Duffeck b2db0c7902 Bump reva to pull in the latest changes 2024-01-16 08:06:23 +01:00
Prajwol Amatya f042a9c9c0 added test to send share invitation to user and group at once (#8203) 2024-01-16 12:07:29 +05:45
Prajwol Amatya 2253096609 added test to send share invitation to user and group at once (#8168) 2024-01-16 09:07:59 +05:45
André Duffeck 4b89ede756 Do not error-log when outdated resources can't be indexed anymore
That's an expected, totally valid case
2024-01-15 14:46:39 +01:00
Roman Perekhod b3b69581c4 rework disabling the password policy 2024-01-15 10:53:29 +01:00
Prarup Gurung 3b70a77c67 Merge pull request #8196 from owncloud/bp-share-to-multiple-groups
[tests-only][full-ci] backport added test to send share invitation to multiple groups at once
2024-01-15 14:20:33 +05:45
dependabot[bot] 21e4b7d29a build(deps): bump golang.org/x/oauth2 from 0.15.0 to 0.16.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 09:29:30 +01:00
dependabot[bot] d54361bf9a build(deps): bump golang.org/x/image from 0.14.0 to 0.15.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/image/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 09:28:50 +01:00
prajwol a2c75d516f backport share to multiple groups 2024-01-15 13:01:39 +05:45
prajwol 3b48dfd8bd added test to send share invitation to multiple groups at once 2024-01-15 12:45:46 +05:45
Prajwol Amatya 2424525a58 added test to send share invitation to multiple groups at once (#8167) 2024-01-15 11:53:08 +05:45
ownClouders f8b6582936 [tx] updated from transifex 2024-01-14 00:08:03 +00:00
Sawjan Gurung ad9a0e93ce step to show ocis logs (#8191) 2024-01-12 13:56:05 +01:00
Swikriti Tripathi f1327cc74d Add tests for remove permissions link share (#8190)
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2024-01-12 16:04:10 +05:45
kobergj 7857c3d090 Automated changelog update [skip ci] 2024-01-12 09:52:30 +00:00
kobergj 0e8ce69113 Merge pull request #8182 from kobergj/FixPatchingLanguage
Fix patching language settings
2024-01-12 10:51:49 +01:00
Sawjan Gurung ff10d011e0 [tests-only] Added test coverage for checking file versions after MOVE (#8183)
* add test coverage for checking file versions after MOVE

* fix php style

* address reviews
2024-01-12 10:34:44 +01:00
Swikriti Tripathi 9224b46c05 Add tests for remove permissions link share (#8128)
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2024-01-12 14:42:38 +05:45
Prarup Gurungandprajwol e0d3add500 [full-ci] [tests-only] Backport of pr 8179, 8166 (#8110)
* added test to send share invitation to a deleted group

* Added test for sending share invitation to deleted user

* Added to expected failure

---------

Co-authored-by: prajwol <prajwolamatya11@gmail.com>
2024-01-12 12:50:05 +05:45
nirajacharya2 9ac7d0cd24 adding test for getting versions of a file after moving it (#8172) 2024-01-12 12:47:49 +05:45
Prarup Gurung dd8687b93a Merge pull request #8179 from owncloud/add-test-to-invite-deleted-user
[full-ci] [tests-only] Added test for sending share invitation to deleted user
2024-01-12 09:25:27 +05:45
jkoberg 16106b0ac5 use id for events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-11 14:48:42 +01:00
jkoberg 2a41ad4218 fix language patching
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-11 11:49:01 +01:00
Prarup Gurung c3716d1039 Added test for sending share invitation to deleted user 2024-01-11 16:25:27 +05:45
dependabot[bot] 1317dd3720 build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/golang/sync/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 09:24:36 +01:00
dependabot[bot] 8e96f59cc6 build(deps): bump github.com/nats-io/nats-server/v2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.10.7 to 2.10.9.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.10.7...v2.10.9)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 09:23:46 +01:00
Phil Davis 9ad9458d3b Merge pull request #8173 from owncloud/fixWopiExample-master
[docs-only] fix NATS configuration in wopi example
2024-01-11 12:37:15 +05:45
Artur Neumann d5b2ab2ecb Merge pull request #8143 from owncloud/fixWopiExample
[docs-only] fix NATS configuration in wopi example
2024-01-11 12:07:52 +05:45
Prarup Gurung d69a916c12 Added test for sending share invitation to disabled user (#8174) 2024-01-11 11:31:55 +05:45
Swikriti TripathiandSaw-jan 3976c1c1fc [tests-only] tests: add tests for removing share permission (#8130)
* tests: add tests for removing share permission

* tests: add tests for removing share permission in group share

* tests: refactor test script for removing permission from share

* address reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2024-01-11 11:31:28 +05:45
Prarup Gurung 3f365b02d4 Merge pull request #8139 from owncloud/add-test-for-invite-disabled-user
[full-ci] [tests-only] Added test for sending share invitation to disabled user
2024-01-11 10:38:04 +05:45
Prarup Gurung 72fa0cd1c8 Added test for sending share invitation to disabled user 2024-01-11 09:56:53 +05:45
Artur Neumann c447306caf fix NATS configuration in wopi example 2024-01-11 09:47:15 +05:45
Prajwol Amatya 73d9ace439 Automated changelog update [skip ci] 2024-01-11 00:05:06 +00:00
Benedikt Kulmann 10c5f03e22 Automated changelog update [skip ci] 2024-01-11 00:04:14 +00:00
Benedikt Kulmann 4cc7d6be12 Automated changelog update [skip ci] 2024-01-10 13:28:18 +00:00
Benedikt Kulmann 977ba18c12 Merge pull request #8154 from owncloud/bump-web-v8.0.0-rc.2 2024-01-10 14:27:31 +01:00
Prajwol Amatya d2635cc4df added test to send share invitation to a deleted group (#8166) 2024-01-10 13:56:02 +01:00
Jannik Stehle 7a65552440 ci: adjust expected acceptance test failures 2024-01-10 13:21:15 +01:00
nirajacharya2 5b165e3209 adding test for getting versions of a file after moving it (#8013) 2024-01-10 17:11:45 +05:45
dependabot[bot] ec9178d154 build(deps): bump golang.org/x/net from 0.19.0 to 0.20.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 09:10:48 +01:00
Florian Schade 465c9e3c20 fix: allow one invite at a time only and implement related validations and http status code handling 2024-01-09 17:17:02 +01:00
dependabot[bot] 418e304ab9 build(deps): bump follow-redirects in /services/idp
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 17:02:46 +01:00
Swikriti TripathiandViktor Scharf c80a4b1f2c change naming in test (#8159)
Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2024-01-09 18:24:50 +05:45
Sawjan Gurung bc59eab37b [tests-only] Added API tests coverage for MOVE within same folder with same filename (#8135)
* added API tests for moving a file within same folder and same name

* added API tests for moving a file within same folder and same name (file-id)

* update expected failure file
2024-01-09 16:33:04 +05:45
Ralf Haferkamp 84a59fc9a0 Automated changelog update [skip ci] 2024-01-09 10:29:03 +00:00
Ralf Haferkamp dca0c653fb Removed deprecated envars scheduled for removal with 5.0.0
Fixes: #8025
2024-01-09 11:28:31 +01:00
dependabot[bot] c6a8803b70 build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.3...v1.3.7)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 10:07:49 +01:00
dependabot[bot] b70be2d27e build(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.18.1 to 2.19.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.18.1...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 10:07:25 +01:00
Ralf Haferkamp 9f47836681 Remove unused ownCloudQuota attribute from LDAP Schema
In oCIS the quota is a setting of the personal or project spaces. We
never stored quotas in LDAP for ocis nor are there plans to do so.

Fixes: #8059
2024-01-09 09:59:04 +01:00
Swikriti TripathiandSaw-jan 954a1c04a0 [tests-only] tests: refactor test script for removing permission from share (#8134)
* tests: refactor test script for removing permission from share

* address reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2024-01-09 13:56:32 +05:45
Benedikt Kulmann f357294feb chore: bump web to v8.0.0-rc.2 2024-01-09 08:56:16 +01:00
Prarup Gurung c3f755437a Merge pull request #8148 from owncloud/json-fix-listPermissions.feature
[tests-only][full-ci] fixing json assertion in file listPpermissions.feature
2024-01-09 12:08:26 +05:45
Sawjan GurungandAndré Duffeck a787ce4373 Bump github.com/mattn/go-sqlite3 to fix musl builds (#8156)
See https://github.com/mattn/go-sqlite3/issues/1164

Co-authored-by: André Duffeck <andre.duffeck@firondu.de>
2024-01-09 11:17:03 +05:45
ownClouders 01ca237764 [tx] updated from transifex 2024-01-09 00:39:56 +00:00
Viktor Scharf ec37788829 change naming in test (#8140) 2024-01-08 23:41:31 +01:00
Michael Barz 5b89016890 Merge pull request #8151 from aduffeck/fix-build
Bump github.com/mattn/go-sqlite3 to fix musl builds
2024-01-08 17:53:29 +01:00
André Duffeck 4e4b3e7579 Bump github.com/mattn/go-sqlite3 to fix musl builds
See https://github.com/mattn/go-sqlite3/issues/1164
2024-01-08 16:48:04 +01:00
dependabot[bot] 964dbc8453 build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 12:13:59 +01:00
Jörn Friedrich Dreyer 05500a6c8f Automated changelog update [skip ci] 2024-01-08 10:06:34 +00:00
Jörn Friedrich Dreyer 9af780fda9 fix idp cs3 backend session refresh (#8142)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-08 11:05:52 +01:00
nirajacharya2 94407c6e0b fixing json assertion for removeUserFromGroup.feature (#8146) 2024-01-08 14:03:09 +05:45
nirajacharya2 ca68005353 fixing json assertion for addUserToGroup.feature (#8145) 2024-01-08 14:02:46 +05:45
Niraj Acharya 04c696cf84 fixing json assertion for listPermissions.feature 2024-01-08 11:48:09 +05:45
Sagar Gurung 85d4598907 [tests-only][full-ci]Added tests for setting password in a public share (#8079) (#8138)
* Added tests for set/update for password for public link

* Added assertion step for password update

* Rebase and refactor setPassword step

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review Address

* Review Address

* Fix style

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-08 10:43:54 +05:45
Artur Neumann 0c77e97179 fix NATS configuration in wopi example 2024-01-08 09:31:39 +05:45
ownClouders 09e8bed619 [tx] updated from transifex 2024-01-08 00:05:14 +00:00
Florian Schade 241cbb1a7f Automated changelog update [skip ci] 2024-01-05 19:53:09 +00:00
Florian SchadeandMartin ac8676fff4 enhancement: enable icap preview mode and fix client according to the spec (#8062)
* enhancement: enable icap preview mode and use a forked icap client which fixes tcp socket keepalive

* enhancement: make use of human time for the icap timout config option

* enhancement: update icap-client

* enhancement: bump icap client library and deprecate ANTIVIRUS_ICAP_TIMEOUT env

* chore: vendor icap library

* enhancement: set preview size only if greater than 0

* Update services/antivirus/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

* enhancement: add changelog

---------

Co-authored-by: Martin <github@diemattels.at>
2024-01-05 20:52:26 +01:00
kobergj 1cbf0ba5f3 Automated changelog update [skip ci] 2024-01-05 14:23:19 +00:00
kobergj add542c3fd Merge pull request #8141 from kobergj/FixNatsjsRegistry
Fix nats-js-kv name
2024-01-05 15:22:39 +01:00
jkoberg 1110bf2178 fix name of nats-js-kv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-05 14:45:51 +01:00
Sagar Gurung c46db2b7cb [tests-only][full-ci]Added tests for setting password in a public share link (#8079)
* Added tests for set/update for password for public link

* Added assertion step for password update

* Rebase and refactor setPassword step

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review Address

* Review Address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-05 13:57:59 +05:45
Roman Perekhod dece995e29 Automated changelog update [skip ci] 2024-01-04 16:31:03 +00:00
Roman Perekhod 0638b5df2f Merge pull request #8119 from 2403905/issue-7909
[full-ci] bump reva - fix the upload postprocessing
2024-01-04 17:30:20 +01:00
Roman Perekhod c311c16ebe Automated changelog update [skip ci] 2024-01-04 12:38:58 +00:00
Roman Perekhod 82d80d8d4c Merge pull request #7847 from 2403905/issue-7846
the race conditions in tests
2024-01-04 13:38:14 +01:00
Sawjan Gurung f779ee63c3 [tests-only] Extend API test coverage for MOVE between spaces using file-id (#8126)
* add issue tags

* extend API test coverage for MOVE between spaces using file-id

* fix table header

* re-arrange scenarios

* update expected failure

* update expected failure
2024-01-04 18:00:04 +05:45
Roman Perekhod fd388653a9 the race conditions in tests 2024-01-04 13:14:42 +01:00
Roman Perekhod e5c3f93c85 [full-ci] [bump reva] fix the upload postprocessing 2024-01-04 12:36:00 +01:00
Swikriti Tripathi 2b78753a12 [tests-only]tests: add tests for removing share permission in group share (#8099)
* tests: add tests for removing share permission in group share

* tests: address reviews
2024-01-04 17:03:39 +05:45
Swikriti Tripathi 672a38bf98 [tests-only]tests: add tests for removing share permission (#8098)
* tests: add tests for removing share permission

* tests: add cases for project space share

* tests: update test step to use the sharingNg invite endpoint

* tests: address reviews

* tests: address reviews
2024-01-04 12:28:07 +05:45
Sawjan Gurung 0f9f996aba [tests-only] Extend API test coverage for MOVE between spaces (#8113)
* extend API test coverage for MOVE between spaces

* update line numbers
2024-01-03 12:09:59 +01:00
ownClouders a3583118a4 [tx] updated from transifex 2024-01-03 04:27:09 +00:00
Prajwol Amatya 43e3d7d2a7 added issue-7257 tag on scenario (#8108) 2024-01-03 10:00:40 +05:45
Prarup Gurung 7eeb61bcb7 Merge pull request #8093 from owncloud/replace-file-with-empty-content
[tests-only][full-ci] added issue tag `@issue-7257` on added scenarios
2024-01-03 09:17:47 +05:45
Michael Barz be869c4562 Merge pull request #8076 from owncloud/dependabot/go_modules/github.com/go-git/go-git/v5-5.11.0
build(deps): bump github.com/go-git/go-git/v5 from 5.4.2 to 5.11.0
2024-01-02 16:27:22 +01:00
Michael Barz 3aaa60b1c2 Automated changelog update [skip ci] 2024-01-02 14:51:41 +00:00
Michael Barz 6b05333f90 Merge pull request #7985 from 2403905/issue-7916
add the environment variable that allow to disable the password policy
2024-01-02 15:50:49 +01:00
Michael Barz ad4e2f5aef Automated changelog update [skip ci] 2024-01-02 13:22:24 +00:00
Michael Barz 853c34ba6c Merge pull request #8102 from owncloud/update-reva
fix: update reva to fix status codes
2024-01-02 14:21:34 +01:00
Saw-jan 771fdc0c4d fix line numbers in expected failure list 2024-01-02 18:34:04 +05:45
Saw-jan 23111c8bba adjust MOVE tests to check 403 code 2024-01-02 18:11:46 +05:45
Sagar Gurung 07a0743807 [tests-only][full-ci]Added test to update role and expiration date for share link (v1beta1) (#8071) (#8103)
* Added test to update role and expiration date for share link



* Review address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-02 17:45:53 +05:45
Sagar Gurung 6e9b599195 [tests-only][full-ci]Added test to update role and expiration date for share link (v1beta1) (#8071)
* Added test to update role and expiration date for share link

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-02 16:53:47 +05:45
prajwol 30fd043d3f added issue-7257 tag on scenario 2024-01-02 16:53:46 +05:45
Michael Barz e7a46dca55 fix: update reva to fix status codes 2024-01-02 12:06:07 +01:00
Michael Barz a3a9757c48 Merge pull request #8091 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.27.1
build(deps): bump github.com/urfave/cli/v2 from 2.26.0 to 2.27.1
2024-01-02 11:59:38 +01:00
Prajwol Amatya a711cc5e11 added test to update file with empty content (#8097) 2024-01-02 12:07:47 +05:45
Prajwol Amatya 343ac05294 added test to update file with empty content (#8088) 2024-01-02 10:06:18 +05:45
Prarup Gurung 095578b717 [full-ci] [tests-only] Forward port of PR #8092 (#8095)
* Added test for sending share invitation to user with expiration

* Added test for sending share invitation to group with expiration
2024-01-01 17:19:15 +05:45
Prarup Gurung fe653026f2 Merge pull request #8092 from owncloud/add-test-for-invite-with-expiration
[full-ci] [tests-only] Added test for share invitation with expiration date
2024-01-01 16:44:43 +05:45
Prarup Gurung 9516ae7f29 Added test for sending share invitation to group with expiration 2024-01-01 14:47:30 +05:45
Prarup Gurung 82be964ec1 Added test for sending share invitation to user with expiration 2024-01-01 14:46:20 +05:45
dependabot[bot] e1a5f8aca7 build(deps): bump github.com/urfave/cli/v2 from 2.26.0 to 2.27.1
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.26.0 to 2.27.1.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.26.0...v2.27.1)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 06:05:28 +00:00
ownClouders 64132b0fee [tx] updated from transifex 2023-12-30 00:39:42 +00:00
Artur Neumann 952662f066 Merge pull request #8085 from owncloud/useCapabilitiesInWrapper
use capabilites and not `me/drives` in ociswrapper to check if ocis is online
2023-12-29 16:47:19 +05:45
Sawjan Gurung d6daa53ca2 run k6 tests only in master branch (#8082) 2023-12-29 10:05:49 +01:00
Michael Barz 20169ffb6a Merge pull request #8081 from owncloud/add-govulncheck
Add govulncheck
2023-12-29 09:16:02 +01:00
Artur Neumann 0768723c89 use capabilites in ociswrapper 2023-12-29 13:56:11 +05:45
Michael Barz c095224636 ci: add govulncheck to ci 2023-12-28 14:42:03 +01:00
Michael Barz 98b9fce738 test: add govulncheck to makefile 2023-12-28 14:17:50 +01:00
Prarup Gurung a3f481f3a0 [full-ci] [tests-only] Backport PR 8046, 8047 (#8078)
* Added test for sending share invitation to user with permissions

* Added test for sending share invitation to group with permissions
2023-12-28 12:12:28 +05:45
Prarup Gurung ddd09bbfbf Merge pull request #8047 from owncloud/add-test-for-invite-group-with-different-permissions-sharingNg
[full-ci] [tests-only] Added test for sending share invitation to group with permissions
2023-12-28 11:19:42 +05:45
Prarup Gurung ed221b925a Added test for sending share invitation to group with permissions 2023-12-28 10:09:02 +05:45
Prarup Gurung 59afd4cc66 Merge pull request #8046 from owncloud/add-test-for-invite-user-with-different-permissions-sharingNg
[full-ci] [tests-only] Added test for sending share invitation to user with permissions
2023-12-28 09:12:43 +05:45
Prarup Gurung e7cf24e486 Added test for sending share invitation to user with permissions 2023-12-28 08:21:00 +05:45
ownClouders 36b7db84b4 [tx] updated from transifex 2023-12-28 00:07:34 +00:00
Michael Barz bf40d9d7dd Automated changelog update [skip ci] 2023-12-27 18:37:15 +00:00
Michael Barz 98bf32f3ee Merge pull request #8077 from owncloud/fix-roles
[full-ci] [backport] Fix roles
2023-12-27 19:36:40 +01:00
Michael Barz 3ccadad194 docs: correct changelog 2023-12-27 17:40:19 +01:00
jkoberg ec730a797c use correct structure when ocis init
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-27 17:39:20 +01:00
kobergj 13c87bdf2c Automated changelog update [skip ci] 2023-12-27 15:28:40 +00:00
kobergj 6974676815 Merge pull request #8074 from kobergj/InitSettingsService
Fix Service Account Roles for external IDPs
2023-12-27 16:28:03 +01:00
dependabot[bot] 417e42b693 build(deps): bump github.com/go-git/go-git/v5 from 5.4.2 to 5.11.0
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.4.2 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.4.2...v5.11.0)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-27 15:14:52 +00:00
jkoberg ef3c214af6 use correct structure when ocis init
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-27 15:22:56 +01:00
Michael Barz 9676524070 Automated changelog update [skip ci] 2023-12-27 13:25:54 +00:00
Michael Barz 2e2168de4b Merge pull request #8075 from owncloud/forward-port-changelog
Forward port changelog
2023-12-27 14:25:21 +01:00
Michael Barz 08e713d49f feat: bump version to prealpha 2023-12-27 13:23:33 +01:00
Michael Barz 40036ffd96 docs: prepare changelog, merge into one rc 2023-12-27 13:22:14 +01:00
Michael Barz 1ebf03bb81 Automated changelog update [skip ci] 2023-12-27 12:21:40 +00:00
Michael Barz 68ba68ef82 Merge pull request #8073 from owncloud/release-5.0.0-rc.1
[full-ci] docs: prepare changelog, merge into one rc, bump version
2023-12-27 13:21:02 +01:00
Michael Barz 774816aaac feat: bump version 2023-12-27 12:06:55 +01:00
Michael Barz c6e8f15de5 docs: prepare changelog, merge into one rc 2023-12-27 12:04:41 +01:00
Michael Barz 3ac03a3eca ci: fix typo 2023-12-27 11:38:36 +01:00
Michael Barz 58e2937385 ci: run binary release builds on stable 2023-12-27 11:30:31 +01:00
Michael Barz 87842af848 ci: adapt CI for stable-5.0 2023-12-27 11:11:43 +01:00
Michael Barz 18c52d5352 Merge pull request #8065 from owncloud/dependabot/go_modules/google.golang.org/protobuf-1.32.0
build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0
2023-12-26 23:41:24 +01:00
dependabot[bot] 28b56c8b13 build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0
Bumps google.golang.org/protobuf from 1.31.0 to 1.32.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 06:03:27 +00:00
ownClouders 203e250c86 [tx] updated from transifex 2023-12-25 00:07:24 +00:00
Jörn Friedrich Dreyer 29c7090fce bump reva to 2.18.0 (#8061)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-12-22 16:04:12 +01:00
kobergj 4c33466dfd Automated changelog update [skip ci] 2023-12-22 14:11:13 +00:00
kobergj 5362f82efa bump reva (#8058)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-22 15:10:39 +01:00
kobergj dee53ce6e4 Automated changelog update [skip ci] 2023-12-22 12:14:38 +00:00
kobergj 9015ee0d4d Merge pull request #8051 from kobergj/ServiceAccountRoles
[full-ci] Service Account Roles
2023-12-22 13:11:22 +01:00
Sagar Gurung 88aa44a768 [tests-only][full-ci]Added tests for create link share without password (#8040)
* Added tests for create link share without password

* fix CI failure
2023-12-22 16:28:47 +05:45
Roman Perekhod 1c077d6689 add the environment variable that allow to disable the password policy 2023-12-22 09:12:04 +01:00
Benedikt Kulmann 35c95685ba Automated changelog update [skip ci] 2023-12-21 21:24:26 +00:00
Benedikt Kulmann 14e46c417f Merge pull request #7988 from owncloud/override-cldr-kpop-dep
[full-ci] remove outdated and unused cldr dep from kpop in idp package
2023-12-21 22:23:51 +01:00
Benedikt Kulmann 66061b40fc Merge pull request #8056 from owncloud/web-concurrent-requests-config
fix: add config for web concurrent requests config
2023-12-21 21:12:41 +01:00
Benedikt Kulmann f882fbf7b9 Merge pull request #7919 from owncloud/reduce-mdate-filter-options
fix: reduce mtime keywords to the required ones
2023-12-21 20:35:57 +01:00
Benedikt Kulmann 9034e0d470 fix: add config for web concurrent requests config 2023-12-21 20:22:21 +01:00
Benedikt Kulmann c21854b00a fix: reduce mtime keywords to the required ones 2023-12-21 19:49:18 +01:00
Michael Barz b5d82f057b Automated changelog update [skip ci] 2023-12-21 17:49:04 +00:00
Michael Barz 5e31d4106a Merge pull request #8055 from owncloud/bump-web-8.0.0-rc.1
[full-ci] chore: bump web to v8.0.0-rc.1
2023-12-21 18:48:29 +01:00
Jannik Stehle 7c97b1e50b chore: bump web to v8.0.0-rc.1 2023-12-21 18:08:38 +01:00
jkoberg a607c6323c improve docu for special env var case
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-21 17:37:42 +01:00
kobergj e389770339 Automated changelog update [skip ci] 2023-12-21 16:32:54 +00:00
kobergj 4a23394191 Merge pull request #8038 from kobergj/BumpReva
[full-ci] Bump Reva
2023-12-21 17:32:21 +01:00
Michael Barz 2a81344ec9 Automated changelog update [skip ci] 2023-12-21 15:28:27 +00:00
Michael Barz a17b65cea8 Merge pull request #7994 from owncloud/proxy-metrics
feat: RED metrics
2023-12-21 16:27:55 +01:00
jkoberg 939244aaf3 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-21 15:54:43 +01:00
Michael Barz 158e27d31d docs: add dev docs 2023-12-21 15:32:41 +01:00
Michael Barz abdbf56e07 docs: add changelog 2023-12-21 14:57:53 +01:00
dependabot[bot] f989854f0a build(deps): bump github.com/open-policy-agent/opa from 0.59.0 to 0.60.0
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.59.0 to 0.60.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.59.0...v0.60.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 14:35:30 +01:00
Ralf Haferkamp b62ba69bba Automated changelog update [skip ci] 2023-12-21 12:58:08 +00:00
Ralf Haferkamp a1ed2ce2e5 graph/groups: Handle quoted search terms in GetGroups
Fixes: #7990
2023-12-21 13:57:26 +01:00
Ralf Haferkamp 8489170715 graph/users: More test coverage for GetUsers search 2023-12-21 13:57:26 +01:00
jkoberg 20f77d4b5b add a hidden role for service accounts
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-21 12:41:42 +01:00
Sagar Gurung e76f2eaf8c [tests-only][full-ci]Added tests for the expirydate with displaName for share link (#8036)
* Added tests for the expirydata with displaName for share link

* review address
2023-12-21 14:09:57 +05:45
Prarup Gurung 1b0e499b9b Added test for sending share invitation to group with role (#8009) 2023-12-21 10:37:58 +05:45
Juan Pablo Villafáñez 7b8c12079d Automated changelog update [skip ci] 2023-12-20 16:26:13 +00:00
Juan Pablo Villafáñez 1bcc559ed8 fix: adjust min search length if double quotes are used 2023-12-20 17:24:44 +01:00
Juan Pablo Villafáñez cdc1d660ce chore: add changelog entry 2023-12-20 17:24:44 +01:00
Juan Pablo Villafáñez 34bb4f80ed fix: double quotes will be trimmed from the search token 2023-12-20 17:24:44 +01:00
Michael Barz 703ed89920 Automated changelog update [skip ci] 2023-12-20 15:18:40 +00:00
Michael Barz 347f59fa36 Merge pull request #8037 from owncloud/release-5.0.0-beta.2
feat: prepare changelog, bump version
2023-12-20 16:18:00 +01:00
Michael Barz 14553dd6b1 feat: RED metrics 2023-12-20 14:53:16 +01:00
Benedikt Kulmann da8ae85abf chore: remove outdated and unused cldr dep from kpop in idp package 2023-12-16 06:38:00 +01:00
978 changed files with 104440 additions and 43477 deletions

No files matched your search

+10 -4
View File
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.8. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.9. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
GOPATH ?= $(shell go env GOPATH)
@@ -17,11 +17,11 @@ GO ?= $(shell which go)
# @echo "Running bingo"
# @$(BINGO) <flags/args..>
#
BINGO := $(GOBIN)/bingo-v0.8.0
BINGO := $(GOBIN)/bingo-v0.9.0
$(BINGO): $(BINGO_DIR)/bingo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/bingo-v0.8.0"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.8.0 "github.com/bwplotka/bingo"
@echo "(re)installing $(GOBIN)/bingo-v0.9.0"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.9.0 "github.com/bwplotka/bingo"
BUF := $(GOBIN)/buf-v1.3.1
$(BUF): $(BINGO_DIR)/buf.mod
@@ -53,6 +53,12 @@ $(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
@echo "(re)installing $(GOBIN)/golangci-lint-v1.51.2"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.51.2 "github.com/golangci/golangci-lint/cmd/golangci-lint"
GOVULNCHECK := $(GOBIN)/govulncheck-v1.0.1
$(GOVULNCHECK): $(BINGO_DIR)/govulncheck.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/govulncheck-v1.0.1"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=govulncheck.mod -o=$(GOBIN)/govulncheck-v1.0.1 "golang.org/x/vuln/cmd/govulncheck"
HUGO := $(GOBIN)/hugo-v0.115.2
$(HUGO): $(BINGO_DIR)/hugo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
+1 -1
View File
@@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/bwplotka/bingo v0.8.0
require github.com/bwplotka/bingo v0.9.0
+22
View File
@@ -8,6 +8,9 @@ github.com/bwplotka/bingo v0.7.0 h1:deJh8PSsWctPWvPeEBy4Z4vtyM/qlCxWY8fiudJiLQg=
github.com/bwplotka/bingo v0.7.0/go.mod h1:eXPFwhZ92mmOUBk6F7aKcAJoq8HX88Ju3wLZKwtNKEw=
github.com/bwplotka/bingo v0.8.0 h1:Cx9eQb+ed9aU7sbrmZagomKx+wYor9y5z5HM91bvp1U=
github.com/bwplotka/bingo v0.8.0/go.mod h1:eXPFwhZ92mmOUBk6F7aKcAJoq8HX88Ju3wLZKwtNKEw=
github.com/bwplotka/bingo v0.9.0 h1:slnsdJYExR4iRalHR6/ZiYnr9vSazOuFGmc2LdX293g=
github.com/bwplotka/bingo v0.9.0/go.mod h1:GxC/y/xbmOK5P29cn+B3HuOSw0s2gruddT3r+rDizDw=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.15/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
@@ -23,6 +26,9 @@ github.com/frankban/quicktest v1.13.1/go.mod h1:NeW+ay9A/U67EYXNFA1nPE8e/tnQv/09
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/renameio v1.0.1/go.mod h1:t/HQoYBZSsWSNK35C6CO/TpPLDVWvxOHboWUAweKUpk=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc=
github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
@@ -39,7 +45,12 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.6.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.8.1-0.20210923151022-86f73c517451/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU=
github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
@@ -51,6 +62,8 @@ golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.5.1 h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38=
golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
@@ -59,6 +72,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -68,11 +83,15 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210925032602-92d5a993a665/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f h1:rlezHXNlxYWvBCzNses9Dlc7nGFaNMJeqLolcmQSSZY=
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20191110171634-ad39bd3f0407 h1:5zh5atpUEdIc478E/ebrIaHLKcfVvG6dL/fGv7BcMoM=
golang.org/x/term v0.0.0-20191110171634-ad39bd3f0407/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20210916214954-140adaaadfaf/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols=
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
@@ -87,6 +106,7 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
mvdan.cc/editorconfig v0.1.1-0.20200121172147-e40951bde157/go.mod h1:Ge4atmRUYqueGppvJ7JNrtqpqokoJEFxYbP0Z+WeKS8=
mvdan.cc/editorconfig v0.2.0/go.mod h1:lvnnD3BNdBYkhq+B4uBuFFKatfp02eB6HixDvEz91C0=
@@ -94,3 +114,5 @@ mvdan.cc/sh/v3 v3.2.4 h1:+fZaWcXWRjYAvqzEKoDhDM3DkxdDUykU2iw0VMKFe9s=
mvdan.cc/sh/v3 v3.2.4/go.mod h1:fPQmabBpREM/XQ9YXSU5ZFZ/Sm+PmKP9/vkFHgYKJEI=
mvdan.cc/sh/v3 v3.4.3 h1:zbuKH7YH9cqU6PGajhFFXZY7dhPXcDr55iN/cUAqpuw=
mvdan.cc/sh/v3 v3.4.3/go.mod h1:p/tqPPI4Epfk2rICAe2RoaNd8HBSJ8t9Y2DA9yQlbzY=
mvdan.cc/sh/v3 v3.7.0 h1:lSTjdP/1xsddtaKfGg7Myu7DnlHItd3/M2tomOcNNBg=
mvdan.cc/sh/v3 v3.7.0/go.mod h1:K2gwkaesF/D7av7Kxl0HbF5kGOd2ArupNTX3X44+8l8=
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.21.4
require golang.org/x/vuln v1.0.1 // cmd/govulncheck
+10
View File
@@ -0,0 +1,10 @@
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E=
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 h1:Vve/L0v7CXXuxUmaMGIEK/dEeq7uiqb5qBgQrZzIE7E=
golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM=
golang.org/x/vuln v1.0.1 h1:KUas02EjQK5LTuIx1OylBQdKKZ9jeugs+HiqO5HormU=
golang.org/x/vuln v1.0.1/go.mod h1:bb2hMwln/tqxg32BNY4CcxHWtHXuYa3SbIBmtsyjxtM=
+4 -2
View File
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.6. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.9. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
# Those variables will work only until 'bingo get' was invoked, or if tools were installed via Makefile's Variables.mk.
GOBIN=${GOBIN:=$(go env GOBIN)}
@@ -8,7 +8,7 @@ if [ -z "$GOBIN" ]; then
fi
BINGO="${GOBIN}/bingo-v0.8.0"
BINGO="${GOBIN}/bingo-v0.9.0"
BUF="${GOBIN}/buf-v1.3.1"
@@ -20,6 +20,8 @@ GO_LICENSES="${GOBIN}/go-licenses-v1.5.0"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.51.2"
GOVULNCHECK="${GOBIN}/govulncheck-v1.0.1"
HUGO="${GOBIN}/hugo-v0.115.2"
MOCKERY="${GOBIN}/mockery-v2.22.1"
+2 -2
View File
@@ -1,3 +1,3 @@
# The test runner source for UI tests
WEB_COMMITID=fd1349c4ff15c11a0a520c1e66be7db554d88241
WEB_BRANCH=master
WEB_COMMITID=113e07f9a105e8fe2ec950392b9055a5f779c7d2
WEB_BRANCH=stable-8.0
+112 -57
View File
@@ -16,7 +16,7 @@ OC_CI_GOLANG = "owncloudci/golang:1.21"
OC_CI_NODEJS = "owncloudci/nodejs:%s"
OC_CI_PHP = "owncloudci/php:%s"
OC_CI_WAIT_FOR = "owncloudci/wait-for:latest"
OC_CS3_API_VALIDATOR = "owncloud/cs3api-validator:0.2.0"
OC_CS3_API_VALIDATOR = "owncloud/cs3api-validator:0.2.1"
OC_LITMUS = "owncloudci/litmus:latest"
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.8.8"
OC_UBUNTU = "owncloud/ubuntu:20.04"
@@ -68,6 +68,7 @@ config = {
"apiArchiver",
"apiContract",
"apiGraph",
"apiGraphUserGroup",
"apiSpaces",
"apiSpacesShares",
"apiCors",
@@ -77,6 +78,8 @@ config = {
"apiSpacesDavOperation",
"apiDepthInfinity",
"apiLocks",
"apiSearch1",
"apiSearch2",
"apiSharingNg",
],
"skip": False,
@@ -118,9 +121,9 @@ config = {
"OCIS_ADD_RUN_SERVICES": "antivirus",
},
},
"apiSearch": {
"apiSearchContent": {
"suites": [
"apiSearch",
"apiSearchContent",
],
"skip": False,
"tikaNeeded": True,
@@ -299,7 +302,7 @@ def cachePipeline(name, steps):
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/**",
"refs/pull/**",
],
@@ -318,7 +321,8 @@ def testOcisAndUploadResults(ctx):
scan_result_upload = uploadScanResults(ctx)
scan_result_upload["depends_on"] = getPipelineNames([pipeline])
return [pipeline, scan_result_upload]
security_scan = scanOcis(ctx)
return [pipeline, scan_result_upload, security_scan]
def testPipelines(ctx):
pipelines = []
@@ -358,7 +362,6 @@ def getGoBinForTesting(ctx):
cacheGoBin(),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
@@ -495,6 +498,38 @@ def testOcis(ctx):
"arch": "amd64",
},
"steps": steps,
"trigger": {
"ref": [
"refs/heads/stable-*",
"refs/pull/**",
],
},
"depends_on": getPipelineNames(getGoBinForTesting(ctx)),
"volumes": [pipelineVolumeGo],
}
def scanOcis(ctx):
steps = skipIfUnchanged(ctx, "unit-tests") + restoreGoBinCache() + makeGoGenerate("") + [
{
"name": "govulncheck",
"image": OC_CI_GOLANG,
"commands": [
"make govulncheck",
],
"environment": DRONE_HTTP_PROXY_ENV,
"volumes": [stepVolumeGo],
},
]
return {
"kind": "pipeline",
"type": "docker",
"name": "go-vulnerability-scanning",
"platform": {
"os": "linux",
"arch": "amd64",
},
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
@@ -521,7 +556,7 @@ def buildOcisBinaryForTesting(ctx):
rebuildBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin"),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -608,7 +643,7 @@ def uploadScanResults(ctx):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
"status": [
@@ -722,7 +757,7 @@ def codestyle(ctx):
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
"refs/tags/**",
],
@@ -776,7 +811,7 @@ def localApiTestPipeline(ctx):
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -837,7 +872,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -906,7 +941,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
[
{
"name": "wopiserver",
"image": "cs3org/wopiserver:v10.2.2",
"image": "cs3org/wopiserver:v10.3.0",
"detach": True,
"commands": [
"cp %s/tests/config/drone/wopiserver.conf /etc/wopi/wopiserver.conf" % (dirs["base"]),
@@ -944,7 +979,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -994,7 +1029,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1118,7 +1153,7 @@ def uiTestPipeline(ctx, filterTags, runPart = 1, numberOfParts = 1, storage = "o
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)] + buildWebCache(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1142,7 +1177,7 @@ def e2eTests(ctx):
e2e_trigger = {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/**",
"refs/pull/**",
],
@@ -1351,7 +1386,7 @@ def dockerRelease(ctx, arch):
"depends_on": depends_on,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
"refs/pull/**",
],
@@ -1428,7 +1463,6 @@ def binaryRelease(ctx, name):
],
"when": {
"ref": [
"refs/heads/master",
"refs/tags/v*",
],
},
@@ -1439,7 +1473,6 @@ def binaryRelease(ctx, name):
"settings": settings,
"when": {
"ref": [
"refs/heads/master",
"refs/tags/v*",
],
},
@@ -1482,7 +1515,7 @@ def binaryRelease(ctx, name):
"depends_on": depends_on,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
"refs/pull/**",
],
@@ -1574,7 +1607,6 @@ def licenseCheck(ctx):
"settings": settings,
"when": {
"ref": [
"refs/heads/master",
"refs/tags/v*",
],
},
@@ -1584,7 +1616,7 @@ def licenseCheck(ctx):
"image": OC_CI_GOLANG,
"environment": DRONE_HTTP_PROXY_ENV,
"commands": [
"make changelog CHANGELOG_VERSION=%s" % ctx.build.ref.replace("refs/tags/v", "").split("-")[0],
"make changelog CHANGELOG_VERSION=%s" % ctx.build.ref.replace("refs/tags/v", ""),
],
"when": {
"ref": [
@@ -1616,7 +1648,6 @@ def licenseCheck(ctx):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/v*",
"refs/pull/**",
],
@@ -1652,7 +1683,6 @@ def releaseDockerManifest():
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/v*",
],
},
@@ -1699,7 +1729,7 @@ def changelog():
"push",
],
"message": "Automated changelog update [skip ci]",
"branch": "master",
"branch": "stable-5.0",
"author_email": "devops@owncloud.com",
"author_name": "ownClouders",
"netrc_machine": "github.com",
@@ -1721,7 +1751,7 @@ def changelog():
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1755,7 +1785,6 @@ def releaseDockerReadme(ctx):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/v*",
],
},
@@ -1805,7 +1834,7 @@ def docs():
},
"pages_directory": "docs/hugo/content/",
"copy_contents": "true",
"target_branch": "docs",
"target_branch": "docs-stable-5.0",
"delete": "true",
},
"when": {
@@ -1827,7 +1856,7 @@ def docs():
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1893,7 +1922,7 @@ def notify():
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/heads/release*",
"refs/tags/**",
],
@@ -1917,7 +1946,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"FRONTEND_SEARCH_MIN_LENGTH": "2",
"OCIS_ASYNC_UPLOADS": True,
"OCIS_EVENTS_ENABLE_TLS": False,
"MICRO_REGISTRY": "natsjs",
"MICRO_REGISTRY": "nats-js-kv",
"MICRO_REGISTRY_ADDRESS": "127.0.0.1:9233",
}
@@ -2198,7 +2227,6 @@ def deploy(ctx, config, rebuild):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/v*",
],
},
@@ -2303,7 +2331,7 @@ def genericCachePurge(flush_path):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
"status": [
@@ -2555,7 +2583,7 @@ def litmus(ctx, storage):
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -2786,6 +2814,35 @@ def logRequests():
}]
def k6LoadTests(ctx):
ocis_remote_environment = {
"SSH_OCIS_REMOTE": {
"from_secret": "ssh_ocis_remote",
},
"SSH_OCIS_USERNAME": {
"from_secret": "ssh_ocis_user",
},
"SSH_OCIS_PASSWORD": {
"from_secret": "ssh_ocis_pass",
},
"TEST_SERVER_URL": {
"from_secret": "ssh_ocis_server_url",
},
}
k6_remote_environment = {
"SSH_K6_REMOTE": {
"from_secret": "ssh_k6_remote",
},
"SSH_K6_USERNAME": {
"from_secret": "ssh_k6_user",
},
"SSH_K6_PASSWORD": {
"from_secret": "ssh_k6_pass",
},
}
environment = {}
environment.update(ocis_remote_environment)
environment.update(k6_remote_environment)
if "skip" in config["k6LoadTests"] and config["k6LoadTests"]["skip"]:
return []
@@ -2802,40 +2859,38 @@ def k6LoadTests(ctx):
{
"name": "k6-load-test",
"image": OC_CI_ALPINE,
"environment": {
"SSH_OCIS_REMOTE": {
"from_secret": "ssh_ocis_remote",
},
"SSH_OCIS_USERNAME": {
"from_secret": "ssh_ocis_user",
},
"SSH_OCIS_PASSWORD": {
"from_secret": "ssh_ocis_pass",
},
"TEST_SERVER_URL": {
"from_secret": "ssh_ocis_server_url",
},
"SSH_K6_REMOTE": {
"from_secret": "ssh_k6_remote",
},
"SSH_K6_USERNAME": {
"from_secret": "ssh_k6_user",
},
"SSH_K6_PASSWORD": {
"from_secret": "ssh_k6_pass",
},
},
"environment": environment,
"commands": [
"curl -s -o run_k6_tests.sh %s" % script_link,
"apk add --no-cache openssh-client sshpass",
"sh %s/run_k6_tests.sh" % (dirs["base"]),
],
},
{
"name": "ocis-log",
"image": OC_CI_ALPINE,
"environment": ocis_remote_environment,
"commands": [
"curl -s -o run_k6_tests.sh %s" % script_link,
"apk add --no-cache openssh-client sshpass",
"sh %s/run_k6_tests.sh --ocis-log" % (dirs["base"]),
],
},
{
"name": "open-grafana-dashboard",
"image": OC_CI_ALPINE,
"commands": [
"echo 'Grafana Dashboard: https://grafana.k6.infra.owncloud.works/d/P4D1D31A5B69203FF'",
],
},
],
"depends_on": [],
"trigger": {
"event": [
"cron",
],
"ref": [
"refs/heads/master",
],
},
}]
+1 -1
View File
@@ -1,4 +1,4 @@
services/settings/ @kulmann @lookacat
services/settings/ @kulmann
services/web/ @kulmann
.drone.star @wkloucek @micbar @phil-davis @individual-it
assets/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf @micbar @dragotin @tbsbdr
+675 -393
View File
File diff suppressed because it is too large. Load diff
+4
View File
@@ -267,6 +267,10 @@ endif
mkdir -p ocis/dist
$(CALENS) --version $(CHANGELOG_VERSION) -o ocis/dist/CHANGELOG.md
.PHONY: govulncheck
govulncheck: $(GOVULNCHECK)
$(GOVULNCHECK) ./...
.PHONY: l10n-push
l10n-push:
@for extension in $(L10N_MODULES); do \
@@ -1,7 +0,0 @@
Enhancement: Bump reva
bumps reva version
https://github.com/owncloud/ocis/pull/7721
https://github.com/owncloud/ocis/pull/7727
https://github.com/owncloud/ocis/pull/7752
@@ -1,11 +0,0 @@
Enhancement: Update web to v8.0.0-alpha.13
Tags: web
We updated ownCloud Web to v8.0.0-alpha.13. Please refer to the changelog (linked) for details on the web release.
## Summary
* Enhancement [owncloud/web#10104](https://github.com/owncloud/web/pull/10104): Create link modal
https://github.com/owncloud/ocis/pull/7918
https://github.com/owncloud/web/releases/tag/v8.0.0-alpha.13
@@ -1,23 +0,0 @@
Enhancement: Update web to v8.0.0-beta.2
Tags: web
We updated ownCloud Web to v8.0.0-beta.2. Please refer to the changelog (linked) for details on the web release.
## Summary
* Bugfix [owncloud/web#10010](https://github.com/owncloud/web/issues/10010): Displaying full video in their dimensions
* Bugfix [owncloud/web#10149](https://github.com/owncloud/web/pull/10149): Spaces files list previews cropped
* Bugfix [owncloud/web#10149](https://github.com/owncloud/web/pull/10149): Spaces overview tile previews zoomed
* Bugfix [owncloud/web#10154](https://github.com/owncloud/web/pull/10154): Resolving links without drive alias
We updated ownCloud Web to v8.0.0-beta.1. Please refer to the changelog (linked) for details on the web release.
## Summary
* Change [owncloud/web#9698](https://github.com/owncloud/web/pull/9698): Theme handling
* Enhancement [owncloud/web#10111](https://github.com/owncloud/web/pull/10111): Registering right sidebar panels as extension
* Enhancement [owncloud/web#10111](https://github.com/owncloud/web/pull/10111): File sidebar in viewer and editor apps
https://github.com/owncloud/ocis/pull/7930
https://github.com/owncloud/web/releases/tag/v8.0.0-beta.1
https://github.com/owncloud/ocis/pull/7952
https://github.com/owncloud/web/releases/tag/v8.0.0-beta.2
@@ -0,0 +1,11 @@
Enhancement: Add RED metrics to the metrics endpoint
We added three new metrics to the metrics endpoint to support the RED method for monitoring microservices.
- Request Rate: The number of requests per second. The total count of requests is available under `ocis_proxy_requests_total`.
- Error Rate: The number of failed requests per second. The total count of failed requests is available under `ocis_proxy_errors_total`.
- Duration: The amount of time each request takes. The duration of all requests is available under `ocis_proxy_request_duration_seconds`. This is a histogram metric, so it also provides information about the distribution of request durations.
The metrics are available under the following paths: `PROXY_DEBUG_ADDR/metrics` in a prometheus compatible format and maybe secured by `PROXY_DEBUG_TOKEN`.
https://github.com/owncloud/ocis/pull/7994
@@ -1,22 +1,55 @@
Enhancement: Update reva to latest edge
Enhancement: Update reva to latest edge version
Changelog for reva unreleased
=============================
We update reva to the latest edge version to get the latest fixes and features.
## Changelog for reva edge
* Bugfix [cs3org/reva#4454](https://github.com/cs3org/reva/pull/4454): Skip unnecessary share retrieval
* Bugfix [cs3org/reva#4461](https://github.com/cs3org/reva/pull/4461): CORS handling for WebDAV requests fixed
* Bugfix [cs3org/reva#4462](https://github.com/cs3org/reva/pull/4462): Prevent setting container specific permissions on files
* Bugfix [cs3org/reva#4463](https://github.com/cs3org/reva/pull/4463): Fix the resource name
* Bugfix [cs3org/reva#4466](https://github.com/cs3org/reva/pull/4466): Fix natsjskv store
* Bugfix [cs3org/reva#4469](https://github.com/cs3org/reva/pull/4469): Handle interrupted uploads
* Bugfix [cs3org/reva#4472](https://github.com/cs3org/reva/pull/4472): Fix concurrent access to a map
* Bugfix [cs3org/reva#4473](https://github.com/cs3org/reva/pull/4473): Decomposedfs now correctly lists sessions
* Bugfix [cs3org/reva#4474](https://github.com/cs3org/reva/pull/4474): Make /dav/meta consistent
* Bugfix [cs3org/reva#4475](https://github.com/cs3org/reva/pull/4475): Upload session specific processing flag
* Bugfix [cs3org/reva#4476](https://github.com/cs3org/reva/pull/4476): No need to unmark postprocessing when it was not started
* Bugfix [cs3org/reva#4479](https://github.com/cs3org/reva/pull/4479): Fix creating documents in the approvider
* Bugfix [cs3org/reva#4481](https://github.com/cs3org/reva/pull/4481): Distinguish failure and node metadata reversal
* Bugfix [cs3org/reva#4434](https://github.com/cs3org/reva/pull/4434): Fix the upload postprocessing
* Bugfix [cs3org/reva#4443](https://github.com/cs3org/reva/pull/4443): Fixed wrong status code when moving a file to a denied path
* Bugfix [cs3org/reva#4446](https://github.com/cs3org/reva/pull/4446): Disallow to delete a file during the processing
* Bugfix [cs3org/reva#4448](https://github.com/cs3org/reva/pull/4448): Fix truncating existing files
* Bugfix [cs3org/reva#4449](https://github.com/cs3org/reva/pull/4449): Keep failed processing status
* Bugfix [cs3org/reva#4452](https://github.com/cs3org/reva/pull/4452): More efficient share jail
* Bugfix [cs3org/reva#4456](https://github.com/cs3org/reva/pull/4456): Do not lose revisions when restoring the first revision
* Bugfix [cs3org/reva#4457](https://github.com/cs3org/reva/pull/4457): Fix concurrent map access in sharecache
* Enhancement [cs3org/reva#4453](https://github.com/cs3org/reva/pull/4453): Disable the password policy
* Enhancement [cs3org/reva#4477](https://github.com/cs3org/reva/pull/4477): Extend ResumePostprocessing event
## Changelog for reva 2.18.0 (2023-12-22)
The following sections list the changes in reva 2.18.0 relevant to
reva users. The changes are ordered by importance.
* Bugfix [cs3org/reva#4424](https://github.com/cs3org/reva/pull/4424): Fixed panic in receivedsharecache pkg
* Bugfix [cs3org/reva#4425](https://github.com/cs3org/reva/pull/4425): Fix overwriting files with empty files
* Bugfix [cs3org/reva#4432](https://github.com/cs3org/reva/pull/4432): Fix /dav/meta endpoint for shares
* Bugfix [cs3org/reva#4422](https://github.com/cs3org/reva/pull/4422): Fix disconnected traces
* Bugfix [cs3org/reva#4429](https://github.com/cs3org/reva/pull/4429): Internal link creation
* Bugfix [cs3org/reva#4407](https://github.com/cs3org/reva/pull/4407): Make ocdav return correct oc:spaceid
* Bugfix [cs3org/reva#4410](https://github.com/cs3org/reva/pull/4410): Improve OCM support
* Bugfix [cs3org/reva#4422](https://github.com/cs3org/reva/pull/4422): Fix disconnected traces
* Bugfix [cs3org/reva#4424](https://github.com/cs3org/reva/pull/4424): Fixed panic in receivedsharecache pkg
* Bugfix [cs3org/reva#4402](https://github.com/cs3org/reva/pull/4402): Refactor upload session
* Enhancement [cs3org/reva#4421](https://github.com/cs3org/reva/pull/4421): Check permissions before adding, deleting or updating shares
* Enhancement [cs3org/reva#4403](https://github.com/cs3org/reva/pull/4403): Add validation to update public share
* Enhancement [cs3org/reva#4405](https://github.com/cs3org/reva/pull/4405): Check permissions before updating shares
* Enhancement [cs3org/reva#4406](https://github.com/cs3org/reva/pull/4406): Rework cache configuration
* Enhancement [cs3org/reva#4409](https://github.com/cs3org/reva/pull/4409): Disable the password policy
* Enhancement [cs3org/reva#4411](https://github.com/cs3org/reva/pull/4411): Add option to configure streams non durable
* Enhancement [cs3org/reva#4412](https://github.com/cs3org/reva/pull/4412): Allow authentication for nats connections
* Enhancement [cs3org/reva#4411](https://github.com/cs3org/reva/pull/4411): Add option to configure streams non durable
* Enhancement [cs3org/reva#4406](https://github.com/cs3org/reva/pull/4406): Rework cache configuration
* Enhancement [cs3org/reva#4414](https://github.com/cs3org/reva/pull/4414): Track more upload session metrics
Changelog for reva 2.17.0 (2023-12-12)
=======================================
## Changelog for reva 2.17.0 (2023-12-12)
The following sections list the changes in reva 2.17.0 relevant to
reva users. The changes are ordered by importance.
@@ -88,9 +121,19 @@ reva users. The changes are ordered by importance.
* Enhancement [cs3org/reva#4170](https://github.com/cs3org/reva/pull/4170): Update password policies
* Enhancement [cs3org/reva#4232](https://github.com/cs3org/reva/pull/4232): Improve error handling in utils package
https://github.com/owncloud/ocis/pull/8287
https://github.com/owncloud/ocis/pull/8278
https://github.com/owncloud/ocis/pull/8264
https://github.com/owncloud/ocis/pull/8100
https://github.com/owncloud/ocis/pull/8100
https://github.com/owncloud/ocis/pull/8038
https://github.com/owncloud/ocis/pull/8056
https://github.com/owncloud/ocis/pull/7949
https://github.com/owncloud/ocis/pull/7793
https://github.com/owncloud/ocis/pull/7978
https://github.com/owncloud/ocis/pull/7979
https://github.com/owncloud/ocis/pull/7963
https://github.com/owncloud/ocis/pull/7986
https://github.com/owncloud/ocis/pull/7721
https://github.com/owncloud/ocis/pull/7727
https://github.com/owncloud/ocis/pull/7752
@@ -0,0 +1,5 @@
Bugfix: Cleanup graph/pkg/service/v0/driveitems.go
Main fix is using proto getters to avoid panics. But some other code improvements were also done
https://github.com/owncloud/ocis/pull/8228
@@ -0,0 +1,5 @@
Bugfix: Cleanup `search/pkg/search/search.go`
Now uses proto getters to avoid panics.
https://github.com/owncloud/ocis/pull/8230
@@ -0,0 +1,7 @@
Enhancement: Disable the password policy
We reworked and moved disabling the password policy logic from the reva to the ocis.
https://github.com/owncloud/ocis/pull/8152
https://github.com/cs3org/reva/pull/4453
https://github.com/owncloud/ocis/issues/7916
@@ -0,0 +1,7 @@
Enhancement: Disable the password policy
We add the environment variable that allow to disable the password policy.
https://github.com/owncloud/ocis/pull/7985
https://github.com/cs3org/reva/pull/4409
https://github.com/owncloud/ocis/issues/7916
@@ -0,0 +1,9 @@
Enhancement: Update antivirus service
We update the antivirus icap client library and optimize the antivirus scanning service.
ANTIVIRUS_ICAP_TIMEOUT is now deprecated and ANTIVIRUS_ICAP_SCAN_TIMEOUT should be used instead.
ANTIVIRUS_ICAP_SCAN_TIMEOUT supports human durations like `1s`, `1m`, `1h` and `1d`.
https://github.com/owncloud/ocis/pull/8062
https://github.com/owncloud/ocis/issues/6764
@@ -0,0 +1,7 @@
Bugfix: Fix concurrent access to a map
We fixed the race condition that led to concurrent map access in a publicshare manager.
https://github.com/owncloud/ocis/pull/8269
https://github.com/cs3org/reva/pull/4472
https://github.com/owncloud/ocis/issues/8255
@@ -0,0 +1,5 @@
Bugfix: IDP CS3 backend sessions now survire restart
We now correctly reinitialize the CS3 backend session after the IDP has been restarted.
https://github.com/owncloud/ocis/pull/8142
@@ -0,0 +1,7 @@
Bugfix: Disallow to delete a file during the processing
We want to disallow deleting a file during the processing to prevent collecting the orphan uploads.
https://github.com/owncloud/ocis/pull/8132
https://github.com/cs3org/reva/pull/4446
https://github.com/owncloud/ocis/issues/8127
@@ -0,0 +1,7 @@
Bugfix: fix PATCH/DELETE status code for drives that don't support them
Updating and Deleting the virtual drives for shares is currently not supported. Instead
of returning a generic 500 status we return a 405 response now.
https://github.com/owncloud/ocis/pull/8235
https://github.com/owncloud/ocis/issues/7881
@@ -0,0 +1,6 @@
Bugfix: Fix patching of language
User would not be able to patch their preferred language when the ldap backend is set to `read-only`.
This makes no sense as language is stored elsewhere.
https://github.com/owncloud/ocis/pull/8182
@@ -0,0 +1,5 @@
Bugfix: Fix nats authentication
Fixes nats authentication for registry/events/stores
https://github.com/owncloud/ocis/pull/8236
@@ -0,0 +1,6 @@
Bugfix: Fix nats registry
The nats registry would behave badly when configuring `nats-js-kv` via envvar. Reason is the way go-micro initializes.
It took 5 developers to find the issue and the fix so the details cannot be shared here. Just accept that it is working now
https://github.com/owncloud/ocis/pull/8281
@@ -0,0 +1,5 @@
Bugfix: Fix jwt config of policies service
Removes jwt config of policies service
https://github.com/owncloud/ocis/pull/7893
@@ -0,0 +1,6 @@
Bugfix: the race conditions in tests
We fixed the race conditions in tests.
https://github.com/owncloud/ocis/pull/7847
https://github.com/owncloud/ocis/issues/7846
@@ -0,0 +1,6 @@
Bugfix: Removed outdated and unused dependency from idp package
We've removed the outdated and apparently unused dependency `cldr` from the `kpop` dependency inside the idp web ui. This resolves a security issue around an oudated `xmldom` package version, originating from said `kpop` library.
https://github.com/owncloud/ocis/issues/7957
https://github.com/owncloud/ocis/pull/7988
@@ -0,0 +1,7 @@
Bugfix: Fix the resource name
We fixed a problem where after renaming resource as sharer the receiver see a new name.
https://github.com/owncloud/ocis/pull/8246
https://github.com/cs3org/reva/pull/4463
https://github.com/owncloud/ocis/issues/8242
@@ -0,0 +1,9 @@
Bugfix: Fix search by containing special characters
As the OData query parser interprets characters like '@' or '-' in a special
way. Search request for users or groups needs to be quoted. We fixed the libregraph
users and groups endpoints to handle quoted search terms correctly.
https://github.com/owncloud/ocis/pull/8050
https://github.com/owncloud/ocis/pull/8035
https://github.com/owncloud/ocis/issues/7990
@@ -0,0 +1,6 @@
Bugfix: Fix search service to not log expected cases as errors
We changed the search service to not log cases where resources that were about to be indexed can no longer be found.
Those are expected cases, e.g. when the file in question has already been deleted or renamed meanwhile.
https://github.com/owncloud/ocis/pull/8200
@@ -0,0 +1,6 @@
Bugfix: Fix the upload postprocessing
We fixed the upload postprocessing when the destination file does not exist anymore.
https://github.com/owncloud/ocis/pull/8117
https://github.com/owncloud/ocis/issues/7909
@@ -0,0 +1,6 @@
Bugfix: Updating and reset logo failed
We fixed a bug when admin tried to update or reset the logo.
https://github.com/owncloud/ocis/pull/8211
https://github.com/owncloud/ocis/issues/8101
Loaded 100 of 978 files, more files were not shown because too many files have changed in this diff. Show more