Laurent Destailleur
a17bfdf395
Debug v24
2026-07-24 06:54:27 +02:00
Laurent Destailleur
8b73060f75
Debug v24
2026-06-19 14:57:16 +02:00
Anthony Damhet
4868f65bd8
UI|UX: AI design ( #38789 )
...
* WIP AI design
- Chat Interface
- French Translation
* AI Home Screen
Added a home page for the AI assistant, with pre-recorded prompts
* Fix missing user
* Add copyright
* Fix working tools and alignment
2026-06-14 01:05:01 +02:00
Anthony Damhet
79f2df4dd6
UI|UX : AI Assistant Popover ( #38756 )
...
* UI|UX: Ajax interface for AI
Start UI
* Shortcut correction
* link to assistant full page
* Fix PHPStan "Variable $user might not be defined" in execute_tool.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-06-13 04:16:48 +02:00
sonikf
0a35b04674
New AI tool access control ( #38668 )
...
* Add new language entries for AI tool management
* Update file reference in assistant.php documentation
* Implement isSystem method in conversation class
* Add Tool Access Control tab
* Initial commit AI general css
* Initial commit AI general js file
* Implement isSystem method in mcptool class
Add isSystem method to determine tool visibility.
* Enhance MCPServer to enforce tool allow-list
* Enhance McpHandler with tool context handling
Added support for tool context in McpHandler class.
* Remove empty line at the start of mcp.class.php
* Refactor tool schema handling for LLM integration
* Modify McpHandler initialization in execute_tool.php
Updated McpHandler initialization to include configuration and context for assistant.
* New AI tool access control
* Fix pre-commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix phan php-stan
2026-06-10 11:41:10 +02:00
Laurent Destailleur
3e3ca74a67
Debug AI assistant and MCP server
2026-05-20 01:27:19 +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
30f036833e
Clean setup
2026-04-15 21:47:31 +02:00
Laurent Destailleur
650a2841a6
CI
2026-04-08 01:27:04 +02:00
Lucas Marcouiller
0e5cb22cf1
NEW add ai feature to spell check ( #37692 )
...
* New add ai feature to spell check
* fix translate
---------
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-03 05:11:14 +02:00
Laurent Destailleur
7753db3704
AI
2026-03-14 19:51:54 +01:00
sonikf
5a54415266
New MCP server and assistant admin part ( #37408 )
...
* New MCP server and assistant
* New MCP server and assistant
* Create log_viewer.php
* Update setup.php
* Update admin.lang
* New MCP server and assistant
* ADD AI Log Request, service connection testing and more providers
* 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 Variable $model in empty() is never defined.
* fix Variable $resql might not be defined.
* fix php-stan
* fix Variable $badge might not be defined.
* fix phan
* fix phan
* fix phan
* add missing multicompany filtering
* fix php-stan
* Fix condition to check current AI service
* Update AI external access message for clarity
* Update entity filter in log viewer SQL queries
* Fix spelling and update model configurations
Corrected spelling of 'DocumentPArsing' to 'DocumentParsing' and updated model configurations to use arrays for default values.
2026-03-14 19:48:17 +01:00
Laurent Destailleur
531c55a9fd
NEW Show example of ai models in setup
2026-03-12 21:13:49 +01:00
Laurent Destailleur
3ba8daab0c
Work on AI doc parsing protopype
2026-01-18 14:21:09 +01:00
ldestailleur
34a34efec5
Enhance AI setup and log report
2025-09-20 15:01:26 +02:00
Lucas Marcouiller
0f8b0da651
New AI extrafield filler ( #33979 )
...
* New ai extrafield filler
* remove comment
* Fix Ci
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-26 01:59:36 +02:00
Frédéric FRANCE
2c3cb5806d
fix CI ( #33827 )
...
* fix CI
* fix CI
* fix CI
* fix CI
* fix CI
* fix CI
* fix CI
* fix CI
* fix CI
* fix CI
* fix CI
* fix CI
* try to fix
* fix
2025-04-14 19:37:33 +02:00
Laurent Destailleur
76f33c4ed2
Debug v22
2025-04-12 03:35:44 +02:00
Lucas Marcouiller
2424943670
New AI style rephraser for mail form ( #33797 )
...
* New AI style rephraser
* prevent regretion
* fix Ci
2025-04-09 15:47:09 +02:00
ldestailleur
1bb7edea8b
Enhance AI features
2025-04-08 11:42:46 +02:00
ldestailleur
936e35a767
Enhance AI setup.
2025-04-07 20:29:38 +02:00
ldestailleur
53b2e257fc
Remove one choice
2025-04-07 13:59:36 +02:00
Lucas Marcouiller
dce77a84b1
Fix add percent to Summarize feature ( #33731 )
...
* Fix add percent to Summarize feature
* fix
2025-04-04 18:16:29 +02:00
Lucas Marcouiller
712c4a111f
New add sumarize function to mail Ai Enhancements ( #33710 )
...
* New add sumarize function to mail Ai Enhancements
* fix translation
* fix CI
2025-04-03 17:34:09 +02:00
UT from dolibit
41f29a3ae6
Update ai.lib.php ( #33619 )
...
changed: $arrayofia -> $arrayofai
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-26 20:00:56 +01:00
Hystepik
20e669c136
fix CI
2025-02-19 15:19:52 +01:00
Lucas Marcouiller
4e26febdd8
Merge branch 'develop' into new-ai-model-setup-for-feature
2025-02-19 14:49:18 +01:00
Hystepik
8ce483009a
modify code has feedback
2025-02-19 14:44:54 +01:00
Hystepik
06f9e5e667
New move getSectionAIPrompt to new formAI class
2025-02-18 15:34:35 +01:00
ldestailleur
99e8842f0a
Fix phpstan
2025-02-17 03:49:11 +01:00
ldestailleur
bc1dbae6b0
Enhance test of AI
2025-02-16 19:56:03 +01:00
MDW
099dbd9c1e
Qual: Fix notices for htdocs/admin/* ( #30982 )
...
* Fix (Possibly)UndeclaredGlobalVariable
* Update phan baseline
* Fix (Possibly)UndeclaredGlobalVariable (2)
* Qual: Fix notices for htdocs/admin/*
# Qual: Fix notices for htdocs/admin/*
Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
2024-09-18 03:27:25 +02:00
Frédéric FRANCE
7cf6a0821f
fix phpdoc for ismultientitymanaged ( #29245 )
...
* fix phpdoc
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-06 17:38:39 +02:00
lamrani abdelwadoud
59b3323669
NEW fuctionnality for stock configuration prompt in AI module ( #28030 )
2024-02-07 19:41:50 +01:00
Lamrani Abdel
fc9e833318
add script for generate email template
2024-01-29 16:17:42 +01:00
Frédéric France
03e29c6960
fix param
2024-01-20 09:22:38 +01:00
Lamrani Abdel
89e2fd4e29
create script for generate_content
2024-01-17 17:53:35 +01:00
Lamrani Abdel
592e9e33d0
New Module Ai, create manualy
2024-01-16 15:52:52 +01:00