Rept0id
fb655a0b0a
Updated function dol_eval, added error handling
...
- There were cases that dol_eval() would break the whole system.
-That was happening in case of using a new version plugin on an old version dolibarr. New plugin validates through isModActive() instead of $conf->moduleName->enabled. Even if you were deactivating the plugin, or totally delete it, the records were still on database for menu, so there were no obvious solution. This update adds a backwards compatibility, makes doli more stable and counterparts the use of eval, making it more safe.
- Use of eval is not bad, as well there are techniques in any project that are project-related useful and smart. For example, Linux kernel uses GOTO. But in such cases, there needs to be a safety net.
-I found out this after a lot of trouble, I hope this small fix will save other developers.
👍
2023-02-02 16:50:50 +02:00
Laurent Destailleur
fc64d78247
NEW The upgrade process can be done by creating a file upgrade.unlock
2023-02-02 12:58:12 +01:00
Laurent Destailleur
8f0f9af94a
Enhance repair by removing some bad named indexes
2023-02-02 12:27:43 +01:00
Laurent Destailleur
2aa6868f13
Complete the repair to remove orphelins states and regions
2023-02-02 12:17:17 +01:00
Laurent Destailleur
e67eac97e7
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-02-01 00:00:59 +01:00
Laurent Destailleur
670d77ce34
Sync transifex
2023-01-31 23:41:05 +01:00
Laurent Destailleur
9fb08b5a0a
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-01-31 21:28:59 +01:00
Laurent Destailleur
36cf05318b
Debug v17
2023-01-31 21:17:06 +01:00
Laurent Destailleur
67bf4a3ec0
Debug v17
2023-01-31 20:45:32 +01:00
Laurent Destailleur
79eacba4d8
Add a protection for forged sql filters
2023-01-31 20:41:00 +01:00
Laurent Destailleur
19eced3981
css
2023-01-31 20:10:39 +01:00
Laurent Destailleur
5e8e4551fb
Debug v17
2023-01-31 20:07:08 +01:00
Laurent Destailleur
99f26b49b7
Trans
2023-01-31 19:46:02 +01:00
Laurent Destailleur
52267efb99
Fix filter must use the Dolibarr filter syntax
2023-01-31 18:18:33 +01:00
Laurent Destailleur
e2efeeef9a
Fix menu accountancy not visible with module "comptabilite"
2023-01-31 16:05:19 +01:00
Laurent Destailleur
c1c21846ab
Fix look and feel v17
2023-01-31 11:13:17 +01:00
Laurent Destailleur
23a213d948
Fix warning
2023-01-31 10:56:16 +01:00
Laurent Destailleur
c046f100bf
Fix css
2023-01-31 10:42:39 +01:00
Laurent Destailleur
e3441e9772
css
2023-01-31 05:32:14 +01:00
Laurent Destailleur
16ca0ab801
Debug v17
2023-01-31 05:02:26 +01:00
Laurent Destailleur
404a70a2a9
Debug v18
2023-01-31 05:01:30 +01:00
Laurent Destailleur
5dbc1f5529
FIX must load only the id
2023-01-31 04:48:18 +01:00
Laurent Destailleur
6c02e890d8
Fix CSS
2023-01-31 04:37:04 +01:00
Laurent Destailleur
89ce31b840
Debug IMAP with PHP_IMAP
2023-01-31 04:14:39 +01:00
Laurent Destailleur
583891a8e5
Fix template for line total
2023-01-31 01:14:49 +01:00
Laurent Destailleur
a628852a32
Fix template for line total
2023-01-31 01:13:57 +01:00
Laurent Destailleur
6e054bc278
Add line total on user list
2023-01-31 01:13:45 +01:00
Laurent Destailleur
8da61848d9
CSS
2023-01-31 00:55:00 +01:00
Laurent Destailleur
fc3f60b6af
Clean code related to HR
2023-01-31 00:42:23 +01:00
Laurent Destailleur
897477d1c7
Trans
2023-01-30 19:27:00 +01:00
Laurent Destailleur
4d55c07b62
Doc
2023-01-30 19:12:43 +01:00
Laurent Destailleur
b48683db91
NEW Can set background style with MAIN_LOGIN_BACKGROUND_STYLE
2023-01-30 19:07:29 +01:00
Laurent Destailleur
cc9cd3e3c7
NEW Can set background style with MAIN_LOGIN_BACKGROUND_STYLE
2023-01-30 19:06:18 +01:00
Laurent Destailleur
88d26991d4
NEW The refresh link for imap collector is always visible
2023-01-30 16:16:36 +01:00
Laurent Destailleur
dd70552374
Fix css
2023-01-30 15:54:19 +01:00
Laurent Destailleur
95cb4237bf
Fix css
2023-01-30 15:51:34 +01:00
Laurent Destailleur
2a0a0fc470
Clean old deprecated code on social networks fields
2023-01-30 14:13:02 +01:00
Laurent Destailleur
2dd13f540b
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-01-30 14:02:44 +01:00
Laurent Destailleur
f3c572eb48
Merge pull request #23638 from frederic34/societe_class
...
Clean Societe class code
2023-01-30 14:00:04 +01:00
Laurent Destailleur
c533b72351
Update societe.class.php
2023-01-30 13:59:36 +01:00
Laurent Destailleur
ca04491b2e
Rename object into socialobject to avoid confusion
2023-01-30 13:57:11 +01:00
Laurent Destailleur
66ea91c253
Merge pull request #23731 from grandoc/new_branch_30_01_2023
...
fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/dom…
2023-01-30 13:23:05 +01:00
Laurent Destailleur
3349cd392e
Update commondocgenerator.class.php
2023-01-30 13:22:44 +01:00
Philippe GRAND
6ab7ca1279
fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/class/commondocgenerator.class.php on line 455
2023-01-30 12:28:20 +01:00
kkhelifa
a8bb58f298
FIX: Rights on action for payments by bank transfer
2023-01-30 12:09:25 +01:00
Anthony Berton
d52d393185
FIX - PHP8 Warnning admin commande
2023-01-30 12:08:53 +01:00
Frédéric FRANCE
47d241bf50
fix php8.2 warnings
2023-01-30 12:07:59 +01:00
Laurent Destailleur
3692f9534e
Fix properties
2023-01-30 12:06:13 +01:00
Laurent Destailleur
3a7552431f
Fix duplicate
2023-01-30 12:05:52 +01:00
hystepik
5d787a0ba9
Fix : php 8.1 warning
2023-01-30 12:04:16 +01:00