Commit Graph
2696 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer 9c7ecc1755 Merge pull request #3946 from pbleser-oc/fix/graph-reject-empty-drive-name
fix(graph): reject empty and invisible drive names on update
2026-11-11 13:31:32 +01:00
Sara Ahmadi cb3a906cb6 Merge pull request #3928 from asaah262/feat/899-get-single-sharing-permission
feat(graph): add GET endpoints for single sharing permissions
2026-11-11 12:14:42 +01:00
Jörn Friedrich Dreyer a2c24749a6 Merge branch 'main' into workpagages 2026-11-11 11:54:21 +01:00
Sara Ahmadi 64a1ac8339 feat(graph): add GET endpoints for single sharing permissions
Assisted-by: Claude Code:claude-opus-5-5
2026-11-10 18:18:01 +01:00
Pascal Bleser 0e265282d2 fix(graph): reject empty and invisible drive names on update
Updating a drive with an empty name ("name": "") succeeded and silently
kept the old name, because the name was only validated when it was
non-empty. Validate it whenever the request contains it, so an empty
name is rejected with 400 like on create. A request without a name, or
with "name": null, still leaves the name unchanged.

Space names were trimmed with strings.TrimSpace, which only removes
Unicode whitespace. Invisible formatting characters such as the
zero-width space (U+200B), the word joiner (U+2060) or the byte order
mark (U+FEFF) aren't whitespace, so a name made only of them was
accepted on create and on update, and showed up as an empty name in
every client. Trim these characters from both ends of the name as
well. Inside a name they are still allowed, since some of them are
needed there, e.g. the zero-width joiner in emoji sequences.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-10 17:16:37 +01:00
Christian Richter 25534bb010 test(acceptance): add missing blank line before scenario in sharedByMe.feature 2026-11-10 14:38:07 +01:00
Roman Perekhod 1e9919f9ae fix: Fix space root handling in a graph sharedByMe
The drive item name was derived from the resource path. Space roots
have no path ("."), so e.g. the sharedByMe response reported "." as
the name of a shared project space. Use the name provided by the
storage provider and fall back to the base of the path if it is empty.

Adjust the sharedByMe acceptance scenario for link shares of a
project space accordingly: the space root item now carries the name of
the space.
2026-11-10 14:16:07 +01:00
Dominik Schmidt 44ef380168 fix(proxy): allow blob: in media-src for motion and live photo playback 2026-11-04 12:14:54 +01:00
Viktor Scharf a3b27e0856 chore: bump web to v8.2.0 (#3816) 2026-10-26 17:11:14 +01:00
Jörn Friedrich Dreyer a0ae8344d5 Merge pull request #3787 from fschade/feat-search-query-filter
feat(search): configurable query filter, leaves the personal space root and .space out by default
2026-10-23 16:48:38 +02:00
Viktor Scharf 4e318264ee tests: add acceptance tests for renewing guest links (#3753)
* tests: add acceptance tests for renewing guest links

Cover renewing a guest link with and without a session, the PIN, rate limiting and the expiry of the session and the PIN.

* tests: replay used PIN with its nonce in PIN-once scenario
2026-10-23 14:32:46 +02:00
Florian Schade 385062271d feat(search): turn the query filter into a template 2026-10-22 22:46:06 +02:00
Florian Schade 3fe11ea60a feat(search): configurable query filter 2026-10-22 20:05:31 +02:00
Dominik Schmidt 8a80d75363 refactor(webdav): keep ignoring the legacy a flag
OpenCloud never honored it, so clients were tested against an ignored a and honoring it now would change what they get.
2026-10-21 14:22:54 +02:00
Dominik Schmidt 16aadb4988 Merge remote-tracking branch 'origin/main' into imagor
# Conflicts:
#	tests/acceptance/expected-failures-decomposed-storage.md
#	tests/acceptance/expected-failures-posix-storage.md
2026-10-20 20:12:56 +02:00
Dominik Schmidt c6ac8748d8 refactor: name the thumbnail settings after the service, THUMBNAILS
The service is thumbnails and its released variables say so; the new ones said THUMBNAIL. None of them has shipped yet, so they are renamed rather than aliased. The input file size gains the shared OC_THUMBNAILS_ name, because webdav and the generator have to agree on it.
2026-10-20 18:08:34 +02:00
Alex Ababii 3d0706ad4f Merge pull request #3758 from maki5/feat/guestlinks_space_share
guestlinks: auth-guest service is handling space shared events
2026-10-20 10:20:34 +02:00
Viktor Scharf d0958f04c2 tests: check that a guest can only access the shared resource (#3752)
Make sure the guest session gives no access outside of the shared folder.
2026-10-19 20:55:29 +02:00
Alex Ababii 80d64ea92b feat(guestauth): remove tests from expected failures 2026-10-19 15:48:15 +02:00
Dominik Schmidt 3572410fc4 fix: answer the review, and read imagor's path the way imagor does
The push endpoint takes an empty filters segment, ignores an image key behind the box and computes a side given as 0 from the other one, all measured against both imagors and pinned in the parity suite. Plus the review leftovers: no em dashes, the request test on ginkgo, comments that contradicted the code, one stat for Head and generate, one thumbnail handler, the gif fit-in rounding of vips, and the new env names last so they win.
2026-10-19 14:57:35 +02:00
Dominik Schmidt f4792a0b02 fix(webdav): keep the acceptance contract for previews
An explicit x=0 or y=0 is an error again, only an omitted axis is unconstrained, and the text preview fixtures carry the resolution the generator writes now.
2026-10-19 14:57:35 +02:00
Dominik Schmidt 70002306a8 docs: describe the push endpoint and the preview settings as they are
The fixtures are named after what they are, and the leftovers of the
deleted grpc service are gone.
2026-10-19 14:57:35 +02:00
Dominik Schmidt 95fcc4c623 fix(webdav): snap each thumbnail axis onto a ladder of edge lengths
Each axis is rounded up on its own, so a square request can no longer land
in a landscape box, and the cache is keyed on the snapped box.
2026-10-19 14:57:35 +02:00
Jörn Friedrich Dreyer 81d0a86c35 refactor(webdav): drive the thumbnail workflow via the push-based generator
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-10-19 14:57:35 +02:00
Viktor Scharf 8517f84ea3 tests: add acceptance tests for sharing with guests via email (#3751)
Share resources with an email address via the sharingNg API and access them with the guest link from the email.
2026-10-19 11:39:48 +02:00
Florian Schade a4cf381fbb test(collaboration): expect ReadOnly in read-only and view-only sessions 2026-10-15 15:37:12 +02:00
micbar 518e50e8a3 fix: change the wording 2026-10-14 16:01:30 +02:00
micbar 5ce3fc371a test: changed behavior 2026-10-14 15:11:58 +02:00
Michael Barz 4e251fac48 Merge pull request #3713 from opencloud-eu/bump-reva
chore: bump reva to latest main
2026-10-14 10:17:18 +02:00
Viktor Scharf bc6f016323 api-test: check PROPFIND/REPORT has-preview (#3714) 2026-10-14 09:29:38 +02:00
micbar 55cd9d3400 test: add acceptance test 2026-10-13 17:07:52 +02:00
Sawjan Gurung 9bb2d22b39 test(api): simply HTTP request retry conditions (#3696)
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-10-12 12:37:35 +05:45
Viktor Scharf 658a782007 test: retry acceptance requests while share manager is migrating (#3681) 2026-10-09 09:33:57 +05:45
Viktor Scharf 3134526824 api-test: extend search tests (#3634)
* api-test: extend search tests

* adjust tets
2026-10-07 10:07:27 +02:00
Michael Barzandv.scharf b955c7c4f0 feat: add new editor roles (#3637)
* feat: add new editor roles

* add tests for additional roles

* fix: disable new roles in config

* adjust tests

* fix listGrantsShareRole test

---------

Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-10-05 14:07:30 +02:00
Dominik Schmidt 2282082349 test(search): run acceptance and CI against the released tika 4.1.0 2026-10-03 11:12:18 +02:00
Michael Barz a3255422b8 chore: bump reva to latest main (#3642) 2026-10-02 15:53:08 +02:00
Jörn Friedrich Dreyer eab5eb3528 api-test: wait for upload session cleanup after scenario
The AfterScenario hook only asserted that the clean command returned
200, but cleaning sessions happens asynchronously in the daemon. Poll
the session list until it is empty (60s deadline) so leftover sessions
do not leak into the next scenario.
2026-09-25 17:34:50 +02:00
Sawjan Gurungandv.scharf 8b024b8f1c [decomposed] test(api): remove passing notification tests from expected failure (#3555)
* test: remove passing notification tests from expected failure

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

* fix cleanupEmptyTrashBin.feature:5 test for decomposed

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-09-23 16:44:57 +02:00
Viktor Scharf f293031e40 api-test: add CLI test for reindexing all spaces including disabled (#3560) 2026-09-18 17:22:57 +02:00
Viktor Scharf 92560dbbdb [full-ci] chore: bump reva to 2.50.0 (#3531)
* chore: bump reva to 2.50.0

* increase timeout for extract properties tests
2026-09-15 10:13:55 +02:00
Viktor ScharfandFlorian Schade 35e4d4a3d6 api-test: retry token refresh on transient IDP failures (#3507)
* api-test: retry token refresh on transient IDP failures

* Fix retry condition in token exchange logic

* test: keep the retry limit a limit and the refresh fallback to exceptions

---------

Co-authored-by: Florian Schade <f.schade@icloud.com>
2026-09-11 14:56:57 +02:00
Alex Ababii 348890dda2 fix(test): removeAccessToSpace test helper (#3511)
* fix removeAccessToSpace test helper

* fix gherkin link
2026-09-11 11:58:00 +02:00
Viktor Scharf 994086ceb2 add search retry to all serach tests (#3500) 2026-09-09 15:21:23 +02:00
Dominik Schmidt b5cb1cd83b test(search): re-search until the expected files are in the result (#3488)
Indexing of newly uploaded resources is asynchronous; the search step
slept a fixed 10s and searched once, so under load a just-uploaded file
was missing from the result and the following assertion failed. The
search step now remembers its query, and new eventually-contain steps
re-run the search until the expected entries are present (or the
WaitHelper timeout elapses), then assert as before. contentSearch
scenarios use them for their positive assertions; the exact-count check
runs after the expected entries have appeared.
2026-09-08 14:50:49 +02:00
Dominik Schmidt 3b83221a87 test(search): retry the driveItem GET until the extracted properties match
Property extraction reaches the driveItem asynchronously, so the GET
step previously waited only until any extraction facet key appeared and
a separate step then validated the full schema, which could run on a
partial payload and fail intermittently. The GET and the status check
stay plain steps; a new explicit Then step re-fetches the item until
the response satisfies the expected schema (a partial never matches) or
the WaitHelper timeout elapses.
2026-09-08 13:39:00 +02:00
Alex Ababii 4a9b3f4002 upd test cases after intorduced fixes 2026-09-01 15:48:01 +02:00
Alex Ababii 5a7afe0bf6 Merge pull request #3348 from opencloud-eu/fix/posix_cli_commands
fix: posix cli commands
2026-09-01 14:07:17 +02:00
Alex Ababii c742ff6798 fix for trash purge empty dirs for posix 2026-09-01 10:03:34 +02:00
Alex Ababii a2d5ee2bc6 fix revisions purge cli command for posix 2026-09-01 10:03:34 +02:00