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
Jon Bendtsen
cc0afd1558
Merge branch 'develop' into new_thirdparty_notification_api
2024-03-19 00:03:34 +01:00
Laurent Destailleur
28217c6dd5
Fix warning
2024-03-16 16:21:43 +01:00
Jon Bendtsen
158622dfb9
looking in git blame it seems people insert this for far less changes
2024-03-16 10:08:19 +01:00
Jon Bendtsen
6810cb487f
api can create notification
2024-03-16 09:46:32 +01:00
Jon Bendtsen
5c98d38061
remove caller because it failed in phpstan
2024-03-16 00:41:45 +01:00
Jon Bendtsen
eb92e5a678
fetch does not take 4 arguments, only 3, and we don't need more than 2
2024-03-16 00:14:59 +01:00
Jon Bendtsen
c6c6bec2e7
based on update company bank account
2024-03-15 23:50:01 +01:00
Jon Bendtsen
6090e3efe7
modified just like deleteCompanyBankAccount in #28887
2024-03-15 22:40:43 +01:00
Jon Bendtsen
a25ac083d8
Merge branch 'fix_delete_company_bank_account' into new_thirdparty_notification_api
2024-03-15 22:37:14 +01:00
Jon Bendtsen
db18ba99bd
writing why it is not allowed
2024-03-15 22:30:55 +01:00
Jon Bendtsen
cda2fd03af
adding the rowid as the notification id
2024-03-15 22:28:51 +01:00
Jon Bendtsen
8625fc717d
Merge branch 'develop' into new_thirdparty_notification_api
2024-03-15 22:05:51 +01:00
Jon Bendtsen
081b5a256f
403 when loggin is ok but permission are wrong.
2024-03-15 21:52:59 +01:00
Jon Bendtsen
434d4d2a0d
using the type casted variable in if
2024-03-15 20:07:56 +01:00
Jon Bendtsen
5f0c13b73b
only if supplied 'account' numbers match will we actually delete, else return 416. Return 401 when not authorized
2024-03-15 20:04:03 +01:00
Laurent Destailleur
b658beab99
Merge pull request #28872 from mdeweerd/fix/PhanTypeMismatchReturnProbablyReal
...
Fix & enable PhanTypeMismatchReturnProbablyReal
2024-03-15 15:24:31 +01:00
MDW
3a6144dc90
Fix PhanTypeMismatchReturnProbablyReal
2024-03-15 14:20:57 +01:00
MDW
7025738db8
Fix fields initialisation
2024-03-15 10:12:50 +01:00
MDW
23785393a3
Add csslist to json keys
2024-03-15 03:55:52 +01:00
MDW
7e36eac969
Fix PhanTypeMismatchPropertyDefault
2024-03-15 03:54:12 +01:00
Laurent Destailleur
16e5d08b36
FIX #yogosha21416
2024-03-14 23:40:46 +01:00
Laurent Destailleur
fd4fa05313
FIX #yogosha21416
2024-03-14 23:39:16 +01:00
Jon Bendtsen
390a190094
Merge branch 'develop' into new_thirdparty_notification_api
2024-03-13 23:56:39 +01:00