Commit Graph
36 Commits
Author SHA1 Message Date
Alex b2cf7a965f fix(csp): allow blob: in style-src for EPUB reader iframe (#3300) 2026-08-13 13:16:04 +02:00
Michael Stingl 3893be6ed1 test(coreApiWebdavOperations): download a file with a literal "%" via its oc:downloadURL (#3079)
A file whose name contains a literal "%" 404s on download because the
server-built oc:downloadURL did not percent-encode the path (#2852, fixed in
reva by https://github.com/opencloud-eu/reva/pull/653). Add a scenario mirroring
the web client download flow: read the oc:downloadURL from PROPFIND and GET it
as-is (the signature in the URL authenticates it), asserting 200 and the content.

The new step "user X downloads the P file via its oc:downloadURL" lives in
WebDavPropertiesContext; a regex annotation avoids the ":" in oc:downloadURL
colliding with the turnip :placeholder syntax.

Verified red->green on posix and decomposed: red on an opencloud built on a reva
with the fix reverted (the download 404s), green on the shipped reva.

https://github.com/opencloud-eu/opencloud/issues/2852
2026-07-17 14:20:00 +02:00
Ralf Haferkamp c33850f213 Reapply "adapt test for #514 (#2255)" (#2305)
This reverts commit f21207ed96.
2026-02-09 14:23:24 +01:00
Ralf Haferkamp f21207ed96 Revert "adapt test for #514 (#2255)"
This reverts commit 400dc9f8ae.
2026-02-05 10:33:26 +01:00
Viktor Scharf 400dc9f8ae adapt test for #514 (#2255) 2026-02-03 19:51:33 +01:00
Viktor Scharf 567e8a7e8c api-test: upload-rename-download file with back slash (#2239) 2026-02-02 07:59:51 +01:00
Benedikt KulmannandViktor Scharf 487a2a0aa6 fix: add update server to default csp rules (#1875)
* fix: add update server to default csp rules

* adapt tests

---------

Co-authored-by: Viktor Scharf <v.scharf@opencloud.eu>
2025-11-21 17:13:22 +01:00
Tyler Morgan 788b54267a Correct app store URL (#1412) 2025-09-01 10:52:42 +02:00
Viktor Scharf 1c23e8a3a2 run all core tests 2025-01-21 17:25:00 +01:00
Viktor Scharf 9db4693a9e rebranding tests 2025-01-16 17:39:02 +01:00
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
Viktor Scharf b09fda0b2d fix tests 2024-09-09 07:56:03 +02:00
Viktor Scharf 3a9cf9857b fix tests 2024-08-19 10:01:26 +02:00
amrita e3195eed24 remove reve master tag 2024-07-08 14:48:40 +05:45
Jannik Stehle 4e7044f915 test: fix content-disposition in acceptance tests 2024-07-08 09:24:35 +02:00
Roman Perekhod 572b32075e adapt test 2024-07-08 09:24:35 +02:00
Michael Barz 75213c53eb tests: fix test expectations 2024-06-10 17:57:54 +02:00
Michael Barz 817b6e3e96 tests: fix test expectations for multipart 2024-06-06 13:46:15 +02:00
Thomas Müller 03bd1d5272 fix: CSP frame-src to enable PDF viewing (#9313) 2024-06-04 14:29:21 +02:00
Thomas Müller 9bc958e8be fix: token refresh in single binary and wopi deployment example (#9167) 2024-05-16 18:20:18 +02:00
nirajacharya2 9db4c51572 removing usage of a stepdefination inside another stepdefination in Provisioning (#8892) 2024-05-02 15:36:03 +05:45
Sawjan Gurung 5c7c363e2b [tests-only] add API tests for file download and rename edge cases (#9018)
* test: add API tests to download deleted file

* test: add more MOVE/rename API tests

* do not reuse step def method

* remove unused step

* fix typo

* fix tests

* update expected failure

* update expected failure
2024-05-02 12:21:35 +05:45
Thomas Müller bdbba929d0 feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Prarup Gurung ba7d91ebce Used kebab case for example table header name 2024-03-21 09:06:38 +05:45
Sawjan Gurung 24da3631db [tests-only] API test coverage content-disposition header with filename having quotes (#8390)
* extend content-dispostion tests

* extend content-dispostion tests
2024-02-07 17:44:55 +05:45
Saw-jan fc5a8f967b test: API coverage for Content-Disposition header with file having comma 2024-02-07 11:39:43 +05:45
Phil Davis ee533d55cd Update downloadFile feature for expected Content-Disposition 2024-02-07 09:23:50 +05:45
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Sabin Panta f2498e1fdf Refactoring example table scenerio (#6697) 2023-07-12 12:42:32 +05:45
prajwol ab1de656ad refactoring feature files 2023-06-08 13:03:46 +05:45
Prarup Gurung d31f544a9f [full-ci] [tests-only] Removed tag personalSpace, and refactored the example tables (#6250)
* Refactored personalSpace tagged scenarios

* Fixed line numbers in expected failure
2023-05-25 17:50:00 +05:45
amrita 56a64b98ee Remove tag skipOnOcV10 2023-05-04 12:42:14 +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 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