summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup controller codeJulius Härtl2018-06-061-35/+24
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #9483 from nextcloud/azure-blobMorris Jobke2018-06-042-0/+50
|\ | | | | add azure object storage backend
| * add azure unit tests with azuriteRobin Appelman2018-06-042-0/+50
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Move caching logic to responseRoeland Jago Douma2018-06-041-2/+12
|/ | | | | | | | | | This avoids having to do it at all the places we want cached responses. We can't inject the ITimeFactor without breaking public API. However we can perfectly overwrite the service (resulting in the same testable effect). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make sure the file is readable before attempting to create a previewRoeland Jago Douma2018-05-301-0/+20
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use "paths.base" parameter for the path to the custom Firefox profileDaniel Calviño Sánchez2018-05-291-1/+1
| | | | | | | | Although in the case of the acceptance tests for the server it is not strictly needed it was modified for consistency with the configuration used for the acceptance tests in apps. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add workaround for parameter not available in Mink ExtensionDaniel Calviño Sánchez2018-05-291-0/+12
| | | | | | | | | | | | | | | | | | | | Due to a bug in the Mink Extension for Behat it is not possible to use the "paths.base" parameter in the path to the custom Firefox profile. "paths.base" is a special parameter in the Behat configuration that refers to the directory in which "behat.yml" is stored. This comes in very handy to set the path to custom Firefox profiles in the acceptance tests for apps, as even if the "behat.yml" file belongs to an app its paths are relative to the directory in which the tests are run, that is, the "tests/acceptance" directory of the server. Until the bug is fixed, just before the acceptance tests are run the "paths.base" parameter in the path to the custom Firefox profile is replaced by its value in the "behat.yml" file used by the acceptance tests. Note that the file that is modified is the one inside the Docker container used to run the acceptance tests, so the original file is not touched. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Extract path to configuration dir to its own variableDaniel Calviño Sánchez2018-05-291-3/+5
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #9617 from nextcloud/users-sort-case-fixMorris Jobke2018-05-281-2/+4
|\ | | | | Ignore case when sorting users
| * Added case example to testsJohn Molakvoæ (skjnldsv)2018-05-261-2/+4
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fix Settings\ManagerTestJulius Härtl2018-05-251-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Rename sync clients section to mobile & desktopJulius Härtl2018-05-241-2/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #9435 from nextcloud/bugfix/noid/fix_force_language_html_attrRoeland Jago Douma2018-05-231-7/+43
|\ | | | | make sure force language is reflected in html lang attribute
| * make sure force language is reflected in html lang attributeGeorg Ehrke2018-05-221-7/+43
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Fix ViewTestRoeland Jago Douma2018-05-231-1/+11
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8824 from nextcloud/settings-vueMorris Jobke2018-05-2311-2921/+531
|\ \ | |/ |/| Vue migration: settings
| * Fixed root url detection, new tests, default new user group to currentJohn Molakvoæ (skjnldsv)2018-05-162-33/+107
| | | | | | | | | | | | opened group and user removal update fix Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Bump script and fixed copyright templateJohn Molakvoæ (skjnldsv)2018-05-164-118/+122
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Tabs fixJohn Molakvoæ (skjnldsv)2018-05-162-72/+76
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Users list acceptance testsJohn Molakvoæ (skjnldsv)2018-05-167-44/+394
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * newt acceptance testsJohn Molakvoæ (skjnldsv)2018-05-162-0/+67
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fixed routerJohn Molakvoæ (skjnldsv)2018-05-161-1/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fixed new user form detection in acceptanceJohn Molakvoæ (skjnldsv)2018-05-161-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fix row detection acceptance testJohn Molakvoæ (skjnldsv)2018-05-161-2/+2
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fix ApplicationtestJohn Molakvoæ (skjnldsv)2018-05-161-1/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Bump tests and editorconfigJohn Molakvoæ (skjnldsv)2018-05-161-2515/+9
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Bump popovermenu item options and testsJohn Molakvoæ (skjnldsv)2018-05-162-381/+3022
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Settings to vuejsJohn Molakvoæ (skjnldsv)2018-05-161-3022/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Add Firefox profile with support for CSS grid to acceptance testsDaniel Calviño Sánchez2018-05-182-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The acceptance tests are currently run on Firefox 47; in that version the CSS grid support was not enabled by default, but it could be enabled through a setting in the Firefox profile. By default Selenium uses a clean Firefox profile when a new session is started, but it also allows the customization of the profile through a zipped "user.js" file. The contents of that file have to be provided in the "firefox_profile" capability when the Firefox session is created. In the Mink extension for Behat several Mink sessions can be defined in the "behat.yml" file. Each Mink session uses a different browser session in Selenium, and each of those browser sessions is initialized with the capabilities provided in the "behat.yml" file. From the point of view of the acceptance tests each Mink session is an actor, so different actors can use different browsers with different capabilities. Due to all this a new actor was introduced, "Rubeus", who uses a Firefox browser that has CSS grid support; this actor is meant to be used only in those acceptance tests that require proper support for CSS grids. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Certain tokens can expireRoeland Jago Douma2018-05-171-0/+75
| | | | | | | | | | | | | | | | However due to the nature of what we store in the token (encrypted passwords etc). We can't just delete the tokens because that would make the oauth refresh useless. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Allow the rotation of tokensRoeland Jago Douma2018-05-161-0/+42
|/ | | | | | This for example will allow rotating the apptoken for oauth Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix session testsRoeland Jago Douma2018-05-151-2/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2018-05-152-13/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add testsRoeland Jago Douma2018-05-141-0/+159
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2018-05-147-7/+14
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #9029 from nextcloud/settings-restructureMorris Jobke2018-05-073-69/+23
|\ | | | | Restructure server settings
| * Fix settings testsJulius Härtl2018-05-032-53/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Cleanup and fix testsJulius Härtl2018-05-032-16/+19
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Do not allow folder creation with quota of 0Roeland Jago Douma2018-05-031-0/+5
|/ | | | | | | | | | Fixes #4577 Users with a quota of 0 are a special case. Since they can't (ever) create files on their own storage. Therefor it makes no real that they can create folders (and possible share those etc). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* use SystemConfig, less dependencies, and not publicly neededArthur Schiwon2018-04-262-25/+20
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* revert Log's dependency to SystemConfig to work during InstallationArthur Schiwon2018-04-261-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* offer API to create own File log. admin_audit makes use of itArthur Schiwon2018-04-262-6/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* destaticfy Log classesArthur Schiwon2018-04-263-30/+163
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move log constants to ILoggerArthur Schiwon2018-04-262-3/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #9129 from nextcloud/feature/noid/proper-comments-offsetRoeland Jago Douma2018-04-222-0/+50
|\ | | | | Add proper comment offset support
| * Fix FakeManagerJoas Schilling2018-04-191-0/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add proper comment offset supportJoas Schilling2018-04-181-0/+42
| | | | | | | | | | | | | | The offset is based on the last known comment instead of limit-offset, so new comments don't mess up requests which get the history of an object- Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #9225 from nextcloud/bugfix/9157/ipv6-database-hostRoeland Jago Douma2018-04-221-0/+56
|\ \ | | | | | | Allow IPv6 database hosts
| * | Add tests for special domain nameMorris Jobke2018-04-191-0/+2
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Add tests for domainsMorris Jobke2018-04-191-0/+2
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>