Commit Graph

12649 Commits

Author SHA1 Message Date
Daniel Swärd 525638588d graph: Fix so that accountEnabled updates work for educationUser. 2023-03-17 10:16:39 +01:00
Prarup Gurung 110f3312ed Merge pull request #5860 from owncloud/remove-log-file-related-codes-master
[full-ci] [tests-only] Remove log file related codes master
2023-03-17 14:32:25 +05:45
Prarup Gurung 9f99d03fc8 Removed LoggingContext and LoggingHelper 2023-03-17 12:33:26 +05:45
Prarup Gurung 0f9ff603bd Removed log file related steps and implementation 2023-03-17 12:33:18 +05:45
ownClouders 5533a7382e [tx] updated from transifex 2023-03-17 00:43:05 +00:00
Benedikt Kulmann d409effa57 [full-ci] chore: bump web to v7.0.0-rc.21 (#5849)
* chore: bump web to v7.0.0-rc.21

* Update .drone.env

* Update .drone.env

fixing move copyMove.feature test

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-03-16 19:04:07 +01:00
Martin 22a74ceaf8 Merge pull request #5859 from owncloud/mmattel-patch-1
[docs-only] Fix edit path for port-ranges.md
2023-03-16 16:24:04 +01:00
Martin bba6a30f0c [docs-only] Fix edit path for port-ranges.md
This fixes the edit path for the `port-ranges.md` file.
Missed to correct it.
2023-03-16 16:12:34 +01:00
Martin 2d89b33e06 Merge pull request #5857 from owncloud/make_missing_services_appear_in_dev_docs
[docs-only] Adds missing services and fixes content for owncloud.dev
2023-03-16 16:04:03 +01:00
mmattel 23ee8615c6 [docs-only] Adds missing services and fixes content for owncloud.dev 2023-03-16 15:03:29 +01:00
dependabot[bot] 16985d6bf4 Bump github.com/go-micro/plugins/v4/client/grpc from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/client/grpc](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/client/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 09:08:30 +01:00
dependabot[bot] 14ba87f39c Bump github.com/gofrs/uuid from 4.3.1+incompatible to 4.4.0+incompatible
Bumps [github.com/gofrs/uuid](https://github.com/gofrs/uuid) from 4.3.1+incompatible to 4.4.0+incompatible.
- [Release notes](https://github.com/gofrs/uuid/releases)
- [Commits](https://github.com/gofrs/uuid/compare/v4.3.1...v4.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 09:08:02 +01:00
Prarup Gurung ad061c661f Merge pull request #5838 from owncloud/remove-runOcc-method-from-FeatureContext-master
[full-ci] [tests-only] Remove `runOcc` method from `FeatureContext`
2023-03-16 10:01:16 +05:45
Michael Barz 5a54c8a8b5 Automated changelog update [skip ci] 2023-03-15 23:21:04 +00:00
Michael Barz b31126de90 Merge pull request #5848 from owncloud/update-reva
[full-ci] add read_write_delete key to public link pw enforcement capabilites
2023-03-16 00:20:29 +01:00
ownClouders 25a6693bdf [tx] updated from transifex 2023-03-15 23:03:14 +00:00
Michael Barz 8332244383 add read_write_delete key to public link pw enforcement capabilites 2023-03-15 23:11:03 +01:00
Jörn Friedrich Dreyer 6efccc69d9 bump reva to 53ed6a88 (#5845)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-15 17:16:33 +01:00
Prajwol Amatya ea8181548a added test for getting non-existing group (#5830) 2023-03-15 21:17:41 +05:45
Ralf Haferkamp 8b704085ce Allow ADMIN_USER_ID being empty (#5842)
For certain setups we don't need the ADMIN_USER_ID to be set. It is
mainly needed for bootstrapping the internal idm and the initial role
assignment.  If roles are assigned by other means (e.g. OIDC claims
in the future) we don't need it.

This makes the ADMIN_USER_ID optional, also if ADMIN_USER_ID is unset
we don't need to configure a password for the admin user. We will still
generated the admin_id and password when running 'ocis init', but it is
ok to run manual setups without those settings.
2023-03-15 16:15:18 +01:00
dependabot[bot] 901c447487 Bump github.com/tus/tusd from 1.10.0 to 1.10.1 (#5833)
Bumps [github.com/tus/tusd](https://github.com/tus/tusd) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/tus/tusd/releases)
- [Commits](https://github.com/tus/tusd/compare/v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/tus/tusd
  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>
2023-03-15 15:51:14 +01:00
Ralf Haferkamp 81c0f21f78 graph: Allow to disable the default role assignment on user creation
Introduces a switch ('GRAPH_ASSIGN_DEFAULT_USER_ROLE') to allow to disable the assignment of the default role "User" to newly created users.
This will be used for setups where the role-assignments are populated either manually or during first login (e.g. from OIDC claims)
2023-03-15 15:42:57 +01:00
Ralf Haferkamp b4b0f7abe7 graph: Skip default role assignment for education/users
For the education/users endpoints the role assignment does not
need to happen when creating a new user.
2023-03-15 15:42:57 +01:00
kobergj 58026b0a0e Merge pull request #5839 from kobergj/FixDocsCreation
[docs-only] Fix Docs Creation
2023-03-15 14:43:36 +01:00
Daniel Swärd 6327edf574 graph: Change so that educationUsers can be created without email. 2023-03-15 14:43:22 +01:00
Michael Barz a24456fb6a Merge pull request #5835 from owncloud/fix-l10n
[tests-only] raise percent setting and remove empty .po files
2023-03-15 13:12:59 +01:00
jkoberg fb4f05339b adjust pages_directory to new version
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-15 12:39:41 +01:00
Prarup Gurung 01c1f63c39 Fixed line numbers in expected failure 2023-03-15 17:17:02 +05:45
Prarup Gurung aac714be9a Removed method runOcc from FeatureContext, and refactored code 2023-03-15 17:16:54 +05:45
Daniel Swärd 6f7bd454b2 Fix so that userType is not returned if not available. 2023-03-15 12:05:29 +01:00
Daniel Swärd b12b2d2bac Updating env variable description for userType attribute. 2023-03-15 12:05:29 +01:00
Daniel Swärd 23ba180e8a graph: Use userType property to distinguish between Member and Guest accounts
Fixes 5603

- Calling POST /graph/v1.0/users with userType not set will create a user as "Member"
- Calling POST /graph/v1.0/users with userType set as "Member" or "Guest" will create a user as "Member" or "Guest"
- Calling POST /graph/v1.0/users with userType set as anything but "Member" or "Guest" returns error
- Calling POST /graph/v1.0/education/users with userType not set will create a user as "Member"
- Calling POST /graph/v1.0/education/users with userType set as "Member" will create a user as "Member" and primary role as parameter specifies
- Calling POST /graph/v1.0/education/users with userType set as "Guest" will create a user as "Guest" and primary role as parameter specifies
- Calling POST /graph/v1.0/education/users with userType not set as anything but "Member" or "Guest" returns error
- Calling PATCH on /users or /education/users will update attribute in the same way as for POST
2023-03-15 12:05:29 +01:00
Michael Barz afddd4273c raise percent setting and remove empty .po files 2023-03-15 12:03:41 +01:00
Prajwol Amatya 36d0c8c939 Merge pull request #5791 from owncloud/forwardport-test-for-getting-group-with-utf8-characters-in-name
[tests-only][full-ci] Forward-port added test for getting group with UTF-8 characters in name
2023-03-15 16:06:03 +05:45
ownClouders 71f132ba35 [tx] updated from transifex 2023-03-15 09:24:06 +00:00
ownClouders 7b133b26cc [tx] updated from transifex 2023-03-15 09:05:16 +00:00
Michael Barz e094796ec7 fix transifex resource name 2023-03-15 10:00:02 +01:00
Michael Barz f45b3e07e7 fix l10n 2023-03-15 09:47:10 +01:00
prajwol ce9ad277f9 added test for getting group with UTF-8 characters in name 2023-03-15 14:31:24 +05:45
dependabot[bot] b8ebc1def0 Bump github.com/go-micro/plugins/v4/server/http from 1.2.0 to 1.2.1
Bumps [github.com/go-micro/plugins/v4/server/http](https://github.com/go-micro/plugins) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v4/auth/jwt/v1.2.0...v4/server/http/v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/server/http
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 09:40:12 +01:00
Amrita 15a4941281 Add tests to add user in a group at once (#5831) 2023-03-15 13:58:04 +05:45
Prajwol Amatya e836b2d138 added test for getting details of a single group (#5760)
addressed reviews

updated steps with JSON drill-down functionality

reviews addressed

fixed linter error

conflicts resolved

fixed errors

addressed reviews
2023-03-15 12:10:59 +05:45
Sagar Gurung 67296caf14 Forward port json drill apispaces (#5818)
* Added json schema for response check in apiSpaces suite

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review Address

* Added schema for space management feature

* Added new schema asper change in master

* fix feature file

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-03-15 10:06:58 +05:45
Swikriti Tripathi 173850a35c [tests-only][full-ci] Add tests for checking the end of expiration date (#5819)
* Add tests to check the end of an expiration date

* fix style

* fix style

* enable group share test

* skip group share test on ocis
2023-03-15 09:27:45 +05:45
Martin 872f72b3c7 Merge pull request #5827 from owncloud/fix_envvar_description
[docs-only] Syncing one frontend envvar description from backport
2023-03-14 17:23:14 +01:00
David Christofas 784f42e186 Automated changelog update [skip ci] 2023-03-14 15:56:47 +00:00
David Christofas 5ddf7334c8 Merge pull request #5826 from rhafer/issue/3432
Avoid repeated default role assignment
2023-03-14 16:56:19 +01:00
mmattel dd372203d3 [docs-only] Syncing one frontend envvar description from backport 2023-03-14 16:33:24 +01:00
Florian Schade a58466825c Automated changelog update [skip ci] 2023-03-14 15:09:35 +00:00
Ralf Haferkamp 46acc8f1ee Fix default assigments for demo and admin users
When using metadata backend the default role assignments for the demo users
where create independed of whether the demo users are were actually requested
to be created. This also fixes the name of the env var for enabling the demo
users. This was missed when moving from the accounts service to graph/idm for
user management.
2023-03-14 16:08:37 +01:00