John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 лет назад
Christoph Wurst
8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 лет назад
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 лет назад
Roeland Jago Douma
c02e6fcae2
fix appconfig tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 лет назад
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 лет назад
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 лет назад
Joas Schilling
2e4b3cebc6
Exclude the Bridge Bot password as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 лет назад
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 лет назад
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 лет назад
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 лет назад
Joas Schilling
b6c78eb9d4
Filter more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 лет назад
Arthur Schiwon
78201bcb72
treat sensitive config keys by pattern
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 лет назад
michaelletzgus
05b8eb140c
using isset()
using isset() instead of array_key_exists()
6 лет назад
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 лет назад
Roeland Jago Douma
1e7b20f615
Remove IAppConfig::setValue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 лет назад
Roeland Jago Douma
09f8a755ec
Remove IAppConfig::getValue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 лет назад
Roeland Jago Douma
ee2617d88c
Simple IAppConfig deprecations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 лет назад
Joas Schilling
30b9262a5a
Make sure the spreed TURN server secret stays a secret
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 лет назад
Joas Schilling
ce7836378c
Filter out sensitive appconfig values
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 лет назад
Joas Schilling
0215b004da
Update with robin
8 лет назад
Joas Schilling
ba87db3fcc
Fix others
8 лет назад
Jörn Friedrich Dreyer
c14198b874
fetchall appconfig entries (#23835)
8 лет назад
blizzz
51fd2602a7
Revert "Downstream 2016-06-08"
8 лет назад
Joas Schilling
0041d89dc2
Do not allow to store boolean configs, they behave unexpected on postgres
8 лет назад
Joas Schilling
911fd3ead4
Do not allow to store boolean configs, they behave unexpected on postgres
8 лет назад
Lukas Reschke
aba539703c
Update license headers
8 лет назад
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 лет назад
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
8 лет назад
Thomas Müller
682821c71e
Happy new year!
8 лет назад
Robin Appelman
a3cbdcf202
Faster AppConfig->getValues
8 лет назад
Morris Jobke
b945d71384
update licence headers via script
8 лет назад
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 лет назад
Joas Schilling
38a164aa7a
Make sure the array exists
9 лет назад
Joas Schilling
21ba3b8737
Only query the appconfig once
9 лет назад
Morris Jobke
f63915d0c8
update license headers and authors
9 лет назад
Joas Schilling
dfed287dc0
Use insertIfNotExists to avoid problems with parallel calls
9 лет назад
Jenkins for ownCloud
b585d87d9d
Update license headers
9 лет назад
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 лет назад
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 лет назад
Robin McCorkell
2b99fc76ec
Cleanup of PHPDoc return types
9 лет назад
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 лет назад
Robin Appelman
6ed3194863
Use a map to prevent having to use search
10 лет назад
Robin Appelman
bff9e11ff9
Remove duplicate cache cleanup
10 лет назад
Robin Appelman
a4949f4b31
Simplify AppConfig->getValues()
10 лет назад
Robin Appelman
91180bfef4
Add caching to AppConfig->getApps
10 лет назад
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
10 лет назад
Robin McCorkell
b5bc37d2e4
Fix @return array PHPDocs, in /lib
10 лет назад
Lukas Reschke
e88731a477
Some more PHPDoc fixes
10 лет назад
Thomas Müller
c1fd300048
using array_key_exists() instead of isset() - required because in case the value is null isset is returning false
10 лет назад
Bart Visscher
35a8dfb2fa
More PHPDoc fixes, using scrutinizer patches as hints
10 лет назад