Commit graph

502 commits

Author SHA1 Message Date
Laurent Destailleur
4679c736ed Automated merge from 24.0 to develop 2026-08-13 17:54:41 +02:00
Laurent Destailleur
2469bb54ae Merge branch '24.0' of git@github.com:Dolibarr/dolibarr.git into 24.0 2026-08-13 17:48:25 +02:00
Laurent Destailleur
48958ae565 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-08-13 17:38:17 +02:00
Laurent Destailleur
d119dd688e Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-08-13 17:18:40 +02:00
Laurent Destailleur
61ef9d017a Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-08-13 15:52:37 +02:00
Laurent Destailleur
15c9ca58dc Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-08-12 22:43:32 +02:00
Laurent Destailleur
6dbaef2fd4 Automated merge from 18.0 to 19.0 by tool pullmerge.sh 2026-08-12 22:13:16 +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
Frédéric FRANCE
c86264053e
avoid to delete directory if ref is empty (#38877)
* avoid to delete directory

* Update contrat.class.php

* Update expedition.class.php

* Update fournisseur.commande.class.php

* Update fournisseur.facture.class.php

* Update project.class.php
2026-08-11 01:25:46 +02:00
MDW
1693f8a8a4
Qual: Fix 'SqlInjection' notices (#39216)
* Qual: Fix 'SqlInjection' notices

# Qual: Fix 'SqlInjection' notices

Batch of 25 files with changes to fix 'SqlInjection' Notices

* Qual: Enhance SQL injection prevention in CodingPhpTest.php

Improved the SQL injection prevention mechanism in the CodingPhpTest.php file by adding a check for integer and float casts in the IN clause of SQL queries to avoid false positives.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-07-23 19:06:39 +02:00
Laurent Destailleur
5529fb9592 Automated merge from 23.0 to develop 2026-07-23 17:06:43 +02:00
Laurent Destailleur
1c705dc678 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-07-23 16:56:55 +02:00
brice.l
5152e6f67e
FIX Documents generated/sent in fichinter card use wrong directory in multicompany mode (Change branch from develop to 22.0) (#39266)
* Update SQL queries to use getEntity for entity filtering

* Update file path handling for ficheinter module

* Refactor output directory handling in card.php
2026-07-23 16:10:18 +02:00
Laurent Destailleur
9b3bebcd5e Automated merge from 23.0 to develop 2026-06-19 03:59:57 +02:00
Christian Humpel
a2545cc601
Fix #38836 Up/Down on Intervention rows (#38838) 2026-06-16 02:09:18 +02:00
William Mead
dca7b5bfab
FIX intervention fetch user author/modify ID (#38738)
* Added user ID to fetch. Updated contributor details.

* Cleaned code

* Fixed SQL
2026-06-12 16:47:18 +02:00
Alexandre SPANGARO
25efb00379
NEW - Intervention - Add tag/category on this object (#38158)
* NEW - Intervention - Add tag/category on this object

* CI

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-11 00:40:36 +02:00
Charlène Benke
06d6e2c316
interventional clone feature clean signed_status too (#37681) 2026-04-03 03:22:12 +02:00
ldestailleur
9c2da8b9b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-19 11:31:44 +02:00
Marc de Lima Lucio
7a8e926935
FIX: interventions: sql error when signed_status not set (#34515) 2025-06-15 00:32:23 +02:00
Mohamed DAOUD
d359a4d7a5
FIX #34046 No traceability when generating Intervention from Task Time (#34209)
* fix generating Intervention from Task Time

* remove comment

* fix CI

* FIX CI
2025-05-20 22:34:11 +02:00
ldestailleur
e4e5b1e597 Clean code 2025-05-05 02:22:02 +02:00
Francis Appels
55530fa588
Fix intervention update sql error (#33916) 2025-04-18 20:01:58 +02:00
Charlène Benke
4d1e071247
allow fichinter date update by api call (#33835)
* allow fichinter date update by api call

* Update fichinter.class.php

* Update fichinter.class.php

* Update fichinter.class.php

* Update fichinter.class.php

* Update fichinter.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-15 17:22:34 +02:00
Eric - CAP-REL
be1948e1eb
better fields definition with full objects reference (#33798) 2025-04-09 16:36:42 +02:00
Frédéric FRANCE
51624f8a50
deprecate statut (#33691)
* deprecate statut

* Update fichinter.class.php

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-02 11:27:17 +02:00
yannis
3519174adf Added retrieving extraparams for some object lines 2025-03-03 16:57:32 +01:00
Laurent Destailleur
054df65f66
Merge branch 'develop' into develop_FichInterClone_Contacts_Not 2025-02-05 03:02:30 +01:00
MDW
24fa28dfe2
Qual: Fix getKanban phpdoc
# Qual: Fix getKanban phpdoc

Array phpdoc for getKanban corrections.
2025-02-05 01:43:37 +01:00
Noé
1d1eafb19f FIX: Add documentation for hte new two params 2025-01-30 17:33:57 +01:00
Noé
ac8557e129 NEW: Add options on intervention clone popup to clone or not contact and notes 2025-01-30 17:24:42 +01:00
Laurent Destailleur
73947be822 Fix CI 2025-12-07 17:46:24 +01:00
Laurent Destailleur
13e6a7b936 Debug v23 2025-12-05 12:55:20 +01:00
Charlène Benke
3ddbcf8d9e
Continue Implement new title line addition for subtotals on interventional (#36376)
* Implement new title line addition for subtotals

Added functionality to handle adding a new title line for the subtotals module, including input processing and document generation.

* Add parameters to addline method in fichinter class

* Add special_code to fichinterligne class

* Update copyright notices in commonsubtotal.class.php

Added copyright notice for Charlene Benke for 2025.

* Remove extra blank line in fichinterligne.class.php

* Change special_code to be an integer in SQL query

* Refactor intervention detail display logic

Refactor code for better readability and maintainability by removing duplicate lines and organizing the logic for displaying intervention details.

* Decode extraparams to get subtotal options

* Change default value of special_code to 0
2025-11-24 19:47:07 +01:00
Charlène Benke
7d3dedbfc4
Continue to integrate subtotals on fichinter (#36325)
* add CommonSubtotal usage on fichinter class

* Add 'fichinter' to element check in subtotal_create

* Implement subtotal line addition in card.php

Added functionality to handle subtotal lines in the card.

* Update card.php

* Update permission checks for intervention module

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 16:13:56 +01:00
Laurent Destailleur
3fe6795b15 Clean code 2025-11-20 11:28:00 +01:00
Frédéric FRANCE
59789a8f02
add class_element_line (#36115) 2025-11-05 22:18:02 +01:00
Frédéric FRANCE
e81d5378cd
clean code contract class (#35245)
* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code

* clean code

* clean code

* clean code

* clean code

* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-10 11:13:18 +02:00
Frédéric FRANCE
24bd6d918a
clean code (#35183)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-02 22:46:55 +02:00
Charlène Benke
8fa13f68bf
fix translation of $fields on interventional (#35106)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-28 13:49:34 +02:00
Frédéric FRANCE
cc03c92614
fix update resource (#35015)
* fix update resource

* fix update resource

* fix update resource

* fix update resource

* fix update resource

* fix update resource

* fix update resource

* fix update resource

* fix update resource

* fix update resource

* fix update resource

* fix update resource
2025-08-20 19:02:08 +02:00
MDW
ec69a624e0
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>
2026-01-28 19:34:12 +01:00
Laurent Destailleur (aka Eldy)
f6115ec70b Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-13 00:07:00 +01:00
Laurent Destailleur (aka Eldy)
3ab49cf061 Debug v21 - Standardize code and translation of RefExt 2025-01-12 18:08:25 +01:00
Laurent Destailleur (aka Eldy)
b024b95948 Fix typo 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7 FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
de321e8f01 Fix typo 2025-01-09 02:01:49 +01:00
Laurent Destailleur (aka Eldy)
79ae59ee2a Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-08 17:54:13 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91 FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
Laurent Destailleur (aka Eldy)
25a033c64e Rename field to avoid conflict. 2025-01-05 13:53:16 +01:00