summaryrefslogtreecommitdiffstats
path: root/apps/settings/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix notification mail testsJan-Christoph Borchardt2020-05-011-134/+116
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Added trailing spaceRoeland Jago Douma2020-04-181-6/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20447 from liamjack/fix/13287/welcome_emailJohn Molakvoæ2020-04-171-7/+7
|\ | | | | Increase max-height on button in welcome email template
| * Fix #13287 - Increase max-height on button in welcome email templateLiam JACK2020-04-121-9/+9
| | | | | | | | Signed-off-by: Liam JACK <liamjack@users.noreply.github.com>
* | Provide the proper language to the mailerRoeland Jago Douma2020-04-161-3/+3
|/ | | | | | | Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1011-21/+10
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make sure there is exactly one newline after importsChristoph Wurst2020-04-091-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-094-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-021-0/+1
|\ | | | | Add optional comments reference_id
| * Add optional column oc_comments.reference_idJoas Schilling2020-03-311-0/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Update the license headers for Nextcloud 19Christoph Wurst2020-03-315-3/+6
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-1/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-262-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-259-95/+95
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20127 from nextcloud/bugfix/noid/check-user-on-remote-wipeRoeland Jago Douma2020-03-241-2/+31
|\ | | | | Check the user on remote wipe
| * Check the user on remote wipeJoas Schilling2020-03-161-2/+31
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add basic reverseproxy misconfig detection to setupchecksRoeland Jago Douma2020-03-231-28/+35
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix tests due to config adjustmentsJulius Härtl2020-03-201-20/+32
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix recursive calls in logging via server methodsJoas Schilling2020-03-181-2/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add system config flag to manually set that a subscription is availableJulius Härtl2020-03-101-1/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix unit testsJoas Schilling2020-02-101-8/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update test to pass l10n instead of factoryDaniel Kesselberg2020-02-031-6/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Move Admin Settings also to info.xmlRoeland Jago Douma2020-01-314-4/+4
| | | | | | | More cleanup of the Settings apps. Makes the manager cleaner and a proper manager. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move personal settings to proper registrationRoeland Jago Douma2020-01-303-7/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move password settingsRoeland Jago Douma2020-01-302-9/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move the personal 2FA settings to its own appRoeland Jago Douma2020-01-291-35/+0
| | | | | | | | Small isolated classes are easier to understand and to maintain! Another step in the cleaning up of the settings. So that adding new stuff later is easier. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move can create token logicRoeland Jago Douma2020-01-292-8/+12
| | | | | | | It makes sense to have this in the actual authtoken settings. As well. This is where it is used. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersChristoph Wurst2019-12-0520-57/+194
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17725 from nextcloud/enh/share_exp_internalRoeland Jago Douma2019-11-281-2/+38
|\ | | | | Allow internal shares to have a default expiration date
| * Fix testsRoeland Jago Douma2019-11-271-2/+38
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Mode to modern phpunitRoeland Jago Douma2019-11-2713-19/+20
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix more testsRoeland Jago Douma2019-11-271-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make phpunit8 compatibleRoeland Jago Douma2019-11-2720-21/+21
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-228-14/+15
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix updating and deleting authtokensSergej Nikolaev2019-10-051-0/+45
| | | | Signed-off-by: Sergej Nikolaev <kinolaev@gmail.com>
* Move settings to an appChristoph Wurst2019-09-2820-0/+5508
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>