Commit graph

153942 commits

Author SHA1 Message Date
Laurent Destailleur
df26fb849a Add github action script 2026-05-11 21:14:39 +02:00
Laurent Destailleur
4074aa5bdc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-05-11 20:54:57 +02:00
Laurent Destailleur
e2b7286998 Doc 2026-05-11 20:54:03 +02:00
MDW
63833674bb
Qual: Fix PHPStan notices (#38039)
* Qual: Fix PHPStan notices

# Qual: Fix PHPStan notices

Fix multiple PHPStan notices, mostly possibly undefined variable

* Qual: Fix Phan notices

* Qual: Fix Phan notice, $id declared before include

* Fix array initialisations

* Qual: Update phpstan baseline

* Qual: Fix Phan notices

* Qual: Update phan baseline
2026-05-11 20:39:31 +02:00
Jon Bendtsen
b0677c9597
NEW show last 10 events on conference attendee card (#38170)
Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
2026-05-11 20:36:37 +02:00
Laurent Destailleur
217e83f471 Debug v24 2026-05-11 13:24:09 +02:00
Laurent Destailleur
1df98e3ca9 Debug v24 2026-05-11 13:18:31 +02:00
Laurent Destailleur
b6ab672f42 Debug v24 2026-05-11 02:07:24 +02:00
sonikf
faa8005eb4
NEW: MCP server and AI Assistant (#37888)
* fix list query

* Update other.lang

* remove duplicate

* initial commit

* AI Assistant initial commit

* Rename htdocs/ai/index.php to htdocs/ai/assistant/index.php

* AI Assistant initial commit

* Initial commit

* Rename htdocs/ai/ai_assistant.css to htdocs/ai/css/ai_assistant.css

* Initial commit

* Rename htdocs/ai/ai_assistant.js to htdocs/ai/js/ai_assistant.js

* Initial commit

* Rename htdocs/ai/mcp_server.php to htdocs/ai/server/mcp_server.php

* Initial commit

* category tools

* Rename htdocs/ai/categories.php to htdocs/ai/tools/categories.php

* Global tools to restrict AI

* Tools for crud actions on Dolibarr objects

* Tools for products and services.

* Tools to generate reports

* Missing PHPDoc

* Tools for thirdparties and contacts

* Tool for generating navigation URLs in Dolibarr

* Tools related to invoices and payments

* Update ai_assistant.js

* Initial commit

* Rename htdocs/ai/purge_logs.php to htdocs/ai/scripts/purge_logs.php

* fix pre commit

* re fix pre-commit

* fix pre-commit

* Rename categories.php to categories.class.php

* Rename conversation.php to conversation.class.php

* Rename crud_objects.php to crud_objects.class.php

* Rename invoices.php to invoices.class.php

* Rename navigation.php to navigation.class.php

* Rename products.php to products.class.php

* Rename reports.php to reports.class.php

* Rename thirdparty.php to thirdparty.class.php

* fix pre-commit

* Update parse_intent.php

* fix pre commit

* fix phpdoc

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* add missing phpdoc

* fix pre-commit

* fix phpdoc

* fix phpdoc

* fix pre-commit

* fix pre-commit

* fix phpdoc

* fix pre-commit

* fix pre-commit

* fix phpdoc

* fix phpdoc

* fix phpdoc

* fix phpdoc

* fix php-stan

* fix php-stan

* fix phan

* fix phan

* fix phan

* security check

* security check

* security check

* security check

* enhance security check

* enhance security check

* fix pre-commit

* Update log_viewer.php

* Improve access control logic in log_viewer.php

Refactor access control checks for admin and module activation.

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* try fix phan

* fix pre-commit

* fix phan

* try fix phan

* fix phan

* fix php-stan

* fix phan php-stan

* fix pre-commit

* fix phan php-stan

* fix pre-commit

* fix phan php-stan

* fix phan php-stan

* fix phn php-stan

* fix phan php-stan

* fix phan php-stan

* fix phan php-stan

* fix phan php-stan

* fix pre-commit

* fix phan php-stan

* fix php-stan

* Fix MCP tool registration for .class.php file naming

* fix typo

* fix ci

* fix pre-commit

* fix ci

* fix pre-commit

* Update categories.class.php

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* add missing user in constructor

* add missing user in constructor

* improve invoice validation error handling

* add missing user in constructor

* Rename mcp_protocol.php to mcp_protocol.class.php

* Update mcp_server.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-11 01:59:55 +02:00
Laurent Destailleur
0481c412c0 Doc 2026-05-11 01:53:13 +02:00
Laurent Destailleur
ae94d1bd94 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2026-05-11 01:49:59 +02:00
Laurent Destailleur
579b20b5d6 Merge branch 'hregis-fix_dev_remove_unused_jeditable' into develop 2026-05-11 01:49:28 +02:00
Laurent Destailleur
7c2869b19c Merge branch 'fix_dev_remove_unused_jeditable' of
github.com:hregis/dolibarr into hregis-fix_dev_remove_unused_jeditable
2026-05-11 01:49:01 +02:00
MDW
c5d2bd0179
Qual: Fix PHPStan notices (#38064)
* Qual: Fix PHPStan notices

# Qual: Fix PHPStan notices

Fix variable.undefined notices

* Qual: Fix fixed 'job' value

* Qual: Fix Phan & PHPStan notices

* Qual: Ignore PHPStan notices

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-11 01:26:15 +02:00
Laurent Destailleur
ddfe11b1ac ci 2026-05-11 01:25:10 +02:00
Laurent Destailleur
6a3b9567be CI 2026-05-11 01:24:23 +02:00
Laurent Destailleur
f07152e44f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-05-11 01:20:21 +02:00
Frédéric FRANCE
80184f0bd3
fix phpstan (#38038)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* clean

* clean code

* clean code

* clean code

* Update bom_agenda.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-11 01:19:35 +02:00
MDW
9b64add08d
Fix: totalarray is set by 'caller' (#38155)
# Fix: totalarray is set by 'caller'

Fixed the typing & initialisation as $totalarray is set in the file that includes the tpl
2026-05-11 01:17:08 +02:00
MDW
99aa9fe6f2
Qual: Define fully qualified array parameters for analyzeDirContents (#38159)
# Qual: Define fully qualified array parameters for analyzeDirContents
2026-05-11 01:16:16 +02:00
Laurent Destailleur
0ab618dd8c Prepare beta 2026-05-11 01:15:44 +02:00
Laurent Destailleur
b592e57943 Prepare 24.0.0 2026-05-11 01:15:23 +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
Laurent Destailleur
feb23c8cf0 css 2026-05-11 00:32:34 +02:00
Laurent Destailleur
8e7fd753f5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-05-11 00:29:55 +02:00
Laurent Destailleur
1a423622b0 Move stats as view mode 2026-05-11 00:29:34 +02:00
Laurent Destailleur
615266f1d3 Move stats as view mode 2026-05-11 00:11:33 +02:00
Laurent Destailleur
0290faca83 Fix regression 2026-05-10 23:51:58 +02:00
Laurent Destailleur
c30b742ddf Add missing function 2026-05-10 23:17:59 +02:00
MDW
aace7ce218
Qual: Update validateZipFile function (#38153)
* Qual: Update validateZipFile function

- Update function signature to use strict type checking
- Fix initialisation of error message
- Improve messages

* Fix: Lang reference

* Update functions2.lib.php

* Update functions2.lib.php

* Update functions2.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-10 23:12:12 +02:00
daraelmin
6f70277b9e
fix : datapolicy use datefin, add missing notes and force statut=0 when anonymizing members (#38157)
* fix : datapolicy use datefin and force statut=0 when anonymizing members

* unneeded change

* Fix missing note_private and note_public anonymization for members
2026-05-10 23:07:20 +02:00
Laurent Destailleur
c293cf40d8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-05-10 22:53:45 +02:00
Laurent Destailleur
a09e083798 Clean code 2026-05-10 22:45:23 +02:00
MDW
2e07d07aae
Qual: Update phpstan baseline (#38152) 2026-05-10 22:42:14 +02:00
Laurent Destailleur
2b97524972 Fix CWE-20/CWE-89 2026-05-10 22:01:28 +02:00
Laurent Destailleur
328aed5b9a Fix CWE-20/CWE-89 2026-05-10 21:54:25 +02:00
Laurent Destailleur
079c2b4b6e Look and feel v24 2026-05-10 21:44:30 +02:00
Laurent Destailleur
33da2de776 Look and feel v24 2026-05-10 19:05:08 +02:00
Laurent Destailleur
4d6031fc06 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-05-10 18:54:10 +02:00
Laurent Destailleur
abc09cd3df Fix css 2026-05-10 18:52:43 +02:00
Laurent Destailleur
3a9b2bc5ef Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-05-10 18:43:28 +02:00
Laurent Destailleur
9a59213296 FIX selected default value ko on select_produits_fournisseurs_list() 2026-05-10 18:42:15 +02:00
Laurent Destailleur
f45e0b8d79 doc 2026-05-10 18:36:20 +02:00
Laurent Destailleur
f6df1be26e Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-05-10 17:00:44 +02:00
Laurent Destailleur
078dee3c81 Fix use of canvas template 2026-05-10 17:00:27 +02:00
Laurent Destailleur
a520844c59 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-05-10 15:41:07 +02:00
Laurent Destailleur
c165a3d433 Get the validateZipFile() from marketplace to move into core 2026-05-10 15:40:32 +02:00
daGrumpf
b2b4fc0ca9
FIX: propagate fk_warehouse from BOM/MO to production lines in createProduction() and processBOM() (#38147)
* FIX: propagate fk_warehouse from BOM line in processBOM()

When creating MO lines from a BOM, the fk_warehouse defined on each
BOM line was not copied to the corresponding MO line. This caused
produceandconsumeall() to fail with a stock movement error when a
warehouse is set on BOM lines but not on the MO itself.

* FIX: propagate fk_warehouse from BOM line in processBOM()

When creating MO lines from a BOM, the fk_warehouse defined on each
BOM line was not copied to the corresponding MO line. This caused
produceandconsumeall() to fail with a stock movement error when a
warehouse is set on BOM lines but not on the MO itself.

* Update mo.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-10 13:58:59 +02:00
Alexandre SPANGARO
3bf6aef645
QUAL - Intervention - Better title & add help_url (#38145) 2026-05-10 11:24:24 +02:00
Rémi Champlon
482dcf5166
FIX : mass-billing receptions: only the first reception is classified as Billed (#38123)
* fix

* fix v2

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-10 11:22:17 +02:00