aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Deprecate PHP7.3 for Nextcloud 23Christoph Wurst2021-10-181-1/+1
|/ / / | | | | | | | | | | | | | | | | | | * 7.3 reaches EOL shortly after the release of 23.0.0 * Nextcloud 24 will require PHP7.4 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | add 'supported'-label to all supported apps, also if they are not downloaded yetBjoern Schiessle2021-10-061-0/+5
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Improve icon and section title of "Admin privileges"Joas Schilling2021-10-061-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | | Add admin privilege delegation for admin settingsCarl Schwan2021-09-2918-44/+622
| | | | | | | | | | | | | | | | | | | | | This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #28837 from nextcloud/show-warning-if-sharing-app-disabledszaimen2021-09-201-5/+8
|\ \ \ | | | | | | | | Show warning on the share settings when the File Shares app is disabled
| * | | Show warning on the share settings when the File Shares app is disabledThomas Citharel2021-09-151-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | Closes #3706 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | Merge pull request #28838 from ↵szaimen2021-09-171-1/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | stefan-schilling/enh/16719-integrity-check-temp-dir Issue 16719: CheckSetupController.php now checks configured temporary directory for existence and if it's writable
| * | | | Issue 16719: CheckSetupController.php: now injecting reference to ↵Stefan2021-09-171-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ITempManager, rather than obtaining using it manually Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
| * | | | Issue 16719: CheckSetupController.php now checks configured temporary ↵Stefan2021-09-171-0/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | directory for existence and if it's writable Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
* | | | only offer to set locally verified mails as primaryArthur Schiwon2021-09-151-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | let user choose notification email in user settingsArthur Schiwon2021-09-151-2/+3
|/ / / | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | use specific email getter where necessaryArthur Schiwon2021-09-091-2/+2
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #28332 from nextcloud/work/carl/argon2i2Christoph Wurst2021-08-311-1/+5
|\ \ \ | | | | | | | | Only recommand for php-sodium on >= PHP 7.4
| * | | Only recommand for php-sodium on >= PHP 7.4Carl Schwan2021-08-061-1/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is because php-sodium will solve the missing PASSWORD_ARGON2I constant problem only on >= php 7.4, previously argon2 wasn't part of the standard extension and was disabled on Centos/RHEL. So installing php-sodium on php 7.2 for example wouldn't hide the message. Tested on Fedora with php 7.4, Centos 7 with php 7.2, Centos 8 with php 7.2 and openSUSE with php 7.4. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Provide initial stateChristopher Ng2021-08-271-6/+7
| | | | | | | | | | | | | | | | | | - camelCase language strings Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Provide initial stateChristopher Ng2021-08-231-2/+28
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Do not retain VerifyUserData job when lookup server is not availableJulius Härtl2021-08-171-1/+1
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #28259 from nextcloud/work/carl/sodium-checkChristoph Wurst2021-07-301-0/+4
|\ \ | | | | | | Check that php was compiled with argon2 support or that the php-sodium extensions is installed
| * | Check that php was compiled with argon2 support or that the php-sodiumCarl Schwan2021-07-301-0/+4
| | | | | | | | | | | | | | | | | | extensions is installed Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | refs #21045 add app config to disable unlimited quota and to set max quotaJulien Veyssier2021-07-291-1/+7
|/ / | | | | | | | | | | | | | | | | avoid unlimited quota as default_quota fallback value if unlimited quota is not allowed avoid getting/setting/displaying unlimited default quota if not allowed implement tests for unlimited quota restrictions Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | Allow to disable group change notificationMarco Ambrosini2021-07-281-1/+1
| | | | | | | | Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
* | Merge pull request #27860 from J0WI/alphanumeric-rndJoas Schilling2021-07-161-3/+1
|\ \ | | | | | | Introduce ISecureRandom::CHAR_ALPHANUMERIC
| * | Introduce ISecureRandom::CHAR_ALPHANUMERICJ0WI2021-07-081-3/+1
| | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | Refine unsupported federation scope checksChristopher Ng2021-07-161-0/+1
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Provide initial stateChristopher Ng2021-07-151-1/+49
|/ / | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* / Migrate HintException to OCPGary Kim2021-06-301-1/+1
|/ | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Add security.txtLukas Reschke2021-06-232-0/+52
| | | | | | Ref https://securitytxt.org Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0458-122/+74
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Spelling unificationValdnet2021-06-021-1/+1
| | | | | | Spelling unification in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* do not use private AccountManager in UsersControllerArthur Schiwon2021-05-251-98/+68
| | | | | | | | - extends IAccountProperty for verificationData getters and setters - implementation thereof ^ - and of course adaption of UsersController Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-211-0/+4
|\ | | | | Add option to exclude groups from creating link shares
| * allow excluding groups from creating link sharesRobin Appelman2021-05-121-0/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Harden apptoken checkRoeland Jago Douma2021-05-171-0/+20
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #26959 from ↵blizzz2021-05-121-30/+29
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/verifiyuserdata-iaccountmanager VerifyUserData shall use IAccountManager, not private API
| * | VerifyUserData shall use IAccountManager, not private APIArthur Schiwon2021-05-121-30/+29
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / PersonalInfo settings to use public AccoutManager APIArthur Schiwon2021-05-121-5/+4
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #26259 from ↵Joas Schilling2021-04-261-0/+3
|\ | | | | | | | | nextcloud/feature/noid/validate-website-to-be-valid Validate the website field input to be a valid URL
| * Validate the website field input to be a valid URLJoas Schilling2021-04-221-0/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix deleting properties of user settings when not given explicitlyDaniel Calviño Sánchez2021-04-231-13/+39
| | | | | | | | | | | | | | | | | | | | The controller can receive an optional subset of the properties of the user settings; values not given are set to "null" by default. However, those null values overwrote the previously existing values, so in practice any value not given was deleted from the user settings. Now only non null values overwrite the previous values. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix TypeError when "email" is not given in the controller requestDaniel Calviño Sánchez2021-04-231-1/+1
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Respect additional user settings not covered by the controllerDaniel Calviño Sánchez2021-04-231-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "AccountManager::updateUser()" wipes previous user data with whichever user data is given (except for some adjustments, like resetting the verified status when needed). As the controller overrode the properties those properties would lose some of their attributes even if they are not affected by the changes made by the controller. Now the controller only modifies the attributes set ("value" and "scope") to prevent that. Note that with this change the controller no longer removes the "verified" status, but this is not a problem because, as mentioned, "AccountManager::updateUser()" resets them when needed (for example, when the value of the website property changes). This change is a previous step to fix overwritting properties with null values, and it will prevent the controller from making unexpected changes if more attributes are added in the future. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Use constants from interface rather than classDaniel Calviño Sánchez2021-04-231-2/+2
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #26474 from ↵Morris Jobke2021-04-211-1/+1
|\ | | | | | | | | nextcloud/caugner-patch-mariadb-in-mysql-support-warning Mention MariaDB in MySQL support warning
| * Mention MariaDB in MySQL support warningClaas Augner2021-04-091-1/+1
| |
* | Separate settings for remote share expirationVincent Petry2021-04-151-0/+3
|/ | | | | | | Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #25605 from nextcloud/trusted-proxy-warning-localhostRoeland Jago Douma2021-04-011-1/+1
|\ | | | | dont show trusted proxy warning when the proxy and remote are both localhost
| * dont show trusted proxy warning when the proxy and remote are both localhostRobin Appelman2021-02-121-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Make extra user profile fields always editableVincent Petry2021-03-261-10/+5
| | | | | | | | | | | | | | | | The fields for phone number, address, website and twitter are now editable regardless whether federated sharing and the lookup server are enabled or not. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Map old account scope properties to new namesVincent Petry2021-03-261-21/+22
| | | | | | | | | | | | | | | | Use new scope values in settings page. Adjust all consumers to use the new constants. Map old scope values to new ones in account property getter. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Rename some parameters and methods to make the API more clearJoas Schilling2021-03-101-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>