ldestailleur
9f3281cf1d
WIP mail layout
2025-04-17 00:56:22 +02:00
ldestailleur
2a7b9a2466
WIP mail layout
2025-04-17 00:27:52 +02:00
ldestailleur
94697e64e4
Debug email layouts
2025-04-16 22:12:37 +02:00
ldestailleur
b7c0a734ed
Fix CI
2025-04-16 21:08:11 +02:00
Lucas Marcouiller
5f211c64ec
New ai feature dropdown + translate ( #33545 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-03-20 19:32:01 +01:00
MDW
c3104905b3
Qual: Fix phan notices (html/core) ( #33474 )
...
* FIX: Replace compromised tj-actions/changed-files
# FIX: Replace compromised tj-actions/changed-files
See https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised .
* Add changed php file for test
* Qual: Fix phan notices (html/core)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-03-15 16:34:35 +01:00
Hystepik
06f9e5e667
New move getSectionAIPrompt to new formAI class
2025-02-18 15:34:35 +01:00
ldestailleur
47d59c7938
NEW Add a test mode for AI setup
2025-02-16 22:45:14 +01:00
ldestailleur
320dbe483e
Fix js syntax error.
2025-02-16 19:52:17 +01:00
Laurent Destailleur
6ab6f02241
Update html.formmail.class.php
2025-02-12 23:02:04 +01:00
Laurent Destailleur
898beaa750
Update html.formmail.class.php
2025-02-12 22:52:42 +01:00
Norbert Penel
4ecf7334e5
Added substitutions in AI response
2025-02-11 14:30:48 +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
ATM-Lucas
cd642e7e02
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into NEW/Adding_Products_Mails
2025-01-27 10:23:27 +01:00
ATM-Lucas
16e5b04803
conflict
2025-01-27 10:22:08 +01:00
ATM-Lucas
553d7c70a5
space
2025-01-27 10:19:54 +01:00
ATM-Lucas
87e46db256
error
2025-01-27 10:19:22 +01:00
ATM-Lucas
c1058da4c5
Travis error
2025-01-27 10:15:56 +01:00
ATM-Lucas
9c10d36b1b
fault
2025-01-24 16:55:13 +01:00
ATM-Lucas
4afb100767
Adding model Mail
2025-01-24 16:52:50 +01:00
Laurent Destailleur
821565e031
Debug v21
2025-01-23 01:29:29 +01:00
Laurent Destailleur (aka Eldy)
95032a8d1d
Fix syntax error
2024-12-30 18:13:30 +01:00
Laurent Destailleur (aka Eldy)
42137dd55d
Code comment
2024-12-30 17:59:20 +01:00
Laurent Destailleur (aka Eldy)
08c6767312
Fix the fetch of ModelMail.
2024-12-30 17:57:30 +01:00
MDW
ec2a1928ba
Qual: Update fields phpdoc to include fields that are defined/used in some cases
...
# Qual: Update fields phpdoc to include fields that are defined/used in some cases
comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Laurent Destailleur
1386d8c388
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-11-19 04:21:29 +01:00
Laurent Destailleur
e9e1175134
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-11-19 04:04:10 +01:00
Laurent Destailleur
93b11038d5
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-11-19 03:44:50 +01:00
Laurent Destailleur
99774022a5
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-11-19 03:36:44 +01:00
Laurent Destailleur
c5ebc9b7bd
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-11-19 03:33:15 +01:00
Mathieu Moulin
348981a419
Fix show payment URL in massaction context when not one email per recipient ( #31927 )
2024-11-16 00:06:15 +01:00
lamrani abdelwadoud
cc4f86dac3
New functionality Generate img product ( #29731 )
...
* New functionality for generate image for product
* New functionality for generate image for product
* Fix errors CTI
* remove null for second params
* fix CTI errors again
* Fix whitespace
* Fix whitespaces again
* Fix run phan
* Update commonobject.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-28 14:51:36 +01:00
Frédéric FRANCE
e269c133ca
fix phpstan ( #31591 )
...
* fix phpstan
* fix phpstan
2024-10-28 00:28:04 +01:00
Laurent Destailleur
1a2ac35985
Look and feel v21 - text to select email template into the placeholder
2024-10-15 00:13:53 +02:00
Laurent Destailleur
ec53c62a7e
Debug layout feature for v21
2024-10-15 00:07:08 +02:00
Laurent Destailleur
fad083e29b
Debug layout feature for v21
2024-10-14 23:38:14 +02:00
Laurent Destailleur
4a2043e7a0
Merge
2024-10-14 01:21:40 +02:00
Laurent Destailleur
47500d56f3
Doc
2024-10-14 01:15:54 +02:00
MDW
8609df383a
Qual: fix phan notices ( #31368 )
...
* Qual: fix phan notices
# Qual: fix phan notices
Fix phan/phpstan notices, mostly in html,formmail
* Ignore phpstan exception
2024-10-14 00:36:42 +02:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-29 21:52:31 +02:00
Frédéric FRANCE
138ffa3158
fix phpstan ( #31181 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-29 21:49:52 +02:00
lamrani abdelwadoud
5fcca27fc4
NEW display when click on NEWS templateDrop down for model ( #30332 )
...
* New update for templateMail by creating files
* New updating for get php content
* Update html.formmail.class.php
* Fix updating content news
* Fix CTI Errors
* edit html file for news
* NEW display for news with option
* replace file in ajax folder
* fix multiselect news
* Fix phan errors and remove part of useless css
* Fix brakets needed in script
* Fix Phan errors
* Fix display multiselect and fix security injection
* cancel removing part of code for classe modelMail
* Fix phstan errors
* Fix space line
* Fix error phpStan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-17 15:37:34 +02:00
MDW
ca414de526
Qual: Fix $fields related notices with Phan ( #30704 )
...
* Qual: Typing hints/ignore directives for phan notices
* Update field typing
2024-08-21 13:23:35 +02:00
MDW
75ed925f06
Qual: Fix PhanPluginUnknownObjectMethodCall ("part 1") ( #30563 )
...
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add typing hint to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add typing hint in phan config to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjectBlock
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjectBlock
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjects
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Fix: MemberNumRefNumbers getExample does not take any arguments
Found thanks to adding the typing for phan!
* Qual: Correct forced type for $module
* Qual: Ignore phan false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Ignore false positive
* Qual: phan/Ignore false positive, replace depr.prop with method
* Qual: Fix typing for count by adding is_array check
* Qual: replace depr.prop `nom` with method
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Fix depr.prop with getter and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: Improve typing for mymodule template
* Make info method arguments match calls
* Make PrintingDriver abstract class because we added abstract methods
* Add phpdoc typing for phan
* Update getExample function signature for compatibility
* Update getExample function signature for compatibility
* Update getExample function signature for compatibility
* Update header wit correct information
* Update getExample method signature
* Update getExample method signature
* Correct reference to class in comment
* Force php phan typing for numbering modules
* Correct $_GLOBALS to $GLOBALS
* Add phpdoc to indicat type of properties
* Correct default to null
* Improve getNextValue typehint
* Improve getNextValue typehint
* Qual: Improve ModeleNumRefTakepos typing
* Qual: Improve ModeleNumRefRecruitmentJobPosition typing
* Fix default for $langs
* Do not use non-existing ModeleNumRefTakepos::nom
* Allow getNextValue argument to be null
* Correct $_GLOBAL into $GLOBALS
* Improve typing for ldap functions
* Allow null for outputlangs argument
* Improve typing for printOriginLine
* Improve typing for linkedObject access
* Fix PhanTypeMismatchArgumentNullableInternal and optimize
* Fix PhanPossiblyUndeclaredVariable by setting default value
* Ignore PhanPluginDuplicateExpressionAssignmentOperation - needs PHP7.4
* getToolTip does not accept null, changed to ''
* Improve getNextValue typing
* Change PrintingDriver back to normal class (instantiated)
And add errors for functions that should be overloaded
* Adjust pringOriginLine typing to match parent
* Fix phpdoc for getNextValue
* Fix phan typing
* Add/Improve phpdoc typing hints
* Qual: Adjustments to match typing
* Update typing for unit, use GETPOSTINT
* ModeleNumRefTask needs Project
* Fix several notices appearing after update from develop
* Index for choices is int, use GETPOSTINT
* Qual: Ignore empty foreach
* Force BOMLine on object line
* phan typing to indicate that linked objects are BOM
* Type the correct variable name (phan)
* Add typing for $langs
* Type to CommonNumRefGenerator (no class for availabilities)
* Resolve several phan notices after update from dev branch
* Extra typing fixes
* Move common attributes to parent class (phan)
* Add typing to Calendar class
* Improve typing hints
* Add typing to pdf_eagle_proforma
* Qual: Add typing for token in generic_oauthcallback.php
* Add typing for objMod
* Correct getNextValue function signature (phpstan)
* Fix typing (phpstan)
* Update version declarations (fix phpstan)
* Fix phpstan typing issues
* Adjust typing (phpstan)
* Qual: Update baseline & conf to detect 25% of PhanPluginUnknownObjectMethodCall
2024-08-17 19:32:52 +02:00
Laurent Destailleur
5c88a77ac1
Enhance the layout email selection
2024-08-15 18:32:55 +02:00
Laurent Destailleur
af779ead51
Fix rename field name for subject in english
2024-08-15 18:11:57 +02:00
Laurent Destailleur
69ac99e11a
Fix sql error
2024-08-15 18:07:47 +02:00
Laurent Destailleur
4d28e971e7
Fix URL
2024-08-15 17:51:48 +02:00
lamrani abdelwadoud
1bd3d1877e
NEW Preview product list when we choose model layout Commerce ( #30185 )
...
* New update for templateMail by creating files
* New updating for get php content
* Update html.formmail.class.php
* Fix updating content news
* Fix CTI Errors
* NEW function for Preview In CKeditor products
* edit html file for news
* Add automaticaly subject value to editor
* Update html.formmail.class.php
* FIX name and path of file
* Fix path for files
* Fix errors variables
* replace file in ajax folder
* rename path
* Fix return function in product class
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-15 17:39:15 +02:00
Laurent Destailleur
75158556c9
Debug
2024-07-31 19:36:57 +02:00