summaryrefslogtreecommitdiffstats
path: root/tests/Settings/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Fix unit testsJoas Schilling2018-03-161-13/+43
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly catch InvalidTokenException for better error responseMorris Jobke2018-01-181-0/+40
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add testsRoeland Jago Douma2017-12-131-1/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make isUpdateAvailable non-staticMorris Jobke2017-11-251-1/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocks of dav appMorris Jobke2017-10-261-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-246-78/+84
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use DI for IAppManager to encryption migrationMorris Jobke2017-10-241-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix urlBjoern Schiessle2017-10-171-2/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* App management: add update sectionJulius Härtl2017-10-101-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the URLs in tests to use example.orgMorris Jobke2017-08-011-8/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2017-08-011-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* no warning on password change if no encryption module uses per-user keysBjoern Schiessle2017-07-061-4/+32
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #5342 from nextcloud/userlist-used-spaceMorris Jobke2017-07-051-12/+68
|\ | | | | show used space in user list
| * Update unit testsMorris Jobke2017-07-051-12/+68
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | drone wasn't satisfied yetArthur Schiwon2017-06-231-5/+12
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | adjust another testArthur Schiwon2017-06-231-3/+19
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Allow to force a language and set it via the ocs apiJoas Schilling2017-06-211-122/+0
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* adjust the testJoas Schilling2017-06-061-0/+46
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Increase device password entropy. Use lower- and upper-case characters and ↵Fabrizio Steiner2017-05-081-3/+3
| | | | | | digits, but exclude ambiguous characters. The number of digits has also been increased to 25. Signed-off-by: Fabrizio Steiner <fabrizio.steiner@gmail.com>
* consolidate setEnabled methodArthur Schiwon2017-04-291-12/+16
| | | | | | and fix a unit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix unit testsMorris Jobke2017-04-291-16/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* use proper return codes and handle failure casesMorris Jobke2017-04-291-4/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve wording of error messagesMorris Jobke2017-04-291-6/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix unit testsMorris Jobke2017-04-291-24/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add unit tests for enable methodMorris Jobke2017-04-291-1/+221
|
* add unit tests for disable methodMorris Jobke2017-04-291-1/+219
|
* adjust tests to have at least one disabled userMorris Jobke2017-04-291-2/+13
|
* Fix unit testsRoeland Jago Douma2017-04-291-1/+59
|
* Fix unit testsMorris Jobke2017-04-291-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix unit testBjoern Schiessle2017-04-281-21/+24
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check verification proof and update account tableBjoern Schiessle2017-04-281-2/+104
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix testsLukas Reschke2017-04-261-5/+5
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Adjust testsLukas Reschke2017-04-261-1/+11
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add installed category in AppSettingsControlerTestFelix A. Epp2017-04-251-4/+9
| | | | Signed-off-by: Felix A. Epp <work@felixepp.de>
* Don't assume the admin didn't configure Opcache correctly...Joas Schilling2017-04-201-3/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the correct classJoas Schilling2017-04-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Import some classesJoas Schilling2017-04-201-80/+51
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Beautify test emailLukas Reschke2017-04-181-0/+6
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix some more stuffJoas Schilling2017-04-181-16/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testsJoas Schilling2017-04-181-42/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-2/+0
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add support for themingLukas Reschke2017-04-071-183/+27
| | | | | | Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix testsLukas Reschke2017-04-071-36/+98
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* New layout for welcome emailMorris Jobke2017-04-071-38/+41
| | | | | | | * thanks to @espina2 for make this nice design * the button says "Set password" if the admin didn't specified a password Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix unit tests of masterRoeland Jago Douma2017-03-161-0/+1
| | | | | | Follow up to #3802 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #3489 from nextcloud/give-hint-about-opcacheMorris Jobke2017-02-241-1/+11
|\ | | | | Show info in admin settings about PHP opcache if disabled
| * Show info in admin settings about PHP opcache if disabledMorris Jobke2017-02-221-1/+11
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | add unit testsMorris Jobke2017-02-151-3/+165
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Always enable avatarsMorris Jobke2017-02-131-4/+0
| | | | | | | | | * we introduced this setting in the begining because our avatar support caused some performance issues, but we fixed them and should only provide one way how Nextcloud looks Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Error out when subadmin doesn't select any groupJoas Schilling2017-01-231-145/+64
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>