Commit Graph

2442 Commits

Author SHA1 Message Date
Laurent Destailleur
1946b92da8 Debug v20 2024-04-19 16:32:56 +02:00
Laurent Destailleur
57bb4cd7e4 Debug v20 2024-04-18 02:21:42 +02:00
MDW
bec5ff4749 Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num, fix hooks typings (#29298)
* Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num

* Fix typing in hookmanager class

* Improve DolHooksCollector phpdoc

* Fix PhanTypePossiblyInvalidDimOffset by testing index's existence

* Ignore PhanTypePossiblyInvalidDimOffset that phan can not detect

* Allow  to be null, initialise instead of unset
2024-04-09 23:21:28 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +02:00
Laurent Destailleur
8a5d066d90 Doc 2024-04-07 12:15:17 +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
sonikf
a9bfe73e1a Add recurring invoice triggers in module builder template (#29208)
* Add recurring invoice triggers

* Update interface_99_modMyModule_MyModuleTriggers.class.php

* remove BILLREC_CREATE
2024-04-05 16:34:39 +02:00
Laurent Destailleur
0fc08e8926 Clean translation files 2024-04-04 15:15:04 +02:00
Laurent Destailleur
fffe74246c Fix all short tables must use the setup for the number of rows 2024-04-03 15:30:10 +02:00
Laurent Destailleur
f03eb260de Nicer combo of companies for external modules 2024-04-03 13:20:26 +02:00
Laurent Destailleur
9811ef1a78 Fix phpstan 2024-04-02 14:43:05 +02:00
Laurent Destailleur
990216b13f NEW Api parameters are sanitized by the WAF, same code than GET/POST 2024-04-02 13:07:13 +02:00
Laurent Destailleur
87348ceac3 Fix missing $max 2024-04-02 12:01:23 +02:00
Laurent Destailleur
594da940fa Sanitize input 2024-04-02 11:57:30 +02:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00
Laurent Destailleur
7ba40287ca Merge pull request #29009 from lamrani002/fixInDictMB
Fix condition in  createDictionary for modulebuilder
2024-03-28 15:12:07 +01:00
MDW
8c19fe57dd Fix arguments to dol_get_fiche_head 2024-03-27 10:22:55 +01:00
Laurent Destailleur
f598bcbd54 Look and feel v20 2024-03-24 16:36:08 +01:00
MDW
baaa7c721e Fix PHPdoc typing ($cols, $phpmin) 2024-03-24 14:19:09 +01: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
Lamrani Abdel
820247dbd6 Fix condition in createDictionary for modulebuilder 2024-03-21 15:54:29 +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
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
Laurent Destailleur
f9346a8022 Fix restore declaration to avoid to many uncompatibility problems. 2024-03-18 15:15:35 +01:00
Laurent Destailleur
b72b38f5d1 Doc 2024-03-18 15:03:41 +01:00
Laurent Destailleur
72d758e054 Doc 2024-03-18 14:56:54 +01:00
Laurent Destailleur
de58435ef1 FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00
Laurent Destailleur
310b74960e Fight against ucfirst to get a className. 2024-03-16 22:26:24 +01:00
Laurent Destailleur
90172fba83 Code simpler 2024-03-16 22:00:55 +01:00
Laurent Destailleur
93882871d7 Merge pull request #28901 from mdeweerd/spelling/dolibarr_keyword
Qual: Add dolibarrr to dict
2024-03-16 21:35:47 +01:00
MDW
5067a8bee9 Fix Dolibarr spellings 2024-03-16 18:11:10 +01:00
Laurent Destailleur
eececbe72b More secured parameter for $tmpobjectkey 2024-03-16 17:34:58 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Laurent Destailleur
2b9d5b7232 Clean code 2024-03-16 11:16:32 +01:00
Laurent Destailleur
0e07611344 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
Fix for #28785 and #28889
2024-03-16 11:09:24 +01:00
Laurent Destailleur
ea2eab434c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-16 11:04:54 +01:00
Laurent Destailleur
97e4346913 Fix look and feel 2024-03-16 10:45:32 +01:00
Laurent Destailleur
28269b1a0a Clean code for #28785 2024-03-15 20:26:22 +01:00
Lamrani Abdel
28f74e994a FIX number of properties for each object in modulebuilder 2024-03-15 12:50:06 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
f5ab94634a Fix PhanNoopBinaryOperator by commenting NOOP tests 2024-03-14 22:57:33 +01:00
Laurent Destailleur
6b48e09854 Debug 2024-03-14 16:49:29 +01:00
Laurent Destailleur
967c444d8d FIX support of multiobject in APIs generated by modulebuilder 2024-03-14 16:39:12 +01:00
Laurent Destailleur
45a68ba612 Better error management 2024-03-13 20:17:26 +01:00
Laurent Destailleur
74b8162d22 Merge pull request #28700 from mdeweerd/urlencode/fixuptype
Fix: Ensure the argument type for urlencode is string
2024-03-12 14:43:41 +01:00
Laurent Destailleur
9e16016125 Merge pull request #28770 from mdeweerd/typing/fields
Fix: Repeat fields typing in CommonClass children
2024-03-12 14:30:36 +01:00
MDW
88d59896ec Qual: 'enabled' in fields can be string ('isModEnabled(...)')
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')

Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
Laurent Destailleur
c458a46862 Fix warning 2024-03-12 03:46:00 +01:00