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
Hypolite Petovan
7f04a2ab8b
Replace system.proc_windows config by PHP_OS test
2018-07-16 19:38:15 -04:00
Hypolite Petovan
2e40c39fa4
Add system.groupedit_image_limit config key to defaults.ini.php
2018-07-16 19:38:15 -04:00
Hypolite Petovan
cd9b864045
Rework App modes
...
- Replace App mode constants with capability-based flags
- Add App->isInstallMode()
- Add file config fallback in (P)Config abstraction
- Removed logger disabling code
2018-07-16 19:38:15 -04:00
Hypolite Petovan
d487c399dd
Standards: Rename App methods
...
- Rename App->max_processes_reached to App->isMaxProcessesReached
- Rename App->maxload_reached to App->isMaxLoadReached
2018-07-16 19:38:14 -04:00
Hypolite Petovan
73b4e0552d
Fix wrong urlpath determination
2018-07-16 19:38:14 -04:00
Hypolite Petovan
6d4615fabd
Update config/defaults.ini.php
...
- Move sections around
- Update config.admin_email value type
2018-07-16 19:38:14 -04:00
Hypolite Petovan
5e8185f7b4
Fix INSTALL
...
- Change config file permissions
- Remove leading slash of config/
2018-07-16 19:38:14 -04:00
Hypolite Petovan
54a465c577
Update documentation
...
- Add line breaks on periods
- Remove obsolete text
2018-07-16 19:38:14 -04:00
Hypolite Petovan
5a93c3abfa
Revert doc/Config title
2018-07-16 19:38:14 -04:00
Hypolite Petovan
cce1a96bee
Reorganize .gitignore
...
- Delete duplicates
- Add leading slash to /doc/html
- Typo
2018-07-16 19:38:14 -04:00
Hypolite Petovan
02cabef99d
Move doc/htconfig.md to doc/Config.md
...
- Updated all .htconfig.php references in other documentation pages
- Added migration part
2018-07-16 19:38:14 -04:00
Hypolite Petovan
3fc21f0d64
Fix config mentions (no doc)
2018-07-16 19:38:14 -04:00
Hypolite Petovan
2e2930d770
Add addon config hook
2018-07-16 19:38:14 -04:00
Hypolite Petovan
b10ae510c0
Updated configuration files
...
- Added system.account_abandon_days and system.addon to defaults.ini.php
- Fixed database section key names in local-sample.ini.php
2018-07-16 19:38:14 -04:00
Hypolite Petovan
0448ca3897
Update install procedure
...
- Fix Notice messages in Core\Install and Database\DBStructure
- Move local config file template from htconfig.tpl to local.ini.tpl
- Remove htconfig.php
2018-07-16 19:38:14 -04:00
Hypolite Petovan
e7c3d453c2
Update config console command
2018-07-16 19:38:14 -04:00
Hypolite Petovan
f0ce897647
Remove stray include of .htconfig.php in index.php
2018-07-16 19:38:13 -04:00