Commit Graph

2475 Commits

Author SHA1 Message Date
Ralf Haferkamp
ad4b3fc55c proxy(autoprovision): Save the subject and issuer claims when creating a user
We now use the graph user's identities property to store the subject and issuer claims
when autoprovisioning a user. The attrbute is not really used anywhere yet, but will
allow us to detect renames and other changes in the future.

Closes: #8956
2024-05-13 17:22:37 +02:00
Ralf Haferkamp
eace09ca05 graph: Allow to set the identities property on users
Previously we only allowed setting the "identities" property on education users.
This changes move the related code to the main user object.
2024-05-13 17:22:37 +02:00
Ralf Haferkamp
5b38fa149d settings: Remove deprecated filesystem backend
We changed the default to `metadata` before the 2.0 release. This PR
alos removes the associated `SETTINGS_STORE_TYPE` and
`SETTINGS_DATA_PATH` settings as they are no longer needed with
`metadata` as the only available backend.
2024-05-13 14:50:02 +02:00
Roman Perekhod
3c7538a1b6 Merge pull request #9112 from 2403905/collaboration-registration-fix
fixed the collaboration service GRPC namespace
2024-05-10 09:29:58 +02:00
Roman Perekhod
fb43919e0a fixed OpenInApp URL 2024-05-09 23:12:20 +02:00
ownClouders
8ddd82fcd5 [tx] updated from transifex 2024-05-09 00:08:43 +00:00
Roman Perekhod
612f31bcbb fixed the collaboration service GRPC namespace 2024-05-08 16:57:44 +02:00
Thomas Müller
06bb8c9654 feat: add maximum image file size to be processed by the thumbnailer (#9069) 2024-05-08 16:28:44 +02:00
dependabot[bot]
fd770740bd build(deps-dev): bump eslint-plugin-jsx-a11y in /services/idp
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.7.1 to 6.8.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.7.1...v6.8.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 10:21:57 +02:00
dependabot[bot]
603cd31441 build(deps): bump @types/redux-logger in /services/idp
Bumps [@types/redux-logger](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/redux-logger) from 3.0.9 to 3.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/redux-logger)

---
updated-dependencies:
- dependency-name: "@types/redux-logger"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 09:31:54 +02:00
jkoberg
e84c72b911 tiny docs fix
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-05-07 08:17:22 +02:00
dependabot[bot]
665f70bb6c build(deps-dev): bump postcss-preset-env in /services/idp
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 9.1.2 to 9.5.9.
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 08:52:36 +02:00
dependabot[bot]
20fb74cfb9 build(deps): bump react-i18next from 13.5.0 to 14.1.1 in /services/idp
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 13.5.0 to 14.1.1.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v13.5.0...v14.1.1)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 08:48:15 +02:00
ownClouders
22a7ee7545 [tx] updated from transifex 2024-05-04 00:07:01 +00:00
Martin
bc23b685b2 [docs-only] Typo in storage-users README.md
IMPOTANT --> IMPORTANT
2024-05-03 16:57:03 +02:00
Thomas Müller
9db3fd028e feat: add maximum image dimension to be processed by the thumbnailer (#9035)
* feat: add maximum image dimension to be processed by the thumbnailer

* chore: make golangci-lint happy
2024-05-03 12:20:27 +02:00
kobergj
b1418fea51 Merge pull request #9041 from kobergj/ImproveCleanCommand
[full-ci] Assimilate clean command into sessions
2024-05-03 10:57:41 +02:00
jkoberg
62b128624d feat(storage-users): document sessions command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-05-03 10:31:41 +02:00
mmattel
2f895fbc74 [docs-only] Fix Collaboration readme 2024-05-03 08:44:03 +02:00
ownClouders
947c56196c [tx] updated from transifex 2024-05-03 00:07:35 +00:00
dependabot[bot]
1dcf9bdf54 build(deps-dev): bump eslint-plugin-import in /services/idp (#9042)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.1 to 2.29.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 17:33:04 +02:00
dependabot[bot]
510fb65be0 build(deps-dev): bump ejs from 3.1.9 to 3.1.10 in /services/idp (#9049)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 16:56:19 +02:00
Michael Barz
6356be8d51 Merge pull request #8952 from rhafer/issue/8635
Autoprovsioning fixes
2024-05-02 16:06:45 +02:00
jkoberg
3097a69a5f feat(storage-users): add virusfilter to sessions command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-05-02 11:48:50 +02:00
jkoberg
4941620333 feat(storage-users): assimilate clean command into sessions
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-05-02 11:40:03 +02:00
ownClouders
3309b9c93c [tx] updated from transifex 2024-05-01 00:42:11 +00:00
Thomas Müller
a8cbc612cc chore: remove unused return value from BindSourcesToStructs (#9033) 2024-04-30 18:18:31 +02:00
Thomas Müller
4f7480d322 feat: drop github.com/a8m/envsubst in favor of gookit/config (#9028) 2024-04-30 18:05:58 +02:00
Ralf Haferkamp
54bb4b44b0 chore: Fix some linter complaints 2024-04-30 17:09:21 +02:00
Ralf Haferkamp
0da7eccd1d fix(autoprovision): make email optional
The mail address is not a required attrbute for our users. So we can auto-provision users without it.

Fixes: #6909
2024-04-30 17:09:21 +02:00
Ralf Haferkamp
741dce501b enhancement(autoprovision): Allow to configure which claims to use for auto-provisioning user accounts
When auto-provisioning user accounts we used a fixed mapping for claims
for the userinfo response to user attributes. This change introduces
configuration options to defined which claims should be user for the
username, display name and email address of the auto-provisioned
accounts.

This also removes the automatic fallback to use the 'mail' claim as the
username when the 'preferred_username' claim does not exist.

Fixes: #8635
2024-04-30 17:09:19 +02:00
Jannik Stehle
57b63a3318 Merge pull request #8954 from fschade/graph-permission-c-time
enhancement: inject the creation time into sharing permissions
2024-04-29 17:43:22 +02:00
Michael Barz
079ad3efdd Merge pull request #8931 from owncloud/jnweiger-ocmproviders-json-syntax
Fix: README.md ocmproviders.json example
2024-04-29 17:14:32 +02:00
Jörn Friedrich Dreyer
32e44a9fdc Merge pull request #8989 from owncloud/log-and-trace-fixes
log and trace fixes
2024-04-29 17:13:52 +02:00
dependabot[bot]
a36a176fe1 build(deps): bump @testing-library/user-event in /services/idp (#9008)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.5.1 to 14.5.2.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.5.1...v14.5.2)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 17:11:50 +02:00
Juan Pablo Villafáñez
b1d0a2a577 fix: remove obsolete secure middleware in collaboration service 2024-04-29 15:22:49 +02:00
kobergj
1906059ef0 Merge pull request #8374 from owncloud/new_collaboration_service
feat: add new collaboration service (WOPI)
2024-04-29 13:56:10 +02:00
Jannik Stehle
49395e0a24 Merge pull request #8907 from owncloud/feat/secure-view-role
feat: add secure view share role
2024-04-29 10:05:22 +02:00
dependabot[bot]
237623178a build(deps-dev): bump eslint-plugin-react-hooks in /services/idp
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.6.0 to 4.6.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 09:57:39 +02:00
Jannik Stehle
1aeb30193a feat: add secure view share role
Adds a new share role "Secure View". This role is applicable for files, folders and spaces and only allows viewing them (and their content).
2024-04-29 09:42:31 +02:00
Jörn Friedrich Dreyer
e41472234f log and trace fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-26 17:03:49 +02:00
Jörn Friedrich Dreyer
154ee413cb Merge pull request #8979 from owncloud/chore/code-cleanup-service-webfinger
chore: code cleanup service/webfinger
2024-04-26 13:02:42 +02:00
Thomas Müller
a53a7cf8b5 fix: replace github.com/disintegration/imaging with github.com/kovidgoyal/imaging 2024-04-26 11:36:49 +02:00
Thomas Müller
ac951eaaae chore: code cleanup service/webfinger 2024-04-26 11:11:10 +02:00
jkoberg
4d4dd983f0 fix(clientlog): dont send sse when upload failed
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-26 09:17:45 +02:00
jkoberg
3b994e6510 feat(postprocessing): dont retry finished uploads
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-26 09:17:45 +02:00
jkoberg
c80ee6e844 feat(storage-users): add scandata to upload command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-26 09:17:45 +02:00
Thomas Müller
bdbba929d0 feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Jörn Friedrich Dreyer
06ebbe6056 Merge pull request #8946 from owncloud/fix-well-known-rewrite
always initialize http handler
2024-04-25 15:32:09 +02:00
Florian Schade
f34bb510b0 enhancement: inject the creation time into sharing permissions 2024-04-25 11:54:54 +02:00