Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-10-30Update Testsacsfer
2021-10-30Tests updateacsfer
2021-09-23Merge pull request #27407 from nextcloud/backport/24966/stable20blizzz
[stable20] avoid fread on directories and unencrypted files
2021-09-13Add database ratelimiting backendLukas Reschke
In case no distributed memory cache is specified this adds a database backend for ratelimit purposes. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07Adjust testsLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07Resolve absolute path in testsLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-03Update EncryptionTest.phpJasper Knockaert
2021-09-032nd attempt to fix testsJasper Knockaert
2021-09-03attemtp to fix testJasper Knockaert
2021-08-16Use IURLGenerator function to get value of `\OC::$WEBROOT` globalJonas Meurer
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-11fix Folder->getById() when a single storage is mounted multiple timesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-29add test for searching within a "root jail"Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-22Let memory limit set in tests fit the used amountJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-05Use minio for s3 testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-05Run s3 tests againJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29Handle single action unshareJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-07Merge pull request #27349 from nextcloud/backport/25280/stable20Robin Appelman
[stable20] Set umask before operations that create local files
2021-06-07Skip the test if Imagick is misconfiguredJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-04Set umask before operations that create local filesRobin Appelman
this solves issues where "other php stuff" is messing with the umask Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-02Escape filename in Content-DispositionLukas Reschke
We should escape all occurences of ' and \ in here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-27Fix ratelimit templateJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-21Fix empty password check for mail sharesVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-12Increase subnet matcherLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-01Log and continue when failing to update encryption keys during for ↵Julius Härtl
individual files Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-30gracefully handle deleteFromSelf when share is already goneArthur Schiwon
- handling race conditions Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-30Merge pull request #26258 from nextcloud/backport/26198/stable20Roeland Jago Douma
[stable20] Handle limit offset and sorting in files search
2021-03-24Merge pull request #26275 from nextcloud/backport/26265/stable20Morris Jobke
[stable20] Fix casing of core test folder, bring back missing tests
2021-03-24Revert "Fix core tests command for app enabling/disabling"Vincent Petry
This reverts commit acfffcc6857145c98b152dada542ae8dca57947c. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24handle ordering in folder searchRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24folder filtering in sqlRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24cleanup fileinfo creationRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24handle limit and offset in folder file searchRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24only require user to be set in a query that handles tagsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24Revert autocomplete controller tests to match stable20Vincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24Revert controller tests to match stable21 APIVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24Fix language codes test result orderVincent Petry
Fixes issue with Oracle by enforcing the order of the results to check. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24Bring back forgotten testsVincent Petry
Remove "ocs-provider" test folder reference as it doesn't exist any more. Added back "Test" test subdir and fixed the tests inside. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24Fix more controller tests in Core subdirVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24Fix more tests in the Core subdirVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24Fix core tests command for app enabling/disablingVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24Fix casing of core test folderVincent Petry
It seems Phpunit < 9 was case insensitive. Fixed the phpunit config to target the correct name for the "Core" test directory. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-22Include additional scripts in Noto fontsDaniel Calviño Sánchez
Generated avatars as well as text file previews are rendered using the "core/fonts/NotoSans-Regular.ttf" font. The file was the standard hinted "NotoSans-Regular.ttf" file from https://www.google.com/get/noto/. However that file does not cover some non LGC (Latin, Greek, Cyrillic) scripts, like Arabic, Devanagari or Hebrew, to name a few. Markdown file previews also use "core/fonts/NotoSans-Bold.ttf", which is in the same situation as the regular one. Due to limitations in the TTF format it is not possible to provide a single file for each style that includes all Noto fonts. However, it is possible to add more scripts to the standard "NotoSans-Regular.ttf" and "NotoSans-Bold.ttf" files (although no CJK (Chinese, Japanese, Korean) glyph can be included due to the aforementioned limitations). This commit replaces the standard files with an extended version created using the Noto Tools. The build script (as well as a patch for the Noto Tools) is also included for reference and to be able to update the font files in the future if needed. Due to the additional scripts added the font files are now much larger, although this does not seem to increase the time spent rendering LGC scripts. Note that the file for the bold style still contains less scripts than the regular one, as not all scripts supported by Noto have a bold weight. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-19expand 'path is already shared' error messageRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19Update user share must use correct expiration validationVincent Petry
Updating a user or group share now uses the correct method for the validation of the expiration date. Instead of using the one from links it uses the one for internal shares. To avoid future confusion, the method "validateExpirationDate" has been renamed to "validateExpirationDateLink". Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-18Merge pull request #26123 from nextcloud/backport/26004/stable20Roeland Jago Douma
[stable20] Allow overwriting isAuthenticated
2021-03-17Merge pull request #26091 from nextcloud/backport/25722/stable20Morris Jobke
[stable20] apply object store copy optimization when 'cross storage' copy is wit…
2021-03-16adjust testsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-16fix search in nested jailsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-16fix cachjail searching for rootRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-16do cachejail search filtering in sqlRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>