Commit graph

148150 commits

Author SHA1 Message Date
ldestailleur
26a2d47bec Doc 2025-10-07 12:45:33 +02:00
ldestailleur
570c7b2255 Doc 2025-10-07 11:04:10 +02:00
ldestailleur
0aaf06d07b NEW Can urlencode substition variable of constants 2025-10-07 09:32:08 +02:00
ldestailleur
6b6ebe7a43 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-07 08:56:29 +02:00
ldestailleur
8dd9ed56a1 spellcheck war 2025-10-07 08:56:18 +02:00
Frédéric FRANCE
2078610328
add dolBuildUrl with examples of use (#35549)
* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* wip

* wip

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add example

* add example

* add example

* add example

* add example

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* add example

* add example

* add example

* add example

* add example

* add example

add example

add example

add example

add example

* add example

* add example

add example

add example

add example

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* wip

* wip

* clean code
2025-10-06 18:17:02 +02:00
ldestailleur
10deeef770 Rename table to have them created at module activation 2025-10-06 18:08:02 +02:00
Alexandre SPANGARO
89db077280
SQL Accountancy - Add a table to manage transaction (#35642)
* SQL Accountancy - Add a table to manage transaction

* fix PR

* Update 22.0.0-23.0.0.sql

* Update llx_accounting_bookkeeping_piece.key.sql

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-06 18:04:11 +02:00
Benhamid
37270fdca0
Update remx.php (#35657)
Fixed URL issue: a duplicated '?' character caused incorrect query parameters when creating a new discount.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-06 18:02:52 +02:00
ldestailleur
77d4a16778 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-06 18:01:13 +02:00
ldestailleur
8e3a7714b8 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-06 18:00:45 +02:00
ldestailleur
0a914f437a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-06 18:00:19 +02:00
Frédéric FRANCE
e486707236
ficx backtopage (#35659) 2025-10-06 17:59:11 +02:00
ldestailleur
39d7ffae8d FIX #33741 FIX #35632 2025-10-06 14:05:01 +02:00
ldestailleur
38180ab43c Use the semi-detached COCOMO model 2025-10-06 13:11:38 +02:00
John BOTELLA
cecc1831a2
Fix llx header body class (#35653) 2025-10-06 12:34:20 +02:00
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