Commit graph

155702 commits

Author SHA1 Message Date
Frédéric FRANCE
9fe618af71
NEW: Migrate member extrafields admin pages to the unified page 2026-08-11 17:15:25 +02:00
Frédéric FRANCE
6a7aca488c
NEW: Migrate product variants extrafields admin pages to the unified page 2026-08-11 17:10:27 +02:00
Frédéric FRANCE
1f52064267
NEW: Migrate stock family extrafields admin pages to the unified page 2026-08-11 17:04:50 +02:00
Frédéric FRANCE
e952bc9770
FIX: Support callable headlabel/textobject to preserve conditional product/service page text 2026-08-11 16:59:51 +02:00
Frédéric FRANCE
3ac2624b06
NEW: Migrate product family extrafields admin pages to the unified page 2026-08-11 16:51:24 +02:00
Frédéric FRANCE
e84a8bbe8d
FIX: Split registry headlabel/textobject to avoid conflating two distinct original strings 2026-08-11 16:45:50 +02:00
Frédéric FRANCE
d2b6fa3d60
NEW: Unify extrafields admin pages into a single secured page (societe, socpeople pilot) 2026-08-11 16:38:26 +02:00
Frédéric FRANCE
1ff95e5f69
chore: ignore .worktrees/ directory used for isolated agent workspaces 2026-08-11 16:31:29 +02:00
Frédéric FRANCE
7858059c63
add some call_triggers (#39449)
* add triggers in fichinter.class.php

* Update api_users.class.php

* FIX: Add missing triggers on setters that were silently skipping them

Societe::setAsCustomer(), Don::set_cancel(), Expedition::setDeliveryDate()/setShippingDate()
and the whole FichinterRec class were updating rows without ever calling call_trigger(),
unlike sibling methods/classes (update(), reopen(), FactureRec) that do. FichinterRec also
gets its own TRIGGER_PREFIX ('FICHINTERREC') since it inherited Fichinter's 'FICHINTER'
prefix, which would have collided with real intervention triggers.
2026-08-11 02:34:08 +02:00
MDW
ab8daf516f
Qual: Remove SQL injection suppressions from Phan baseline (#39450)
* Qual: Remove SQL injection suppressions from Phan baseline

# Qual: Remove SQL injection suppressions from Phan baseline

- Removed SqlInjection suppressions from baseline.txt
- Removed SqlInjectionUnquotedEscape suppressions from baseline.txt

* Qual: Improve SQL query escaping and formatting in contact list

# Qual: Improve SQL query escaping and formatting in contact list

Improved the SQL query escaping for compatibility with SqlInjection.

Does not fix the inappropriate/incomplete escaping through usage of the 'escapeforlike' for REGEX or PGSQL '~'.

* Qual: Add SQLInjection suppression comments

# Qual: Add SQLInjection suppression comments

Added SQLInjection suppression directives:
- In modules_import.class.php, for json_encode operations.
- In html.formproduct.class.php, for expression "sanitized" by $db->order().
- In html.formwebportal.class.php, for the WHERE clause conditions (supposes safe argument).

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-08-11 02:21:54 +02:00
Anthony Berton
5048e74146
NEW - Add substitution for user warehouse (#36670)
* Fix trans and warning

* Doc

* Debug v23

* Debug v23

* Debug v23

* Doc

* New import Leave Balance (Datastructure) (#37001)

* New import Leave Balance (Datastructure)

* fix

---------

Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>

* Qual: Update Phan baseline.txt with reduced issue counts (#36996)

This commit updates the Phan baseline.txt file.

* Better log

* Log

* Better error management

* Doc

* Fix error message

* CI

* Try to fix CI

* fix phan (#37007)

* CI

* fix phan (#37008)

PhanTypeMismatchArgumentNullable Argument 3 ($txt) is $productlot->batch of type ?string but \TCPDF::MultiCell() takes string defined at htdocs/includes/tecnickcom/tcpdf/tcpdf.php:5871 (expected type to be non-nullable)

* CI

* NEW Add new EUID number (#36997)

* Doc

* ci

* Fix CI

* Improve OAuth HTTP error details (#36951)

Keep throwing TokenResponseException on HTTP 4xx/5xx while also capturing the response body (ignore_errors) to include a short snippet for admins.

Co-authored-by: caminotravelcenter <caminotravelcenter@localhost>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* NEW add import of leave balance (Implementation) (#37011)

* New add import Leave Balance

* add eof

* Update modHoliday.class.php

---------

Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* NEW add image format avif (#37014)

* add format avif

* Update functions.lib.php

* Exclude non interesting warning

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* CI

* CI

* CI

* Trans

* CI

* CI

* CI

* Fix typo in phpstan.neon.dist for isset() rule (#37018)

See https://github.com/Dolibarr/dolibarr/actions/runs/21444577128/job/61756970301?pr=37017

* Remove jstz.min.js from JavaScript array (#37017)

jstz.min.js was deleted in 5599ac733b

* Remove jstz.min.js from JavaScript array (#37017)

jstz.min.js was deleted in 5599ac733b

* prevent ST_AsWKT() (#37013)

* prevent ST_AsWKT()

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* prevent ST_AsWKT() (#37013)

* prevent ST_AsWKT()

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Try to fix phan

* CI

* CI

* ci

* ci

* css

* qual: Update french texts (comments) to english (#37009)

* qual: Update french texts (comments) to english

* Qual: Update comment to english in card-rec.php and card.php

Translation of comments in the files card-rec.php and card.php.

* Qual: Translate comments to English

* Qual: Translate comments to English

* Fix space into tab

* Fix spelling

* Qual: Translate comments to English

* Update website.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* ci

* Clean code

* Fix test

* Debug v23

* Merge manually changes from #37012 that seems good.

* Log

* More robust phpunit

* Populate openid data from wellknow url (#37023)

* Delete inexistant file

File jstz.min.js was deleted in
5599ac733b

* Populate openid parameters from wellknow url

* CI

* Debug v23 - fix code for rounding

* MCP server sql part (#37025)

* Create llx_ai_request_log.sql

* Create llx_ai_request_log.key.sql

* Update 23.0.0-24.0.0.sql

* Update llx_ai_request_log.sql

* Update 23.0.0-24.0.0.sql

* Remove foreign key constraint from llx_ai_request_log

Removed foreign key constraint for fk_user in llx_ai_request_log.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Debug v24

* Fix syntax error

* NEW allow to disable freezone product on takepos (#37004)

* allow to disable freezone product on takepos

* Conditionally add FreeZone product to menus

* Add NoFreeZoneProduct language entry

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix label of dispute

* [database] Minimum amount and subscription's amount formula description (#37021)

* Remove jstz.min.js from JavaScript array (#37017)

jstz.min.js was deleted in 5599ac733b

* prevent ST_AsWKT() (#37013)

* prevent ST_AsWKT()

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* css

* Update llx_adherent_type.sql

add minimumamount and amountformuladescription rows

* Update 22.0.0-23.0.0.sql

add minimumamount and amountformuladescription column

---------

Co-authored-by: hansemschnokeloch <hansemschnokeloch@users.noreply.github.com>
Co-authored-by: atm-jonathan <146709163+atm-jonathan@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* NEW: Display thirdparty name with ref in supplier orders linked objects (#36952)

Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>

* css

* Debug v23

* Fix type

* CI

* CI

* Test without file list

* CI

* Add api document management for holiday (#36915)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* NEW Invoice - List - use select2 multiselect for status (#36834)

* NEW Invoice - List - use select2 multiselect for status

* Optimize

* CI

* CI

* Review

* Duplicate line and last problem

* CI

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* FIX Pb in total price of line when adding the discount of a down payment
when unit price was using a high accuracy.

* Clean code

* try to fix phan

* Fix phan

* Clean code

* Clean code

* Debug v23

* Fix LDAP

* fix facture.class.php (#37031)

* Debug v23

* Qual: Update french comments with 'nombre' (#37032)

Update french comments with 'nombre' in their phrasing

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* fix phan (#37029)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* fix phan (#37030)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Doc

* Doc comment

* FIX When bank direct debit SEPA ref is > 99

* Fix when there is more than 99 direct debit in same month

* Debug v24

* Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0

* CSS

* Fix when there is more than 99 direct debit in same month

* Debug v24

* FIX Division by zero

* FIX Division by zero

* More log

* More log

* More log

* More Log

* Fix IPN payment

* Fix IPN

* Log

* Clean code

* Debug v23 - Fix ipn for dispute and withdraw funds.

* fix CI (#37033)

* fix CI (#37033)

* CI

* fix french doc (#36897)

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix

* fix

* fix

* fix

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* Update html.form.class.php

* Update html.form.class.php

* Update index.php

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Update modules_facture.php

* Update phpstan.neon.dist

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Qual: Translate French comments to English (#37044)

* Qual: Translate French comments to English

* Qual: Translate French comments to English

* Qual: Translate French comments to English ("niveau") (#37041)

Translate French comments to English (comments with "niveau")

* fix french doc (#37040)

* warning error if no societe->id defined (#37039)

* fix french doc (#37037)

* fix french doc

* Update dispatch.php

* Update dispatch.php

* Update graph.php

* fix french doc (#37047)

* fix french doc

* Update index.php

* Update index.php

* Fix CI

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* CI

* Fix CI

* Minimum amount and subscription's amount formula description (#37006)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Warning on export/import - Add isset() protection in Export::load_arrays() & Import::load_arrays() (#37043)

* Warning on export - Add isset() protection in Export::load_arrays()

* Warning on import - Add isset() protection in Import::load_arrays()

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Clean comment

* Warning on account model (#37042)

* Error on account model

* Simplify rowid assignment in accountmodel.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix #35394 Display public note on first page (#36993)

* Display public note (an incoterms and sales rep signat) only on real first page

* Display public note (an incoterms and sales rep signat) only on real first page

---------

Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* FIX: Add htmlname and selectedrate to parameters array for hook (#36998)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* FIX: Add htmlname and selectedrate to parameters array for hook (#36998)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix CI

* Fix CI

* Fix CI

* Fix ci

* Qual: Translate French comments to English (#37052)

* Qual: Translate French 'valeur' in comments to English (#37051)

* NEW Accountancy - Select between accrual accounting and cash accounting (#37050)

* Qual: Translate french 'avec' comments to English (#37049)

# Qual: Translate french 'avec' comments to English

* FIX divisa rate indirect to direct because Dolibarr use indirect for default (#37046)

* FIX rate_indirect to rate_direct

Direct	: 	1 Divisa Currency = X Currency Main.
Indirect	: 	1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default

* FIX divisa rate indirect to direct

Direct	: 	1 Divisa Currency = X Currency Main.
Indirect: 	1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default

* FIX divisa rate indirect to direct

Direct	: 	1 Divisa Currency = X Currency Main.
Indirect: 	1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default

* FIX divisa rate indirect to direct

Direct	: 	1 Divisa Currency = X Currency Main.
Indirect: 	1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default

* FIX divisa rate indirect to direct

Direct	: 	1 Divisa Currency = X Currency Main.
Indirect: 	1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default

* Divisa rate direct

Direct	: 	1 Divisa Currency = X Currency Main.
Indirect: 	1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default

* Add col rate_direct because Dolibarr use for.default rate indirect

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* CI

* Add thumbnails for avif (#37045)

* vignette for avif

* vignette for avif

* vignette for avif

* vignette for avif

* vignette for avif

* vignette for avif

* vignette for avif

* vignette for avif

* vignette for avif

* vignette for avif

* vignette for avif

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* FIX #36892

* NEW : Manage discount for all lines for supplier elements. (#36954)

* NEW : Manage remise for all lines for supplier elements.

* Cast remise_percent to float in updateline call

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix Signature position (#37048)

Move up the position of the signature to fix its explosion on 3 pages

* remove french doc and fix travis migration missing (#37053)

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* Clean up comments in card.php

Removed unnecessary comments from card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Debug v23

* Fix CSS

* Fix CSS

* Fix sql syntax error

* Fix sql syntax error

* Add optionnal img to openid login (#37060)

* fix french doc (#37056)

* fix french doc

* fix french doc

* fix french doc

* doc translation

* doc translation

* doc translation

* doc translation

* doc translation

* load tables in init for create categorie table associated (#37059)

* Fix situation invoice

* Fix situation invoice

* Debug v23

* Link and filter on ountry for holiday types

* Link and filter on ountry for holiday types

* Trans

* Debug v23

* css

* CSS on current day

* Debug v23

* css

* More complete message

* Make array of dispute status a shared constant

* Debug v23

* Debug v23

* bad link on sql in fichinter list (#37081)

* bad link on sql in fichinter list (#37081)

* FIX: TakePOS, webapp-hardware-bridge and TakePOS-Connector for modern weighing scales (#37078)

* feat: CustomerDisplay through Webapp-Hardware-Bridge

* feat: WeighingScale through Webapp-Hardware-Bridge

* feat: WeighingScale through Webapp-Hardware-Bridge

* fix: looks like a typo

* feat: for small screens

* fix: attribut contenant le prix du produit ajouté

* feat: ajout d'un callback de gestion d'erreur

* Clean code for Takepos

* Debug v23

* Fix new path of dolreceiptprinter.class.php

* Adjust signature appearance position in PDF generation (#37076)

* EmailCollector: exclude sender emails/domains (#37075)

# Conflicts:
#	htdocs/langs/en_US/admin.lang

Co-authored-by: braito4 <braito4@users.noreply.github.com>

* fix: dev/examples/zapier/package.json to reduce vulnerabilities (#37071)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-LODASH-15053838

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* translate french doc to english (#37064)

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix

* fix

* fix

* fix

* Trans

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Change translation function to transnoentities (#37065)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Change translation function to transnoentities (#37065)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* NEW Show total multicurrency on payment (#37070)

* Total multicurrency

* Total multicurrency paiment

* total result multicurrency

* show total multicurrency

* Fix CI

* CLOSE #37085 - Popup notif is just under the menu bar

* fix: add missing geturl lib (#37088)

* Fix CI

* Restrict to modiied files

* #36843 Update card-rec.php (#37062)

The item desc is already added into the line when selecting the Item. No Need to concat it again when clicking the "add" button.

* Clean code

* Fix CI

* Doc

* Fix CI

* family assignment logic on user perms of external modules (#36456)

* family assignment logic on user perms of external modules

Updated family assignment logic to default to 'other' if family does not exist in $familyinfo.

* Update copyright year for Charlene Benke

* family assignment logic on user perms of external modules (#36456)

* family assignment logic on user perms of external modules

Updated family assignment logic to default to 'other' if family does not exist in $familyinfo.

* Update copyright year for Charlene Benke

* Fix comment and keep external modules out of core modules

* Close #36975

* Close #36975

* css

* NEW : hide remise_except unit price on invoice lines (#37066)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* NEW(API): create fixed amount discount (#37091)

* NEW(API): create fixed amount discount

* FIX CI

* FIX CI

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>

* Fix phan

* CI

* FIX - Create commonobject fetchWarehouse

* FIX - for eldy coment

* FIX - Phan

* copy

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: Lucas Marcouiller <45882981+Hystepik@users.noreply.github.com>
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: MDW <mdeweerd@users.noreply.github.com>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Alexandre SPANGARO <alexandre.spangaro@gmail.com>
Co-authored-by: Braito <braito4@hotmail.com>
Co-authored-by: caminotravelcenter <caminotravelcenter@localhost>
Co-authored-by: hansemschnokeloch <hansemschnokeloch@users.noreply.github.com>
Co-authored-by: atm-jonathan <146709163+atm-jonathan@users.noreply.github.com>
Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com>
Co-authored-by: Thatoo <Thatoo@users.noreply.github.com>
Co-authored-by: Zakaria Boushaba <48571684+Boushabazakaria@users.noreply.github.com>
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
Co-authored-by: Vincent Maury <artec.vm@arnac.net>
Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
Co-authored-by: Jyhere <jyhere@gmail.com>
Co-authored-by: Lenin Rivas <53640168+leninrivas@users.noreply.github.com>
Co-authored-by: ThomasNgr-OpenDSI <tnegre@open-dsi.fr>
Co-authored-by: Pierre Ardoin <32256817+mapiolca@users.noreply.github.com>
Co-authored-by: LePat <patrick.muscat@gmail.com>
Co-authored-by: braito4 <braito4@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Vanyo <vanyolai@gmail.com>
Co-authored-by: AWeerWolf <74211972+AWeerWolf@users.noreply.github.com>
Co-authored-by: Benjamin Falière <121813548+BenjaminFlr@users.noreply.github.com>
Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-08-11 01:33:15 +02:00
Laurent Destailleur
689471abe8 Doc 2026-08-10 11:31:12 +02:00
Laurent Destailleur
cd1b3d524a Merge branch '24.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-08-09 23:58:58 +02:00
Laurent Destailleur
b66ed4338d Default ai cli setup 2026-08-09 23:58:19 +02:00
Laurent Destailleur
989cbf1785 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-08-09 23:19:27 +02:00
Laurent Destailleur
a91781655f Merge branch '24.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-08-09 20:02:45 +02:00
Laurent Destailleur
9c4eb94532 Fix must exclude some properties in post/put of expensereport api -
reportedby vulncheck
2026-08-09 19:59:33 +02:00
Laurent Destailleur
b1691356eb Fixed removed property pass_indatabase_crypted in api result - reported
by Vulncheck
2026-08-09 19:49:05 +02:00
Jam Balaya
517f143e9e
NEW: Add includetimespent parameter to tasks API index endpoint (#39441) 2026-08-09 09:30:56 +02:00
Laurent Destailleur
e01a12ffea Fix CVE-2026-71506 - test on permission to delete payment in api. 2026-08-09 03:29:37 +02:00
Laurent Destailleur
12687f8370 Fix CVE-2026-71510 forgeSQLFromUniversalSearchCriteria must disallow
some search criteria
2026-08-09 03:21:39 +02:00
Laurent Destailleur
f68cd1c012 Merge branch '24.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-08-09 02:04:30 +02:00
Laurent Destailleur
49e486ed2e Fix: more complete blacklist in waf - reported by Paweł Bednarz 2026-08-09 02:01:05 +02:00
Laurent Destailleur
fca70da501 Merge 2026-08-09 01:21:09 +02:00
Laurent Destailleur
fd478850f8 Fix missing check on user in api to get groups - reported by Michael
Homquist at Hasp Labs
2026-08-09 01:18:22 +02:00
MDW
a0b820564f
QUAL: Add SqlInjectionPlugin to detect unsafe SQL variable usage (fixes, notices) (#38722)
* QUAL: Add SqlInjectionPlugin to detect unsafe SQL variable usage

# QUAL: Add SqlInjectionPlugin to detect unsafe SQL variable usage

This commit adds a new SqlInjectionPlugin to the Phan configuration, which helps detect unsafe SQL variable usage in the Dolibarr codebase. The plugin checks for variables used in sql expressions that are not properly escaped, cast, or protected by safe methods.

* Qual: Add SqlInjection exceptions to Phan baseline

* Qual: Add SqlInjection exceptions to Phan baseline

* Qual: Update baseline.txt to remove SqlInjection suppressions

The SqlInjection suppressions have been removed from the baseline.txt file.
This reenables the notification of "unfixed" cases.

* Qual: SQL injection detection for missing quotes on escaped strings

# Qual: SQL injection detection for missing quotes on escaped strings

In summary: report lines with missing quotes as in `" WHERE ".$db->escape($value)." OR "`.

* Qual: Fix code for SqlInjection analysis

# Qual: Fix code for SqlInjection analysis

Rewrite some escape calls, change escape() in sanitize(), rename variable, ignore SqlInjection notices.

* Qual: Update baseline

Allow some SqlInjection* notices, to be fixed later or already fixed in develop.
2026-08-08 11:19:04 +02:00
Frédéric FRANCE
fa08bb6559
Update html.form.class.php (#39430)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-08-08 11:14:54 +02:00
MDW
0bd350672b
Qual: Fix CI: Index type selected payment mode in form_modes_reglement (#39416)
Qual: Fix CI: Index type selected payment mode in form_modes_reglement

The selected payment mode is cast to an integer when accessing the cache_types_paiements array.
The string type of '$selected' resulted in phan reporting that the nature of cache_types_paiements
was different fron the declared type.
2026-08-08 11:09:54 +02:00
Laurent Destailleur
33df9eac1b Debug v24 - Switch contact status 2026-08-07 19:43:34 +02:00
Laurent Destailleur
8815d22ae4 Clean code 2026-08-07 19:00:27 +02:00
Laurent Destailleur
6820446d1c Fix editing api key must follow same permissions than editing password. 2026-08-07 18:41:23 +02:00
Laurent Destailleur
76565dd2db Fix old image not deleted 2026-08-07 18:27:23 +02:00
Laurent Destailleur
8672c4150b Fix option MAIN_USE_TITLE_FOR_CONTACT 2026-08-07 18:03:52 +02:00
Laurent Destailleur
db389401e1 Debug v24 - Checkbox useless 2026-08-07 15:53:35 +02:00
Laurent Destailleur
14e1565820 Restore ability to add all lines under subtotal title 2026-08-07 15:20:53 +02:00
Laurent Destailleur
4e3efdb145 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-08-07 15:19:17 +02:00
Laurent Destailleur
6c78d3ce77 Restore ability to add all lines under subtotal title 2026-08-07 15:18:38 +02:00
Laurent Destailleur
80248d4e66 Clean code 2026-08-07 14:26:51 +02:00
Laurent Destailleur
9e1d456a5e Better list of substituon var in propal setup page 2026-08-07 14:18:44 +02:00
Laurent Destailleur
7992efdc6f Fix a user without perm for dyn content can import dyn templates -
Reported by Paweł Bednarz.
2026-08-06 19:07:48 +02:00
Laurent Destailleur
95eafaf131 Clean code 2026-08-06 18:12:36 +02:00
github-actions[bot]
db45772fd9
PHPStan > Update baseline (#39408)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2026-08-06 17:50:40 +02:00
Laurent Destailleur
46eea95319 Debug v24 2026-08-06 00:55:26 +02:00
Laurent Destailleur
51e6930651 Merge branch '24.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-08-06 00:38:13 +02:00
Laurent Destailleur
ba85cc1988 Merge branch '24.0' of git@github.com:Dolibarr/dolibarr.git into 24.0 2026-08-06 00:35:42 +02:00
Laurent Destailleur
f1515f5c80 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 24.0 2026-08-06 00:35:00 +02:00
Laurent Destailleur
ee3d36c0fa Clean code 2026-08-06 00:13:43 +02:00
Francis Appels
2f5fd8cc40
Fix orderline field property (#39394) 2026-08-06 00:00:01 +02:00
Laurent Destailleur
94d30af4ec Doc 2026-08-05 23:43:06 +02:00
Laurent Destailleur
163d10401a Doc 2026-08-05 23:43:04 +02:00