Commit Graph

2054 Commits

Author SHA1 Message Date
Laurent Destailleur
dc024a1f18 Debug v20 2024-05-30 14:43:16 +02:00
Laurent Destailleur
74c2d34e5d Debug v20 2024-05-30 13:59:16 +02:00
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
93eded598e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-03 18:24:03 +02:00
Laurent Destailleur
e9f7a1996f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-03 18:18:39 +02:00
Laurent Destailleur
4fef808efa Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-05-03 18:16:58 +02:00
Florian Mortgat
cf6cbafa8c FIX: PUT /thirdparties/{id} and PUT /contacts/{id} should throw exception if update returns < 0 (#29596)
+ FIX some PHPDoc (types and throws)
+ FIX issue #29594: trigger should be called on contact update by API
2024-05-03 18:03:14 +02:00
Laurent Destailleur
642a3d5984 Fix regression 2024-05-03 01:28:19 +02:00
Laurent Destailleur
dc28879ffb Fix warning 2024-05-01 18:34:38 +02:00
Laurent Destailleur
1b60e571fe Debug v20 2024-04-28 18:10:37 +02:00
Laurent Destailleur
47f1fbaad6 Fix type of vat rate var 2024-04-28 02:02:01 +02:00
Frédéric FRANCE
26da44e254 fix phpstan (#29431)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* remove params not used

* add WARNING
2024-04-27 12:45:50 +02:00
Laurent Destailleur
2929e84e86 Close #18080 Close #26957 2024-04-25 01:38:33 +02:00
Laurent Destailleur
ce8c70450c FIX Merge of thirdparties must also move uploaded files 2024-04-23 22:28:15 +02:00
Laurent Destailleur
0ecc442622 Fix merge thirdparties 2024-04-23 22:21:09 +02:00
Laurent Destailleur
2252cf0783 FIX Merge of thirdparties must also move uploaded files 2024-04-23 22:16:44 +02:00
Laurent Destailleur
03a703ccd7 FIX Merge of thirdparties must also move uploaded files 2024-04-23 22:15:31 +02:00
Jon Bendtsen
bd51fd5ffc FIX: Uncaught Error: Class 'Facture' not found in API GET thirdparties invoices for credit/replacement (#29426)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2024-04-21 09:49:13 +01:00
Frédéric FRANCE
dbd8657de1 Cleanaccount (#29271)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* wip

* wip

* wip
2024-04-20 21:53:40 +01:00
Laurent Destailleur
0ee92c5a4b Doc 2024-04-17 12:42:33 +02:00
Laurent Destailleur
79e844bdcb Fix default value 2024-04-17 10:42:12 +02:00
Laurent Destailleur
19d4726e4c Use WHERE IN instead of SELECT DISTINCT 2024-04-12 14:22:02 +02:00
Laurent Destailleur
65e75849b5 FIX deletion of thirdparty when there is categories 2024-04-10 16:07:46 +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
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
Jon Bendtsen
68c8f46209 Merge branch 'develop' into thirdparty_update_single_array_option_element 2024-04-04 17:37:08 +02:00
Laurent Destailleur
0fe0cd7c01 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 11:39:02 +02:00
Laurent Destailleur
404ba88107 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-04 11:19:45 +02:00
Laurent Destailleur
36b34da2c2 Merge branch 'develop' into thirdparty_update_single_array_option_element 2024-04-02 14:54:54 +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
Jon Bendtsen
d20cb05a92 Merge branch 'develop' into thirdparty_update_single_array_option_element 2024-04-02 14:06:27 +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
3b418c5c92 will allow updating single complementary attribute using the put api 2024-04-01 23:05:49 +02:00
MDW
04c3e80fc5 Fix typing 2024-03-29 18:26:48 +01:00
MDW
2e5ce702e2 Improve phpdoc typing 2024-03-27 21:57:58 +01:00
MDW
975243f1b5 Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
# Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible

Assign socid whenever fk_soc is assigned so that socid can be accessed
instead of fk_soc.
2024-03-27 18:07:51 +01:00
Alexandre SPANGARO
a8771d03bd Use getDolGlobalString 2024-03-26 17:30:02 +01:00
Alexandre SPANGARO
049beb9bf8 NEW Constant to select if typent helps define whether the thirdparty is a company 2024-03-26 17:28:26 +01:00
MDW
a1ba13e229 Fix type with cast/idate/phpdoc 2024-03-22 09:52:31 +01:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
MDW
be7585d1e2 Fix arg type to trim() with cast 2024-03-20 04:08:41 +01:00
Laurent Destailleur
344052196b Merge pull request #28823 from JonBendtsen/new_thirdparty_notification_api
Thirdparty notification api GET, CREATE, DELETE & UPDATE
2024-03-19 15:57:23 +01:00
Laurent Destailleur
c92b5b90e9 Update api_thirdparties.class.php 2024-03-19 15:55:23 +01:00
Laurent Destailleur
c6b8b19725 Merge pull request #28955 from mdeweerd/fix/PhanTypeMismatchInternal2
Fix multiple PhanTypeMismatchInternal notifications (part 2)
2024-03-19 15:42:43 +01:00
Laurent Destailleur
363a083c54 Look and feel v20 2024-03-19 15:34:47 +01:00
Jon Bendtsen
c5ea918bac Merge branch 'develop' into new_thirdparty_notification_api 2024-03-19 08:16:10 +01:00
MDW
79a0b7d234 Fix array_key_exists in websiteaccount_card by adding key to initializer 2024-03-19 02:58:56 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00