Commit graph

20734 commits

Author SHA1 Message Date
Roland Häder
04b513ba95 Fixed E_NOTICE when 'title' is absent (uninitialized array key) (#5390)
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-17 01:13:22 -04:00
Hypolite Petovan
bad2774817 Separate default config values between file-only and admin settings 2018-07-16 19:38:19 -04:00
Hypolite Petovan
67dc08d120 Enforce systen.register_policy value type 2018-07-16 19:38:19 -04:00
Hypolite Petovan
9b01a23c9b Code standards in App 2018-07-16 19:38:19 -04:00
Hypolite Petovan
b260ca4d1e Fix typo in mod/admin 2018-07-16 19:38:19 -04:00
Hypolite Petovan
c207f6d597 Remove remaining references to Config::get in include/dba 2018-07-16 19:38:18 -04:00
Hypolite Petovan
763c66dd49 Improve console/config display
- Add visual distinction between get/set value
2018-07-16 19:38:18 -04:00
Hypolite Petovan
796eb1c874 Fix undefined index in mod/settings 2018-07-16 19:38:18 -04:00
Hypolite Petovan
3001951075 Move the addon-specific config in config/addon.ini.php
- Add sample addon.ini.php file
- Add config/addon.ini.php file to git ignore
2018-07-16 19:38:18 -04:00
Hypolite Petovan
e72ff9ee95 Fix missing use in mod/ping 2018-07-16 19:38:17 -04:00
Hypolite Petovan
b343987120 Fix segfault in PHP 5.6 parsing INI strings
- add documentation to generated local.ini.php file
2018-07-16 19:38:17 -04:00
Hypolite Petovan
c8d3067d0a Fix JITConfigAdapter to retrieve non-db config.* values 2018-07-16 19:38:17 -04:00
Hypolite Petovan
bd04c03c9f Fix urlpath determination on the root page 2018-07-16 19:38:17 -04:00
Hypolite Petovan
39767fb366 Fix undefined index notice messages in mod/install 2018-07-16 19:38:17 -04:00
Hypolite Petovan
0cbe3aa8e6 Remove global $db variable 2018-07-16 19:38:17 -04:00
Hypolite Petovan
820afa2284 Replace global $a with BaseObject::getApp() 2018-07-16 19:38:17 -04:00
Hypolite Petovan
d0780ccf7d Replace global $lang with system.language 2018-07-16 19:38:17 -04:00
Hypolite Petovan
adacf421a6 Remove deprecated functions in include/text 2018-07-16 19:38:17 -04:00
Hypolite Petovan
4161908f43 Fix formatting in mod/help 2018-07-16 19:38:17 -04:00
Hypolite Petovan
627fa08a1b Chasing a segfault in PHP 5.6 tests 2018-07-16 19:38:17 -04:00
Hypolite Petovan
5906c7e013 Remove api test pconfig debug 2018-07-16 19:38:17 -04:00
Hypolite Petovan
7b8410f5ef Fix wrong mode for App since local conf file wasn't present 2018-07-16 19:38:17 -04:00
Hypolite Petovan
478b42e88f Fix debug 2018-07-16 19:38:16 -04:00
Hypolite Petovan
6987129a00 Add yet more pconfig debug to testApiGetUserWithCustomFrioSchema 2018-07-16 19:38:16 -04:00
Hypolite Petovan
224765cdf5 Wrong table name 2018-07-16 19:38:16 -04:00
Hypolite Petovan
f8a90f3425 Add more api test debug 2018-07-16 19:38:16 -04:00
Hypolite Petovan
de0afd3b32 Add api test debug 2018-07-16 19:38:16 -04:00
Hypolite Petovan
4efcd47807 Put base test config in Yaml dataset 2018-07-16 19:38:16 -04:00
Hypolite Petovan
6b03ae92b8 Fix Memached config value format usage 2018-07-16 19:38:16 -04:00
Hypolite Petovan
8fe9a46ccf Set system.hostname in test bootstrap 2018-07-16 19:38:16 -04:00
Hypolite Petovan
59c38d1b73 Move meaningful message inside Exception thrown in Cache tests 2018-07-16 19:38:16 -04:00
Hypolite Petovan
9396b05659 Revert using Config class in dba 2018-07-16 19:38:16 -04:00
Hypolite Petovan
47992d06ce Restore system.url declaration in tests 2018-07-16 19:38:16 -04:00
Hypolite Petovan
12e34cc5fb Remove direct App instantiation from tests 2018-07-16 19:38:16 -04:00
Hypolite Petovan
9be9741562 Fix uses in include/dba 2018-07-16 19:38:16 -04:00
Hypolite Petovan
fc5d8e41a4 [tests] Prevent bin/worker.php from being called during tests 2018-07-16 19:38:16 -04:00
Hypolite Petovan
762a786611 Replace direct accesses to App->config by Config::get/set calls 2018-07-16 19:38:16 -04:00
Hypolite Petovan
d1f2d04803 Add missing default config keys
- Add config.admin_nickname
- Add config.info
- Add featurelock section
2018-07-16 19:38:15 -04:00
Hypolite Petovan
3255b2364b Fix dbesc as a constant notice message 2018-07-16 19:38:15 -04:00
Hypolite Petovan
e627054f68 Add optimize_max_tablesize to default config file 2018-07-16 19:38:15 -04:00
Hypolite Petovan
4d5b79a9d4 Move forbidden_nicknames default to config file 2018-07-16 19:38:15 -04:00
Hypolite Petovan
66ac16e101 Fix set_baseurl() notice messages in worker during tests 2018-07-16 19:38:15 -04:00
Hypolite Petovan
e98216b5bb Improve comparison in App->loadDatabase() 2018-07-16 19:38:15 -04:00
Hypolite Petovan
32418e8660 Fix test bootstrap namespace issue 2018-07-16 19:38:15 -04:00
Hypolite Petovan
1f1a3930b2 Instantiate the App in test bootstrap
- Remove wrong App instantiation in Lock test
2018-07-16 19:38:15 -04:00
Hypolite Petovan
3433c22116 Remove .htconfig.php reference from DatabaseTest 2018-07-16 19:38:15 -04:00
Hypolite Petovan
d8096a402c Update use of environment variables in loadDatabase 2018-07-16 19:38:15 -04:00
Hypolite Petovan
de7277ac69 Add load_config hook doc 2018-07-16 19:38:15 -04:00
Hypolite Petovan
4e7471232e Bump minimum PHP version to 5.6.1 2018-07-16 19:38:15 -04:00
Hypolite Petovan
5196ea22ff Fix Database connexion in tests 2018-07-16 19:38:15 -04:00