Commit Graph

2490 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
1ed03c12f2 try using viewOnlyToken to download file if available
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-17 13:58:29 +02:00
Jannik Stehle
6ebe33e888 Merge pull request #9095 from owncloud/feat/search-remote-item-id
feat: add remote item id to search report responses
2024-05-15 16:42:00 +02:00
Alex
9406da351b Fix typo in password.go (#9177)
* Fix typo in password.go
2024-05-15 15:07:27 +02:00
Ralf Haferkamp
7ca8391ce2 feat(proxy): Update selected attributes of autoprovisioned users
When autoprovisioning is enabled, we now update autoprovisioned users when their
display name or email address claims change.

Closes: #8955
2024-05-15 13:30:45 +02:00
Jannik Stehle
164f8650da fix: use getters for protobuf types 2024-05-15 11:30:46 +02:00
Jannik Stehle
d40a643fbf feat: add remote item id to search report responses
Adds the remote item id to search `REPORT` responses for shared resources and resources that are part of such. This id represents the id of the original resource that has been shared (= the remote item) and is needed for clients to correctly resolve their locations.
2024-05-15 11:26:43 +02:00
Roman Perekhod
39f63d3bc7 Merge pull request #9144 from 2403905/issue-9067
Added the watermark text for the Secure View mode
2024-05-15 09:11:04 +02:00
Roman Perekhod
eefe991487 added the watermark text for the Secure View mode 2024-05-14 23:54:07 +02:00
Jannik Stehle
779bf33fcc refactor: rename GetShares to GetSharesForResource
Rename this method to make more clear what it is about.
2024-05-14 10:30:42 +02:00
Jannik Stehle
e74d041b72 tests: add unit tests for getting drive items via id 2024-05-14 10:30:42 +02:00
Jannik Stehle
4404235efa feat: add endpoint for getting drive items via id 2024-05-14 10:30:42 +02:00
Florian Schade
e48ac55034 fix: provide more tests for the update drive endpoint, it now also considers regular error cases 2024-05-14 10:30:42 +02:00
Florian Schade
9e6bf2af3c enhancement: return a drive item from the update share drive item api endpoint 2024-05-14 10:30:42 +02:00
Florian Schade
5b4e83c9bf enhancement: use error codes in the drive item api 2024-05-14 10:30:42 +02:00
Florian Schade
4841240bff enhancement: add get share service method 2024-05-14 10:30:42 +02:00
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