summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
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
|
* Add app config option to disable "Email was changed by admin" activityMorris Jobke2020-08-131-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Enable passwordless for everyone not only admins.Daniel Kesselberg2020-06-071-0/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Use \OC::$CLI instead of PHP_SAPIThomas Citharel2020-06-041-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* 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-297-2/+9
| | | | 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 #20427 from nextcloud/bug/noid/fix-password-reset-activityRoeland Jago Douma2020-04-132-2/+15
|\ \ | | | | | | Fix password reset saying Admin changed my password when reset from login page
| * | Fix password reset saying Admin changed my password when reset fromThomas Citharel2020-04-102-2/+15
| | | | | | | | | | | | | | | | | | login page Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | 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 constantsChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | 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-1027-112/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-103-13/+13
|/ / | | | | | | 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 a blank line after the opening tagChristoph Wurst2020-04-092-0/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-092-2/+0
| | | | | | | | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-4/+4
| | | | | | | | 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-0121-21/+38
|\ \ \ | | | | | | | | Update the license headers for Nextcloud 19
| * | | Update the license headers for Nextcloud 19Christoph Wurst2020-03-3121-21/+38
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / Start with webauthnRoeland Jago Douma2020-03-313-1/+196
|/ / | | | | | | | | 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-275-10/+0
|\ \ | | | | | | Remove unused imports
| * | Remove unused importsChristoph Wurst2020-03-255-10/+0
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Use the short array syntax, everywhereChristoph Wurst2020-03-266-12/+12
|/ / | | | | | | 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>
* | | Add setting to restrict user enumeration to groupsJulius Härtl2020-03-201-0/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | 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>
* | | Hide development notice when subscription is validJulius Härtl2020-03-061-0/+13
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | 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>
* | Fix unit testsJoas Schilling2020-02-101-12/+21
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Warn admins about delayed cron executionsJoas Schilling2020-02-081-4/+22
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use the l10n from settingsRoeland Jago Douma2020-02-031-2/+2
| | | | | | | | | | | | Fixes #19261 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move Admin Settings also to info.xmlRoeland Jago Douma2020-01-315-5/+5
| | | | | | | | | | | | | | More cleanup of the Settings apps. Makes the manager cleaner and a proper manager. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use activity registration for the settingsRoeland Jago Douma2020-01-311-9/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move personal settings to proper registrationRoeland Jago Douma2020-01-305-5/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move password settingsRoeland Jago Douma2020-01-301-3/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>