Commit graph

737 commits

Author SHA1 Message Date
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
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
5db08a3151
Qual: Fix 'SqlInjection' notices (#39213)
# Qual: Fix 'SqlInjection' notices

Batch of 25 files with changes to fix 'SqlInjection' Notices
2026-07-19 17:32:14 +02:00
Laurent Destailleur
bf432da483 Doc example 2026-05-29 12:16:42 +02:00
Laurent Destailleur
af08694e9d More complete return value. 2026-05-26 03:54:31 +02:00
Laurent Destailleur
2ff65fe41c Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-04-23 17:43:02 +02:00
Laurent Destailleur
e24e26c975 Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-04-23 15:59:46 +02:00
Laurent Destailleur
43bf615fbc Automated merge from 18.0 to 19.0 by tool pullmerge.sh 2026-04-23 15:59:44 +02:00
MDW
ac9a81c800
Qual: Fix PHPStan notices (#37967)
* Qual: Fix PHPStan notices

* Qual: Move type hingint for PHPStan

* Qual: num_open_day() can return float

* Number of opendays can be half a day
2026-04-23 14:57:54 +02:00
ThomasNgr-OpenDSI
17265d8677
FIX #GHSA-hq5j-39f9-qxcv (#37812)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 22:38:56 +02:00
MDW
6514e89128
Qual: Update fields array type (#37931)
* Qual: Update fields array type

Propagate the fields array type changes to other classes

* Adjust initialisations of $fields to avoid phpstan notices

* Qual: Fix invalid value for 'index' in $fields

* Fix: notnull in $fields can not be -1

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-19 16:10:54 +02:00
Jon Bendtsen
a5b163c99d
NEW Add mass mailing tab - with counts to project tabs (#37703)
* Add mass mailing tab - with counts to project tabs

* Separate mailing tab from event tab so they can be active independently + correcter link to mass mailings

* Now loads the project head ontop of all the mass mailings

* Make the project tab for mass mailings use the correct translation files

* If you supply a project ID, it will overwrite the search_refproject variable

* Making the mass mailing list search for project id directly

* Just typecast integers

* make it possible to add another mass mailing with prefilled project from the list of mass mailings in a project

* change indent to make pre_commit check happy

* Trying to make phan happy by declaring the variable in both situations

* when on mailing card, click project link, show projects mass mailings

* declaring variable so phan does not complain

* Still working on making phan happy about

* Working on  and phan

* Change the UX so the project links goes to project and there is an other link to other mass mailings in this project + when editing we open in a new window

* Correct mailing tab condition syntax

Fix syntax error in condition for mailing tab display.

* Fix syntax error in mailing tab condition

---------

Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-07 05:09:02 +02:00
Laurent Destailleur
b71e8c9fdf Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-04-03 22:49:50 +02:00
Laurent Destailleur
b18f4ecc69 FIX #GHSA-hq5j-39f9-qxcv 2026-04-03 22:49:26 +02:00
Laurent Destailleur
7ada112211 FIX #GHSA-hq5j-39f9-qxcv 2026-04-03 22:45:33 +02:00
Laurent Destailleur
15c46ce0eb Clean code 2026-04-03 22:40:52 +02:00
Laurent Destailleur
a7527e67e8 Clean code 2026-04-03 22:39:18 +02:00
Laurent Destailleur
333c7f284e Clean code 2026-04-03 20:36:41 +02:00
Laurent Destailleur
6cb2c5b401 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-22 19:12:02 +01:00
Laurent Destailleur
a50b9b4a80 Better logic for offset on project date end when cloning. 2026-03-20 16:11:30 +01:00
Sylvain Legrand
f1acad7df8
FIx clone action on project (#37549)
* FIx clone action on project

Uncaught TypeError: Unsupported operand types: int - string

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Update project.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 16:08:19 +01:00
ldestailleur
8cfc3d1306 Fix MAIN_NON_WORKING_DAYS_INCLUDE_MONDAY 2025-08-05 12:20:46 +02:00
Laurent Destailleur
77ce4ebc39 Debug v22 2025-07-08 00:56:55 +02:00
ldestailleur
6644d9539c Debug v22 kanban grouped 2025-06-17 19:33:46 +02:00
evarisk-kilyan
dbf1e581a8
#34417 [GroupByKanban] add: drag and drop with saveinplace (#34456)
* #34417 [GroupByKanban] add: drag and drop with saveinplace

* #34417 [LibHead] fix: whitespaces

* #34417 [ProjectClass] fix: GETPOST and PHP inside JS
2025-06-14 00:33:33 +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
b7a00127a9
add missing translation (#33461)
* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation
2025-03-15 11:21:03 +01:00
MDW
928402c847
Qual: Fix phan (project-1) 2025-02-11 00:22:39 +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
Laurent Destailleur (aka Eldy)
732f97d73c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-02-05 00:40:06 +01:00
Laurent Destailleur (aka Eldy)
c44ed2154b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-28 12:40:20 +01:00
Regis Houssin
968f3dbaa1 FIX phpstan tu me soules ! 2025-01-27 10:04:35 +01:00
Regis Houssin
25ab0e7f9b FIX wrong type 2025-01-27 10:03:02 +01:00
Regis Houssin
5e88f9b415 FIX avoid php warnings 2025-01-27 09:48:29 +01:00
Laurent Destailleur
940e42c1e4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-27 01:30:34 +01:00
Regis Houssin
dc976ce2ec FIX remove socid when cloning a project without third parties 2025-01-20 22:54:37 +01:00
Laurent Destailleur
85f9d620ac Fix print 2025-12-19 12:59:58 +01:00
Laurent Destailleur
565ea4d065 Code comment 2025-12-18 16:38:26 +01:00
Laurent Destailleur
23be021550 Code comment 2025-12-18 16:35:06 +01:00
Laurent Destailleur
cdf2464076 Doc 2025-12-18 16:33:09 +01:00
Laurent Destailleur
5d2f951281 Fix Remove the DISTINCT 2025-12-18 16:29:17 +01:00
Laurent Destailleur
c5ddb76fd7 Debug v23. Bad balance ul/li in menu. 2025-12-08 20:33:48 +01:00
MDW
c39e87d703
Qual: Make $fields covariant, define type for $FIELDS in BankAccounts api (#36188)
* Qual: Make $fields covariant

* Qual: Update BankAccounts class phpDoc ($FIELDS)

# Qual: Update BankAccounts class phpDoc ($FIELDS)

Updated the documentation for the $FIELDS property.
2025-11-09 18:06:58 +01:00
MDW
b925dd6c37
Qual: Make $fields type covariant (phpstan) (#36084)
# Qual: Make $fields type covariant (phpstan)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:16:17 +01:00
Frédéric FRANCE
675ec205f4
clean phpstan baseline (#35946) 2025-10-25 22:53:09 +02:00