Commit Graph

30861 Commits

Author SHA1 Message Date
kkhelifa
2c826a4fcc FIX: Remove orphelan $this->db->rollback() in the function insertExtrafields() 2023-02-04 16:15:18 +01:00
kkhelifa
05a0c775b6 FIX: Remove orphelan $this->db->rollback() in the function insertExtrafields() 2023-02-04 16:13:23 +01:00
Laurent Destailleur
cd8db1c60d Merge pull request #23748 from OPEN-DSI/develop_fix_insert_extra_fields_on_link_type_when_error
FIX: Remove orphelan $this->db->rollback() in the function insertExtrafields()
2023-02-04 16:12:34 +01:00
Sylvain Legrand
18708dfdee Fix input for progress not shown on lines in edit mode 2023-02-04 15:42:00 +01:00
Laurent Destailleur
4d2dcf54c8 Merge pull request #23757 from SylvainLegrand/Fix_show_progress_imput_on_edit_line
Fix input for progress not shown on lines in edit mode
2023-02-04 15:41:10 +01:00
Laurent Destailleur
d3a26efb0e Merge pull request #23755 from frederic34/patch-4
fix #23753
2023-02-04 15:39:01 +01:00
Laurent Destailleur
374a3e4cfb Merge pull request #23756 from frederic34/patch-7
doc
2023-02-04 15:38:41 +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
744be1d20a Merge pull request #23765 from jyhere/jyhere-fix-tablelistextrafields
[FIX] sellist / chkboxlist extrafields error when table is _extrafields
2023-02-04 15:26:10 +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
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
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
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
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
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
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
Noé Courtier
9cf71e7d1c FIX: Cannot import find type_fees with cgenericdic.class because its have id and not rowid 2023-02-03 16:34:36 +01:00
Julien Nicolas
04e3b47547 Division by zero 2023-02-03 15:56:50 +01:00
VESSILLER
c2f91b2e15 FIX attach file and send by mail in ticket 2023-02-03 14:02:46 +01:00
jyhere
201a94b550 [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-03 13:11:17 +01:00
tnegre
e44bbba481 Stickler fix 2023-02-03 09:53:30 +01:00
Frédéric FRANCE
140a3b462d add ajax tooltip on usergroup 2023-02-03 09:29:02 +01:00
Frédéric FRANCE
dc33289a10 add ajax tooltip on actioncomm 2023-02-02 23:47:01 +01:00
Frédéric FRANCE
a4a541a146 add ajax tooltip on delivery 2023-02-02 23:19:55 +01:00
Frédéric FRANCE
41dd574b16 clean js 2023-02-02 22:59:54 +01:00
Frédéric FRANCE
ffa9e1e52f add ajax tooltip on categories 2023-02-02 22:23:43 +01:00
Frédéric FRANCE
a367fd24b7 add ajax tooltip on account 2023-02-02 21:16:09 +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
Laurent Destailleur
1be5145148 NEW Add more zip, town, country for owner of a bank account 2023-02-02 16:04:16 +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
45dd6c8f0b Prepare option PDF_SWISS_QRCODE_USE_OWNER_OF_ACCOUNT_AS_CREDITOR 2023-02-02 15:06:19 +01:00
hystepik
463c87b393 first push flowjs-server.php 2023-02-02 13:30:32 +01: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
Frédéric FRANCE
e96cafa952 add ajaxtooltip on member type 2023-02-02 11:03:08 +01:00
mgabriel
cd4064c034 Dolibarr was using td here but is now using th so th was substituted for td. 2023-02-02 10:07:52 +01:00
stickler-ci
35ce7352e8 Fixing style errors. 2023-02-02 08:09:57 +00:00
mgabriel
895957e89d Modify margin rates in offers like VAT rates. 2023-02-02 08:41:08 +01:00
FLIO
0080b0a80f fix (qodana) fix condlicts 2023-02-01 23:38:49 +01:00
Sylvain Legrand
eaf125e028 Fix input for progress not shown on lines in edit mode 2023-02-01 22:42:41 +01:00