summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Harden setup check for TLS version if host is not reachableMorris Jobke2020-12-021-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Harden key generationJulius Härtl2020-10-281-1/+3
| | | | | | | | | | There might be cases where multiple requests trigger the key generation at the same time and the instance ends up with a non-fitting public/private key pair. Therefore the whole key generation should be locked. Other than that this makes sure that user key generation return values are properly validated. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* save email as lower caseRobin Appelman2020-10-271-1/+2
| | | | | | email addresses are case insensitive Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update CheckSetupController.phptimm2k2020-10-261-0/+1
|
* Enable passwordless for everyone not only admins.Daniel Kesselberg2020-06-071-0/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* use the loginname to verify the old password in user password changesArthur Schiwon2020-05-261-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix languages empty arrayGretaD2020-05-081-0/+1
| | | | Signed-off-by: GretaD <gretadoci@gmail.com>
* Update license headers for 19Christoph Wurst2020-04-293-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19191 from laurisb/patch-1Roeland Jago Douma2020-04-151-1/+1
|\ | | | | Improve Opcache detection
| * Improve Opcache detectionLauris Binde2020-01-291-1/+1
| | | | | | Improve Opcache detection by checking if extension is loaded, as opcache_get_status() is commonly disabled on shared hosting servers
* | Merge pull request #20421 from nextcloud/fix/20393/recommendend_webauthn_modsRoeland Jago Douma2020-04-121-0/+8
|\ \ | | | | | | Show setup check for recommended php modules
| * | Show setup check for recommended php modulesRoeland Jago Douma2020-04-101-0/+8
| | | | | | | | | | | | | | | | | | Fixes #20393 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add visibility to all properties and move static keywordChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Format control structures, classes, methods and functionChristoph Wurst2020-04-1014-79/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-092-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use a blank line after the opening tagChristoph Wurst2020-04-091-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix multiline commentsChristoph Wurst2020-04-081-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-021-0/+11
|\ \ | | | | | | Add optional comments reference_id
| * | Add optional column oc_comments.reference_idJoas Schilling2020-03-311-0/+11
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #20241 from nextcloud/fix/license-headers-19Roeland Jago Douma2020-04-012-0/+3
|\ \ \ | | | | | | | | Update the license headers for Nextcloud 19
| * | | Update the license headers for Nextcloud 19Christoph Wurst2020-03-312-0/+3
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / Start with webauthnRoeland Jago Douma2020-03-311-0/+114
|/ / | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-272-2/+0
|\ \ | | | | | | Remove unused imports
| * | Remove unused importsChristoph Wurst2020-03-252-2/+0
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Use the short array syntax, everywhereChristoph Wurst2020-03-264-10/+10
|/ / | | | | | | 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-1/+7
|\ \ | | | | | | Check the user on remote wipe
| * | Check the user on remote wipeJoas Schilling2020-03-161-1/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Add basic reverseproxy misconfig detection to setupchecksRoeland Jago Douma2020-03-231-0/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Make sure app_install_overwrite is an arrayDaniel Kesselberg2020-03-161-0/+4
|/ / | | | | | | | | | | otherwise in_array will complain. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #19580 from nextcloud/debt/noid/outdated-checkRoeland Jago Douma2020-03-101-7/+3
|\ \ | | | | | | Update check for outdated php version.
| * | Update check for outdated php version.Daniel Kesselberg2020-02-241-7/+3
| |/ | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Revive the "send email to new users" toggle for the user formChristoph Wurst2020-02-281-0/+21
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Make sure quota_preset is using numerical indexesDaniel Kesselberg2020-02-221-6/+14
|/ | | | | | If one set quota_present to "default, none, 1 GB, 5 GB, 10 GB" the old implementation will remove default and none but keep the array indexes. Later json_encode will recognize a array with 2 as first index as object and hence quotaPreset.reduce will fail. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* apps can have polyamorous relationships with bundlesArthur Schiwon2020-01-241-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix license headersChristoph Wurst2020-01-132-59/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 18Christoph Wurst2019-12-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to force enable apps via CLIJoas Schilling2019-12-131-7/+1
| | | | | | Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18299 from nextcloud/bugfix/noid/filecache_bigint_mountsRoeland Jago Douma2019-12-091-0/+1
|\ | | | | Convert various columns in oc_mounts to bigint
| * Convert various columns in oc_mounts to bigintGeorg Ehrke2019-12-091-0/+1
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Fix Argument 3 passed to OCA\Encryption\Recovery::__construct() must be an ↵Daniel Kesselberg2019-12-091-2/+0
|/ | | | | | instance of OCA\Encryption\KeyManager Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update license headersChristoph Wurst2019-12-0513-18/+92
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18079 from nextcloud/fixes/phpcsRoeland Jago Douma2019-11-256-8/+9
|\ | | | | Some php-cs fixes
| * Some php-cs fixesRoeland Jago Douma2019-11-226-8/+9
| | | | | | | | | | | | | | | | | | | | | | * 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>
* | make help available to ordinary users againArthur Schiwon2019-11-211-0/+1
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Convert more columns to bigintRoeland Jago Douma2019-11-201-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fixes a 500 without useridArthur Schiwon2019-11-161-1/+1
| | | | | | plus cleanup of unused use statements Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #17450 from nextcloud/fix/17368/odd-group-numbersblizzz2019-10-211-25/+32
|\ | | | | hide strange Everyone and Disabled group numbers with LDAP
| * hide strange Everyone and Disabled group numbers with LDAP, fixes 17368Arthur Schiwon2019-10-211-25/+32
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Move help to controllerJulius Härtl2019-10-171-0/+97
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>