Commit Graph

56461 Commits

Author SHA1 Message Date
Xebax
9a509dd0ee REST API: add the 'category' filter in /products/
and fix the 'to_sell' and 'to_buy' filters.
2016-06-20 17:56:33 +02:00
Xebax
6d67303501 REST API: move the definition of /contacts/{id}/createUser
from api_users.class.php to api_contacts.class.php.
2016-06-20 17:56:33 +02:00
Xebax
d7c8a466b1 REST API: fix deleting a product/service.
Add a User parameter to the Product::delete() method to explicitly set
the user that performs the action instead of using a global variable.
In the calls to Product::delete() with a fetched object, remove the
deprecated parameter $id.
2016-06-20 17:56:33 +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
04778f932e REST API: replace the /thirdparty/ API by /thirdparties/.
Remove several /thirdparty/list/xxx endpoints because they are redundant
with the /thirdparties/ endpoint whith the 'mode' filter.
Remove the customer/byemail/{email} endpoint because it is redundant
with the /thirdparties/ endpoint whith the 'email' filter.
Remove all the /customer/ endpoints because they do the same thing as
the corresponding /thirdparty/ endpoints.
2016-06-20 17:56:33 +02:00
Xebax
571f6b8a26 REST API: replace the /order/ API by /orders/.
Remove the /thirdparty/{socid}/order/list endpoint because it is
redundant with the /orders/ endpoint whith the 'societe' filter.
2016-06-20 17:56:33 +02:00
Xebax
f03d6e1bed REST API: replace the /product/ API by /products/.
Added some FIXME:
 - the put() method does its job but the API returns an error 500
 - delete() does not work.
2016-06-20 17:56:33 +02:00
Xebax
8cf0bceadd REST API: replace the /invoice/ API by /invoices/.
Rename the 'mode' parameter to 'status' in GET /invoices.
Fix the error handling in DELETE /invoices/{id}.
2016-06-20 17:56:33 +02:00
Xebax
db77efc067 REST API: replace the /category/ API by /categories/.
Remove several /category/list/xxx endpoints because they are redundant
with the /categories/ endpoint whith the 'type' filter.
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
florian HENRY
c34ef410e8 FIX php warning method declaration 2016-06-20 15:50:00 +02:00
Laurent Destailleur
6317cb53f2 FIX Merge of 2 thirdparties when there is one common tag. 2016-06-20 15:42:16 +02:00
Laurent Destailleur
b62be8dd0b Fix: Test table llx_expedition to allow delete of thirdparty 2016-06-20 14:17:17 +02:00
Laurent Destailleur
195fcc5653 Minor fixes 2016-06-20 11:43:53 +02:00
Laurent Destailleur
b01eed697e Fix sort on thirdparty on bank transaction list 2016-06-20 11:30:43 +02:00
Laurent Destailleur
10f2d7cd67 Fix Debug and minor fixes 2016-06-20 10:54:02 +02:00
Laurent Destailleur
8356dd1080 Fix minor 2016-06-20 10:22:08 +02:00
Laurent Destailleur
6cfc585205 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2016-06-20 03:21:55 +02:00
Laurent Destailleur
febf56e28c Sync transifex 2016-06-20 03:21:35 +02:00
Laurent Destailleur
7f4e163a52 Fix scrutinizer reports 2016-06-20 02:37:02 +02:00
Laurent Destailleur
a4d4cb2a4a Merge pull request #5373 from grandoc/develop
internationalization of code comment
2016-06-20 02:14:26 +02:00
Laurent Destailleur
2223d283dc Sync transifex 2016-06-20 00:45:25 +02:00
Laurent Destailleur
74f19944b9 Fix rtl language ar_SA 2016-06-20 00:13:30 +02:00
frederic34
e71833c0d9 typo 2016-06-19 20:24:20 +02:00
frederic34
77071ca515 select bank and payment mode for social contrib 2016-06-19 18:53:19 +02:00
Laurent Destailleur
386b19d4b1 Fix regression. Add hidden option PROPAL_DISABLE_SIGNATURE to restore
old behaviour.
2016-06-19 17:56:34 +02:00
philippe grand
0cc990402e internationalization of code comment 2016-06-19 17:39:40 +02:00
Laurent Destailleur
8187dc2006 Fix css 2016-06-19 16:07:34 +02:00
Laurent Destailleur
e29d46f421 Better position of version 2016-06-19 13:18:21 +02:00
Laurent Destailleur
eac5cbb0dd FIX Fix the reposition on the clear target button. 2016-06-19 11:59:55 +02:00
Laurent Destailleur
0cbfb28a0f FIX using media files in dolfilemanager with spaces inside. 2016-06-19 11:45:13 +02:00
Laurent Destailleur
e08ac03618 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2016-06-19 11:19:30 +02:00
Laurent Destailleur
cd122462aa Fix errors on files/dir permissions on dolfilemanager. 2016-06-19 11:19:11 +02:00
Laurent Destailleur
b9982620f9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2016-06-18 19:49:11 +02:00
Laurent Destailleur
d0a15d32b2 Clean language files 2016-06-18 19:48:58 +02:00
Laurent Destailleur
f9509bf345 Merge pull request #5368 from grandoc/develop
international comment for code
2016-06-18 18:10:12 +02:00
Laurent Destailleur
4a6427134f Merge pull request #5367 from atm-florian/develop
FIX bug with PgSQL on GROUP BY missing column
2016-06-18 18:09:43 +02:00
Laurent Destailleur
f817b562ad Clean language files 2016-06-18 17:17:45 +02:00
Laurent Destailleur
94b7e176a6 Clean language files 2016-06-18 16:46:21 +02:00
Laurent Destailleur
de76f2a9aa Clean language files 2016-06-18 15:50:37 +02:00
Laurent Destailleur
d192438eae Enhance tool to clean language files 2016-06-18 12:50:15 +02:00
philippe grand
e28bac3464 Merge remote-tracking branch 'upstream/develop' into develop
update from upstream
2016-06-18 11:59:27 +02:00
philippe grand
cbdb9f9b2a internationalization of code comment 2016-06-18 11:52:41 +02:00
Laurent Destailleur
4382f2a437 Clean language files 2016-06-18 11:06:11 +02:00
Ion Agorria
5a68001ee6 Add getElementProperties entry for proposal line 2016-06-18 03:28:18 +02:00
Laurent Destailleur
33dc2d5ec3 Sync lang 2016-06-17 19:29:58 +02:00