Commit Graph
303 Commits
Author SHA1 Message Date
Prajwol Amatya 44a46faae0 [tests-only][full-ci] test: non-admin user get the detail of group along with group members (#12981)
test: non-admin user get the detail of group

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-09-24 12:15:08 +05:45
Nalem7 e75c48765c [tests-only][full-ci] test: add bug coverage tests for tag removal (#12655)
test: add coverage for idempotent tag removal

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2026-08-14 17:03:41 +05:45
Gaurav Soni ef41e736d1 fix: [OCISDEV-388] renaming a resource to its current name is a no-op (#12784)
A MOVE whose source and destination resolve to the same resource is now
answered with 204 No Content server side instead of a confusing 403 or
404, and instead of 409 Conflict on the id based dav route, so every
client behaves the same way. The no-op still requires the move
permission.

The server-side guard lives in reva (owncloud/reva#708 and the follow-up
owncloud/reva#713, which moves the guard above the recursion checks so it
is also reached when the request addresses the resource by its id).
Pulled in here by bumping reva to v2.0.0-20260813121157-d386075a0421.
vendor/ was regenerated with `go mod vendor`; no hand edits.

On the test side the @issue-1976 tags are dropped from the five MOVE
feature files and the corresponding entries are removed from both
expected-failures lists. Scenario Outlines that mix roles with and
without the move permission parameterize the expected status in an extra
http-status-code Examples column rather than being split into duplicate
scenarios. The gherlint newline_before_scenario rule is configured as
["error", 2, true], counting tag lines toward the total, so the eight
scenarios that lost their tag get back the blank line it occupied.

Drop the "viewer" row from the same-name Examples table in
moveByFileId.feature: "viewer" is not a valid space role for a
permissionsRole invitation, so the step errored with
Role 'viewer' not found, and the "Space Viewer" row already covers
the 403.
2026-08-14 10:50:35 +02:00
Michal Klos 6d3e10c120 fix: [OCISDEV-660] harden GetUserDrive (#12742) 2026-08-11 08:27:14 +00:00
isha 40d257726a [test-only][k8s]test(ci): run test on kubernetes deployment (#12654)
* test(ci): run test on k8s deployment

* chore: update authapp in config

* chore: update storageusers in config

* chore: update version and envs

* chore: normalize service name
2026-08-07 11:31:05 +05:45
Kavita gautam 37222116c0 [tests-only][full-ci]: Add search operator test coverage for metadata queries (#12508)
test: metadata search operator updates
2026-07-10 16:30:13 +05:45
Pradip Subedi e4d15f3027 [tests-only][full-ci] test: add spaceId to remoteItem in incoming shares (#12485)
* test(apiSharingNg): add spaceId to remoteItem in incoming shares acceptance tests

* test(apiSharingNg): refactor expected failure file
2026-07-02 15:05:30 +05:45
David WalterandClaude Opus 4.8 4db7b89a44 fix(proxy): use events endpoint (not cluster id) for the readyz NATS check (#12421)
* fix(proxy): use events endpoint (not cluster id) for the readyz NATS check

The proxy readiness handler passed Events.Cluster (the cluster ID) to
NewNatsCheck, which forwards it to nats.Connect as an address. NATS then tried
to resolve the cluster ID as a host name and always failed, so /readyz reported
the proxy as not ready regardless of NATS reachability. Every other service
passes Events.Endpoint; the proxy now does too.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>

* test: drop now-passing proxy readiness expected-failure

The proxy /readyz fix makes serviceAvailabilityCheck.feature:115 ("check default
services readiness (graph, idp, proxy)") pass, so remove it from the expected
failures. The auth-bearer health/readiness entries (:124, :135) remain, as they
are a separate part of #10661 not addressed here.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>

---------

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 11:42:53 +02:00
Niraj Acharya 3b23b4e63f test: add test for searching with metadata 2026-05-05 12:27:44 +05:45
Michal Klos 85b2e8b334 feat: [OCISDEV-779] reduce ci duration, libcurl (#12193)
* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl
2026-04-09 22:57:33 +02:00
Sawjan Gurung 39192c7bea ci: use existing servers (#12100)
* ci: enable k8s setup for remaining suites

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: use existing servers

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix mail setup

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix tika

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix csp directives

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: merge ocm provider configs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix notification tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix script file

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: enable ocm server logs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix pattern

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix cluster wait

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: run auth-app only when required

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix sharing tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-03-12 10:46:13 +05:45
Roman Perekhod 0b6bd5ee68 fix: fix the error handling for empty name on space update 2026-01-20 20:24:44 +01:00
Ashim Shrestha bec95e7ea7 test: add test for updating space name to an empty string
Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>
2026-01-06 14:01:09 +05:45
Sawjan GurungandKavita Gautam e5a2c8e6e5 test: include failed hooks in expectd failures (#11764)
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Kavita Gautam <kavita@jankaritech.com>
2025-10-28 13:02:59 +05:45
Roman Perekhod 2c7f57865f feat: [OCISDEV-282] user type upgrade/downgrade (#11678)
* feat: [OCISDEV-282] user type upgrade/downgrade
* the storage utils pkg separated
* extended the test coverage
* the failures added to expected
2025-09-26 17:04:01 +02:00
mschlachter 7cba4c69d2 feat: Add optional custom label when creating app token using api (#11555)
* Add optional custom label when creating app token using api

* Add acceptance test for custom app token label

* Update auth-app README to account for new POST query param

* Add changelog for app token labels

* Fix variable name + spacing

* Add missing context for acceptance test

* Fix references to expected failures in acceptance tests
2025-07-29 21:34:32 +02:00
Roman Perekhod 6363fc260a Merge pull request #11543 from 2403905/issues/OCISDEV-209
fix: [OCISDEV-209] fix graph create link endpoint
2025-07-18 09:31:49 +02:00
Roman Perekhod 240cd3e44e fix: [OCISDEV-209] fix graph create link endpoint 2025-07-17 22:41:54 +02:00
Roman Perekhod 1157aedf0e fix: [OCISDEV-198] Fix space root handling in a graph sharedByMe 2025-07-16 08:57:26 +02:00
pradip 6694bf1048 test: add test for checking activities without itemId 2025-07-11 12:17:41 +05:45
Pradip Subedi b0cca617a5 Merge pull request #11501 from owncloud/test/activities-filter-limit-0-and-1
[tests-only] [full-ci] Add test for checking activities with limit filters applied
2025-07-09 12:11:02 +05:45
Michal Klos 4b45d09fb2 feat: [OCISDEV-60] add GET /v1bea1/drives/<drive-id>/items/<item-id>/permissions support 2025-07-07 18:07:30 +02:00
pradip 17099fa960 test: add test for checking activities with limit filters 2025-07-07 14:28:58 +05:45
pradip a56938fa50 test: add test for checking activities after restoring file 2025-07-04 12:15:04 +05:45
Sawjan Gurung 603d61e811 Merge pull request #11336 from owncloud/test/enable-disable-share-sync
[tests-only][full-ci] add API test to enable share sync after disabling
2025-06-30 16:26:18 +05:45
Sawjan Gurung 688e956eeb Merge pull request #11401 from owncloud/test/refactor-json-response-for-activities
[full-ci][tests-only] Refactor json response for activities api
2025-06-30 12:21:28 +05:45
Saw-jan 9cd6885d04 test: update expected-failure file
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-30 12:19:16 +05:45
Roman Perekhod 443c8b6675 [OCISDEV-141] Fix storage-users cli 2025-06-25 23:23:39 +02:00
pradip 150b6f5d04 test(refacor): add empty value for id 2025-06-20 16:47:40 +05:45
Saw-jan b64384a205 test: refactor upload expired cli test scenario
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 10:31:27 +05:45
Saw-jan 795f1fa6c8 test: fix restarting upload sessions
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 09:31:17 +05:45
Prajwol Amatya d5f7f233dd resume all uploads sessions 2025-06-16 11:31:53 +05:45
Sawjan Gurung e4fce139b6 Merge pull request #11397 from owncloud/test/activities-adding-file-into-folder
[tests-only][full-ci] check activities after uploading file into a folder using file-id
2025-06-16 11:30:57 +05:45
pradip 0fd8ed725a test: check activities after uploading file into a folder using file-id 2025-06-16 10:46:49 +05:45
Saw-jan 2e8957e109 test: split link share test suite
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: update expected-failure list

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: group test scenarios

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: refactor more test scenarios

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-16 10:09:26 +05:45
Saw-jan a75902fb9d test: split internal link share scenarios
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: split internal quick link share scenarios

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-16 10:09:26 +05:45
Julian Koberg 8a3e113cb9 fix(ocis): extend expected failures
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-06-12 14:08:02 +02:00
Saw-jan 2ea184ced5 test: update expected-failure list
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-10 09:27:51 +05:45
Sawjan Gurung da4ae092f3 Merge pull request #11382 from owncloud/test/fileID-activities-deleting-0-byte-file
[tests-only][full-ci] Check activities after deleting a file using file-id
2025-06-03 16:45:11 +05:45
Sawjan Gurung 34a8b9a4fd Merge pull request #11337 from owncloud/tests/get-single-permission
[tests-only][full-ci] add test for list single sharing permission for a drive
2025-06-03 09:59:07 +05:45
nabim777 45343c6c8b tests: add test for list single permission
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2025-06-02 17:13:19 +05:45
pradip 550acd6af8 test: check activities after deleting 0 byte file using file-id 2025-06-02 16:08:28 +05:45
pradip ac6265cc1b test: check activities after copying 0 byte file 2025-05-30 16:46:52 +05:45
Saw-jan 83ff4d32a3 test: check setting value after update
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-26 10:59:41 +05:45
nabim777 a5a298245a tests: add test for list single permission for resources
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2025-05-23 17:08:37 +05:45
Saw-jan 8337b27168 test: skip flaky api test
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-16 15:45:03 +05:45
Amrita 759f3b254d Merge pull request #11306 from owncloud/add-test-for-searching-user-with-filter
[full-ci][tests-only]Add tests for searching user
2025-05-14 14:47:25 +05:45
amrita 4d9dfe16e5 add tests for searching user with filter 2025-05-13 14:17:27 +05:45
Saw-jan 0dd08944e0 test: check resource creation with share creation
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-13 12:13:09 +05:45
Saw-jan 7aab79deba test: fix resource path when using spaces path with Shares space
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: remove unwanted changes

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: check resources by sharer

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-12 13:50:59 +05:45