Commit Graph

13019 Commits

Author SHA1 Message Date
Christian Richter
cec99493f2 Add workaround for chiRouter racecondition in chi.RegisterMethod()
Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-20 10:19:05 +02:00
Christian Richter
30bcf32062 incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-20 09:00:58 +02:00
Christian Richter
3d6d4c7c7c add missing http method
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-19 17:32:50 +02:00
Christian Richter
e88a0d7bc3 add tests for oidc backchannel logout
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-19 17:32:49 +02:00
Christian Richter
15691ae78a fix contexts, render result
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
d2d7c49df4 properly parse logout request
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
a98a880e7d move code, delete duplicate lines
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
dc399a61ac implement backchannel logout, reuse useringo cache
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Christian Richter
a900d0ed8d Refactor caches
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
bc15b8a396 work on logout
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
b608d0b0f9 move verify access token code to oidc client
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
469534b321 small cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
58dce9bed8 use our oidc client
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
014308ddc9 introduce oidc client, based on coreos go-oidc
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Jörn Friedrich Dreyer
97894acccd add missing error check, redirect stub
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-19 17:32:25 +02:00
Christian Richter
a3640b0565 extract full claims from jwt token to get session id
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-19 17:32:23 +02:00
Michael Barz
e543c8f60d fix typo which slipped through 2023-04-19 17:28:16 +02:00
Michael Barz
097d242bd4 Merge pull request #6088 from owncloud/delete-empty-translations
[docs-only] delete empty translations [skip ci]
2023-04-19 17:13:29 +02:00
Michael Barz
38f6f3da2e delete empty translations [skip ci] 2023-04-19 17:03:03 +02:00
Michael Barz
08ac6806af Merge pull request #6082 from owncloud/proxy-build
use proxy for build step
2023-04-19 16:41:34 +02:00
Martin
e34e0b5a5c Merge pull request #6083 from owncloud/define_readonly_attrobute_list
[docs-only] Add supported values at FRONTEND_READONLY_USER_ATTRIBUTES envvar
2023-04-19 16:28:29 +02:00
Martin
0c48a565cf Merge pull request #6079 from owncloud/fix_removal_version
[docs-only] Correct the removal version according semver to 4.0.0
2023-04-19 15:21:13 +02:00
kobergj
84ec3fc779 Merge pull request #6086 from owncloud/fix_special_envvar_description
[docs-only] Improve special envvar description
2023-04-19 14:59:55 +02:00
mmattel
eacc17e99b [docs-only] Improve special envvar description 2023-04-19 13:44:58 +02:00
ownClouders
5ded7aac95 [tx] updated from transifex 2023-04-19 11:11:30 +00:00
Michael Barz
e58c248579 fix translations for notifications service 2023-04-19 13:10:13 +02:00
Michael Barz
93ea112a17 use proxy for build step 2023-04-19 12:45:16 +02:00
Michael Barz
0b04edd0d8 fix ci 2023-04-19 12:43:50 +02:00
Michael Barz
c729962b36 add notifications service to transifex 2023-04-19 12:37:49 +02:00
mmattel
32c6b3bdb4 [docs-only] Add supported values at FRONTEND_READONLY_USER_ATTRIBUTES envvar 2023-04-19 12:36:49 +02:00
Daniel Swärd
6a269bd04a Merge pull request #6057 from kobergj/DontPanicInUserlog
[tests-only] Avoid Metadata Functionality in Eventhistory
2023-04-19 10:49:57 +02:00
Martin
7816811a86 Merge pull request #6078 from owncloud/dependabot/go_modules/github.com/go-micro/plugins/v4/store/nats-js-1.2.0
Bump github.com/go-micro/plugins/v4/store/nats-js from 1.1.0 to 1.2.0
2023-04-19 10:44:14 +02:00
Christian Richter
104e807972 Merge pull request #6077 from owncloud/mmattel-patch-2
[docs-only] update the deprecation description (removal version rule)
2023-04-19 10:43:33 +02:00
Michael Barz
dd8e752fd3 Merge pull request #6047 from owncloud/excds/feature/add_capabilities_indicating_read-only_attributes
reva/frontend: Add capabilities to indicate attributes that are read-only
2023-04-19 10:33:43 +02:00
mmattel
8ed34926ef [docs-only] Correct the removal version according semver to 4.0.0 2023-04-19 10:16:06 +02:00
Michael Barz
1f19462d44 Merge pull request #6076 from owncloud/policies-proxy-tus-uploads
fix: proxy policies middleware tus filename evaluation
2023-04-19 10:09:14 +02:00
Martin
8ae10c6f5a Merge pull request #6074 from owncloud/mmattel-patch-1
[docs-only] Update graph readme (GDPR, link to admin docs)
2023-04-19 10:00:50 +02:00
Martin
e58f6d2d7a [docs-only] Update graph readme (GDPR, link to admin docs)
Referencing: https://github.com/owncloud/docs-ocis/pull/457 (Add user triggered GDPR Report)

Linking to the ocis admin documentation because we have more explainaition, images and an example json.
2023-04-19 09:34:31 +02:00
Daniel Swärd
78d7381a71 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2023-04-19 09:32:53 +02:00
Artur Neumann
cf437c29e0 Merge pull request #6033 from owncloud/refactorAddGroupToGroup
[tests-only] [full-ci] Refactor api endpoint for adding group to group
2023-04-19 13:17:24 +05:45
dependabot[bot]
b2d24438bc Bump github.com/go-micro/plugins/v4/store/nats-js from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/store/nats-js](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/store/nats-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 06:59:38 +00:00
Ralf Haferkamp
df0522efdc Automated changelog update [skip ci] 2023-04-19 06:57:23 +00:00
Ralf Haferkamp
6059747491 proxy: Rework oidc role mapper to allow multiple matching roles
If multiple claims values have a valid matching for ocis roles, we'll pick
the ocis role that appears first in the mapping configuration.
2023-04-19 08:56:47 +02:00
Martin
44cf255813 [docs-only] update the deprecation description (removal version rule)
The removal version can only be, according to semver, a major version.
2023-04-19 08:49:49 +02:00
Florian Schade
fdaf39f5d1 fix: proxy policies middleware tus filename evaluation
when uploading files via uppy (tus), the path does not give any information about the file, PUT contains the filename in the path, tus POST not.

this pr extracts the HeaderUploadMetadata from that POST request and enhances the policies grpc environment request with that information.

Therefore, the policies service is now able to evaluate proxy requests for tus uploads too.
2023-04-18 20:26:52 +02:00
Robert Kaussow
b9dc2baaed ci: fix docs branch in makefile (#6075) 2023-04-18 17:33:04 +02:00
Robert Kaussow
e759840401 ci: switch to main branch as downstream source branch for devdocs (#6045) 2023-04-18 15:07:27 +02:00
dependabot[bot]
bb4572bc2c Bump golang.org/x/text from 0.8.0 to 0.9.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.8.0...v0.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 14:19:27 +02:00
kobergj
da8ac7291f Merge pull request #6069 from owncloud/bumpwebCommit
[test-only] bump web commit. fixing e2e flaky #8833
2023-04-18 14:08:11 +02:00
Michael Barz
d70462f248 Automated changelog update [skip ci] 2023-04-18 11:48:08 +00:00