Commit Graph

9423 Commits

Author SHA1 Message Date
Laurent Destailleur
310fd4e369 Debug IMAP-PHP for MS 2023-02-08 01:28:14 +01:00
Frédéric FRANCE
39ec233138 add count extrafields in admin dolresource 2023-02-07 21:52:33 +01:00
Laurent Destailleur
e71ad2e23b Maxi debug of OAuth module 2023-02-07 20:12:53 +01:00
Laurent Destailleur
7c4858fdc3 Add page with help for ingoing email setup 2023-02-07 11:05:09 +01:00
Laurent Destailleur
cd2e82f4a5 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-07 00:22:27 +01:00
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
4b062847ff Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-06 19:28:11 +01:00
Théo David
394c3f847c FIX clicktodial backtopage 2023-02-06 17:03:51 +01:00
Théo David
7e15ea256f fix: socid post param on clicktodial add event button 2023-02-06 16:35:53 +01:00
Laurent Destailleur
fe35f5ec28 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-06 14:21:25 +01:00
Laurent Destailleur
806b2d9325 Merge pull request #23793 from frederic34/patch-7
add extrafields count in salary(ies) admin
2023-02-06 00:19:09 +01:00
Laurent Destailleur
437539ecb9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-02-05 22:50:12 +01:00
Laurent Destailleur
631168f56c NEW Collapse/Expand separators supported in edit and create mode 2023-02-05 22:37:24 +01:00
Frédéric FRANCE
89c5af14f4 add extrafields count in salary(ies) admin 2023-02-05 21:14:09 +01:00
Philippe GRAND
0633ead0e6 fix : Warning: Undefined array key delivery in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/lib/sendings.lib.php on line 53 2023-02-05 18:05:03 +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
53b64feb7b Merge pull request #23760 from rept0id/develop
Fix : Updated function dol_eval, added error handling
2023-02-04 15:16:38 +01:00
Laurent Destailleur
0a2d236c4e Merge pull request #23773 from DethCount/patch-3
FIX Division by zero
2023-02-04 15:06:03 +01:00
Laurent Destailleur
c0dc9d47e3 Fix permissions #yogosha13771 2023-02-04 14:09:28 +01:00
Laurent Destailleur
f32fdf3f29 FIX #yogosha14972 2023-02-04 14:07:07 +01:00
Laurent Destailleur
e782930670 Fix #yogosha 2023-02-04 14:06:06 +01:00
Laurent Destailleur
1f195a3be5 Fix #yogosha14963 2023-02-04 14:04:25 +01:00
Laurent Destailleur
a7e1ed7c6c Fix permissions #yogosha13771 2023-02-04 12:31:50 +01:00
Laurent Destailleur
53be37148b NEW Support option MAIN_SECURITY_MAXFILESIZE_DOWNLOADED #yogosha10660 2023-02-04 11:32:38 +01:00
Laurent Destailleur
8947ce6450 FIX #yogosha14972 2023-02-04 10:58:00 +01:00
Laurent Destailleur
1e2e438103 Fix #yogosha 2023-02-04 00:18:30 +01:00
Julien Nicolas
04e3b47547 Division by zero 2023-02-03 15:56:50 +01:00
stickler-ci
bce25eaff1 Fixing style errors. 2023-02-02 16:44:09 +00:00
root
0950df7b63 Add options in function pdf_pagefoot & pdf_pagehead of pdf.lib.php 2023-02-02 17:28:47 +01:00
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
a6f6192d78 Fix warnings 2023-02-01 11:20:52 +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
5c6d0bc26f Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-30 03:01:13 +01:00
Laurent Destailleur
1fe08ad3b8 Fix missing hook 2023-01-30 02:56:29 +01:00
Laurent Destailleur
dfcba30577 FIX Check of date of validity 2023-01-27 14:06:31 +01:00
Laurent Destailleur
a6daba61ce Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-26 02:32:08 +01:00
Laurent Destailleur
dbfa172e19 Debug view of thumbs for svg 2023-01-25 17:39:21 +01:00
Laurent Destailleur
faa44379e8 Debug view of thumbs for svg 2023-01-25 17:38:04 +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
1513c46c77 Doxygen 2023-01-22 19:25:37 +01:00
Laurent Destailleur
f7302232df Fix rounding 2023-01-20 19:34:26 +01:00
Laurent Destailleur
80d46a22f1 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-18 21:36:57 +01:00
Laurent Destailleur
cd5009d8a4 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-01-18 21:21:49 +01:00
Laurent Destailleur
283ad1abcf Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-01-18 20:54:16 +01:00
Laurent Destailleur
2a299068ad Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2023-01-18 20:45:44 +01:00
Laurent Destailleur
c33f5474b1 Merge pull request #23562 from ptibogxiv/patch-80
Fix php 8 warnings
2023-01-18 20:28:25 +01:00