Frédéric FRANCE
cd3b74f092
NEW add api for members statistics ( #35851 )
...
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* NEW add api for members statistics
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-10-21 02:05:51 +02:00
ldestailleur
3403bbe869
NEW Enhance the system for warnings on module activation
2025-10-10 10:16:33 +02:00
Kusco
100ba8e060
FIX Module-builder modMyModule.class.php ( #35684 )
...
* Update modMyModule.class.php
Fix an error that generates errors in the logs.
dol_eval try/catch error : Undefined constant "mymodule"
* Update modMyModule.class.php
2025-10-09 15:40:16 +02:00
ldestailleur
e0df46e5c4
Comment to discourage use of always_enabled to true.
2025-10-03 12:39:33 +02:00
ldestailleur
a43bf46a75
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-26 01:27:00 +02:00
ldestailleur
f65903d006
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-09-26 01:23:02 +02:00
ldestailleur
369b9510e0
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-09-26 01:21:57 +02:00
ldestailleur
1ed840384a
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-09-26 01:21:01 +02:00
ldestailleur
0226d75ec6
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-09-26 01:16:17 +02:00
ldestailleur
79210c0120
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2025-09-25 11:57:12 +02:00
Dylan Bourdere
92454d671f
rename tab name in comment of modulebuilder ( #35431 )
2025-09-22 12:11:32 +02:00
Kusco
8075cb8dba
FIX Updated rights management in ModuleBuilder Tabs ( #34989 )
...
* Update modMyModule.class.php
Actualisation de la gestion des droits dans les Tabs du ModuleBuilder
* Update modMyModule.class.php
* Update modMyModule.class.php
* Update modMyModule.class.php
* Update modMyModule.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-08-20 17:02:09 +02:00
ldestailleur
91fa444129
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-04-01 22:42:32 +02:00
ldestailleur
8e88532c3e
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-04-01 21:07:20 +02:00
ldestailleur
e9b880707a
Clean code
2025-04-01 20:13:54 +02:00
Mohamed DAOUD
83a0faaf41
add phpmax and dolibarrmax ( #33448 )
2025-03-14 17:15:55 +01:00
ldestailleur
7fc8136362
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-02-16 14:50:09 +01:00
ldestailleur
415c38ed6b
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-02-16 14:32:33 +01:00
Regis Houssin
8150cc6159
FIX wrong ODT path for multicompany
2025-02-13 18:20:47 +01:00
Quentin VIAL--GOUTEYRON
01be602fb1
FIX Issue 32460 db prefix module builder
2025-01-15 08:42:14 +01:00
Laurent Destailleur
84c343cada
WIP Captcha module architecture
2024-11-06 22:15:25 +01:00
Laurent Destailleur
18ce4d9a39
Debug v21
2024-10-28 11:42:35 +01:00
MDW
cb9ad5c259
Qual: Fix spelling ( #31515 )
...
# Qual: Fix spelling
Fix some typos in the comments (codespell).
2024-10-23 20:23:07 +02:00
Frédéric FRANCE
000173c7b9
fix phpstan ( #31075 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-23 01:59:14 +02:00
MDW
b0087aaf61
Qual: Enable phan on modulebuilder ( #30652 )
...
* Allow null for buyer, and force '' for in printObjectLine(s)
* Allow null for Contact in show_actions_done
* Qual: Enable phan on modulebuilder
# Qual: Enable phan on modulebuilder
Most files of the modulebuilder template can be checked as regular files.
It will help improve the template
* Update baseline (enable modulebuilder notices)
* Add properties that are expected to exist on modules_boxes
* Qual: Ignore false positive (phan)
* Set phpdoc type to include null on formAddObjectLine
* Qual: Fixes for modulebuilder (phan, phpstan, bugs, format)
* Fix phpcs for intracom
* Make ModeleBoxes:showBox() signature match child class's
* Fix *box::showBox() phpdoc types
* Update index.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-18 18:16:08 +02:00
Oliver Lippert
0a41d5eb2c
tell about delivery objecttype tabs ( #30662 )
2024-08-18 16:18:49 +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
d1f1c0aa57
Clean code - Fix phpstan warning
2024-08-03 13:44:38 +02:00
Laurent Destailleur
74cbae2579
Code comment
2024-07-25 14:28:18 +02:00
Kusco
8e8fdccec7
#29103 Fix error in export part of the builder module ( #29835 )
...
In the builder module, suggestions are offered by default.
Just remove the comments for this to work.
Except for this line:
//$this->export_sql_end[$r] =' LEFT JOIN '.MAIN_DB_PREFIX.'competence_line as tl ON tl.fk_competence = t.rowid';
A "point" is missing before the "equal":
//$this->export_sql_end[$r] .=' LEFT JOIN '.MAIN_DB_PREFIX.'competence_line as tl ON tl.fk_competence = t.rowid';
The problem is the overwriting of part of the query, if we want to couple other tables.
2024-06-04 14:49:25 +02:00
sonikf
df6312d9db
fix: path and add missing comma ( #29651 )
...
* fix: add missing comma
* fix path
2024-05-11 20:45:52 +02:00
Vaadasch
5865151eb3
NEW : Add option position['find'] to DolEditor ( #29546 )
...
* Add option position['find'] to DolEditor
* Add option position['find'] to DolEditor - fix spaces
* Add option position['find'] to DolEditor - fix spaces
* Add option position['find'] to DolEditor - fix semi-colon
* Add option position['find'] to DolEditor - exemples -> examples...
* Add option position['find'] to DolEditor - reviews
* Add option position['find'] to DolEditor - empty indent
---------
Co-authored-by: Vaadasch <me@local.here >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-01 18:04:18 +02:00
Laurent Destailleur
57bb4cd7e4
Debug v20
2024-04-18 02:21:42 +02:00
Laurent Destailleur
f03eb260de
Nicer combo of companies for external modules
2024-04-03 13:20:26 +02:00
Laurent Destailleur
3b17fceadb
Update modMyModule.class.php
2024-03-23 19:38:35 +01:00
Florian HENRY
b4f04dbaee
new: upgrade minimum version of dolibarr for module builder
2024-03-21 20:58:59 +01:00
Laurent Destailleur
e92d6230df
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/ticket/class/ticket.class.php
htdocs/ticket/list.php
htdocs/ticket/stats/index.php
2024-03-20 02:31:33 +01:00
Laurent Destailleur
607bc16351
Fix menu postion
2024-03-19 22:05:55 +01:00
Laurent Destailleur
45a68ba612
Better error management
2024-03-13 20:17:26 +01:00
Frédéric FRANCE
bc2f527e41
add phpdoc ( #28639 )
...
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
2024-03-05 17:11:46 +01:00
Laurent Destailleur
637ffa837f
Clean code
2024-02-22 13:28:18 +01:00
Laurent Destailleur
c8777a94b0
Fix table for export profile in modulebuilder
2024-02-15 13:13:24 +01:00
Laurent Destailleur
7bb21e7ff6
Fix picto
2024-02-15 13:10:28 +01:00
Laurent Destailleur
0920d6e08f
Enhance modulebuilder
2024-02-12 07:10:49 +01:00
Laurent Destailleur
d4296c2ffd
Work on website templates from external modules
2024-02-09 17:54:57 +01:00
Laurent Destailleur
eb4f53665d
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
.github/workflows/pre-commit.yml
ChangeLog
dev/tools/codespell/codespell-lines-ignore.txt
htdocs/comm/mailing/card.php
htdocs/contact/card.php
htdocs/langs/en_US/admin.lang
htdocs/modulebuilder/template/core/modules/mailings/mailinglist_mymodule_myobject.modules.php
2024-02-07 18:30:10 +01:00
Laurent Destailleur
7c88705f14
Fix template to use v19 dev rules
2024-02-04 16:05:02 +01:00
Laurent Destailleur
62e25855e5
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-01-28 00:40:53 +01:00
Laurent Destailleur
bf80809a96
Debug v19
2024-01-27 01:34:53 +01:00
MDW
591306d7b1
Qual: Spelling htdocs/[l-o]* & htdocs/pa* ( #27435 )
...
# Qual: Fix spelling htdocs/[l-o]* & htdocs/pa*
Mostly comments, some local variables changed and translations to avoid
automatic fixes.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-01-12 18:06:50 +01:00