Commit Graph
23044 Commits
Author SHA1 Message Date
Juan Pablo Villafáñez 9e7d570c79 fix: verify file id in URL matches the one inside the access token
We're using the file id from the access token, so changing the file id
in the URL shouldn't matter. However, the file id must represent a
single file.
It will also help to detect unwanted changes in the URL.
2024-08-13 15:04:19 +02:00
Ralf Haferkamp 3288602c50 tests: Adjust acceptance test for recent graph API changes
Searching for federated users requires a $filter now.
2024-08-13 14:40:12 +02:00
Ralf Haferkamp 99df9bd3bb graph: allow regular users to filter users by userType 2024-08-13 14:40:12 +02:00
Ralf Haferkamp 23ba6e4755 feat(graph): add support for filtering users by type
This add support for equality filters on the `userType` property of users
for the /users endpoint.

It also changes the behavior of the /users endpoint to only return
federated users when explicitly request via a `userType` filter.

E.g. to search for federated users with matching "albert" you can use:

`$filter=userType eq 'Federated'&$search="albert"`

Related Issue: #9702
2024-08-13 14:16:16 +02:00
Ralf Haferkamp 80631bd941 graph: remove some code duplication 2024-08-13 14:16:16 +02:00
Ralf Haferkamp 5355b449c1 cleanup(graph): move ocm user search to separate function 2024-08-13 14:16:16 +02:00
Salipa-Gurung 6fb5c228db added step for checking folder move activity 2024-08-13 17:18:40 +05:45
Salipa-Gurung dbb358b7fb added step for checking folder upload activity 2024-08-13 17:18:40 +05:45
Salipa-Gurung 317bb6cc2f refactor scenario for deletion activity 2024-08-13 17:18:39 +05:45
Salipa-Gurung 571625cb17 add test to check rename activity of file and folder 2024-08-13 17:18:32 +05:45
Martin f71b445fae Merge pull request #9793 from owncloud/text_fix_ocis_full
[docs-only] Text only, fix text defaults for ocis container (production/release)
2024-08-13 12:18:11 +02:00
mmattel bc9734ec70 [docs-only] Fix defaults for ocis container (production/release) 2024-08-13 12:09:04 +02:00
Jörn Friedrich Dreyerandkobergj 8da4e265bd Update services/graph/pkg/unifiedrole/unifiedrole.go
Co-authored-by: kobergj <jkoberg@owncloud.com>
2024-08-13 11:53:10 +02:00
Sawjan Gurung a519eedfdb Merge pull request #9786 from owncloud/tests/adjust-failing-tests
[tests-only][full-ci] adjust tests and expected-failure list
2024-08-13 15:28:27 +05:45
Juan Pablo Villafañez 465489ffeb Automated changelog update [skip ci] 2024-08-13 09:38:30 +00:00
Juan Pablo Villafañez bb78b16079 Merge pull request #9771 from owncloud/collaboration_connector_refactor
Collaboration connector refactor
2024-08-13 11:37:56 +02:00
Juan Pablo Villafañez 34fc544ef0 Automated changelog update [skip ci] 2024-08-13 09:36:24 +00:00
Juan Pablo Villafañez faf162704e Merge pull request #9684 from owncloud/collaboration_improved_tracing
feat: include additional metadata for tracing the collaboration service
2024-08-13 11:35:52 +02:00
Martin afc8f6bdd7 Merge pull request #9772 from owncloud/improve-full-deploy
[docs-only] Add variables to .env to configure the data- and config directory
2024-08-13 11:26:12 +02:00
Juan Pablo Villafáñez 0a8fd53dac chore: add changelog entry 2024-08-13 11:08:15 +02:00
Juan Pablo Villafáñez 90e2322bfa chore: add changelog entry 2024-08-13 10:21:26 +02:00
Viktor Scharf 206317997b Merge pull request #9731 from owncloud/test-activities-api-move
[tests-only] [full-ci] Test to check move activity of file
2024-08-13 10:20:51 +02:00
Viktor Scharf afdeb087cf Merge pull request #9769 from owncloud/list-multiple-shares
[tests-only][full-ci] add test to list multiple shares
2024-08-13 10:16:22 +02:00
mmattel 00f58a3a53 some text polishing 2024-08-13 09:49:09 +02:00
Salipa-Gurung 6c4c8bdffa refactor test steps 2024-08-13 13:13:58 +05:45
Salipa-Gurung 8f00e9cb60 add test to check move activity of file 2024-08-13 13:10:49 +05:45
Klaas Freitag c72168b348 Add variables to .env to configure the data- and config directory
That adds an way of having the volumes configured easily.
2024-08-13 09:12:37 +02:00
prashant-gurung899 f708de2691 add test to list multiple shares
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-08-13 12:48:56 +05:45
Saw-jan f8530c060c test: update expected-failure lines 2024-08-13 12:39:02 +05:45
dependabot[bot] f2c5077289 chore(deps): bump github.com/onsi/gomega from 1.33.1 to 1.34.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.33.1 to 1.34.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.33.1...v1.34.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 08:38:09 +02:00
dependabot[bot] ba7e67f73b chore(deps): bump github.com/tidwall/gjson from 1.17.1 to 1.17.3
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.17.1 to 1.17.3.
- [Commits](https://github.com/tidwall/gjson/compare/v1.17.1...v1.17.3)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 08:37:53 +02:00
Klaas Freitag 6f7f3d0706 Add a make target to create a changelog in csv format 2024-08-13 08:28:20 +02:00
Saw-jan 0bbbd76156 test: fix trashbin delete tests 2024-08-13 12:05:44 +05:45
Saw-jan f5edb57d33 test: fix tests and issue number 2024-08-13 12:05:44 +05:45
Saw-jan 1784577fe7 test: fix issue numbers 2024-08-13 12:05:44 +05:45
Jörn Friedrich Dreyer cd912a56c1 Automated changelog update [skip ci] 2024-08-12 15:19:43 +00:00
Jörn Friedrich Dreyer abe40fd65e Merge pull request #9784 from owncloud/add-enable-ocm-variable
add OCIS_ENABLE_OCM env var
2024-08-12 17:19:10 +02:00
Jörn Friedrich Dreyer d61e2c18b7 remove runtime changes for OCIS_ENABLE_OCM
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 16:53:56 +02:00
Jörn Friedrich Dreyer e201e04b5a Automated changelog update [skip ci] 2024-08-12 12:10:45 +00:00
Jörn Friedrich Dreyer 8dc924a9f2 Merge pull request #9778 from owncloud/change-ocmproviders-defaultpath
save ocm providers config file to config path (not user space)
2024-08-12 14:10:10 +02:00
Jörn Friedrich Dreyer f960ae4d64 add OCIS_ENABLE_OCM env var
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 13:48:23 +02:00
Martin 22f7fa0d14 Merge pull request #9782 from owncloud/fix_ocis_full_example 2024-08-12 13:30:19 +02:00
mmattel 9116b6bc40 [docs-only] Fixes to the ocis full deployment example 2024-08-12 12:58:34 +02:00
Jörn Friedrich Dreyer b7fdc59f21 change ocmproviders defaultconfig path
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 12:27:05 +02:00
Ralf Haferkamp 5ef865a402 graph: Add some test coverage for ocm enabled users endpoint 2024-08-12 12:16:16 +02:00
Ralf Haferkamp 80e8a2ec1a (fix)graph: Always set UserType in /users responses
LDAP users without a UserType attribute get the UserType "Member"
by default. Federated users get the UserType "Federated".

Related #9702
2024-08-12 12:16:16 +02:00
Martin 847d168b38 Merge pull request #9777 from owncloud/env_vars_yaml
[docs-only][chore] Update envvars yaml files
2024-08-12 12:13:55 +02:00
mmattel 252799db74 [docs-only][chore] Update envvars yaml files 2024-08-12 12:07:30 +02:00
Juan Pablo Villafáñez 29700046d7 docs: add missing code comments in the middlewares 2024-08-12 12:00:42 +02:00
Phil Davis 4aea7d24c4 Merge pull request #9754 from owncloud/tests/adjust-COPY-tests
[tests-only] fix COPY to mountpoint tests
2024-08-12 15:20:11 +05:45