Commit Graph

116889 Commits

Author SHA1 Message Date
Laurent Destailleur
a35e8faa2f Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-06 14:13:50 +01:00
Laurent Destailleur
22d3d9cef5 Fix warning when using MAIN_SECURITY_CSRF_TOKEN_RENEWAL_ON_EACH_CALL 2023-02-06 14:13:37 +01:00
Laurent Destailleur
a55305568a
Merge pull request #23791 from grandoc/new_branch_05_02_2023
fix : Warning: Trying to access array offset on value of type bool in…
2023-02-06 00:03:13 +01:00
Laurent Destailleur
090c04b904 Fix filter on contact category 2023-02-05 20:16:58 +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
Philippe GRAND
7a1c9b468a fix : Warning: Undefined array key label in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/expedition/card.php on line 340 2023-02-05 17:04:13 +01:00
Philippe GRAND
d903008786 fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/commande/card.php on line 688 2023-02-05 15:14:23 +01:00
Philippe GRAND
6c61b80778 fix : Warning: Trying to access array offset on value of type bool in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/includes/tcpdi/tcpdi_parser.php on line 1376 2023-02-05 14:57:36 +01:00
Frédéric FRANCE
c69e5a98b1 Add files via upload 2023-02-04 16:34:10 +01:00
kkhelifa
05a0c775b6 FIX: Remove orphelan $this->db->rollback() in the function insertExtrafields() 2023-02-04 16:13:23 +01:00
Laurent Destailleur
30ed312913 FIX Try to fix stripe warning 2023-02-04 16:01:00 +01:00
Laurent Destailleur
116cf440de Fix stripe warning 2023-02-04 15:52:25 +01:00
Sylvain Legrand
18708dfdee Fix input for progress not shown on lines in edit mode 2023-02-04 15:42:00 +01:00
jyhere
ecadaf9666 [FIX] sellist / chkboxlist extrafields error when table is _extrafields
This patch fixes error when an sellist /chkboxlist extrafield directly use an *_extrafields table (as main table)
2023-02-04 15:27:08 +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
57e003a7f5 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-04 15:17:01 +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
acef9f674f
Merge pull request #23779 from grandoc/new_branch_04_02_2023
fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/a…
2023-02-04 15:01:23 +01:00
Laurent Destailleur
2cc19f0e42 Fix css 2023-02-04 14:59:44 +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
7a3c752914 Fix permission on an inherited group inside entity 0 no visible 2023-02-04 14:06:40 +01:00
Laurent Destailleur
e782930670 Fix #yogosha 2023-02-04 14:06:06 +01:00
Philippe GRAND
5271a2b4a7 fix : Warning: Undefined property: DeliveryLine:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/delivery/card.php on line 571 and same for 2023-02-04 12:17:42 +01:00
Philippe GRAND
9016f5e74a fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/delivery/card.php on line 286 2023-02-04 11:42:01 +01:00
Philippe GRAND
263ef91984 fix : Warning: Undefined array key xStartPos in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/class/commondocgenerator.class.php on line 1109 2023-02-04 11:10:30 +01:00
Philippe GRAND
75b5c2cf54 fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/delivery/class/delivery.class.php on line 822 2023-02-04 10:25:35 +01:00
Laurent Destailleur
3069a97a46 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-03 17:26:11 +01:00
Laurent Destailleur
d0d30d1f17 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-02-03 17:11:30 +01:00
Laurent Destailleur
782e953a1d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2023-02-03 17:09:38 +01:00
Laurent Destailleur
86c2f2fcde Fix phpcs 2023-02-03 17:08:24 +01:00
Julien Nicolas
04e3b47547
Division by zero 2023-02-03 15:56:50 +01:00
Laurent Destailleur
45dd6c8f0b Prepare option PDF_SWISS_QRCODE_USE_OWNER_OF_ACCOUNT_AS_CREDITOR 2023-02-02 15:06:19 +01:00
Laurent Destailleur
be63736f87 Enhance repair by removing some bad named indexes 2023-02-02 13:03:30 +01:00
Laurent Destailleur
c78e2b11f9 Complete the repair to remove orphelins states and regions 2023-02-02 13:03:18 +01:00
Laurent Destailleur
088d783e03 Fix all indexes must have a name 2023-02-02 12:59:05 +01:00
Laurent Destailleur
40852a124d Fix doc 2023-02-02 12:15:22 +01:00
Laurent Destailleur
2c1e1a6126 Fix missing upgrade 2023-02-02 11:48:30 +01:00
Laurent Destailleur
a564cb8532 css 2023-02-01 16:12:29 +01:00
Laurent Destailleur
a6f6192d78 Fix warnings 2023-02-01 11:20:52 +01:00
Laurent Destailleur
958c149d85 Fix permission to delete a website 2023-02-01 03:39:40 +01:00
Laurent Destailleur
670d77ce34 Sync transifex 2023-01-31 23:41:05 +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
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