2
0
forked from Wavyzz/dolibarr
Commit Graph

17 Commits

Author SHA1 Message Date
Scrutinizer Auto-Fixer
9508d8a5c0 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-05-06 19:10:59 +00:00
nka11
132cdd9ed4 Fix coding style errors 2016-04-10 14:15:38 +02:00
nka11
65e4273fdf Merge branch 'develop' of ssh://github.com/Dolibarr/dolibarr into api_dev 2016-04-10 14:00:00 +02:00
nka11
5967330004 merge api_customer to api_ thirdparty 2016-04-09 21:39:12 +02:00
Scrutinizer Auto-Fixer
051ccf30a1 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-04-09 17:32:05 +00:00
jfefe
dbb9449ee7 Fix PHPCS 2015-05-06 00:55:42 +02:00
jfefe
db5a2bacd1 Bad sort field 2015-05-05 12:42:56 +02:00
jfefe
18def27eb6 Change API route for thirdparties lists
Use /thirdparty/list instead of /thirdparties/
2015-05-04 01:31:23 +02:00
jfefe
0673e3a1f1 Fix API lists method for thirdparty and contact 2015-05-04 00:33:44 +02:00
jfefe
60d6cc5806 Modify search of API classes for module
A module can now bring several API classes.
By example, thirdparty module can have api_thirdparty.class.php for thirdparty and api_contact.class.php for contacts.

Classes must be named <Object>API (ie ThirdpartyApi or ContactApi)
2015-05-03 19:43:49 +02:00
jfefe
80b832e90c Add API methods to retrieve customers, prospects and others 2015-05-03 19:13:14 +02:00
jfefe
a8ee123bb2 Add API methods to create, update and delete a thirdparty 2015-05-03 18:30:59 +02:00
jfefe
64d0a710f7 API tirdparties list 2015-05-03 16:59:47 +02:00
jfefe
47c3724f3d Verify API access by user to resource
API authentication mechanism is supposed to be working with internal or external users
2015-05-03 14:44:37 +02:00
jfefe
31e5b4786a Fix : verify access method
Now we can use tag '@class' into PHPDoc block of method or class.

By example: @class  DolibarrApiAccess {@requires user,external}
2015-05-03 01:54:04 +02:00
jfefe
fa494369b8 New : API key authentication
One key is stored by user when login API method is called. Each API request must have api_key parameter
2015-05-02 23:54:35 +02:00
jfefe
30c901c266 Begin REST API implementation with thirdparty classes and methods needed.
Work in progress !
2015-05-01 16:12:30 +02:00