Laurent Destailleur (aka Eldy)
1f360ca498
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-01-20 12:28:49 +01:00
Laurent Destailleur (aka Eldy)
1b42078d1e
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2025-01-20 10:24:30 +01:00
atm-florian
ba4e97f07b
FIX 17.0 API endpoints "PUT": prevent overwriting all extrafields if only some are supplied in the request cf. PR #29237
...
+ security for Tickets API: disable updating rowid
2025-01-16 10:37:29 +01:00
Laurent Destailleur
b07cc82058
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-10-07 15:17:49 +02:00
Laurent Destailleur
94ed718782
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-10-07 15:15:01 +02:00
atm-irvine
f287d100a3
Use <= 0 instead of ! because delete method returns -1 or 1 ( #31268 )
...
* Use <= 0 instead of ! because delete method returns -1 or 1
* Added contact
* Removed user from parameters
2024-10-04 11:49:44 +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
Fabian Heinz
b78632a20e
api fixes
...
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2 ), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Laurent Destailleur
d92c65ad91
FIX infinite loop in API call/trigger by adding a caller
2023-12-15 12:15:33 +01:00
matthieu-michou-wattandsea
ff995afd1e
Update api_contacts.class.php
...
fix API REST addCategory
2023-12-02 10:20:38 +01:00
Laurent Destailleur
56e8872ddc
Clean code+warnings: The delete() method of AdherentType, Contact,
...
Delivery, MultiCurrency, CurrencyRate now need $user as first parameter.
2023-11-28 15:33:42 +01:00
pascal
80f060c771
fix tab indentation
2023-09-26 18:43:25 +02:00
pascal
871f896962
implementation of properties filter
2023-09-26 18:04:48 +02:00
Frédéric France
68855ce672
use user hasRight
2023-06-19 20:08:27 +02:00
Jakub Stříbrný
948155e96f
NEW No overwrite of optionals during put()
...
When making a PUT request, only the sent fields should be changed. This should apply for optionals too. However up until now the array_options field gets changed as whole and therefore overwritten if only one optional fields gets send.
2023-03-14 23:01:54 +01:00
Laurent Destailleur
cbb6ca071a
Fix #yogosha15157
2023-02-25 19:51:05 +01:00
Laurent Destailleur
8d4e973e00
Fix warnings
2023-01-03 15:29:49 +01:00
ptibogxiv
a4fa76eef4
Update api_contacts.class.php
2022-08-20 13:24:38 +02:00
stickler-ci
73321f0812
Fixing style errors.
2022-08-20 11:16:54 +00:00
ptibogxiv
e8faeabbe1
New can view and set no_email for contacts
2022-08-20 13:16:04 +02:00
Regis Houssin
b70d3eb8eb
FIX uniformize with element name "contact"
2022-03-18 12:05:59 +01:00
Laurent Destailleur
0387b9922e
FIX error message on sqlfilter in API
2021-12-20 20:49:32 +01:00
Laurent Destailleur
bbb751dc53
Merge pull request #17822 from frederic34/zapier_create_contacts
...
add more capabilities for zapier
2021-06-11 19:51:01 +02:00
Laurent Destailleur
fb46ece906
Fix yogosha 6347
2021-06-09 15:36:47 +02:00
Frédéric FRANCE
f6bc1c6414
add trigger contact
2021-06-05 09:37:38 +02:00
Laurent Destailleur
1c95e2b7c7
FIX #17453
2021-05-03 14:58:29 +02:00
Laurent Destailleur
667481acd5
Fix #yogosha5832 - Missin test on permission for /index routes on APIs
2021-04-08 19:05:28 +02:00
Laurent Destailleur
15440917b1
Fix #ygosha5698
2021-03-22 11:30:18 +01:00
Frédéric FRANCE
ebfba19778
code syntax s... t.. dir
2021-02-26 21:17:52 +01:00
ptibogxiv
51eed3efe5
Fix api contact
2020-11-24 12:03:31 +01:00
stickler-ci
11704ea6fb
Fixing style errors.
2020-11-23 22:33:45 +00:00
ptibogxiv
0d50402803
Update api_contacts.class.php
2020-11-23 23:31:46 +01:00
stickler-ci
c1ba61e548
Fixing style errors.
2020-11-23 21:55:36 +00:00
ptibogxiv
f227d5e72a
Update api_contacts.class.php
2020-11-23 22:53:56 +01:00
ptibogxiv
28e4be3b0e
Fix contact API
...
Get roles by API (without GET this data, we can't add this to POST, so data was deleted 👎 )
2020-11-22 16:25:38 +01:00
Scrutinizer Auto-Fixer
ab25e047c0
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 17:51:30 +00:00
Scrutinizer Auto-Fixer
7f52920716
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 13:32:18 +00:00
Frédéric FRANCE
8190711342
doxygen
2020-10-30 18:01:01 +01:00
Laurent Destailleur
ba69fab76a
Merge pull request #14780 from ptibogxiv/patch-363
...
NEW fetch contact by email with REST API
2020-09-20 17:17:03 +02:00
Laurent Destailleur
216b3c885d
Fix escaping
2020-09-20 01:30:36 +02:00
stickler-ci
f9b4a0f68b
Fixing style errors.
2020-09-18 15:54:37 +00:00
ptibogxiv
206b1189c9
NEW fetch contact by email with REST API
2020-09-18 17:52:48 +02:00
Frédéric FRANCE
b41ac00b98
add new rule
2020-05-21 15:05:19 +02:00
ptibogxiv
03655ffe8d
Update api_contacts.class.php
2020-04-15 18:30:51 +02:00
stickler-ci
81bed88cb1
Fixing style errors.
2020-04-15 16:28:02 +00:00
ptibogxiv
9b100cb806
NEW API filter contacts by category
2020-04-15 18:26:07 +02:00
Scrutinizer Auto-Fixer
e44865d8b5
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-02-21 16:53:37 +00:00
Laurent Destailleur
2c477c7169
Fix doxygen
2020-02-20 13:54:41 +01:00