* Bookcal : more date check
* fix phpcs warning
* No error if dateStartTimestamp not yet set
* Docker for PROD
* Update Readme
* Fix else if CodeSniffer warning
* Update Readme for Docker
* Random DB password
* Add install.forced.docker.php
* Enable dolibarr_main_url_roo writable in forced mode
* revert on main_url editable
* force_install_noedit : new value '3' to block all technical parameters excepted main_url, used in install.forced.docker.php
* force_install_noedit code 3 corrections
* Fix HOST_USER_ID, add HOST_GROUP_ID
* Fix phpcs
* Not force https if DOL_MAIN_URL_ROOT yet contains https
* Space after comma for phpcs
* use HOST_GROUP_ID
* Explanations to check https
* Update main.inc.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Bookcal : more date check
* fix phpcs warning
* No error if dateStartTimestamp not yet set
* Docker for PROD
* Update Readme
* Fix else if CodeSniffer warning
* Update Readme for Docker
* Random DB password
* Add install.forced.docker.php
* Enable dolibarr_main_url_roo writable in forced mode
* revert on main_url editable
* Allow tweaking of the index that MySQL use when searching products
Sometimes when working with large dataset with many entities the MySQL engine does not pick-up the right index.
This is especially true when doing a search over the reference because the LIKE '%%' prevent the uk_product_label from being chosen.
This PR aims to improve this situation by doing the following :
- Adding a simple index on entity column.
- Adding an hidden constant to force the index being used when searching products.
Performances over a 8M products dataset shows a reduction of 2/3 execution time.
* Add missing global $conf
* Fix wrong usage of getDolGlobalString()
* Finalise fix
* Add more indexes
* Rework indexes
Set default value of $conf->db->dolibarr_main_db_encryption to 0 instead of empty string when dolibarr_main_db_encryption is null
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>