Commit Graph
2683 Commits
Author SHA1 Message Date
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
Alex Ababii 7aa5b467f6 cli: fix for cleanup call 2026-09-01 10:03:34 +02:00
Alex Ababii 983c836653 cli: restore single item from trash bin, listing on empty thrash bin 2026-09-01 10:03:34 +02:00
Dominik Schmidt 77bb974f9b test(search): run acceptance and CI against the released tika 4.0.0
Both tika pins (local compose and the CI service) point at apache/tika:4.0.0-full; the search README links tika version-less.
2026-09-01 09:09:55 +02:00
Florian Schade bd4287762e fix(search): answer the same on both engines
both engines now agree on names, titles, tags, paths, types, sizes, dates,
hidden flags, facet values and wildcards. quotes only delimit phrases and
the equals operator matches the whole field value, following the kql spec.
the index name carries a generation so a changed mapping starts on a fresh
index, MIGRATION.md says how to fill it.
2026-08-31 10:44:03 +02:00
Florian Schade 18759b0183 test(search): cover a deleted space on both engines 2026-08-28 19:38:09 +02:00
Sawjan Gurung cc8a161fce test(api): update php test dependencies (#3335)
* test: update php dependencies

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

* test: use custom tus client

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

* test: fix php code style and commands

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

* test: use doctrine coding standard

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

* test: convert headers value to string

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

* test: initialize phpunit config

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

* test: fix tus upload

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

* test: fix php code style

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

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-08-21 19:38:34 +02:00
Jannik Stehle e1aff97fe2 Merge pull request #3377 from opencloud-eu/fix/vips-thumbnail-height
fix(thumbnails): respect the requested height in libvips builds
2026-08-21 09:38:16 +02:00
Jörn Friedrich Dreyer 962b425078 test for Allow Methods returned by tus
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-08-21 08:16:26 +02:00
Jörn Friedrich Dreyer f065e8acdc expect only the tus related cors allow header values
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-08-21 07:34:47 +02:00
Jörn Friedrich Dreyer 898b6e3479 tus always returns 200 on OPTIONS requests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-08-21 07:34:46 +02:00
Jannik Stehle d562d44edf fix(thumbnails): respect the requested height in libvips builds
The libvips generator passed 0 as the target height to vips_thumbnail,
so the value was rejected and dropped.

As a result, a preview of a 4000x5000 portrait image requested with e.g.
x=500&y=500 returned a ...x1920 image instead of a ...x1080 one, which
would be the next correct size in the pre-defined resolutions list. This
was due to the missing height, so it used the width (=1920) to determine
the longest side.

This also aligns it with the non-libvips behavior.
2026-08-20 19:11:28 +02:00
Florian Schade b62af81bde Merge pull request #3361 from fschade/fix-search-opensearch-queries
fix(search): fix open-search kql field compilation
2026-08-20 13:39:22 +02:00
Pascal Bleser f88765ed7f fix(acceptance): fix running acceptance tests against host on Linux (#3358)
Add an entry host.docker.internal -> host-gateway entry to the
acceptable tests container in tests/acceptance/docker/src/acceptance.yml
in order to be able to run them against an opencloud server running on
the host on Linux as well.

Reference: https://www.baeldung.com/ops/docker-compose-add-host
2026-08-20 10:56:24 +02:00