2
0
forked from Wavyzz/dolibarr
Commit Graph

2826 Commits

Author SHA1 Message Date
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
Laurent Destailleur
9627894d8d More default values for colors 2024-03-17 21:07:21 +01:00
MDW
aa5aa2bf26 Add one more index to the theme_datacolor 2024-03-17 19:49:10 +01:00
MDW
a848a06b76 Force typing for /global did not help 2024-03-17 18:56:51 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Laurent Destailleur
79aa9fb1f1 Code simpler 2024-03-15 20:29:21 +01:00
Laurent Destailleur
0617d43460 Fix link to create an event 2024-03-15 14:39:40 +01:00
Laurent Destailleur
f0821a6b42 Fix date param must use the day/hour/year instead of one string date. 2024-03-15 13:34:49 +01:00
Laurent Destailleur
905ed49726 Merge pull request #28875 from W1W1-M/qual-list-new-action-time
QUAL use real time when creating action from list
2024-03-15 13:23:23 +01:00
William Mead
6d7ce609ca Updated add button to use minutes and local user time 2024-03-15 12:30:00 +01:00
Laurent Destailleur
470e68829d Merge branch 'develop' into fix/PhanTypeInvalidUnaryOperandNumeric 2024-03-15 10:03:50 +01:00
Laurent Destailleur
80e2e59373 Merge pull request #28862 from mdeweerd/fix/PhanTypeMismatchPropertyDefault
Fix & enable PhanTypeMismatchPropertyDefault
2024-03-15 09:33:40 +01:00
Laurent Destailleur
e238cc204e Merge pull request #28750 from mdeweerd/fix/PhanPluginSuspiciousParamPosition
Fix: Resolve several PhanPluginSuspiciousParamPosition cases
2024-03-15 08:45:25 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00