summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9900 from nextcloud/feature/noid/wait-for-cron-to-finishMorris Jobke2018-06-201-1/+8
|\ | | | | Wait for cron to finish before running upgrade command
| * Wait for cron to finish before running upgrade commandMorris Jobke2018-06-191-1/+8
| | | | | | | | | | | | * fixes #9562 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix testsMorris Jobke2018-06-191-3/+7
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #9881 from nextcloud/user-db-backend-querybuilderMorris Jobke2018-06-191-0/+10
|\ \ | | | | | | use query builder in all places in the db user backend
| * | Add count to function builderRobin Appelman2018-06-141-0/+10
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Use constant for token versionRoeland Jago Douma2018-06-183-0/+5
| | | | | | | | | | | | | | | | | | | | | And don't set the version in the constructor. That would possible cause to many updates. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add more testsRoeland Jago Douma2018-06-184-31/+492
| | | | | | | | | | | | | | | | | | | | | | | | * Add a lot of tests * Fixes related to those tests * Fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | SetPassword on PublicKeyTokensRoeland Jago Douma2018-06-182-12/+19
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Just pass uid to the Token stuffRoeland Jago Douma2018-06-182-34/+6
| | | | | | | | | | | | | | | | | | We don't have user objects in the code everywhere Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add first testsRoeland Jago Douma2018-06-183-0/+775
| |/ |/| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | 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>