Commit Graph

2410 Commits

Author SHA1 Message Date
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
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
ownClouders
5cc4c78338 [tx] updated from transifex 2024-04-25 03:47:37 +00:00
Jörn Friedrich Dreyer
f8f864e566 always initialize http handler
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-24 10:39:12 +02:00
jkoberg
17f213d7d4 fix initiatorids for graph events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-23 15:06:23 +02:00
jkoberg
914c34d27a fix(clientlog): repair AffectedUsers
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-23 10:28:19 +02:00
kobergj
e0363bb9ae Merge pull request #8916 from kobergj/AddShareeIDsToSSEs
Add ShareeIDs to SSEs
2024-04-23 08:33:26 +02:00
Florian Schade
b8ed049487 Enhancement: Ability to Change Share Item Visibility in Graph API (#8750)
* Enhancement: Ability to Change Share Item Visibility in Graph API

Introduce the `PATCH /graph/v1beta1/drives/{driveID}/items/{itemID}` Graph API endpoint which allows updating individual Drive Items.

* fix: failing tests

* fix: consider siblings when updating shares

* fix: reduce sharing service provider interface
2024-04-22 17:24:45 +02:00
jkoberg
7700e59fff feat(clientlog): add shareeids to sses
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-22 15:36:02 +02:00
jkoberg
10e41556ba feat(changelog): link c/u/d sse
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-19 16:01:31 +02:00
Michael Barz
4960f8c42d tests: add unit tests for admin role assignment 2024-04-19 11:22:10 +02:00
Michael Barz
ad29d7da3e fix: always assign the admin role to the default admin 2024-04-19 10:08:21 +02:00
ownClouders
03cb960bb2 [tx] updated from transifex 2024-04-18 01:20:39 +00:00
jkoberg
7139e72ab4 fix(clientlog): unbonk rename logic
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-17 11:40:48 +02:00
jkoberg
368ca883db feat(clientlog): space-share-updated sse
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-16 13:17:41 +02:00
jkoberg
b90c9d8af0 feat(clientlog): share-updated sse
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-16 12:01:55 +02:00
jkoberg
370522e7cf feat(clientlog): space/share created/removed sse
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-16 12:01:55 +02:00
jkoberg
6aa71d74d2 feat(clientlog): item-moved sse
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-16 12:01:55 +02:00
Jannik Stehle
458f32b409 [full-ci] chore: bump web to v9.0.0-alpha.5 (#8868)
* chore: bump web to v9.0.0-alpha.5

* try to fix sharedWithMe test

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2024-04-16 11:54:03 +02:00
Roman Perekhod
a1a198d892 Merge pull request #8827 from 2403905/issue-8731
fix unmount item from share
2024-04-15 17:26:16 +02:00
Ralf Haferkamp
8d5a0c6dd8 fix(public-share-auth): allow to create new documents in public share folder
The public share authentication middleware only allowed to open existing documents
the /app/new route was missing.

Fixes #8691
2024-04-15 16:35:13 +02:00
Roman Perekhod
cd539311a5 fix unmount item from share 2024-04-15 14:43:13 +02:00
ownClouders
2ce8b84452 [tx] updated from transifex 2024-04-13 01:21:30 +00:00
Jörn Friedrich Dreyer
7a635738fa always use error interface when returning errors (#8816)
* always use error interface when returning errors

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix: use non pointer Error

* fix: errorcode evaluation

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Florian Schade <f.schade@icloud.com>
2024-04-12 10:30:49 +02:00
Ralf Haferkamp
9ca9b78b2b fix(sharing-ng): Adapt role conditions to match resource types
This switches our hardcode unfied role conditions to better reflect what
we're actually using them before. The new conditions also allow to differentiate
between roles elgitible for files, folders or drive roots.
Which means that the `/permissions` endpoint is now able to populate the
`roles.allowedValues` field with the correct roles for type of the resource
it is called for.

Fixes: #8331
2024-04-12 10:09:13 +02:00
Ralf Haferkamp
fe6986ec79 cleanup(graph): remove some resharing leftovers 2024-04-12 10:09:13 +02:00
ownClouders
01c2d9810a [tx] updated from transifex 2024-04-12 01:22:48 +00:00
Michael Barz
90de81a16a Merge pull request #8837 from owncloud/update-changelog
Forward port stable branches, Update changelog
2024-04-11 14:07:04 +02:00
Martin
18b72a4f34 Merge pull request #8836 from owncloud/fix_frontend_readme
[docs-only] Update the frontent service readme adding more password descriptions
2024-04-11 13:08:08 +02:00
Michael Barz
7f36082ec5 Apply suggestions from code review
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2024-04-11 12:41:48 +02:00
Michael Barz
c35e5fb01f fix: ocs and graph config for user email in sharees 2024-04-11 11:31:19 +02:00
Michael Barz
db945d988c Merge branch 'stable-5.0' into update-changelog 2024-04-11 11:14:11 +02:00
mmattel
e5f116a867 [docs-only] Make a frontend envvar description more clear 2024-04-11 11:10:00 +02:00
mmattel
85e9a6887e [docs-only] Update the frontent service readme adding more password 2024-04-11 10:57:07 +02:00
jkoberg
c1b28d4e18 enhancement(graph): improve translation context string
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-11 09:13:00 +02:00
Martin
4a597688b9 Merge pull request #8821 from owncloud/fix_service_readmes
[docs-only] fix two services readme to be inline with admin docs
2024-04-11 08:21:05 +02:00
Michael Barz
8d1ba0244c fix: ocs config was connected incorrectly 2024-04-10 17:08:31 +02:00
Roman Perekhod
78d69e155c Merge pull request #8817 from 2403905/issue-8724
fix creating the drive item
2024-04-10 12:58:58 +02:00
Roman Perekhod
207b1acdc1 fix creating the drive item 2024-04-10 12:09:22 +02:00
Florian Schade
f04be9f870 enhancement: same site strict cookies (#8716)
To enhance the security of our application and prevent Cross-Site Request Forgery (CSRF) attacks, we have updated the
SameSite attribute of the build in Identity Provider (IDP) cookies to Strict.
2024-04-10 11:42:48 +02:00
mmattel
31d13f06a2 [docs-only] fix two services readme to be inline with admin docs 2024-04-10 11:29:08 +02:00