aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Also clear the knownUser when changing via the settings endpointJoas Schilling2021-03-101-1/+23
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling2021-03-101-0/+1
| | | | | | | | | | | | group Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add a config setting to restrict autocompletion to phonebook matchesJoas Schilling2021-03-101-0/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix some types in the Settings Personal pagesRoeland Jago Douma2021-03-082-8/+8
| | | | | | | | | | | | | | * Fix types * Typed the code Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #25870 from ↵Joas Schilling2021-03-054-99/+198
|\ \ | | | | | | | | | | | | nextcloud/techdept/settings/move_group_activity_events Move group activities to events
| * | Move group activities to eventsRoeland Jago Douma2021-03-034-99/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the fancy events. Nicer code Nicely isolated code win-win Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Move some settings over to the IInitialStateRoeland Jago Douma2021-03-021-7/+6
|/ / | | | | | | | | | | The old one has been deprecated. Part one of many. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #25862 from nextcloud/techdept/psalm/some_loggersRoeland Jago Douma2021-03-023-17/+22
|\ \ | | | | | | Move away some ILoggers
| * | Move away some ILoggersRoeland Jago Douma2021-03-023-17/+22
| | | | | | | | | | | | | | | | | | Makes psalm happier Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #25854 from nextcloud/techdept/psalm/checksetupcontrollerLukas Reschke2021-03-021-5/+2
|\ \ \ | | | | | | | | Fix lying docblocks
| * | | Fix lying docblocksRoeland Jago Douma2021-03-011-5/+2
| |/ / | | | | | | | | | | | | | | | | | | * typed the return * removed unneeded temp variable Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #25544 from nextcloud/refactor/app-password-created-eventChristoph Wurst2021-03-022-32/+78
|\ \ \ | |/ / |/| | Move app_password_created to a typed event
| * | Move app_password_created to a typed eventChristoph Wurst2021-02-092-32/+78
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Some psalm fixes in the settings appRoeland Jago Douma2021-02-152-3/+10
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Revert "use the configured forwarded headers for the setup check"Roeland Jago Douma2021-02-131-8/+1
| |
* | use the configured forwarded headers for the setup checkRobin Appelman2021-02-121-1/+8
|/ | | | | | instead of always checking against the same header Signed-off-by: Robin Appelman <robin@icewind.nl>
* Do not show 2FA settings if the user has no providers availableChristoph Wurst2021-01-221-1/+41
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-121-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix casing of MySQLPlatform class nameVincent Petry2021-01-121-2/+2
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #25016 from nextcloud/enh/noid/add-check-for-unsupported-dbRoeland Jago Douma2021-01-112-1/+120
|\ | | | | Add setup check to verify that the used DB version is still supported…
| * Add setup check to verify that the used DB version is still supported in the ↵Morris Jobke2021-01-082-1/+120
| | | | | | | | | | | | next major release Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-2/+2
| | | | | | | | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-5/+6
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Set the user language when adding the footerJulius Härtl2021-01-071-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Hide client link in welcome mail if an empty customclient_desktop config is setJulius Härtl2021-01-071-6/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix updating user settingsChristoph Wurst2021-01-051-26/+27
| | | | | | | | | | | The requests dispatched from the personal settings page don't always send all the possible params but just a subset. Hence requests currently fail on master e.g. when you update your email. This makes the arguments optional again. Regression of da9462b482c77b71d6623be43a6aa1eda3d7cc06 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2020-12-302-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-221-1/+1
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-171-1/+1
| | | | | | | | | | | | Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Merge pull request #24702 from nextcloud/enhancement/well-known-handler-apiChristoph Wurst2020-12-181-21/+0
|\ \ | | | | | | Add well known handlers API
| * | Add well known handlers APIChristoph Wurst2020-12-161-21/+0
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Update all license headers for Nextcloud 21Christoph Wurst2020-12-1613-3/+19
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add missing parent::__construct() calls to JobsJoas Schilling2020-12-141-9/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #24247 from nextcloud/bugfix/noid/ocm-providerId-stringJulius Härtl2020-12-091-0/+2
|\ \
| * | Move columns to bigintJulius Härtl2020-12-081-0/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Make the throwing optional, so background tasks don't breakJoas Schilling2020-12-071-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Add a config for default region of phone numbersJoas Schilling2020-12-071-0/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Also translate the phone number when coming in via the accounts manager API ↵Joas Schilling2020-12-071-22/+7
| | | | | | | | | | | | | | | | | | directly Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Validate and standardize the phone number on savingJoas Schilling2020-12-071-2/+34
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Also return the phone number and twitter handle on the APIJoas Schilling2020-12-071-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Make code strictJoas Schilling2020-12-073-90/+84
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Harden setup check for TLS version if host is not reachableMorris Jobke2020-12-021-0/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use proper OCP\BackgroundJobs\JobRoeland Jago Douma2020-11-251-4/+3
| | | | | | | | | | | | And typehunt the IJobList Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Set up FS before querying storage info in settingsVincent Petry2020-11-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The personal info section of the personal settings is querying the storage quota information. For this it requires the FS to be setup which is not always guaranteed. This fixes an issue where refreshing the settings page would cause it to fail after Redis caches are full. It is likely that when Redis cache is populated, some code path is initializing the FS, so it works so far. But when the cache is populated, that code path is skipped so the FS is not guaranteed to be setup... Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Create primary keys on all tables and add a command to create the afterwardsJoas Schilling2020-11-101-0/+11
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Simplify the check if admin can change password based on encryption statusMorris Jobke2020-11-051-4/+2
| | | | | | | | | | | | | | | | | | Found by Psalm: ``` /home/runner/work/server/server/apps/settings/lib/Controller/UsersController.php:324:8:error - RedundantCondition: Type true for $isEncryptionModuleLoaded is never falsy ``` Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unneeded service - found by PsalmMorris Jobke2020-11-031-10/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add a background job that checks for potential user imported SSL ↵Morris Jobke2020-11-032-0/+84
| | | | | | | | | | | | certificates and shows a warning in the admin settings Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add SVG support check to setup checknhirokinet2020-11-021-0/+5
| | | | | | | | Signed-off-by: nhirokinet <nhirokinet@nhiroki.net>