Commit graph

148134 commits

Author SHA1 Message Date
ldestailleur
adb02003f5 Fix CI 2025-10-06 11:29:03 +02:00
ldestailleur
0e79c7817f Try to make a request in 2 part with union for better performance 2025-10-06 03:10:09 +02:00
ldestailleur
26123a6f84 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-06 02:50:45 +02:00
ldestailleur
3f91f3f1fc Debug v23 2025-10-06 02:50:07 +02:00
Jon Bendtsen
1cb221efe9
Make hurl tests work on GUI page requiring login (#35652)
* Adding hurl tests to Dolibarr

* modifying run.sh to get it past commit checks

* change the APIHEADER to be read from the environment

* spell fix

* test to see if build system will accept this file

* deleting script method that doesn't work

* beginning to make hurl tests accept environment variables for the location

* Add GUI login to hurl tests

* Fix CI

* clean code (#35640)

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* Fix warning

* Clean code

* PHPStan > Update baseline (#35644)

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>

* NEW Can drag and drop in BOM card

* WIP Upload files

* WIP Upload files

* Adding hurl tests to Dolibarr

* using hostnport variable for all remaining tests

* Add some asserts and gui login tests

* double quotes around shell variables

* adding -r to read

* expand mass mail gui test with all 6 columns in the table

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: ldestailleur <eldy@destailleur.fr>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-10-06 01:38:44 +02:00
ldestailleur
2da06f9fb1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-06 01:37:53 +02:00
Frédéric FRANCE
56fed15f5b
fix CI v22 (#35648)
* Update price_parser.class.php

* Update price_parser.class.php

* Update list.php

already set before the loop
2025-10-06 01:33:51 +02:00
ldestailleur
efc15d7d1f WIP Upload file page 2025-10-06 01:27:48 +02:00
ldestailleur
7c400a1e12 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-05 20:40:01 +02:00
ldestailleur
a9bf93afd1 WIP Upload files 2025-10-05 20:39:05 +02:00
ldestailleur
dcee71db77 WIP Upload files 2025-10-05 20:13:05 +02:00
ldestailleur
ef22546aa6 NEW Can drag and drop in BOM card 2025-10-05 20:12:52 +02:00
Frédéric FRANCE
5342cb87ea
remove subtotal from .gitignore (#35647) 2025-10-05 18:16:17 +02:00
Jon Bendtsen
c1aceed820
Adding hurl tests to Dolibarr (#35643)
* Adding hurl tests to Dolibarr

* modifying run.sh to get it past commit checks

* change the APIHEADER to be read from the environment

* spell fix

* test to see if build system will accept this file

* deleting script method that doesn't work

* beginning to make hurl tests accept environment variables for the location

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-05 18:08:10 +02:00
ldestailleur
9a67f45847 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-05 17:02:33 +02:00
ldestailleur
e471e0fb31 Clean code 2025-10-05 17:02:22 +02:00
ldestailleur
2d4a30fd58 Fix warning 2025-10-05 17:01:14 +02:00
github-actions[bot]
f721985162
PHPStan > Update baseline (#35644)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-10-05 16:57:05 +02:00
ldestailleur
0ef9acd8ae Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-05 16:56:25 +02:00
ldestailleur
419e208a77 Fix CI 2025-10-05 16:56:09 +02:00
Frédéric FRANCE
78ca88f4fc
clean code (#35640)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-05 16:51:29 +02:00
Jon Bendtsen
76916ad1cf
Add fk_project to Mass Emailings (#35635)
* Add fk_project to Mass Emailings

* Mass Mailing fk_project SQL definition dispre

* mailing typecasting fk_project

* mailing using correct variable name

* more type casting to fix phpstan errors related to fk_project in mass mailing

* mailing fk_project NULL better default in DB

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-10-04 20:08:27 +02:00
MDW
234fa7690f
Qual: Update phan baseline & minor fix (#35638)
# Qual: Update phan baseline & minor fix

Fix new phan notice using cast of potential null value.
Remove unneeded exceptions from baseline.
2025-10-04 20:03:38 +02:00
Frédéric FRANCE
a15c3a4ff2
fix members cards (#35639)
* fix members cards

* fix

* fix members cards
2025-10-04 20:02:49 +02:00
Charlène Benke
d1e0efc466
NEW Add getcontacts on api of interventional and proposal (#35589)
* Add getContacts method to retrieve contact information

* Implement getContacts method for proposals

Added a method to retrieve contacts associated with a proposal, including access checks and data cleaning.

* Implement getContacts method for invoices

Added a method to retrieve contacts associated with a specific invoice, including access checks and error handling.

* Update api_proposals.class.php

* Update api_invoices.class.php

* Update api_interventions.class.php

* Update api_interventions.class.php

* Add method to set invoice as draft

* Return contacts directly instead of cleaned data

* Return raw contacts instead of cleaned data

* Combine external and internal contacts in order list

Merge external and internal contacts for orders.

* Change return type from Object to array in API doc

Updated return type in API documentation for contact information.

* Change return type in api_orders.class.php docblock

Updated return type in docblock to reflect array return.

* Change return type from Object to array in API doc

* Update api_orders.class.php

* Update api_interventions.class.php

* Update api_proposals.class.php

* Update api_orders.class.php

* Update api_interventions.class.php

* Update api_interventions.class.php

* Update api_interventions.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-04 20:01:57 +02:00
ldestailleur
900fa67c9e Clean code 2025-10-04 15:12:02 +02:00
ldestailleur
8ba14e9e18 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-04 14:13:08 +02:00
ldestailleur
fbfeb5c978 Clean code 2025-10-04 14:12:46 +02:00
Frédéric FRANCE
6afec608a3
fix CI (#35631)
* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 13:29:57 +02:00
PsyCrow
67500e1b99
Update list.php (#35630)
Fix #35629 PHP Warning: Undefined array key "f.total_localtax2"  in linst.php

$totalarray['val']['f.total_localtax2'] not initialized
2025-10-04 13:28:04 +02:00
ldestailleur
597088f030 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-04 02:33:41 +02:00
ldestailleur
783dbd5ccf Fix missing where on rowid 2025-10-04 02:33:28 +02:00
sonikf
bc9199e58f
NEW Add tpl files for standalone shipment (#35624)
* NEW Add option to create simple shipment of non origin

* try to fix phan

* try to fix phan

* fix phan
2025-10-04 01:14:14 +02:00
ldestailleur
8b0d4f82a5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-04 00:51:06 +02:00
ldestailleur
62d05df912 Look and feel v23 2025-10-04 00:50:49 +02:00
Frédéric FRANCE
ebca8345b0
add tables missing (#35628)
* add tables missing

* add tables missing

* add tables missing

* add tables missing

* add tables missing

* add tables missing

* Update 22.0.0-23.0.0.sql
2025-10-04 00:08:32 +02:00
Frédéric FRANCE
a90c222f73
clean code (#35626)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 00:07:24 +02:00
Frédéric FRANCE
a20fac32a6
enhance setup captcha (#35627)
* enhance setup captcha

* add oddeven
2025-10-04 00:07:15 +02:00
ldestailleur
b9daf82a44 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-03 19:20:40 +02:00
ldestailleur
31394457f1 Typo 2025-10-03 19:20:28 +02:00
Vincent Maury
66e88bc761
NEW Add tasks card hooks (#35616)
* Hooks missing in some task cards

* Add  hook in contact of task card

* Update contact.php

* Some hook missing

* Update contact.php

* Update document.php

* Update contact.php

* Update document.php

* Update contact.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-03 19:07:29 +02:00
Frédéric FRANCE
ac7fe765ae
add doc (#35625) 2025-10-03 19:06:34 +02:00
sonikf
86578bd625
NEW Create simple shipment of non origin (#35604)
* NEW Add option to create simple shipment of non origin

* NEW Add option to create simple shipment of non origin

* avoid 2nd update and revert origin change

* remove 2nd update
2025-10-03 19:06:01 +02:00
Alexandre R
d7063122a2 FIX invoices payments on multicurrencies being converted as int (#35622)
* fix invoices payments on multicurrencies being converted as int

* Update paiement.php

---------

Co-authored-by: A.R <alexandre.rivas69@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-03 19:04:49 +02:00
Alexandre R
01d854e44e
FIX invoices payments on multicurrencies being converted as int (#35622)
* fix invoices payments on multicurrencies being converted as int

* Update paiement.php

---------

Co-authored-by: A.R <alexandre.rivas69@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-03 19:03:52 +02:00
Mohamed DAOUD
5e94b60916
fix cat warning (#35623) 2025-10-03 19:01:52 +02:00
kkhelifa-opendsi
404ad0e876
FIX: substitutions on subject of the sent email reminder of the event (#35621) 2025-10-03 19:01:10 +02:00
ldestailleur
406f722cf9 Removed confirmation to close task 2025-10-03 18:39:48 +02:00
ldestailleur
e203684464 Fix ip if '' 2025-10-03 17:29:54 +02:00
Frédéric FRANCE
3b3c5a53d3
fix example captcha (#35620)
* fix example captcha

* Update modCaptchaStandard.class.php
2025-10-03 16:06:54 +02:00