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-04-16Do not send "enter" key when not neededDaniel Calviño Sánchez
Sending the "enter" key is not needed in those input fields that auto save while the user is typing or when the focus is lost (which since version 1.4.0 the Selenium driver for Mink is automatically done after setting the value). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16Allow registering NotifierServices trough IBootstrapRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16Fix unit testRoeland Jago Douma
* Fix namespace * Fix test Was broken after https://github.com/nextcloud/server/pull/26529 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-15Separate settings for remote share expirationVincent Petry
Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-12Merge pull request #26266 from nextcloud/future-proof-networkingRoeland Jago Douma
Improve networking checks
2021-04-07Increase subnet matcherLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-06Merge pull request #24966 from nextcloud/jknockaert-patch-1Lukas Reschke
avoid fread on directories and unencrypted files
2021-04-06Adjust testLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-06Improve networking checksLukas Reschke
Whilst we currently state that SSRF is generally outside of our threat model, this is something where we should invest to improve this. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-01Merge pull request #24055 from ↵Morris Jobke
nextcloud/bugfix/noid/enfore-no-notnull-for-boolean-to-store-false Enforce no notnull for boolean to store false
2021-04-01Get the parent directory before creating a file from a templateJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-31Rename the method to match what it doesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31Don't allow Notnull for boolean columnsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31Merge pull request #25961 from nextcloud/enh/events/2fa_providerkesselb
Add real events for enabled 2fa providers for users
2021-03-30Merge pull request #25280 from nextcloud/explicit-file-permissionsRoeland Jago Douma
Set umask before operations that create local files
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-30Update Mink from 1.7.1 to 1.8.1 in acceptance testsDaniel Calviño Sánchez
Since version 1.8.0 of Mink "Mink::getSession()" no longer starts the session automatically (see https://github.com/minkphp/Mink/pull/705), so it now needs to be explicitly started. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30Update Selenium driver for Mink from 1.3.1 to 1.4.0 in acceptance testsDaniel Calviño Sánchez
Since version 1.4.0 the Selenium driver for Mink uses again the element on which the value was set (see https://github.com/minkphp/MinkSelenium2Driver/pull/286). When creating a new folder or renaming one sending a new line ("\r") caused the element on which the value was set to be removed, so the element was no longer attached to the DOM when the driver tried to use it again, and thus a "StaleElementReference" exception was thrown. Due to this now it is needed to explicitly click the confirm button when creating a new folder. In the case of the renaming, on the other hand, nothing else besides not sending the new line is needed, as the Selenium driver now unfocuses the element (that is why it uses again the element after setting the value) which triggers the renaming. Besides that, the Selenium driver for Mink uses a library to simulate certain events, bitovi/syn. In version 1.4.0 that library was updated to version 0.0.3, which seems to somehow break pressing the "escape" key. Due to this now the sharing menu has to be closed by pressing "enter" on the share menu button instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30Update Behat from 3.7.0 to 3.8.1 in acceptance testsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30Update PHPUnit from 4.X to 6.X in acceptance testsDaniel Calviño Sánchez
The PHPUnit update also required an update of "symfony/yaml", so besides the changes needed for PHPUnit the "behat.yml" file also had to be adjusted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-29Merge pull request #26353 from ↵Joas Schilling
nextcloud/techdebt/noid/make-testcase-class-compatible-with-phpunit-9.5 Make Testcase class compatible with phpunit-9.5
2021-03-29Make Testcase class compatible with phpunit-9.5Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26Add known user check in avatar when v2-private scopeVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26Added PlaceholderAvatar with own cached imagesVincent Petry
When avatar scope is private, the PlaceholderAvatar is used to deliver a placeholder avatar based on the user's initials. This was implemented as a separate class for now to avoid messing with the existing UserAvatar implementation and its generated vs non-generated logic. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26Add property scope tests for AccountManagerVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26Map old account scope properties to new namesVincent Petry
Use new scope values in settings page. Adjust all consumers to use the new constants. Map old scope values to new ones in account property getter. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26Add new v2-private account scopeVincent Petry
Added new v2-private account manager scope that restricts the scope further by excluding public link access. Avatars with v2-private account scope are now showing the guest avatar instead of the real avatar. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26Merge pull request #26281 from hosting-de/fix/emailRoeland Jago Douma
Change my email address
2021-03-25Cleanup unneeded code around database.xmlMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-24Change my email addressJohannes Leuker
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
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-23Fix core tests command for app enabling/disablingVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-23Fix 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-23Set 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-03-22Merge pull request #26198 from nextcloud/unified-search-nodeMorris Jobke
Handle limit offset and sorting in files search
2021-03-22Merge pull request #25529 from ↵Morris Jobke
nextcloud/fix-non-lgc-glyphs-in-avatars-and-txt-file-previews Fix non LGC glyphs in avatars and txt file previews
2021-03-22Add real events for enabled 2fa providers for usersRoeland Jago Douma
* Shiny new events * Listener to still emit the old event Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-22Fix sharebymail testsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22Remove duplicated query for email sharesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-19handle ordering in folder searchRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19Log 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-19folder filtering in sqlRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19Merge pull request #23718 from nextcloud/already-shared-error-messageRoeland Jago Douma
expand 'path is already shared' error message
2021-03-19cleanup fileinfo creationRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19Merge pull request #26200 from ↵Vincent Petry
nextcloud/bugfix/26197/fix-expiration-validation-confusion Update user share must use correct expiration validation
2021-03-18handle limit and offset in folder file searchRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18only require user to be set in a query that handles tagsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>