Commit Graph

64 Commits

Author SHA1 Message Date
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +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
Laurent Destailleur
3a9931c0bb NEW Add a test mode into the setup of AI prompts 2024-07-19 15:38:52 +02:00
Laurent Destailleur
c4f29dca59 NEW Can set a class on the tr lines of form setup lines 2024-07-19 12:06:37 +02:00
Laurent Destailleur
dd93065f41 WIP AI 2024-07-16 18:20:23 +02:00
Laurent Destailleur
811f4b6c15 WIP Work on custom local bridge AI 2024-07-16 18:08:26 +02:00
Laurent Destailleur
ada98813b3 Debug 2024-07-15 22:24:16 +02:00
lamrani abdelwadoud
de5f5f6e35 NEW updating for stock blacklist of words (#30385)
* add input to stock blacklist on ai prompt

* Fix CTI errors

* Fix functionality to add blacklist words

* Update custom_prompt.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-15 21:42:25 +02:00
Laurent Destailleur
ac1704ec49 Clean menu for AI generation modes 2024-07-15 13:40:55 +02:00
Alexandre SPANGARO
850cafb588 Add llxHeader body css for ai (#30307)
* Add llxHeader body css for ai

* Fix $title in cartes member
2024-07-08 22:10:25 +02:00
Frédéric FRANCE
2f5647e4e3 fix checkFunctionArgumentTypes (#30234)
* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* add ignore

* add ignore

add ignore

add ignore

add ignore

add ignore

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes
2024-07-03 02:30:53 +02:00
Laurent Destailleur
78421f4607 Debug v20 2024-06-06 11:09:43 +02:00
Laurent Destailleur
0371ffefd0 Debug v20 2024-06-06 00:37:08 +02:00
Laurent Destailleur
ff2bd03584 Debug v20 2024-06-05 23:49:09 +02:00
Laurent Destailleur
ac1e6fccb8 Fix php error 2024-04-24 20:03:46 +02:00
Laurent Destailleur
7a8afd0185 Debug v20 2024-04-24 14:05:25 +02:00
Laurent Destailleur
4c77eafaf1 Debug v20 2024-04-24 13:09:43 +02:00
Laurent Destailleur
82fd5a8ac3 Debug v20 2024-04-24 13:07:47 +02:00
Laurent Destailleur
68c81e5311 Debug v20 2024-04-24 11:26:08 +02:00
Laurent Destailleur
e0231b6244 Debug v20 2024-04-20 19:32:38 +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
Laurent Destailleur
87388d7dab Debug v20 2024-03-16 21:33:55 +01:00
Laurent Destailleur
eececbe72b More secured parameter for $tmpobjectkey 2024-03-16 17:34:58 +01:00
Laurent Destailleur
2b0a789289 Fix translation 2024-03-16 12:49:42 +01:00
Laurent Destailleur
28269b1a0a Clean code for #28785 2024-03-15 20:26:22 +01:00
Laurent Destailleur
df0ba88eb3 Merge pull request #28819 from lamrani002/addInfoLoading
Add error msg foin ai generate_content
2024-03-15 00:19:11 +01:00
Laurent Destailleur
1639bc83ca Merge pull request #28817 from frederic34/skiljob
fix warnings
2024-03-15 00:18:44 +01:00
Lamrani Abdel
4e872df2a6 New change input to textarea for prompts in ai module 2024-03-14 10:45:37 +01:00
Lamrani Abdel
a50bab344e Fix problem in phpStan 2024-03-14 00:26:45 +01:00
Laurent Destailleur
9c876b2841 Fix phpunit 2024-03-13 22:22:32 +01:00
Frédéric France
ec7ff74f25 clean code 2024-03-13 18:45:02 +01:00
Lamrani Abdel
f7ec65f104 Add error msg foin ai generate_content 2024-03-13 18:16:55 +01:00
Lamrani Abdel
8b165963fa Fix Update prompts for each functions 2024-03-13 18:03:10 +01:00
Laurent Destailleur
d51b0f9ae4 Merge pull request #28792 from mdeweerd/fix/PhanTypeExpectedObjectOrClassName_part1
Fix/phan type expected object or class name part1
2024-03-12 22:14:14 +01:00
Laurent Destailleur
a467b0f9f6 Fix trans 2024-03-12 20:31:01 +01:00
MDW
9dbf0742f1 Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:39:59 +01:00
Lamrani Abdel
40434773c7 New buttons for edit and delete pre_post prompt for each function 2024-03-12 18:22:59 +01:00
Laurent Destailleur
d6f3a74cd5 Merge branch 'develop' into updateErrors 2024-03-12 14:18:30 +01:00
Laurent Destailleur
364892008d Merge pull request #28772 from lamrani002/chageCurlInAiModule
New update in generate_content in module Ai
2024-03-12 14:15:32 +01:00
Laurent Destailleur
7869c1a309 AI support both plain text and HTML generation 2024-03-12 10:01:39 +01:00
Laurent Destailleur
56a4dd46db Add a log 2024-03-11 20:41:56 +01:00
Lamrani Abdel
d916a70acf Remove comments 2024-03-11 18:03:33 +01:00
Lamrani Abdel
8e422f15e3 New update in generate_content in module Ai 2024-03-11 18:00:43 +01:00
Lamrani Abdel
831aee8fa2 add link for redirect in setup module 2024-03-11 17:31:01 +01:00
Laurent Destailleur
5c4c39da2a Debug module AI 2024-03-06 00:46:04 +01:00
Laurent Destailleur
50b4e6f81a NEW Add a link "Fill with layout" 2024-02-18 21:15:26 +01:00
Laurent Destailleur
a6ef430ca1 Clean code 2024-02-14 01:42:38 +01:00
Laurent Destailleur
7c79ce8d2e Rewrite custom prompt admin 2024-02-13 21:29:11 +01:00
Laurent Destailleur
37bd68b27a Debug 2024-02-10 10:38:29 +01:00
lamrani abdelwadoud
59b3323669 NEW fuctionnality for stock configuration prompt in AI module (#28030) 2024-02-07 19:41:50 +01:00