aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10743 from ↵blizzz2018-09-131-0/+84
|\ | | | | | | | | danielkesselberg/bugfix/noid/allow-password-reset-for-duplicate-email Enable password reset for user with same email address when only one is active
| * Enable password reset for user with same email address when only one is activeDaniel Kesselberg2018-08-191-0/+84
| | | | | | | | | | | | | | | | | | When two or more user share the same email address its not possible to reset password by email. Even when only one account is active. This pr reduce list of users returned by getByEmail by disabled users. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Change password expiration time from 12h to 7dMorris Jobke2018-08-311-1/+1
| | | | | | | | | | | | We use the same logic for creating accounts without a password and there the 12h is a bit short. Users don't expect that the signup link needs to be clicked within 12h - 7d should be a more expected behavior. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #10334 from denismosolov/group-addDenis Mosolov2018-08-242-0/+246
|\ \ | |/ |/| Add options to create/remove groups via occ
| * Add an options to create and remove groups via occDenis Mosolov2018-08-162-0/+246
| | | | | | | | Signed-off-by: Denis Mosolov <denismosolov@gmail.com>
* | update unit testsBjoern Schiessle2018-08-151-1/+41
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Fix login redirection if only one 2FA provider is activeChristoph Wurst2018-08-081-5/+6
| | | | | | | | | | | | Fixes https://github.com/nextcloud/server/issues/10500. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix unit testJoas Schilling2018-08-011-1/+20
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix app navigation controller to return an arrayJulius Härtl2018-07-251-2/+2
| | | | | | This is required to not break compatibility with existing consumers of that endpoint like the apps management or the client Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Adds disabled user unit testsMichael Weimann2018-07-211-3/+47
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Adds an info if the maintenance mode is already enabled/disabled.Michael Weimann2018-07-011-0/+147
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Merge pull request #9632 from nextcloud/enhancement/stateful-2fa-providersMorris Jobke2018-06-252-36/+39
|\ | | | | Stateful 2fa providers
| * Make 2FA providers statefulChristoph Wurst2018-06-202-36/+39
| | | | | | | | | | | | | | | | | | | | | | This adds persistence to the Nextcloud server 2FA logic so that the server knows which 2FA providers are enabled for a specific user at any time, even when the provider is not available. The `IStatefulProvider` interface was added as tagging interface for providers that are compatible with this new API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | prefill userid for login after password resetRobin Appelman2018-06-211-1/+1
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix testsRoeland Jago Douma2018-05-142-2/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Set the default log rotate size to 100 MBMorris Jobke2018-04-111-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2018-04-061-17/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add Cache-control: immutableRoeland Jago Douma2018-03-192-12/+12
| | | | | | | | Cache generated CSS forever! Also cache combined JS forever Fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add CSRF token controller to retrieve the current CSRF tokenChristoph Wurst2018-03-081-0/+71
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix testsJulius Härtl2018-03-071-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Replace logout href to avoid new etag on every requestJulius Härtl2018-03-061-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add ETag to NavigationControllerJulius Härtl2018-03-051-0/+31
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* update unit testsBjoern Schiessle2018-03-021-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #8336 from nextcloud/cleanup-unused-parameterRoeland Jago Douma2018-02-201-7/+1
|\ | | | | Cleanup unused parameter
| * Remove config from AutoCompleteControllerMorris Jobke2018-02-131-7/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Also rewrite icon urlJulius Härtl2018-02-121-4/+19
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Move to OCS endpointJulius Härtl2018-02-121-5/+5
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Allow requesting absolute URLsJulius Härtl2018-02-121-6/+43
| | | | | | | | | | | | They might be useful when requesting the navigation from the clients Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add tests for NavigationControllerJulius Härtl2018-02-121-0/+77
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Request->getHeader() should always return a stringMorris Jobke2018-01-171-0/+13
| | | | | | | | PHPDoc (of the public API) says that this method returns string but it also returns null, which is not allowed in some method calls. This fixes that behaviour and returns an empty string and fixes all code paths that explicitly checked for null to be still compliant. Found while enabling the strict_typing for lib/private for the PHP7+ migration. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2018-01-151-1/+18
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add unit testJoas Schilling2018-01-151-0/+123
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testsRoeland Jago Douma2018-01-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Hide stay logged in checkbox when flow authentication is usedJulius Härtl2017-12-281-0/+33
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix testsRoeland Jago Douma2017-12-181-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7324 from nextcloud/no-sorters-no-instancesRoeland Jago Douma2017-12-111-41/+99
|\ | | | | don't create sorter instances when none was requested
| * don't create sorter instances when none was requestedArthur Schiwon2017-11-281-41/+99
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #6876 from nextcloud/always_img_avatarMorris Jobke2017-12-081-6/+2
|\ \ | | | | | | Always generate avatar
| * | Fix testsRoeland Jago Douma2017-11-291-6/+2
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | fix testsBjoern Schiessle2017-12-081-8/+0
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Fix flowMario Danic2017-11-091-2/+18
|/ | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* Theming: theme flow redirection pageJulius Härtl2017-11-081-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-014-14/+17
|\
| * Use ::class in test mocksMorris Jobke2017-10-244-14/+17
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | meanwhile we can have exact matches. also show those.Arthur Schiwon2017-10-311-0/+29
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | add search parameter to autocomplete controllerArthur Schiwon2017-10-251-2/+7
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | AutoCompletion backendArthur Schiwon2017-10-221-0/+84
|/ | | | | | | | | | * introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Set the data from the templateJoas Schilling2017-10-181-36/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testsMorris Jobke2017-09-061-0/+12
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix broken testsMorris Jobke2017-09-041-1/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>