summaryrefslogtreecommitdiffstats
path: root/lib/private/AppConfig.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(appconfig): Make sure sensitive values stay sensitiveJoas Schilling2024-03-061-5/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(appconfig): Automatically store "sensitive" appconfigs encrypted in the ↵Joas Schilling2024-03-061-6/+45
| | | | | | database Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #43424 from ↵Maxence Lange2024-02-121-0/+4
|\ | | | | | | | | nextcloud/enh/noid/debug-on-lazy-appconfig-loading enh(appconfig): debug logs on lazy loadConfig
| * use exception for cleaner TraceMaxence Lange2024-02-121-1/+1
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * debug lazy loadConfigMaxence Lange2024-02-071-0/+4
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix phpdocMaxence Lange2024-02-121-3/+3
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | redundant conditionMaxence Lange2024-02-071-4/+0
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix getAllValues() to filter values based on prefixMaxence Lange2024-02-071-3/+8
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* returns non lazy value while searching for lazyMaxence Lange2024-02-061-5/+8
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* return false on AppConfigUnknownKeyExceptionMaxence Lange2024-02-011-6/+12
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* better indexesMaxence Lange2024-01-241-20/+23
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #42847 from nextcloud/fix/42843/exception-on-their-ownJoas Schilling2024-01-181-2/+10
|\ | | | | exceptions on their own
| * exceptions on their ownMaxence Lange2024-01-161-2/+10
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | returns default on exceptionMaxence Lange2024-01-161-1/+7
|/ | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* small fixesMaxence Lange2024-01-151-2/+2
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fixesMaxence Lange2024-01-151-151/+44
| | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* lazy AppConfigMaxence Lange2024-01-151-282/+1373
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(systemreport): Mark more configs as sensitiveJoas Schilling2024-01-091-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-1/+1
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* provisioning_api: Add OpenAPI specjld31032023-07-311-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(security): Mark recording_servers key appconfig as private as it ↵Joas Schilling2023-03-221-0/+1
| | | | | | contains a secret Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix appconfig compatibility with Oracle DBJoas Schilling2023-02-231-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* composer run cs:fixCôme Chilliet2023-01-201-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #35177 from nextcloud/fix/noid/bringing-clear-config-backJulius Härtl2022-12-191-0/+9
|\
| * restoring clearCachedConfig()Maxence Lange2022-11-151-0/+9
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Update sensitive config list of TalkJoas Schilling2022-12-091-1/+4
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Mark more config values as sensitiveJoas Schilling2022-11-111-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove SCSSCacherJohn Molakvoæ2022-05-131-10/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* censor app config values for all integration appsJulien Veyssier2022-03-041-0/+50
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Censor more configsJoas Schilling2022-03-011-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-5/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix appconfig testsRoeland Jago Douma2020-12-071-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix updates of NULL appconfig valuesRoeland Jago Douma2020-10-211-9/+22
| | | | | | | | The comparisson of NULL is a bit special. So we need to handle this a tad beter else it might not replace NULL values. or allow you to set NULL values on updates. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Clear cached app config while waiting for the SCSSCache to finish processing ↵Morris Jobke2020-10-161-0/+10
| | | | | | the file Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Exclude the Bridge Bot password as wellJoas Schilling2020-08-201-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Filter more configsJoas Schilling2019-08-191-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* treat sensitive config keys by patternArthur Schiwon2019-07-261-4/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* using isset()michaelletzgus2018-02-051-1/+1
| | | using isset() instead of array_key_exists()
* Fix undefined index problemmichaelletzgus2018-02-041-3/+5
| | | | | | | | Nextcloud 13RC4, error in logfile, triggered by "occ config:list": Invalid argument supplied for foreach() at lib/private/AppConfig.php#297 PHP Undefined index: workflowengine at lib/private/AppConfig.php#297 Fix: Check if index exists in array before using it.
* Remove IAppConfig::setValueRoeland Jago Douma2018-01-171-1/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-1/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Simple IAppConfig deprecationsRoeland Jago Douma2018-01-171-3/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make sure the spreed TURN server secret stays a secretJoas Schilling2017-01-171-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Filter out sensitive appconfig valuesJoas Schilling2017-01-111-8/+47
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update with robinJoas Schilling2016-07-211-1/+1
|