Commit Graph

13078 Commits

Author SHA1 Message Date
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
Michael Barz a470d389e2 Merge pull request #6071 from owncloud/fix-run-services
[full-ci] add optional services and fix config slice parser
2023-04-18 13:47:39 +02:00
Sagar Gurung 5db4656d62 Added test to search when share is no accepted yet. (#6043) 2023-04-18 16:46:11 +05:45
Daniel Swärd 8e5ff030f7 Change config value to list of strings and bump reva. 2023-04-18 12:25:45 +02:00
kobergj e693da5b39 Merge pull request #6070 from owncloud/mmattel-patch-1
[docs-only] Fixing ADOC.tmpl typo
2023-04-18 12:14:30 +02:00
kobergj 6b14c02b64 Automated changelog update [skip ci] 2023-04-18 10:09:15 +00:00
kobergj db4ff5108c Merge pull request #6038 from 2403905/issue-6025
Make Emails translatable via transifex #6025
2023-04-18 12:08:40 +02:00
jkoberg 0f99a8071b more test fixes
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-18 11:59:00 +02:00
Michael Barz e73d5493db add optional services and fix config slice parser 2023-04-18 11:58:02 +02:00
Daniël Franke 30edab9f69 Search users by username instead of by email
As some setups don't have email addresses setup or reuse email
addresses, the keycloak search has to be done by username as that
is guaranteed to always be unique and defined.

This PR changes that.
2023-04-18 11:43:13 +02:00
Viktor Scharf be3720b0cc Empty-Commit 2023-04-18 09:58:29 +02:00
Martin 8ca2b03575 [docs-only] Fixing ADOC.tmpl typo
Fixing a typo

Backporting to `docs-stable-2.0` neccessary.
2023-04-18 09:31:08 +02:00
Viktor Scharf 617c08e060 bump web commit. fixing e2e flaky #8833 2023-04-18 09:07:53 +02:00
Benedikt Kulmann 70f825541c Merge pull request #6065 from owncloud/bump-web-v7.0.0-rc.30 2023-04-17 18:49:43 +02:00
Roman Perekhod 1022b5ec1e Update services/notifications/README.md
Co-authored-by: Martin <github@diemattels.at>
2023-04-17 17:33:34 +02:00
Roman Perekhod 3bf85c22bf Update services/notifications/README.md
Co-authored-by: Martin <github@diemattels.at>
2023-04-17 17:24:31 +02:00
Roman Perekhod c3844fbb04 Update services/notifications/README.md
Co-authored-by: Martin <github@diemattels.at>
2023-04-17 17:23:45 +02:00
Roman Perekhod 22f8076a4f README.md updated.
returned value swapped
2023-04-17 16:15:21 +02:00
Michael Barz 313b673d05 Automated changelog update [skip ci] 2023-04-17 13:26:04 +00:00
Michael Barz 9368d34740 Merge pull request #6064 from owncloud/gdpr-sessions
add sessions to report, remove credentials
2023-04-17 15:25:41 +02:00
jkoberg 220c04123e do not use metadata functionality
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-17 15:20:24 +02:00
Benedikt Kulmann cc5db93fa9 chore: bump oC Web to v7.0.0-rc.30 2023-04-17 14:43:23 +02:00
Michael Barz 3ed6786185 add sessions to report 2023-04-17 14:37:06 +02:00
amrita d5f85350e4 Refactor api endpoint 2023-04-17 17:11:15 +05:45
dependabot[bot] a08ea5647c Bump github.com/urfave/cli/v2 from 2.24.4 to 2.25.1
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.24.4 to 2.25.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.24.4...v2.25.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>
2023-04-17 13:01:45 +02:00
jkoberg fd0c22502a avoid panicing in userlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-17 11:56:35 +02:00
Daniel Swärd 1938495a89 Change to single env variable and list of strings as suggested in review. 2023-04-17 11:10:27 +02:00
Daniel Swärd 6433fc8d80 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2023-04-17 10:07:24 +02:00
Daniel Swärd 68f1d5897b reva/frontend: Add capabilities to indicate attributes that are read-only. 2023-04-17 10:07:24 +02:00
Roman Perekhod cd59424a16 Make Emails translatable via transifex #6025
The transifex translation add in to the email templates.
The optional environment variable NOTIFICATIONS_TRANSLATION_PATH added to config.
2023-04-16 14:02:40 +02:00
Michael Barz c0be639f80 Automated changelog update [skip ci] 2023-04-14 14:10:55 +00:00
Michael Barz b01f2e8d39 Merge pull request #6014 from owncloud/ainmosni/feature/gdpr-collection
Integrate keycloak and events data into graph.
2023-04-14 16:10:26 +02:00
Daniël Franke 2d8fb2549a Add modified mock. 2023-04-14 15:09:54 +02:00
Daniël Franke 2e8b741530 improve readme
Co-authored-by: Martin <github@diemattels.at>
2023-04-14 15:09:54 +02:00
Daniël Franke 43cf811db1 Format markdown a bit cleaner. 2023-04-14 15:09:54 +02:00
Daniël Franke ed27261262 Add documentation about keycloak configuration. 2023-04-14 15:09:54 +02:00
Daniël Franke d81065c1b6 Adds JSON tags to PII report.
This will make the JSON export look a bit prettier.
2023-04-14 15:09:54 +02:00
Daniël Franke 3ec5c0f6ed Don't check for attributes if no attributes set.
If no attributes are set, the attributes property is nil. This
causes a panic if keycloak has no custom attributes.
This patch checks for nil before accessing the attributes.
2023-04-14 15:09:54 +02:00
jkoberg c9d0e876f7 use mail instead id to get user
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-14 15:09:54 +02:00
jkoberg cf6b1eac25 add events to personalDataExport
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-14 15:09:54 +02:00
Daniël Franke 8e32b4f5da Integrate keycloak and events data into graph.
This PR adds the data from keycloak and events into the GDPR export of
the graph service.
2023-04-14 15:09:54 +02:00
Michael Barz 562c18b84b Automated changelog update [skip ci] 2023-04-14 12:27:32 +00:00
Michael Barz 797070f5ba Merge pull request #6056 from owncloud/proxy-lint-steps
use a proxy for the golangci-lint step
2023-04-14 14:26:51 +02:00