2
0
forked from Wavyzz/dolibarr
Commit Graph

2839 Commits

Author SHA1 Message Date
Frédéric FRANCE
d0830b3159 fix phpstan (#29602)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phan

* 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 travis

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 00:34:19 +02:00
Laurent Destailleur
b79c9fe30b Fix fatal error 2024-05-02 00:04:58 +02:00
Laurent Destailleur
bb63f10cb0 Add a default limit in nb to agenda export 2024-05-01 23:58:12 +02:00
Laurent Destailleur
4dbed777eb More info in tooltip 2024-05-01 19:33:14 +02:00
Laurent Destailleur
19c305e90a NEW Export RSS of event can be filter on action type and code (usefull
for smartphone alerts)
2024-04-30 16:34:44 +02:00
Laurent Destailleur
5c018013ed Debug v20 2024-04-29 19:38:02 +02:00
Laurent Destailleur
74c3b58a33 Debug v20 2024-04-29 18:50:54 +02:00
Laurent Destailleur
50d8eabf3e Debug v20 2024-04-29 17:25:16 +02:00
Laurent Destailleur
1908d6cf98 Look and feel v20 - All combo of categories are using the colored picto 2024-04-24 02:40:53 +02:00
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
John BOTELLA
db74893f3f Fix extrafields origins rights (#29376) 2024-04-17 18:03:18 +01:00
MDW
bc5e5b67af Qual: Update phan baseline (#29300)
* Qual: Update phan baseline

* Init variable to ensure it is defined

* Init $module_part to ensure it is defined

* Init $modulepart to ensure it is defined

* phpdoc typing for getNetNeeds and getNetNeedsTree

* Enforce type for phan

* Initialise  $massactionbutton so that it is defined

* phpdoc: improve typing

* Encore character_set value is string (for typing)

* fixup! Qual: Update phan baseline

* Fix duplicate code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 01:06:52 +02:00
Laurent Destailleur
b5de782c6b Fix use the good HTTP code 2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +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
fae202a610 Sec Possible html injection by corrupting external ICS links. 2024-04-05 13:26:59 +02:00
Laurent Destailleur
7c5b2dae56 Fix GETPOSTINT 2024-04-05 13:09:32 +02:00
thibdrev
e082564816 Update actioncomm.class.php 2024-04-04 20:52:18 +02:00
Laurent Destailleur
2947287e3f Look and feel v20 2024-04-03 16:22:16 +02:00
Laurent Destailleur
68d4f773ce Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-02 17:12:01 +02:00
Laurent Destailleur
af41ec8e41 Clean code - Remove not used method fetchAll and CSS 2024-04-02 16:42:21 +02:00
Laurent Destailleur
d1d188e6ee Merge pull request #29196 from mdeweerd/phpstan/actioncomm
Qual: Fix typings in actioncomm
2024-04-02 15:05:58 +02:00
Laurent Destailleur
7715513ac9 Some API HTTP return code were moved from 401 to 403 to better follow
REST specification.
2024-04-02 14:47:49 +02:00
MDW
e94bb650d3 Qual: Fix typings in actioncomm
# Qual: Fix typings in actioncomm

Allow -1 for percentage.
$icalcolor as string.
Extend range of return types for update() and delete()
2024-04-02 13:55:12 +02:00
Laurent Destailleur
51f862ad28 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-02 13:21:00 +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
MDW
71f3637a8b Qual: actioncom - phpdoc typing, activate deprecationhandler for libelle
# Qual: actioncom - phpdoc typing, activate deprecationhandler for libelle

Fix several phan notices, activation deprecationhandler for libelle
2024-04-02 02:34:02 +02:00
Laurent Destailleur
3e8c3edd6d Clean code from _GET 2024-03-28 17:10:22 +01:00
MDW
30f1701c6f Improve typings, adapt 2024-03-27 10:18:31 +01:00
Laurent Destailleur
a5fec9f06f Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 20:44:54 +01:00
Laurent Destailleur
7b4aa959ae Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-23 20:39:22 +01:00
Can Arslan
4d6bd2a8e0 FIX: PHP Warning: Undefined properties 2024-03-22 14:17:39 -06:00
VESSILLER
828cf2cbce NEW now button when editing an event 2024-03-22 14:20:03 +01:00
MDW
a6f69d3304 Fix PhanTypeInvalidLeftOperandOfAdd with casts 2024-03-22 09:51:41 +01:00
Laurent Destailleur
60c626dbe4 Merge branch 'develop' into fix/PhanTypePossiblyInvalidDimOffset 2024-03-21 12:53:59 +01:00
MDW
aeefca7e7e Fix $arrayfields typing lost by dol_sort_array() by forcing the type 2024-03-20 23:29:48 +01:00
MDW
3a27977b46 Fix PhanTypeMismatchReturnNullable with typing test 2024-03-20 21:58:34 +01:00
MDW
69b64d30f5 Fix arg type to urlencode with cast 2024-03-20 04:10:07 +01:00
MDW
d78a1838c2 Fix arg type to str_replace() by cast 2024-03-20 04:08:27 +01:00
Laurent Destailleur
2b93caa7e7 Debug v20 2024-03-20 00:47:24 +01:00
Laurent Destailleur
71c833b3a2 FIX Title of event no visible on calendar 2024-03-20 00:40:58 +01:00
Laurent Destailleur
dad22a455b NEW Show error on ical parse 2024-03-20 00:38:10 +01:00
Laurent Destailleur
999c90642a Fix import of ical file 2024-03-20 00:05:24 +01:00
Laurent Destailleur
f756b5e872 Fix bad logic in date conversion 2024-03-19 23:30:27 +01:00
MDW
1933349eb0 Fix type of argument for str_pad 2024-03-19 02:58:59 +01:00
MDW
2c034e6aac Fix types of arguments for round and str_pad 2024-03-19 02:58:58 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
MDW
2a534539cb Fix json_decode requires bool for arg2 fixes PhanTypeMismatchArgumentInternal 2024-03-18 04:03:48 +01:00
Laurent Destailleur
ad99b89856 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 21:25:46 +01:00