Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
fad44a068d
@ -363,7 +363,13 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action')))
|
|||||||
if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0)
|
if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0)
|
||||||
{
|
{
|
||||||
migrate_event_assignement($db,$langs,$conf);
|
migrate_event_assignement($db,$langs,$conf);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Scripts for lat version
|
||||||
|
$afterversionarray=explode('.','3.7.9');
|
||||||
|
$beforeversionarray=explode('.','3.8.9');
|
||||||
|
if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0)
|
||||||
|
{
|
||||||
// Reload modules (this must be always and only into last targeted version)
|
// Reload modules (this must be always and only into last targeted version)
|
||||||
$listofmodule=array(
|
$listofmodule=array(
|
||||||
'MAIN_MODULE_AGENDA',
|
'MAIN_MODULE_AGENDA',
|
||||||
@ -3818,8 +3824,9 @@ function migrate_reload_modules($db,$langs,$conf,$listofmodule=array())
|
|||||||
if ($moduletoreload == 'MAIN_MODULE_SERVICE') // Permission has changed into 2.7
|
if ($moduletoreload == 'MAIN_MODULE_SERVICE') // Permission has changed into 2.7
|
||||||
{
|
{
|
||||||
dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Service");
|
dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Service");
|
||||||
if ($res) {
|
|
||||||
$res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modService.class.php';
|
$res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modService.class.php';
|
||||||
|
if ($res) {
|
||||||
$mod=new modService($db);
|
$mod=new modService($db);
|
||||||
//$mod->remove('noboxes');
|
//$mod->remove('noboxes');
|
||||||
$mod->init('newboxdefonly');
|
$mod->init('newboxdefonly');
|
||||||
@ -3828,8 +3835,9 @@ function migrate_reload_modules($db,$langs,$conf,$listofmodule=array())
|
|||||||
if ($moduletoreload == 'MAIN_MODULE_COMMANDE') // Permission has changed into 2.9
|
if ($moduletoreload == 'MAIN_MODULE_COMMANDE') // Permission has changed into 2.9
|
||||||
{
|
{
|
||||||
dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Commande");
|
dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Commande");
|
||||||
if ($res) {
|
|
||||||
$res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modCommande.class.php';
|
$res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modCommande.class.php';
|
||||||
|
if ($res) {
|
||||||
$mod=new modCommande($db);
|
$mod=new modCommande($db);
|
||||||
//$mod->remove('noboxes');
|
//$mod->remove('noboxes');
|
||||||
$mod->init('newboxdefonly');
|
$mod->init('newboxdefonly');
|
||||||
@ -3838,8 +3846,8 @@ function migrate_reload_modules($db,$langs,$conf,$listofmodule=array())
|
|||||||
if ($moduletoreload == 'MAIN_MODULE_FACTURE') // Permission has changed into 2.9
|
if ($moduletoreload == 'MAIN_MODULE_FACTURE') // Permission has changed into 2.9
|
||||||
{
|
{
|
||||||
dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Facture");
|
dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Facture");
|
||||||
if ($res) {
|
|
||||||
$res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modFacture.class.php';
|
$res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modFacture.class.php';
|
||||||
|
if ($res) {
|
||||||
$mod=new modFacture($db);
|
$mod=new modFacture($db);
|
||||||
//$mod->remove('noboxes');
|
//$mod->remove('noboxes');
|
||||||
$mod->init('newboxdefonly');
|
$mod->init('newboxdefonly');
|
||||||
@ -3878,8 +3886,8 @@ function migrate_reload_modules($db,$langs,$conf,$listofmodule=array())
|
|||||||
if ($moduletoreload == 'MAIN_MODULE_ECM') // Permission has changed into 3.0 and 3.1
|
if ($moduletoreload == 'MAIN_MODULE_ECM') // Permission has changed into 3.0 and 3.1
|
||||||
{
|
{
|
||||||
dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module ECM");
|
dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module ECM");
|
||||||
if ($res) {
|
|
||||||
$res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modECM.class.php';
|
$res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modECM.class.php';
|
||||||
|
if ($res) {
|
||||||
$mod=new modECM($db);
|
$mod=new modECM($db);
|
||||||
$mod->remove('noboxes'); // We need to remove because a permission id has been removed
|
$mod->remove('noboxes'); // We need to remove because a permission id has been removed
|
||||||
$mod->init('newboxdefonly');
|
$mod->init('newboxdefonly');
|
||||||
|
|||||||
@ -231,8 +231,8 @@ Security=Security
|
|||||||
Passwords=Passwords
|
Passwords=Passwords
|
||||||
DoNotStoreClearPassword=Do no store clear passwords in database but store only encrypted value (Activated recommended)
|
DoNotStoreClearPassword=Do no store clear passwords in database but store only encrypted value (Activated recommended)
|
||||||
MainDbPasswordFileConfEncrypted=Database password encrypted in conf.php (Activated recommended)
|
MainDbPasswordFileConfEncrypted=Database password encrypted in conf.php (Activated recommended)
|
||||||
InstrucToEncodePass=To have password encoded into the <b>conf.php</b> file, replace the line <br><b>$dolibarr_main_db_pass="..."</b><br>by<br><b>$dolibarr_main_db_pass="crypted:%s"</b>
|
InstrucToEncodePass=To have password encoded into the <b>conf.php</b> file, replace the line <br><b>$dolibarr_main_db_pass="...";</b><br>by<br><b>$dolibarr_main_db_pass="crypted:%s";</b>
|
||||||
InstrucToClearPass=To have password decoded (clear) into the <b>conf.php</b> file, replace the line <br><b>$dolibarr_main_db_pass="crypted:..."</b><br>by<br><b>$dolibarr_main_db_pass="%s"</b>
|
InstrucToClearPass=To have password decoded (clear) into the <b>conf.php</b> file, replace the line <br><b>$dolibarr_main_db_pass="crypted:...";</b><br>by<br><b>$dolibarr_main_db_pass="%s";</b>
|
||||||
ProtectAndEncryptPdfFiles=Protection of generated pdf files (Activated NOT recommended, breaks mass pdf generation)
|
ProtectAndEncryptPdfFiles=Protection of generated pdf files (Activated NOT recommended, breaks mass pdf generation)
|
||||||
ProtectAndEncryptPdfFilesDesc=Protection of a PDF document keeps it available to read and print with any PDF browser. However, editing and copying is not possible anymore. Note that using this feature make building of a global cumulated pdf not working (like unpaid invoices).
|
ProtectAndEncryptPdfFilesDesc=Protection of a PDF document keeps it available to read and print with any PDF browser. However, editing and copying is not possible anymore. Note that using this feature make building of a global cumulated pdf not working (like unpaid invoices).
|
||||||
Feature=Feature
|
Feature=Feature
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user