Compare commits

...
11 Commits
Author SHA1 Message Date
Julian Koberg 5a7c168677 feat(ocis): release 7.1.0
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-06 08:59:32 +01:00
kobergj d746222b22 Automated changelog update [skip ci] 2025-02-28 10:19:23 +00:00
kobergj 167f8de3b7 Merge pull request #11078 from owncloud/Release-7.1-rc.6
[full-ci][k6-test] Release 7.1.0-rc.6
2025-02-28 11:18:47 +01:00
Julian Koberg 6ccf60c2f6 fix(tests): fix ocm tests
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-28 09:55:07 +01:00
Julian Koberg f5e9cdb0ee feat(ocis): release 7.1.0-rc.6
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-28 08:58:34 +01:00
Julian Koberg 2d291a4d29 feat(reva): bump reva to 2.27.7
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-28 08:58:34 +01:00
kobergj 3666a108f5 Automated changelog update [skip ci] 2025-02-27 12:31:52 +00:00
kobergj 7f6c5c183e Merge pull request #11076 from kobergj/FixDrone
Fix `.drone.star` for 7.1 release
2025-02-27 13:30:13 +01:00
Julian Koberg 412b3f3e22 fix(ocis): fix .drone.star file for 7.1
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-27 11:27:00 +01:00
kobergj cc153a5cbf Merge pull request #11069 from kobergj/stable-adjustments
Adjust stable-7.1 drone config
2025-02-26 16:18:06 +01:00
Julian Koberg 349ea126a6 fix(drone): adjust to stable branch
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-26 11:54:01 +01:00
54 changed files with 76 additions and 69 deletions

No files matched your search

+24 -24
View File
@@ -485,7 +485,7 @@ def cachePipeline(name, steps):
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/**",
"refs/pull/**",
],
@@ -692,7 +692,7 @@ def testOcis(ctx):
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -724,7 +724,7 @@ def scanOcis(ctx):
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -748,7 +748,7 @@ def buildOcisBinaryForTesting(ctx):
rebuildBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin"),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -835,7 +835,7 @@ def uploadScanResults(ctx):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
"status": [
@@ -978,7 +978,7 @@ def codestyle(ctx):
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1045,7 +1045,7 @@ def localApiTestPipeline(ctx):
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1111,7 +1111,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1230,7 +1230,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1282,7 +1282,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = Fa
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1323,7 +1323,7 @@ def e2eTestPipeline(ctx):
e2e_trigger = {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/**",
"refs/pull/**",
],
@@ -1436,7 +1436,7 @@ def multiServiceE2ePipeline(ctx):
e2e_trigger = {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
}
@@ -1726,7 +1726,7 @@ def dockerRelease(ctx, arch, repo, build_type):
"depends_on": depends_on,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
"refs/pull/**",
],
@@ -1887,7 +1887,7 @@ def binaryRelease(ctx, arch, build_type, target, depends_on = []):
"depends_on": depends_on,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
"refs/pull/**",
],
@@ -2021,7 +2021,7 @@ def licenseCheck(ctx):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
"refs/pull/**",
],
@@ -2088,7 +2088,7 @@ def releaseDockerManifest(ctx, repo, build_type):
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
],
},
@@ -2135,7 +2135,7 @@ def changelog():
"push",
],
"message": "Automated changelog update [skip ci]",
"branch": "master",
"branch": "stable-7.1",
"author_email": "devops@owncloud.com",
"author_name": "ownClouders",
"netrc_machine": "github.com",
@@ -2157,7 +2157,7 @@ def changelog():
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
"event": {
@@ -2196,7 +2196,7 @@ def releaseDockerReadme(ctx, repo, build_type):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
],
},
@@ -2246,7 +2246,7 @@ def docs():
},
"pages_directory": "docs/hugo/content/",
"copy_contents": "true",
"target_branch": "docs",
"target_branch": "docs-stable-7.1",
"delete": "true",
},
"when": {
@@ -2268,7 +2268,7 @@ def docs():
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -2340,7 +2340,7 @@ def notify(ctx):
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/heads/release*",
"refs/tags/**",
],
@@ -2772,7 +2772,7 @@ def genericCachePurge(flush_path):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
"status": [
@@ -2965,7 +2965,7 @@ def litmus(ctx, storage):
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
+23 -4
View File
@@ -1,6 +1,7 @@
# Table of Contents
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
* [Changelog for 7.1.0-rc.6](#changelog-for-710-rc6-2025-02-27)
* [Changelog for 7.1.0-rc.5](#changelog-for-710-rc5-2025-02-25)
* [Changelog for 7.1.0-rc.4](#changelog-for-710-rc4-2025-02-04)
* [Changelog for 7.1.0-rc.3](#changelog-for-710-rc3-2025-01-28)
* [Changelog for 7.1.0-rc.2](#changelog-for-710-rc2-2025-01-17)
@@ -57,11 +58,29 @@
* [Changelog for 1.1.0](#changelog-for-110-2021-01-22)
* [Changelog for 1.0.0](#changelog-for-100-2020-12-17)
# Changelog for [unreleased] (UNRELEASED)
# Changelog for [7.1.0-rc.6] (2025-02-27)
The following sections list the changes for unreleased.
The following sections list the changes for 7.1.0-rc.6.
[unreleased]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.4...master
[7.1.0-rc.6]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.5...v7.1.0-rc.6
## Summary
* Enhancement - Bump Reva: [#11078](https://github.com/owncloud/ocis/pull/11078)
## Details
* Enhancement - Bump Reva: [#11078](https://github.com/owncloud/ocis/pull/11078)
Bumps reva version to 2.27.7
https://github.com/owncloud/ocis/pull/11078
# Changelog for [7.1.0-rc.5] (2025-02-25)
The following sections list the changes for 7.1.0-rc.5.
[7.1.0-rc.5]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.4...v7.1.0-rc.5
## Summary
@@ -1,5 +0,0 @@
Enhancement: Bump Reva
Bumps the reva version
https://github.com/owncloud/ocis/pull/10842
@@ -1,5 +0,0 @@
Enhancement: Bump Reva
Bumps the reva version
https://github.com/owncloud/ocis/pull/10887
@@ -1,8 +0,0 @@
Enhancement: Bump Reva
Changelog for reva 2.27.4
* Bugfix [cs3org/reva#5061](https://github.com/cs3org/reva/pull/5061): OCM Wildcards
* Bugfix [cs3org/reva#5055](https://github.com/cs3org/reva/pull/5055): Fix view&download permission issue
https://github.com/owncloud/ocis/pull/10957
@@ -1,5 +0,0 @@
Enhancement: Bump reva version
Bumps reva version to fixed 2.27.5
https://github.com/owncloud/ocis/pull/11051
+5
View File
@@ -0,0 +1,5 @@
Enhancement: Bump Reva
Bumps reva version to 2.27.7
https://github.com/owncloud/ocis/pull/11078
+1 -1
View File
@@ -17,7 +17,7 @@ require (
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/coreos/go-oidc/v3 v3.11.0
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1
github.com/cs3org/reva/v2 v2.27.6
github.com/cs3org/reva/v2 v2.27.7
github.com/davidbyttow/govips/v2 v2.16.0
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
+2 -2
View File
@@ -249,8 +249,8 @@ github.com/crewjam/saml v0.4.14 h1:g9FBNx62osKusnFzs3QTN5L9CVA/Egfgm+stJShzw/c=
github.com/crewjam/saml v0.4.14/go.mod h1:UVSZCf18jJkk6GpWNVqcyQJMD5HsRugBPf4I1nl2mME=
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1 h1:RU6LT6mkD16xZs011+8foU7T3LrPvTTSWeTQ9OgfhkA=
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1/go.mod h1:DedpcqXl193qF/08Y04IO0PpxyyMu8+GrkD6kWK2MEQ=
github.com/cs3org/reva/v2 v2.27.6 h1:gRUBAo8NdDRVdeIDfLUCVvtADq48BROC6QZJBpN8PSg=
github.com/cs3org/reva/v2 v2.27.6/go.mod h1:1H26PMXoa1rDrIoZ7lGOerq1Bg07/5srYfRaKfxBSsc=
github.com/cs3org/reva/v2 v2.27.7 h1:KjTDcEgySC4Q9nFIrpBeq+8IDAetTTanx/PbLSzNphs=
github.com/cs3org/reva/v2 v2.27.7/go.mod h1:1H26PMXoa1rDrIoZ7lGOerq1Bg07/5srYfRaKfxBSsc=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo=
github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
+1 -1
View File
@@ -16,7 +16,7 @@ var (
// LatestTag is the latest released version plus the dev meta version.
// Will be overwritten by the release pipeline
// Needs a manual change for every tagged release
LatestTag = "7.1.0-rc.5+dev"
LatestTag = "7.1.0"
// Date indicates the build date.
// This has been removed, it looks like you can only replace static strings with recent go versions
+1 -1
View File
@@ -2,7 +2,7 @@
sonar.projectKey=owncloud_ocis
sonar.organization=owncloud-1
sonar.projectName=ocis
sonar.projectVersion=7.1.0-rc.5
sonar.projectVersion=7.1.0
sonar.host.url=https://sonarcloud.io
# =====================================================
@@ -329,8 +329,8 @@ The expected failures in this file are from features in the owncloud/ocis repo.
- [apiOcm/acceptInvitation.feature:148](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/acceptInvitation.feature#L148)
#### [[OCM] Sharee can access expired federated share](https://github.com/owncloud/ocis/issues/11033)
- [apiOcm/share.feature:1154](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1154)
- [apiOcm/share.feature:1174](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1174)
- [apiOcm/share.feature:1158](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1158)
- [apiOcm/share.feature:1178](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1178)
Note: always have an empty line at the end of this file.
The bash script that processes this file requires that the last line has a newline on the end.
@@ -1012,7 +1012,11 @@ Feature: an user shares resources using ScienceMesh application
"maxItems": 1,
"items": {
"type": "object",
"required": ["@libre.graph.permissions.actions"]
"properties": {
"@libre.graph.permissions.actions": {
"type": "null"
}
}
}
}
}
@@ -70,9 +70,6 @@ func (w *WebDAV) ToOCMProtocol() *ocm.Protocol {
perms.Permissions.CreateContainer = true
perms.Permissions.Delete = true
perms.Permissions.Move = true
perms.Permissions.ListGrants = true
case "share":
perms.Reshare = true
}
}
+11 -6
View File
@@ -46,8 +46,8 @@ func init() {
}
type manager struct {
c *config
gw gateway.GatewayAPIClient
c *config
gateway *pool.Selector[gateway.GatewayAPIClient]
}
type config struct {
@@ -64,11 +64,11 @@ func New(m map[string]interface{}) (auth.Manager, error) {
if err := mgr.Configure(m); err != nil {
return nil, err
}
gw, err := pool.GetGatewayServiceClient(mgr.c.GatewayAddr)
gw, err := pool.GatewaySelector(mgr.c.GatewayAddr)
if err != nil {
return nil, err
}
mgr.gw = gw
mgr.gateway = gw
return &mgr, nil
}
@@ -84,8 +84,13 @@ func (m *manager) Configure(ml map[string]interface{}) error {
func (m *manager) Authenticate(ctx context.Context, ocmshare, sharedSecret string) (*userpb.User, map[string]*authpb.Scope, error) {
log := appctx.GetLogger(ctx).With().Str("ocmshare", ocmshare).Logger()
gwc, err := m.gateway.Next()
if err != nil {
return nil, nil, err
}
// We need to use GetOCMShareByToken, as GetOCMShare would require a user in the context
shareRes, err := m.gw.GetOCMShareByToken(ctx, &ocm.GetOCMShareByTokenRequest{
shareRes, err := gwc.GetOCMShareByToken(ctx, &ocm.GetOCMShareByTokenRequest{
Token: sharedSecret,
})
@@ -128,7 +133,7 @@ func (m *manager) Authenticate(ctx context.Context, ocmshare, sharedSecret strin
},
}
userRes, err := m.gw.GetAcceptedUser(ctx, &ocminvite.GetAcceptedUserRequest{
userRes, err := gwc.GetAcceptedUser(ctx, &ocminvite.GetAcceptedUserRequest{
RemoteUserId: u,
Opaque: o,
})
+1 -1
View File
@@ -371,7 +371,7 @@ github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1
github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1
github.com/cs3org/go-cs3apis/cs3/tx/v1beta1
github.com/cs3org/go-cs3apis/cs3/types/v1beta1
# github.com/cs3org/reva/v2 v2.27.6
# github.com/cs3org/reva/v2 v2.27.7
## explicit; go 1.22.7
github.com/cs3org/reva/v2/cmd/revad/internal/grace
github.com/cs3org/reva/v2/cmd/revad/runtime