summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests fixJohn Molakvoæ (skjnldsv)2018-06-151-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #9197 from nextcloud/fix-avatar-centerMorris Jobke2018-06-151-0/+36
|\ | | | | Fix avatar generator centering
| * Removed old route, fix tests and fix var typeJohn Molakvoæ (skjnldsv)2018-06-131-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Avatar imagick bumpJohn Molakvoæ (skjnldsv)2018-06-132-49/+11
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Added new testsJohn Molakvoæ (skjnldsv)2018-06-131-0/+36
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Controller tests fixesJohn Molakvoæ (skjnldsv)2018-06-131-10/+48
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fix HTTP client given options being overriden by default optionsDaniel Calviño Sánchez2018-06-141-0/+127
| | | | | | | | | | | | | | | | | | According to the array_merge documentation, "If the input arrays have the same string keys, then the later value for that key will overwrite the previous one." Thus, the default options must be the first parameter passed to array_merge. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge all setup checks into one controllerMorris Jobke2018-06-131-11/+74
|/ | | | | | * renamed hasMissingIndexes to missingIndexes Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge tips & tricks section into setup checksMorris Jobke2018-06-134-99/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-06-121-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #9810 from nextcloud/tests/9769/apps-management-acceptanceJohn Molakvoæ2018-06-115-1/+340
|\ | | | | Acceptance tests for apps management and minor fixes
| * Properly check for the sidebarJulius Härtl2018-06-092-3/+26
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Add basic acceptance tests for apps managementJulius Härtl2018-06-095-1/+317
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add another testMario Danic2018-06-081-1/+3
| | | | | | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* | Add a new regex testMario Danic2018-06-081-1/+3
|/ | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* Allow 0 quota by provisioning apiJohn Molakvoæ (skjnldsv)2018-06-071-1/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #9565 from nextcloud/feature/noid/app-settingsMorris Jobke2018-06-061-35/+28
|\ | | | | Migrate apps management to Vue.js
| * Fix AppSettingsControllerTestJulius Härtl2018-06-061-4/+8
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Cleanup controller codeJulius Härtl2018-06-061-35/+24
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add a hint that some indexes are not added yetMorris Jobke2018-06-061-3/+14
|/ | | | | | | | | * gives the admin a chance to discover the missing indexes and improve the performance of the instance without digging through the manual * nicely integrated in the setup checks where this kind of hints belong to * also adds an option to integrate this from an app based on events * fix style of setting warnings Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>