Commit Graph

3566 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
Frédéric FRANCE
b0695abca9 fix phan (#29591)
* fix phan

* fix typos and translations

* fix phan remove code doing nothing

* fix phan remove code doing nothing

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-03 18:01:17 +02:00
Laurent Destailleur
3edcaf97fc Debug v20 2024-05-03 03:02:04 +02:00
Laurent Destailleur
0b9bd5408b Debug v20: Encapsulate the feature using leaflet/geophp into a constant
MAIN_USE_GEOPHP. Fix webportal module.
2024-05-03 02:39:35 +02:00
Frédéric FRANCE
ee77b50040 fix pictos width (#29574) 2024-05-02 13:02:34 +02:00
Laurent Destailleur
e3daa23949 Look and feel v20 2024-04-30 09:45:28 +02:00
Laurent Destailleur
1b082540d7 css 2024-04-30 09:25:18 +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
60c0fc2386 Fix warning PHP 8.2 2024-04-22 18:42:34 +02:00
Jon Bendtsen
eb1c044419 FIX: API GET /members/types/{id} says it deletes member type #29421 (#29423)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2024-04-20 22:21:47 +01:00
Laurent Destailleur
c0326128cb Fix syntax error 2024-04-20 20:46:36 +02:00
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Frédéric FRANCE
19dbbc752a fix phpstan (#29379) 2024-04-18 11:35:59 +01:00
Benjamin Falière
948e204fae ADD arrayfields as parameter in doActions (#29326)
* ADD arrayfields as parameter in doActions

* FIX typo

* FIX syntax error

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2024-04-11 20:07:13 +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
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
Laurent Destailleur
930c8614b1 Merge branch 'develop' into membertype_update_single_array_option_element 2024-04-02 14:54:13 +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
Laurent Destailleur
66f3b438f6 Merge branch 'develop' into membertype_update_single_array_option_element 2024-04-02 13:37:01 +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
Jon Bendtsen
bc56e8f1e7 double fix: do not remove array_options from json + allowing single option_ update without nullifying the other options_ 2024-04-01 19:11:16 +02:00
Jon Bendtsen
c55c0284b1 will allow updating 1 member single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for a member 2024-04-01 12:37:05 +02:00
MDW
8b2680e17c Correct arguments to select_all_categories,multiselectarray 2024-03-30 18:03:08 +01:00
Laurent Destailleur
df6c697dfc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-29 11:51:07 +01:00
Laurent Destailleur
f2fde181a0 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-29 11:47:28 +01:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00
Laurent Destailleur
13e903aca4 Clean use of $_POST 2024-03-28 20:44:51 +01:00
Hystepik
96711686da Fix select member type id width 2024-03-28 14:56:10 +01:00
Laurent Destailleur
787b1a1c83 Merge branch 'develop' into fix/filebyfile 2024-03-28 14:23:54 +01:00
Laurent Destailleur
a7e33e6573 Merge pull request #29047 from mdeweerd/fix/PhanPluginUnknownObjectMethodCall1
Fixes for PhanPluginUnknownObjectMethodCall
2024-03-28 14:20:57 +01:00
Eric Seigne
0e269102ae use MailSentByTo 2024-03-28 09:38:09 +01:00
MDW
c0fd71f922 PHPdoc - correct return type for countMembersByTypeAndStatus 2024-03-27 10:18:46 +01:00
MDW
b29f3a609d Force typing (phan) for typing checks 2024-03-27 10:17:31 +01:00
MDW
be1d54748b Force dynamic class types 2024-03-27 10:17:27 +01:00
Laurent Destailleur
4f540ae677 Fix label for date of end of membership 2024-03-25 12:09:19 +01:00
MDW
34a541d7de Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 01:49:56 +01:00
MDW
5164b5af2c Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 01:49:55 +01:00
MDW
1c429c285a Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 01:49:54 +01:00
MDW
360753ed04 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 01:49:53 +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
3b93de2709 Fix PhanTypeMismatchReturnNullable by initialising return value + Some PHPdoc typing 2024-03-20 21:58:34 +01:00
MDW
33486f10c0 Fix PhanTypeMismatchReturnNullable by initialising return value 2024-03-20 21:58:33 +01:00
Laurent Destailleur
edb7241970 Fix translation and css 2024-03-19 21:42:36 +01:00
Laurent Destailleur
932155e71c Merge pull request #28930 from JonBendtsen/api_create_subscription_link2_invoice
API creation of subscription can now link to existing invoice
2024-03-19 01:57:30 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
Jon Bendtsen
27c4f0f674 Merge branch 'develop' into api_create_subscription_link2_invoice 2024-03-19 00:03:18 +01:00
MDW
4df0e3890b Fix is already int, remove trim&casts fixes PhanTypeMismatchArgumentInternal 2024-03-18 02:30:50 +01:00