Commit Graph

3129 Commits

Author SHA1 Message Date
Laurent Destailleur
95b306ba84 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-07 00:19:54 +01:00
Laurent Destailleur
3dc8937ad3 Provide an object for computed extrafields 2023-02-07 00:11:33 +01:00
Laurent Destailleur
70c6ce9bfb Enhance error catching on dol_eval 2023-02-04 15:21:32 +01:00
Rept0id
3cc415af47 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-04 15:17:51 +01:00
Laurent Destailleur
a6f6192d78 Fix warnings 2023-02-01 11:20:52 +01:00
Laurent Destailleur
36cf05318b Debug v17 2023-01-31 21:17:06 +01:00
Laurent Destailleur
dbfa172e19 Debug view of thumbs for svg 2023-01-25 17:39:21 +01:00
Laurent Destailleur
5429882147 Debug v17 2023-01-24 18:23:46 +01:00
Laurent Destailleur
5b5a3547e2 Debug v17 2023-01-24 13:00:09 +01:00
Laurent Destailleur
f7302232df Fix rounding 2023-01-20 19:34:26 +01:00
Laurent Destailleur
4f350d878c Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-01-11 21:07:43 +01:00
Laurent Destailleur
2da8c1d9bc Fix rounding 2023-01-10 11:33:17 +01:00
Laurent Destailleur
37528e6544 Add CRC to currency with symbol before amount 2023-01-04 09:43:26 +01:00
Laurent Destailleur
d62fb2af64 css 2023-01-02 20:15:34 +01:00
Laurent Destailleur
2970f039dd Fix warning 2022-12-31 16:52:23 +01:00
Laurent Destailleur
24e3e278ed Fix warning 2022-12-30 14:24:39 +01:00
Laurent Destailleur
a4c1ae1b82 Fix permission 2022-12-27 11:54:11 +01:00
Laurent Destailleur
08b81203f0 Debug v17 2022-12-26 13:55:29 +01:00
Laurent Destailleur
1368128743 Debug v17 2022-12-26 13:00:22 +01:00
Laurent Destailleur
46db4b51d1 FIX Debug v17 2022-12-22 03:08:41 +01:00
Laurent Destailleur
e32b7789e5 Merge 2022-12-17 11:44:25 +01:00
Charlène Benke
4863b0ff4e FIX : duplicate tabs on external module with 5 params 2022-12-15 09:22:36 +01:00
Laurent Destailleur
50c76110bb Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2022-12-14 11:19:12 +01:00
Laurent Destailleur
62b0447c7b Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-12-14 11:02:23 +01:00
Laurent Destailleur
64de591770 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-12-14 10:20:47 +01:00
Laurent Destailleur
a673bdba15 Debug v17, on supplier, default vat rate is sale if no price found 2022-12-13 20:06:56 +01:00
Laurent Destailleur
5b31882ce3 Merge pull request #23167 from Hystepik/develop#2
Fix : php 8.1 warnings
2022-12-10 16:15:40 +01:00
Laurent Destailleur
a07193ef4b Fix php8 2022-12-09 15:57:18 +01:00
hystepik
d8ce58811a Fix : php 8.1 warnings 2022-12-09 14:27:43 +01:00
Laurent Destailleur
e1e9ff8cda Fix debug v17 2022-12-08 19:34:16 +01:00
Alexandre SPANGARO
a107c81bf1 Merge branch '14.0' into 14p42 2022-12-06 04:53:10 +01:00
Alexandre SPANGARO
89b10b0dfb Fix css 2022-12-06 04:48:04 +01:00
Laurent Destailleur
57371302be FIx #yogosha13798 2022-12-05 15:05:40 +01:00
Laurent Destailleur
a34f69012e Debug v17 2022-12-04 13:37:13 +01:00
Laurent Destailleur
24d7a72b06 Fix case of MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS is 'none' 2022-12-04 12:17:19 +01:00
Laurent Destailleur
21f1dcc3de Complete substitution with __NOW_TMS__ 2022-12-01 18:58:45 +01:00
Laurent Destailleur
5026de62f7 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-01 17:48:29 +01:00
Laurent Destailleur
9b5fc20308 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-12-01 17:46:13 +01:00
Laurent Destailleur
7627bba443 Debug v17 2022-12-01 17:28:26 +01:00
Eric Seigne
9a2ce53517 add stamp and signature in pictowithouttext list 2022-11-30 23:41:32 +01:00
Frédéric FRANCE
c9114bd687 add parameter for hook 2022-11-29 12:08:09 +01:00
Laurent Destailleur
dc0d9e1b94 Fix regression 2022-11-28 19:05:51 +01:00
Laurent Destailleur
5cfe40a4bc FIX Can use the WAF of HTML content (dol_htmlwithnojs) for output too 2022-11-28 18:42:59 +01:00
Laurent Destailleur
ba4e5ef245 Enhance phpunit 2022-11-28 16:54:34 +01:00
Laurent Destailleur
75de251402 FIX #yogosha13687 2022-11-28 15:37:38 +01:00
Laurent Destailleur
c62c7e3805 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/bookkeeping/balance.php
	htdocs/accountancy/bookkeeping/list.php
	htdocs/accountancy/bookkeeping/listbyaccount.php
	htdocs/accountancy/bookkeeping/listbysubaccount.php
2022-11-26 01:43:09 +01:00
Laurent Destailleur
b231bcb64a Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
Conflicts:
	htdocs/accountancy/bookkeeping/balance.php
	htdocs/accountancy/bookkeeping/list.php
	htdocs/accountancy/bookkeeping/listbyaccount.php
	htdocs/accountancy/bookkeeping/listbysubaccount.php
2022-11-26 01:21:51 +01:00
Laurent Destailleur
85e9ac1e40 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-11-26 01:13:58 +01:00
Laurent Destailleur
1ec862b491 Merge pull request #22982 from inovea-conseil/fix_19877
FIX#19877
2022-11-25 23:41:18 +01:00
Mathieu
023bc7d20e FIX#19877 2022-11-25 22:29:44 +01:00