Commit Graph

3702 Commits

Author SHA1 Message Date
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
MDW
3b9c03f898 Fix cast int to string for preg_replace fixes PhanTypeMismatchArgumentInternal 2024-03-18 02:27:29 +01:00
MDW
c2ea58a8e2 Fix: strlen(trim(country_id))==0 to country_id==0 fixes phantypemismatchargumentinternal 2024-03-18 02:25:51 +01:00
Jon Bendtsen
b94101a017 direct copy from htdocs/fourn/class/fournisseur.facture-rec.class.php 2024-03-17 23:06:11 +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
MDW
13ab939691 Fix deprecated function calls 2024-03-16 13:27: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
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
5be98ff240 Fix PhanTypeMismatchPropertyDefault 2024-03-15 01:23:06 +01:00
MDW
1637ba5c87 Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify) 2024-03-14 19:47:12 +01:00
Laurent Destailleur
587c4eb2ee Escape ouput 2024-03-14 17:24:52 +01:00
Laurent Destailleur
cad8f24322 Merge pull request #28799 from mdeweerd/fix/PhanPluginDuplicateExpressionAssignmentOperation
Fix & enable PhanPluginDuplicateExpressionAssignment
2024-03-13 14:49:21 +01:00
MDW
fc3cdf51ba Fix PhanPluginRedundantAssignment 2024-03-13 00:40:32 +01:00
MDW
0afe2fa145 Fix PhanPluginDuplicateExpressionAssignmentOperation (Simplification) 2024-03-12 22:25:31 +01:00