2
0
forked from Wavyzz/dolibarr
Commit Graph

68 Commits

Author SHA1 Message Date
Laurent Destailleur
ff6f5eea6f Fix travis errors 2016-10-26 10:47:47 +02:00
Laurent Destailleur
4a3251407f Fix missing cache dir 2016-10-25 20:46:21 +02:00
Laurent Destailleur
01dd8fee48 Minor enhancement 2016-10-25 20:36:22 +02:00
Laurent Destailleur
f67863e1aa NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
Laurent Destailleur
dd9095531a Fix for debian package 2016-10-22 15:03:00 +02:00
Laurent Destailleur
3cb13e16d1 Merge branch 'rest-api-add-accounts' of
https://github.com/EuskalMoneta/dolibarr into
EuskalMoneta-rest-api-add-accounts

Conflicts:
	htdocs/api/index.php
	htdocs/commande/class/api_orders.class.php
2016-09-26 02:28:16 +02:00
Laurent Destailleur
d39d7d92c9 Uniformize code. 2016-09-26 02:13:58 +02:00
Laurent Destailleur
48b188d200 Merge pull request #5785 from EuskalMoneta/rest-api-add-countries-and-towns
NEW Add Countries and Towns to the REST API.
2016-09-26 01:33:56 +02:00
Laurent Destailleur
100312aac2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/adherents/class/cotisation.class.php
2016-09-26 01:32:50 +02:00
Xebax
0f3e308dd3 Fix coding style errors. 2016-09-25 19:05:49 +02:00
Xebax
58179f71fc Add Accounts to REST API. 2016-09-25 17:48:48 +02:00
Xebax
7e366c303e Add Towns to the REST API. 2016-09-25 17:43:15 +02:00
Xebax
d5ee73a1b7 Add Countries to the REST API. 2016-09-25 17:43:15 +02:00
Xebax
cd11ccbedb Add Members to the REST API. 2016-09-25 17:40:29 +02:00
Laurent Destailleur
35dd492d19 NEW Add REST api for commercial proposals 2016-09-22 12:53:44 +02:00
Laurent Destailleur
77e2037195 NEW Add REST API to read, create and delete agenda events 2016-09-19 02:02:45 +02:00
Laurent Destailleur
d7fce0cd24 NEW REST api: Add apis for expense reports 2016-09-09 20:17:34 +02:00
Laurent Destailleur
72e149e1a6 FIX SEC Improve CSRF protection. Reduce usage of NOCSRFCHECK. 2016-09-08 12:12:00 +02:00
Laurent Destailleur
7b04dc9760 Reduce log verbosity when using API REST explorer 2016-07-29 02:35:01 +02:00
Laurent Destailleur
4e8e7f8e05 NEW New REST API explorer. Can create invoice and orders with lines. 2016-07-29 02:28:51 +02:00
Laurent Destailleur
ee0c77a305 Merge branch 'refactor-rest-api' of
https://github.com/EuskalMoneta/dolibarr into
EuskalMoneta-refactor-rest-api

Conflicts:
	htdocs/api/admin/explorer.php
2016-07-27 14:06:14 +02:00
Laurent Destailleur
60c71d88f7 Fix missing loading admin langs 2016-07-23 14:30:48 +02:00
Xebax
70ba8ec78d REST API: Bring back the existing API (for backward compatibility).
Bring back the existing API and mark all the operations as deprecated.
Both the existing and the new API are documented and browsable with the
Restler API Explorer. The existing API appears under "root".
2016-06-22 10:08:54 +02:00
Xebax
58c25ff665 REST API: fix the error 500 when updating a product. 2016-06-20 17:56:33 +02:00
Xebax
9f526c512d REST API: sort the classes before adding them to Restler.
The Restler API Explorer shows the classes in the order they are added
and it's a mess if they are not sorted.
2016-06-20 17:56:33 +02:00
Xebax
f6eac2b643 REST API: replace the home made API explorer by the Restler API Explorer. 2016-06-20 17:56:33 +02:00
Xebax
5ea526c29e REST API: update the API to have /login and /status.
Replace the GenericApi class by two classes, Login and Status, else the
endpoints would be /generic/login and /generic/status.
2016-06-20 17:56:33 +02:00
Xebax
396d31e18e REST API: begin the refactoring.
Simplify the code that looks for the API classes and replace the
/contact/ and /user/ APIs by /contacts/ and /users/.
2016-06-20 17:56:33 +02:00
Xebax
d6b9eb1a85 REST API: enable the Restler API Explorer. 2016-06-20 17:56:33 +02:00
Laurent Destailleur
d8c6ae0b17 Removed warnings 2016-05-29 11:26:05 +02:00
Laurent Destailleur
ac84ae0ff5 Clean explorer 2016-05-22 15:29:12 +02:00
Laurent Destailleur
382df0d8f1 NEW Rest API token is no more reset at each call. We can reset it with
param reset=1 on login call.
2016-05-22 15:20:21 +02:00
Laurent Destailleur
ee3d25d9fa Clean code for REST API. 2016-05-22 15:10:43 +02:00
Laurent Destailleur
7c3c8f70be Fix not initialized variables 2016-05-08 12:32:18 +02:00
Laurent Destailleur
e8bd1357f3 More help to use REST API 2016-04-30 00:00:59 +02:00
nka11
8b92e552a3 fix #5053 and bogus 051c5f4 2016-04-24 09:55:19 +02:00
Laurent Destailleur
051c5f415e Fix API access protection check #5053 2016-04-22 20:00:37 +02:00
philippe grand
30eb08151d [Qual] Close database handler should be after Footer 2015-12-11 14:19:38 +01:00
Laurent Destailleur
0c958521ac Fix cleaning of lines was not working 2015-11-22 17:46:25 +01:00
Laurent Destailleur
73bcc3bfe3 The temp dir for cache used by rester is correctly managed: No temp or
data files must be stored outside of documents directory.
2015-11-22 17:39:13 +01:00
Laurent Destailleur
3c55479705 Restler #3544 2015-11-22 17:17:06 +01:00
Juanjo Menent
16f473f6a4 Merge pull request #3758 from frederic34/patch-16
Create index.html
2015-10-18 12:06:12 +02:00
Frédéric FRANCE
c80c0f2c2c Create index.html 2015-10-18 10:07:08 +02:00
Frédéric FRANCE
8e5c7746dc Create index.html 2015-10-18 10:06:35 +02:00
Raphaël Doursenaud
631ee83745 [Qual] Replaced deprecated print_fiche_titre() 2015-09-24 18:34:58 +02:00
Laurent Destailleur
c0ef8baa9d A better error message 2015-09-21 15:38:17 +02:00
jfefe
bf4fe91197 FIX #3548 : API not working after removing Composer 2015-09-17 20:48:57 +02:00
jfefe
00125d1060 Add option to set production mode to API 2015-06-15 14:11:43 +02:00
jfefe
da0fac2ac6 Minor fix into rest API : use implemented method name 2015-06-15 13:25:02 +02:00
Laurent Destailleur
6331290056 Fix phpcs 2015-06-05 20:23:04 +02:00