aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use correct test avatarRoeland Jago Douma2019-06-271-0/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #16055 from nextcloud/design/native-fontsJan-Christoph Borchardt2019-06-261-1/+1
|\ | | | | Use native font stack
| * Move font from Nunito to Noto SansJan-Christoph Borchardt2019-06-221-1/+1
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Merge pull request #15870 from nextcloud/preview-provider-v2Roeland Jago Douma2019-06-252-4/+8
|\ \ | | | | | | Add new Provider interface for preview providers
| * | Add new Provider interface for preview providersRobin Appelman2019-06-172-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | the main difference is passing the `File` object to the provider instead of a `View` + path Old providers will still continue to work as before Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #15971 from ↵Roeland Jago Douma2019-06-251-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/tests/ui-regression/pixelmatch-tw-5.0.2 Update pixelmatch requirement from ^4.0.2 to ^5.0.2 in /tests/ui-regression
| * | | Update pixelmatch requirement in /tests/ui-regressiondependabot-preview[bot]2019-06-161-1/+1
| |/ / | | | | | | | | | | | | | | | | | | Updates the requirements on [pixelmatch](https://github.com/mapbox/pixelmatch) to permit the latest version. - [Release notes](https://github.com/mapbox/pixelmatch/releases) - [Commits](https://github.com/mapbox/pixelmatch/compare/v4.0.2...v5.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | Merge pull request #15777 from nextcloud/feature/ocp-event-dispatcherRoeland Jago Douma2019-06-252-7/+6
|\ \ \ | | | | | | | | Add event dispatcher to OCP
| * | | Add event dispatcher to OCPChristoph Wurst2019-06-252-7/+6
| | |/ | |/| | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #15889 from nextcloud/touch-handle-backend-exceptionsRobin Appelman2019-06-211-0/+3
|\ \ \ | |/ / |/| | handle storage exceptions when trying to set mtime
| * | fix testsRobin Appelman2019-06-211-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix subscription testsJulius Härtl2019-06-172-0/+14
| |/ |/| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add strict type on Notifications tests (#15935)John Molakvoæ2019-06-141-7/+42
|\ \ | | | | | | Add strict type on Notifications tests
| * | Add strict type on Notifications testsJohn Molakvoæ (skjnldsv)2019-06-131-7/+42
| |/ | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Adjust acceptance tests to notifications based on toastify (#15938)John Molakvoæ2019-06-131-2/+2
|\ \ | | | | | | Adjust acceptance tests to notifications based on toastify
| * | Adjust acceptance tests to notifications based on toastifyDaniel Calviño Sánchez2019-06-121-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | The old notifications were added as ".row" elements to the "#notification-container" element; the new notifications based on toastify are added as ".toastify .on .toast..." elements to the "#content" element. Besides that, they also include a span element with an X to close the notification, so now only the first child text node should be compared to the expected message. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* / Add messages to assertFalse/True to clarify the failed assertionDaniel Calviño Sánchez2019-06-121-3/+6
|/ | | | | | | | Otherwise the output would just read "Failed asserting that true is false." or "Failed asserting that false is true.", which is not very informative when there are several assertFalse/True in a row. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Do not try to autoload built in typesRoeland Jago Douma2019-06-041-3/+3
| | | | | | | | This avoids calls to the autoloader (or chain of autoloaders) to see if for example 'principalPrefix' class can be found. While we already know it is a string. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix personal security section tests (#15789)John Molakvoæ2019-05-291-0/+16
|\ | | | | Fix personal security section tests
| * Fix personal security section testsChristoph Wurst2019-05-291-0/+16
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Vueify the login pageChristoph Wurst2019-05-291-39/+69
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Check for free space on touchJulius Härtl2019-05-281-0/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #15714 from nextcloud/fix/204_304_rfcRoeland Jago Douma2019-05-241-10/+9
|\ | | | | Check the actual status code for 204 and 304
| * Check the actual status code for 204 and 304Roeland Jago Douma2019-05-241-10/+9
| | | | | | | | | | | | | | | | | | | | The header is the full http header like: HTTP/1.1 304 Not Modified So comparing this to an int always yields false This also makes the 304 RFC compliant as the resulting content length should otherwise be the length of the message and not 0. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Make it possible to show admin settings for sub adminsChristoph Wurst2019-05-233-24/+120
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #12114 from RubenHoms/masterMorris Jobke2019-05-222-8/+54
|\ | | | | Stop decryption when maintenance mode is enabled
| * Stop decryption when maintenance mode is enabled, fixes #8311Ruben Homs2019-05-212-8/+54
| | | | | | | | Signed-off-by: Ruben Homs <ruben@homs.codes>
* | Fix l10n for SettingsManager by injecting the l10n factoryMorris Jobke2019-05-211-1/+30
|/ | | | | | Fixes #10832 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remote wipe supportRoeland Jago Douma2019-05-201-0/+120
| | | | | | | | This allows a user to mark a token for remote wipe. Clients that support this can then wipe the device properly. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #15304 from nextcloud/enh/2fa_setup_at_loginRoeland Jago Douma2019-05-174-3/+357
|\ | | | | 2FA setup during login
| * Allow 2FA to be setup on first loginRoeland Jago Douma2019-05-174-3/+357
| | | | | | | | | | | | | | | | | | Once 2FA is enforced for a user and they have no 2FA setup yet this will now prompt them with a setup screen. Given that providers are enabled that allow setup then. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Allow clients to delete their own apptokenRoeland Jago Douma2019-05-171-0/+57
|/ | | | | | Fixes #15480 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add interfaces to interact with subscription from support appMorris Jobke2019-05-131-0/+87
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow crash reporters to catpture any messageChristoph Wurst2019-05-091-0/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use non-absolute logout URL to fix wrong URL in reverse proxy scenarioMorris Jobke2019-05-081-6/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add a login chain to reduce the complexity of LoginController::tryLoginChristoph Wurst2019-05-0714-327/+1364
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate legacy share code and cleanup some unused methodsMorris Jobke2019-04-181-14/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #15152 from ↵Morris Jobke2019-04-181-1/+80
|\ | | | | | | | | nextcloud/enhancement/noid/contactsmenu-sharing-enum-settings Respect sharing enumeration config in contacts menu
| * Respect sharing enumeration config in contacts menuJulius Härtl2019-04-181-1/+80
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix testGetProxyUriDaniel Kesselberg2019-04-161-6/+1
| | | | | | | | | | | | | | | | | | | | | | Changed the implementation for getProxyUri with https://github.com/nextcloud/server/pull/14363/commits/fd1d85365cb1368fa70263fe3ae3b8e59ab56615 If proxy is already null then we don't ask for proxyuserpwd. Test failed because we expected getSystemValue to be called once with proxyuserpwd Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Set User-Agent as header without middlewareDaniel Kesselberg2019-04-162-39/+68
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Set empty CSP by defaultRoeland Jago Douma2019-04-163-4/+4
| | | | | | | | | For #14179 By default responses should have the strictest (and simplest) CSP possible. Only template responses should require an actual CSP. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Disable acceptance test which should fail anywayJoas Schilling2019-04-111-8/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Return true in the dummy backend for successful display name changeMorris Jobke2019-04-111-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* lib/private/User: do not change user properties if value has not changedLeon Klingele2019-04-111-16/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add acceptance test for public folder navigationJulius Härtl2019-04-101-0/+20
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Adjust acceptance tests to changes of file names in file pickerDaniel Calviño Sánchez2019-04-031-1/+3
| | | | | | | | | File names are no longer shown directly in the ".filename" element, but split in two "span" elements inside a ".filename-parts" element, so now the texts in those span elements need to be concatenated to get the file name. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Revert "Temp disable bundle tests"Roeland Jago Douma2019-04-011-8/+8
|
* Merge pull request #14825 from marius-wieschollek/bugfix/11236Morris Jobke2019-03-251-0/+241
|\ | | | | Set parameter type in QBMapper
| * [#11236] Set parameter type in QBMapperMarius David Wieschollek2019-03-241-0/+241
| | | | | | | | Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>