Julien Veyssier
a295529576
censor app config values for all integration apps
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2 years ago
Joas Schilling
1e27aed4dc
Censor more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Christoph Wurst
8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Roeland Jago Douma
c02e6fcae2
fix appconfig tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
db82d27239
Fix updates of NULL appconfig values
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>
3 years ago
Morris Jobke
cce716f9f3
Clear cached app config while waiting for the SCSSCache to finish processing the file
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years ago
Joas Schilling
2e4b3cebc6
Exclude the Bridge Bot password as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Joas Schilling
b6c78eb9d4
Filter more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Arthur Schiwon
78201bcb72
treat sensitive config keys by pattern
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years ago
michaelletzgus
05b8eb140c
using isset()
using isset() instead of array_key_exists()
6 years ago
michaelletzgus
cfa694ea73
Fix undefined index problem
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.
6 years ago
Roeland Jago Douma
1e7b20f615
Remove IAppConfig::setValue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
09f8a755ec
Remove IAppConfig::getValue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
ee2617d88c
Simple IAppConfig deprecations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Joas Schilling
30b9262a5a
Make sure the spreed TURN server secret stays a secret
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
ce7836378c
Filter out sensitive appconfig values
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
0215b004da
Update with robin
8 years ago
Joas Schilling
ba87db3fcc
Fix others
8 years ago
Jörn Friedrich Dreyer
c14198b874
fetchall appconfig entries (#23835)
8 years ago
blizzz
51fd2602a7
Revert "Downstream 2016-06-08"
8 years ago
Joas Schilling
0041d89dc2
Do not allow to store boolean configs, they behave unexpected on postgres
8 years ago
Joas Schilling
911fd3ead4
Do not allow to store boolean configs, they behave unexpected on postgres
8 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Roeland Jago Douma
d312051b3d
Moved some files in \OC to PSR-4
* \OC\ActivityManager
* \OC\AllConfig
* \OC\AppConfig
* \OC\AppHelper
* \OC\Avatar
* \OC\AvatarManager
* \OC\CapabilitiesManager
* \OC\Config
* \OC\ContactsManager
* \OC\DatabaseException
* \OC\DatabaseSetupException
8 years ago
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Robin Appelman
a3cbdcf202
Faster AppConfig->getValues
8 years ago
Morris Jobke
b945d71384
update licence headers via script
8 years ago
Joas Schilling
0e805d5310
Do not compare the value on Oracle
As per docs: http://docs.oracle.com/cd/E11882_01/server.112/e26088/conditions002.htm#i1033286
> Large objects (LOBs) are not supported in comparison conditions.
8 years ago
Joas Schilling
38a164aa7a
Make sure the array exists
8 years ago
Joas Schilling
21ba3b8737
Only query the appconfig once
8 years ago
Morris Jobke
f63915d0c8
update license headers and authors
9 years ago
Joas Schilling
dfed287dc0
Use insertIfNotExists to avoid problems with parallel calls
9 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
9 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 years ago
Robin McCorkell
2b99fc76ec
Cleanup of PHPDoc return types
9 years ago
Arthur Schiwon
3338a0f236
port of #9500
don't trigger update from checkPassword, it is already called by userExists, this is enough.
do not write to database when the value is the same
add test cases. also split test classes in a file each, looks like only the first class is being executed
also appconfig shall not write to database if the value is unchanged
10 years ago
Robin Appelman
6ed3194863
Use a map to prevent having to use search
10 years ago
Robin Appelman
bff9e11ff9
Remove duplicate cache cleanup
10 years ago
Robin Appelman
a4949f4b31
Simplify AppConfig->getValues()
10 years ago
Robin Appelman
91180bfef4
Add caching to AppConfig->getApps
10 years ago
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
10 years ago
Robin McCorkell
b5bc37d2e4
Fix @return array PHPDocs, in /lib
10 years ago
Lukas Reschke
e88731a477
Some more PHPDoc fixes
10 years ago