Commit Graph
30 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer 0d969c3179 thumbnails: drop the enable_vips build flag
The thumbnails service now always resizes in pure Go. Deployments that
want more formats, webp output or an attention crop run a real imagor
and point WEBDAV_THUMBNAILS_GENERATOR_URL at it. The built-in service
stays as a minimal fallback that keeps working when imagor or libvips
have to be taken out, for example during a security issue.

Without cgo dependencies the docker images link statically again and no
longer need the vips packages. The vips parity run in CI goes away, the
regular test run already covers the pure Go build.

The preview fixtures of the acceptance tests were rendered by libvips,
so they are regenerated with the pure Go build. Text previews now lose
their left edge: the 640x480 text canvas is filled into a square box
and the pure Go build crops the centre, where libvips' attention crop
kept the left side with the text.

part of https://github.com/opencloud-eu/opencloud/issues/3912

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-12 15:41:35 +01: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
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
Artur NeumannandViktor Scharf 81bbb5c4cb [full-ci] run tests with VIPS enabled (#1420)
* [full-ci] run tests with VIPS enabled

* fix

* fix

---------

Co-authored-by: Viktor Scharf <v.scharf@opencloud.eu>
2025-09-05 10:55:35 +02:00
Viktor Scharf 503bd8d826 fix preview tests 2025-01-20 15:31:45 +01:00
Niraj Acharya 6fd5630f71 tests: adding test coverage for thumbnail service 2024-12-30 11:33:07 +05:45
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Prajwol Amatya 33a99d6de3 extend webdav tests for old, new and spaces path 2024-11-19 09:07:45 +05:45
prashant-gurung899 d7fc256009 add test to download preview with all processors
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-09-25 11:42:17 +05:45
prashant-gurung899 417294e520 add test to download preview with preview set to zero
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-09-25 09:51:31 +05:45
Saw-jan 3883e17b52 test: ensure share is available 2024-07-24 11:35:45 +05:45
Prarup Gurung 1a3f44fc0a previews.feature: Used sharingNG for sharing in given step 2024-05-21 08:55:53 +05:45
Prarup Gurung ba7d91ebce Used kebab case for example table header name 2024-03-21 09:06:38 +05:45
Sawjan Gurung 8eb7f7aa96 [tests-only] skip sharing tests in reva (#7591)
* do not use spacesContext

* skip sharing tests in reva

* update expected failure list

* do not cleanup status codes

* skip shares tests in reva

* update expected failure list
2023-10-27 12:37:09 +05:45
Viktor Scharf a9ddfec182 [test-only] fix tests after auto-accepting enabling (#7527)
* fix test

* fix preview test
2023-10-19 16:29:10 +02:00
Viktor Scharf c179485db6 [full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test

* go format
2023-10-17 16:29:05 +02:00
Prajwol Amatya 25b5b6bee1 added test coverage for previewing shared resources using spaces dav path (#7472) 2023-10-13 11:51:08 +05:45
Prajwol Amatyaandamrita fa749529a9 [tests-only][full-ci ]Forwardport add test coverage for file preview using space dav version (#7266)
* Add tests for preview using space dav~

* use makeDavRequest to get preview of resource

---------

Co-authored-by: amrita <bunnycrestha34@gmail.com>
2023-09-12 12:05:55 +05:45
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Sawjan Gurung d7dd979897 [tests-only][full-ci] Fix preview test scenario (#6931)
* fix preview test scenario

* setup ocis with custom fonts

* remove passing test from expected-failure
2023-08-01 17:33:43 +05:45
Nalem7 6e45113e76 add tag skipOnReva (#6809) 2023-07-14 20:26:16 +05:45
Amrita 4bf2972521 Add test for animated gif preview (#6693) (#6766) 2023-07-11 14:44:45 +05:45
prajwol ab1de656ad refactoring feature files 2023-06-08 13:03:46 +05:45
Prarup Gurung e208b3018a Removed step and implementation of setting share auto accept 2023-05-08 09:01:54 +05:45
Prarup Gurung f3bf0894fc Removed core issue tag, refactored ocis-reva, ocis issue tag 2023-03-31 17:27:18 +05:45
Prarup Gurung d09d29df9e Removed scenarios, system configuration setting is not available 2023-02-28 13:03:05 +05:45
Prarup Gurung 8541081d76 Removed system config setting steps 2023-02-28 11:21:06 +05:45
Prarup Gurung 3419eacb6d Removed step and implementation setting default share folder 2023-02-23 15:32:27 +05:45
Prarup Gurung 984f848cbd Removed scenarios tagged with notToImplementOnOcis tag 2023-02-15 09:05:07 +05:45
Saw-jan c59392bc1e copy feature files from core 2023-01-05 09:22:52 +05:45