Laurent Destailleur
8647a20c18
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/langs/en_US/admin.lang
htdocs/product/dynamic_price/class/price_parser.class.php
htdocs/product/stats/facture.php
2019-08-10 01:57:43 +02:00
ptibogxiv
74e3a423fd
Fix document list for products in API
2019-08-02 12:35:00 +02:00
Laurent Destailleur
9f7d118f6f
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
2019-07-27 02:40:56 +02:00
Laurent Destailleur
fac8d93a08
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
2019-07-26 13:24:08 +02:00
Laurent Destailleur
8b81702dd7
Fix API 404 errors
2019-07-26 13:23:42 +02:00
Laurent Destailleur
1ca3c6e3ae
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
2019-07-26 13:17:47 +02:00
Laurent Destailleur
e92c6c87a0
FIX API return 404 sometimes even if API exists
2019-07-26 13:16:49 +02:00
Laurent Destailleur
a46bfc7a29
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/lib/project.lib.php
2019-07-25 17:54:14 +02:00
Laurent Destailleur
1d7885bc0c
FIX We should remove property comments only for project and task api.
2019-07-25 16:58:24 +02:00
Laurent Destailleur
fa476b4994
Properties ->libelle_incoterms were renamed into ->label_incoterms
2019-06-25 13:00:02 +02:00
Laurent Destailleur
d49891d009
All ->lignes were renamed into ->lines
2019-06-24 21:03:04 +02:00
Laurent Destailleur
9961b9c132
Merge pull request #11136 from ptibogxiv/patch-175
...
NEW add multicurrency rate at currency list API
2019-06-24 19:00:27 +02:00
Laurent Destailleur
40023c8ba2
Merge branch 'develop' into patch-174
2019-06-20 03:56:29 +02:00
ptibogxiv
27c928d9d9
NEW list of measuring units API
2019-06-17 20:53:10 +02:00
Laurent Destailleur
e463b17c15
Fix look and feel v10
2019-05-21 15:31:56 +02:00
Laurent Destailleur
c4fdec9481
Update api_setup.class.php
2019-05-08 02:05:03 +02:00
ptibogxiv
96cc4f7774
Update api_setup.class.php
2019-05-06 12:37:55 +02:00
ptibogxiv
80ed080800
Update api_setup.class.php
2019-05-06 11:31:41 +02:00
ptibogxiv
650fbb2bbf
Update api_setup.class.php
2019-05-06 10:55:11 +02:00
ptibogxiv
2aafef4017
NEW add multicurrency rate at currency list API
2019-05-06 10:27:13 +02:00
ptibogxiv
a0ba8d98a1
Update api_setup.class.php
2019-05-05 20:54:31 +02:00
ptibogxiv
11ece56038
NEW add API shipment mode
2019-05-05 19:08:27 +02:00
Laurent Destailleur
0f8c7df6fe
Debug api of module BOM
2019-05-02 12:19:43 +02:00
Laurent Destailleur
4756499a81
Debug module builder for generation of APIs
2019-05-02 12:03:14 +02:00
Laurent Destailleur
c7e4cd7fa1
More complete examples
2019-04-01 18:39:36 +02:00
Frédéric FRANCE
f283782445
change visibility
2019-03-04 19:57:46 +01:00
Frédéric FRANCE
089875b8a2
add visibility
2019-02-27 17:53:52 +01:00
Frédéric FRANCE
49cbaed569
Merge remote-tracking branch 'upstream/develop' into Squiz.Scope.MethodScope.Missing
2019-02-27 14:21:15 +01:00
ptibogxiv
096bc4750c
Update api_documents.class.php
2019-02-27 11:23:33 +01:00
ptibogxiv
89c2d6731b
ADD product document support in API
2019-02-27 00:48:13 +01:00
Frédéric FRANCE
e6c3eb0ba1
wip
2019-02-26 21:13:07 +01:00
Frédéric FRANCE
1c07006015
wip
2019-02-25 21:36:27 +01:00
klemens
beb2791dde
spelling fixes
2019-02-10 12:59:09 +01:00
Frédéric FRANCE
970392adb8
Merge remote-tracking branch 'upstream/develop' into psr2squizwhite
2019-02-03 22:41:57 +01:00
Frédéric FRANCE
80a12fcd1c
psr2 Squiz.WhiteSpace.ScopeClosingBrace.Indent
2019-02-03 14:29:45 +01:00
Laurent Destailleur
e18bd6f986
Merge branch 'develop' into nospaceaftercomma
2019-01-30 18:27:35 +01:00
Laurent Destailleur
41e20a9d4f
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
2019-01-30 16:44:08 +01:00
Xebax
b24f5fda68
FIX Fix PHP warning "count(): Parameter must be an array..."
2019-01-29 08:47:46 +01:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma
2019-01-27 23:23:38 +01:00
Laurent Destailleur
f30a3d59ba
Merge branch 'develop' into toomanylines
2019-01-27 17:59:13 +01:00
Laurent Destailleur
4f9f0fd7b5
Merge branch 'develop' into elseif
2019-01-27 17:54:06 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing
2019-01-27 15:20:16 +01:00
Frédéric FRANCE
496fa9b0fb
PSR2.Files.EndFileNewline.TooMany
2019-01-27 14:10:35 +01:00
Frédéric FRANCE
7ee086b402
PSR2 space after comma in function call
2019-01-27 11:55:16 +01:00
Frédéric FRANCE
6e91b3cefc
PSR2 usage of else if is discouraged
2019-01-27 10:49:34 +01:00
Philippe GRAND
cf62d285d9
update with html5 compliant code
2019-01-22 13:54:04 +01:00
ptibogxiv
f64437104b
Update api_setup.class.php
2019-01-16 20:16:33 +01:00
ptibogxiv
f4b27e0340
Update api_setup.class.php
2019-01-16 18:59:18 +01:00
ptibogxiv
a74070c6de
Update api_setup.class.php
2019-01-16 18:38:22 +01:00
ptibogxiv
379b20d5aa
Update api_setup.class.php
2019-01-16 14:04:32 +01:00
ptibogxiv
35ba4b15ea
NEW list of currency
...
+ fix active et civilities
2019-01-16 14:03:21 +01:00
Regis Houssin
89389baeac
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop_email
2018-11-09 15:37:29 +01:00
ptibogxiv
cf688a894b
Update api_documents.class.php
2018-11-08 17:20:12 +01:00
ptibogxiv
8727435216
Update API for download
...
more infos for easiest & better use of the generated file by API
2018-11-08 13:58:37 +01:00
Regis Houssin
569d59d251
FIX change my deprecated email
2018-10-27 14:43:12 +02:00
Frédéric FRANCE
4d72cafa52
code comment
2018-10-20 13:47:51 +02:00
ptibogxiv
f2d0004a3e
ADD civility list in API
2018-10-17 00:36:40 +02:00
Frédéric FRANCE
f80de9e65e
fix syntax error and phpcs
2018-10-16 21:49:26 +02:00
Laurent Destailleur
550a66d338
Merge pull request #9772 from ptibogxiv/patch-76
...
NEW move ticket dictionary in API /setup
2018-10-16 21:39:30 +02:00
Laurent Destailleur
737bbf6e7c
Update api_setup.class.php
2018-10-16 21:38:27 +02:00
ptibogxiv
c9aaf01a7c
MOVE ticket dictionnary in API /setup
2018-10-16 20:56:10 +02:00
Nicolas Aupetit
a02fdd1f4d
fix API check sql filters
...
Correct PHP7 warning about wrong usage of count() function
2018-10-06 13:44:10 +11:00
Frédéric FRANCE
04c1a7d4af
move phpcs:ignore
2018-09-02 13:38:11 +02:00
Frédéric FRANCE
47879d44bc
move phpcs:ignore
2018-09-02 09:57:19 +02:00
Frédéric FRANCE
10200374ef
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-09-01 14:06:23 +02:00
Frédéric FRANCE
57fb3dc2f4
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-09-01 13:52:51 +02:00
Laurent Destailleur
5604f3b0c3
Merge pull request #9376 from frederic34/functionCommentMissing
...
function Comment Missing
2018-09-01 12:59:32 +02:00
Frédéric FRANCE
3b2e7732c2
function Comment Missing
2018-08-31 22:49:11 +02:00
Frédéric FRANCE
02b74afe5f
function Comment Missing
2018-08-31 22:41:51 +02:00
Frédéric FRANCE
6aee680a4f
PSR2 ClassDeclaration
2018-08-29 22:06:05 +02:00
Frédéric FRANCE
b03f4004ea
PSR2 FunctionClosingBrace
2018-08-29 21:25:22 +02:00
Frédéric FRANCE
d8bf4a0ecf
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-08-25 09:07:04 +02:00
Laurent Destailleur
7a35b560a6
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
2018-08-23 19:51:52 +02:00
Laurent Destailleur
8757392e6b
FIX remove internal property isextrafieldmanaged from API returns
2018-08-23 19:24:00 +02:00
Frédéric FRANCE
6b6daf178f
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-08-21 20:57:58 +02:00
Frédéric FRANCE
d68f176e7e
replace obsolete phpcs tags
2018-08-16 14:59:06 +02:00
Frédéric FRANCE
39462742e2
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-08-16 08:17:55 +02:00
Laurent Destailleur
b515511ad6
Merge branch 'develop' into FunctionDeclaration
2018-08-16 00:52:55 +02:00
Frédéric FRANCE
54a078149a
function declaration
2018-08-15 17:34:35 +02:00
Frédéric FRANCE
a0a6afc224
return comment
2018-08-14 12:23:10 +02:00
Frédéric FRANCE
850ac34020
mark non camelCaps function
2018-08-13 17:26:32 +02:00
Laurent Destailleur
dc8c4402ee
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
2018-08-12 20:09:22 +02:00
Laurent Destailleur
8d54df4263
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
...
Conflicts:
htdocs/core/modules/commande/doc/pdf_einstein.modules.php
htdocs/core/modules/facture/doc/pdf_crabe.modules.php
htdocs/core/modules/propale/doc/pdf_azur.modules.php
2018-08-08 17:31:23 +02:00
Laurent Destailleur
17ed19503c
Code comment
2018-08-02 17:51:04 +02:00
Philippe GRAND
442ffb95ba
clean and update code
2018-07-23 17:57:11 +02:00
Regis Houssin
e1dabe3924
NEW add agenda documents in API REST
2018-07-13 16:07:19 +02:00
Frédéric FRANCE
f53f7bbf40
loadlangs
2018-05-26 18:41:16 +02:00
Laurent Destailleur
8b4ef1313a
FIX API for tickets
2018-04-29 18:24:24 +02:00
Laurent Destailleur
cef9782179
Clean defined constant at begin of pages
2018-04-21 12:00:55 +02:00
Laurent Destailleur
0d0da234b1
Lowercase NULL, TRUE, FALSE according to PSR2
2018-04-16 13:51:16 +02:00
Laurent Destailleur
e639f2a91f
Removed deprecated method classer_facturee(). Duplicate of
...
classifyBilled
2018-03-16 10:51:12 +01:00
Regis Houssin
3eeeaf2d2d
Fix: REST API must be enabled for all entities
2018-03-09 12:54:34 +01:00
Regis Houssin
861a831e24
Fix: debug
2018-03-08 11:53:46 +01:00
Laurent Destailleur
0270e21289
Merge pull request #8242 from hregis/develop_multicompany
...
Fix: use "multidir_output" instead "dir_output" (propal)
2018-03-02 17:49:25 +01:00
Laurent Destailleur
04934cc4aa
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/facture/class/facture.class.php
htdocs/contrat/class/contrat.class.php
htdocs/core/lib/functions.lib.php
htdocs/projet/tasks/time.php
2018-02-27 19:18:43 +01:00
Laurent Destailleur
7e48db2869
Clean code
2018-02-26 15:03:09 +01:00
Regis Houssin
093ea49cc6
Fix: use "multidir_output" instead "dir_output"
2018-02-26 11:35:30 +01:00
Laurent Destailleur
41638e6dff
Fix back link of look and feel v7
2018-02-26 09:20:05 +01:00
Laurent Destailleur
c6fba7273d
Api interventions
2018-02-03 20:58:26 +01:00
Laurent Destailleur
408fc69fac
Update index.php
2018-02-03 19:59:21 +01:00
Laurent Destailleur
48a31b2398
Update explorer.php
2018-02-03 19:58:30 +01:00
Laurent Destailleur
936a2ca966
Merge branch '7.0' into add-api-for-fichinter
2018-02-03 19:57:04 +01:00
kadogo
b48bcc9ab8
NEW: Add an API for fichinter
...
We missed an API for fichinter
It add list, create and create line functions
2018-01-27 19:25:18 +01:00
Laurent Destailleur
bc2009874d
Fix code comment
2018-01-15 12:59:30 +01:00
Laurent Destailleur
3c3402bc60
Debug API for prices of products
2018-01-14 15:58:04 +01:00
Laurent Destailleur
f19fb90ab0
Merge #8008 manually
2018-01-04 23:36:14 +01:00
Laurent Destailleur
6f107e3fee
Fix API to download/build doc
2017-12-27 15:48:20 +01:00
Laurent Destailleur
fdac3078e2
Fix permissions
2017-12-24 14:42:51 +01:00
Laurent Destailleur
57272dc5fe
API to get list of available document is ok for invoice
...
order, proposal, shipment
2017-12-22 19:49:31 +01:00
Laurent Destailleur
f0c8b548f3
Fix bugs reported by scrutinizer
2017-12-22 14:24:31 +01:00
Laurent Destailleur
aad0da2513
Fix maxi debug of APIs (clean output fields)
2017-12-21 16:50:18 +01:00
Laurent Destailleur
2163db446b
NEW Can test signature of a version from API
2017-12-16 17:24:23 +01:00
Laurent Destailleur
1ad7ec5ad1
Test on bad entity
2017-12-12 13:23:39 +01:00
Laurent Destailleur
ce32da6217
Fix debugs APIs
2017-12-01 15:39:18 +01:00
Laurent Destailleur
77509ee37a
Removed deprecated apis
2017-11-25 13:14:28 +01:00
Laurent Destailleur
a5a9b9b23f
Removed deprecated REST API
...
Prepare code to be compatible with swagger v2
2017-11-17 12:50:34 +01:00
Laurent Destailleur
92753273b9
Fix upload api for invoices and bad id for bank account
2017-11-17 11:44:52 +01:00
Neil Orley
4dfb0a8f1b
NEW add the ability to regenerate an pdf for the order module
...
add the ability to regenerate an pdf for the order module
2017-11-10 16:42:06 +01:00
Neil Orley
e025167747
Modify getAvailability comments
2017-11-08 17:17:25 +01:00
Neil Orley
ac64ada264
NEW Get the list of delivery times
...
Get the list of delivery times using the REST API
2017-11-08 17:15:28 +01:00
Laurent Destailleur
fe103f0492
Remove too verbose log
2017-11-06 11:14:16 +01:00
Laurent Destailleur
ea5dd3eb3d
NEW Add REST API for supplier proposals
2017-11-06 11:06:31 +01:00
Laurent Destailleur
534c50f46e
Move api that are admin features into a dedicated /admin api
2017-11-06 09:55:31 +01:00
Laurent Destailleur
7139cbb490
Fix regression
2017-11-05 19:00:43 +01:00
Laurent Destailleur
a329f7dc75
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
build/exe/doliwamp/doliwamp.iss
htdocs/accountancy/customer/list.php
htdocs/accountancy/supplier/list.php
2017-11-05 18:50:14 +01:00
Laurent Destailleur
202d36d582
Work on modulebuilder
2017-11-05 18:15:59 +01:00
Laurent Destailleur
fb3f1ef667
Code comment
2017-11-02 09:49:41 +01:00
Laurent Destailleur
5df4912324
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
2017-11-02 09:45:13 +01:00
Laurent Destailleur
59df957181
Fix return HTTP code 501 if calling a non existing api
2017-11-02 01:43:27 +01:00
Laurent Destailleur
192dc43b87
Fix regression
2017-11-02 01:16:42 +01:00
Laurent Destailleur
b29f32171c
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/comm/action/class/actioncomm.class.php
htdocs/contrat/card.php
htdocs/core/lib/project.lib.php
htdocs/filefunc.inc.php
2017-10-30 18:22:26 +01:00
Laurent Destailleur
892798bf79
Code comment
2017-10-30 12:40:12 +01:00
Laurent Destailleur
bb996019c2
NEW Support visibility on extrafields
2017-10-25 11:42:14 +02:00
Laurent Destailleur
728e36f70f
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/api/index.php
htdocs/comm/propal/class/api_proposals.class.php
htdocs/comm/propal/class/propal.class.php
htdocs/compta/facture/class/api_invoices.class.php
htdocs/core/actions_massactions.inc.php
htdocs/core/actions_sendmails.inc.php
2017-10-22 01:43:33 +02:00
Laurent Destailleur
d7113a3602
Fix init of environment for a dedicated entity in API
2017-10-19 17:32:23 +02:00
Laurent Destailleur
8da7f789d8
Fix init of environment for a dedicated entity in API
2017-10-19 17:30:08 +02:00
Laurent Destailleur
99239cbb38
Add API close to close an order
2017-10-18 15:34:03 +02:00
Laurent Destailleur
d70c215ab8
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/bank/bankentries.php
htdocs/fourn/facture/card.php
2017-10-17 11:14:58 +02:00
Laurent Destailleur
45ac8367bd
NEW Add API for contracts
2017-10-16 17:56:59 +02:00
Laurent Destailleur
a4b4eab2ae
Fix API when using an API key for a user in another entity
2017-10-16 16:23:50 +02:00
Laurent Destailleur
bec985a551
Fix error message
2017-10-16 14:56:56 +02:00
Laurent Destailleur
87814af7b6
Move function colorIsLight into functions.lib.php
...
Fix scrutinizer bugs.
2017-10-16 09:29:10 +02:00
Laurent Destailleur
afdc176f47
Fix scrutinizer
2017-10-16 08:52:00 +02:00
Regis Houssin
151fb72183
NEW documents REST API return list of documents by element
2017-10-12 12:28:10 +02:00
Nicolas Leichtle
5f2c5a6c53
New Extend REST POST function "/documents" to support projects and tasks
2017-10-08 23:26:35 +02:00
Laurent Destailleur
e40bffb0d5
Fix bug reported by scrutinizer
2017-10-07 20:21:47 +02:00
Scrutinizer Auto-Fixer
328d39bc71
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-10-07 11:09:31 +00:00
Laurent Destailleur
19adbaf84b
Fix url to explorer no more working
2017-10-06 13:36:29 +02:00
Scrutinizer Auto-Fixer
f59d87f06d
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-10-06 00:42:32 +00:00
Laurent Destailleur
801a5180d6
Fix scrutinizer bug reports
2017-10-06 01:16:19 +02:00
Laurent Destailleur
f0b314dfd7
Change signature of file to match other urls to link/download files.
2017-10-05 10:25:06 +02:00
Neil Orley
a3096b4e9d
NEW Generates the document before downloading using REST API
...
Generates the document before downloading using REST API
2017-10-04 15:59:54 +02:00
Laurent Destailleur
8e0da9bfeb
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/holiday/document.php
2017-10-04 13:32:53 +02:00
Laurent Destailleur
138f8cd7ea
Fix url to explorer no more working
2017-10-02 12:20:03 +02:00
Laurent Destailleur
30a9e40f4e
Fix position of fields
2017-09-28 17:29:37 +02:00
Neil Orley
7374a2accd
NEW Download a document using the REST API
...
Adds the ability to download a document using the REST API
The document is sent in a base64 encoded format.
The API will return :
{
"filename": "CO1709-0002.pdf",
"content": "JVBERi0xLjMKJ...",
"encoding": "MIME base64 (base64_encode php function, http://php.net/manual/en/function.base64-encode.php )"
}
2017-09-28 12:14:49 +02:00
Neil Orley
bb4b2c5d88
NEW Get the list of payments terms
...
Adds the ability to get the list of payments terms using the REST API.
2017-09-27 12:34:41 +02:00
Neil Orley
8c8868d76d
Remove spaces
2017-09-27 12:32:18 +02:00
Neil Orley
b8afabfd0b
Change RestException return code 503 to 400 (Bad request) when the request is incorrect : SQL error or wrong sqlfilter
...
Add comment to getPaymentTypes function
Change the "API class for" description from "payment type" to "dictionaries"
Change Copyright to add all previous devs
2017-09-27 12:27:47 +02:00
Neil Orley
154d5c876c
NEW Get the list of payments terms
...
Adds the ability to get the list of payments terms using the REST API.
2017-09-27 12:24:19 +02:00
Laurent Destailleur
5b0440e66b
Merge pull request #7491 from Oeris/6.0-api
...
NEW get payment types using the REST API + consolidates REST dictionary APIs
2017-09-26 19:58:22 +02:00
Neil Orley
f5be144beb
NEW Consolidates REST dictionary APIs into a single tree and a single file
...
The php code of the files "htdocs / api / class / api_dictionary * .class.php" has been integrated into a single file: "htdocs / api / class / api_dictionary.class.php".
2017-09-26 10:48:35 +02:00
Neil Orley
ceb868493e
NEW get payement types using the REST API
...
Adds the ability to get payments types using the REST API
2017-09-26 10:12:42 +02:00
Laurent Destailleur
934edd9f5a
Merge branch 'develop' into 6.0-api
2017-09-24 22:01:07 +02:00
Laurent Destailleur
57adc28256
Work on modulebuilder
2017-09-23 01:45:03 +02:00
Laurent Destailleur
8dfa87fcf6
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
2017-09-19 19:30:28 +02:00
Neil Orley
cc7aee6c3e
FIX Implementation of a Luracast recommandation for the REST api server ( #7370 )
2017-09-19 16:59:19 +02:00
Neil Orley
d5966f944f
FIX Implementation of a Luracast recommandation for the REST api server ( #7370 )
2017-09-19 16:58:09 +02:00
Neil Orley
caf4ca7451
FIX Implementation of a Luracast recommandation for the REST api server ( #7370 )
2017-09-19 16:56:27 +02:00
Neil Orley
949eef82f0
Merge branch '6.0' of https://github.com/Dolibarr/dolibarr into 6.0-api
2017-09-19 16:50:55 +02:00
florian HENRY
7375afca3e
fix : rest API URL
2017-09-19 09:03:25 +02:00
Laurent Destailleur
a6b600c8a1
Fix regression in unit tests
2017-09-16 03:54:23 +02:00
Laurent Destailleur
5f0819d3b4
Merge branch 'develop' into develop
2017-09-15 15:50:28 +02:00
Neil Orley
f68d31d7c5
Add of $urlwithroot in the setBaseUrls function, to use Dolibarr external domain name in the configuration file
2017-09-12 17:45:02 +02:00
Neil Orley
17da808325
FIX wrong basePath in the swagger view
...
Behind a reverse proxy the basePath seems to be in http.
Forcing the basePath to DOL_MAIN_URL_ROOT fixes the problem.
2017-09-08 14:35:44 +02:00
Laurent Destailleur
60493d0a47
Several fixes (permission, missing method or class) in REST APIs
2017-07-28 11:03:30 +02:00
Regis Houssin
c5442c3553
Fix: module "root" not exists ! (deprecated api)
2017-07-05 12:21:35 +02:00
Regis Houssin
a2e2149eb2
Fix: multiple preg_match $reg confusion !
2017-07-05 11:12:48 +02:00
Laurent Destailleur
0b7c768f29
FIX Usage of production mode with REST Api.
2017-06-25 18:18:17 +02:00
Laurent Destailleur
63dcdc3a03
Fix API was loading definition of all APIs at each call.
2017-06-25 17:09:08 +02:00
Laurent Destailleur
8bfda8d4ee
Code comment
2017-06-25 12:26:16 +02:00
ptibogxiv
3e93f27d98
Update index.php
2017-06-25 01:27:41 +02:00
Laurent Destailleur
1eee7297dc
Fix typo
2017-06-24 12:56:55 +02:00
Laurent Destailleur
509aad9bce
Fix README
2017-06-24 12:52:39 +02:00
Regis Houssin
240e9637fa
New: add extrafields API REST
2017-06-17 14:43:15 +02:00
Laurent Destailleur
f363845cbe
Merge pull request #6899 from hregis/develop_bug_restapi
...
Fix: [Restler] Delete the cache file otherwise it does not update
2017-05-29 10:50:43 +02:00
Laurent Destailleur
ea13e18f9e
Merge pull request #6892 from hregis/develop_bug3
...
Fix: Wrong path for external module API REST
2017-05-29 10:30:09 +02:00
Regis Houssin
db9e068500
Fix: [Restler] Delete the cache file otherwise it does not update
2017-05-26 17:38:57 +02:00
Regis Houssin
74e9b9bf0a
Fix: Wrong path for external module API REST
2017-05-25 13:50:41 +02:00
Regis Houssin
339d9dbfdf
New: add REST api "dictionaryevents" for to use with "agendaevents"
2017-05-24 18:44:03 +02:00
Laurent Destailleur
71bd69a804
Better link to show part to edit
2017-05-23 13:25:37 +02:00
Laurent Destailleur
8301e24261
PHP7 compatibility
2017-05-22 10:40:24 +02:00
Laurent Destailleur
f72ac3cf45
Fix php7 compatibility
2017-05-22 10:07:29 +02:00
Laurent Destailleur
52b5a8ece7
More powerfull dol_move function.
2017-05-21 14:06:43 +02:00
Laurent Destailleur
7e25cc0475
FIX Phpunit on file submit with REST API
2017-05-20 17:09:15 +02:00
Laurent Destailleur
eb5bab36ca
Use dolibarr security checks before uploading a file.
2017-05-20 16:15:25 +02:00
Laurent Destailleur
80cbc28385
NEW Add REST API to push a file.
2017-05-20 15:52:36 +02:00
Laurent Destailleur
9355f28d6c
Merge branch 'develop' into api_files
2017-05-20 11:33:46 +02:00
Laurent Destailleur
68e333879f
Fix var not sanitized
2017-05-16 13:27:32 +02:00
Laurent Destailleur
a115d4877b
Fix for new property array fields
2017-05-02 22:37:23 +02:00
Laurent Destailleur
8730add15f
Better message for api key return
2017-05-01 16:38:15 +02:00
Laurent Destailleur
8c07f514c8
Add php unit tests on expense reports
2017-04-14 16:51:30 +02:00
Laurent Destailleur
76280f8ae2
Fix #6365
2017-02-03 11:42:49 +01:00
Laurent Destailleur
d740bdbc73
Fix #6365
2017-02-03 11:38:09 +01:00
Laurent Destailleur
db220e7af5
FIX Rename api_key into DOLAPIKEY to allow to use it on http header.
2017-01-22 20:55:26 +01:00
Laurent Destailleur
983f707553
Add comment
2017-01-16 11:35:25 +01:00
jfefe
b8284447fd
API can receive documents
2016-12-12 15:20:44 +01:00
Laurent Destailleur
761a795294
Maxi debug on REST APIs
2016-12-05 13:31:29 +01:00
Laurent Destailleur
18a1f9033c
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/api/class/api_generic.class.php
htdocs/api/index.php
2016-11-27 16:25:38 +01:00
jfefe
b436df3202
Allow HTTP POST request for login API method.
...
This is more secure than do the request with sensitive value like password into URL parameters.
2016-11-22 23:44:10 +01:00
jfefe
3830c405a8
Disable CSRF check for REST API
...
This allow to do POST requests from another website.
2016-11-22 23:41:46 +01:00
Laurent Destailleur
dd27a52a85
Fix several problems on new REST API on project/tasks
2016-11-19 16:08:27 +01:00
Laurent Destailleur
7ac96da0d4
Several fix in warehouse stock change (rounding, api rest)
2016-11-18 16:34:03 +01:00
Laurent Destailleur
9b66f8c320
Complete REST services
2016-11-18 13:12:44 +01:00
Laurent Destailleur
9fd5ddf807
NEW Add REST API for projects
2016-11-09 22:54:51 +01:00
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
7dc01fc9c1
Fix hide this api
2016-07-27 12:26:32 +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
Laurent Destailleur
b7cf070d2d
Fix phpcs
2015-06-05 18:43:14 +02:00
Laurent Destailleur
91f4fccb21
Remove warning
2015-06-05 18:26:12 +02:00
Raphaël Doursenaud
9b747a12aa
Fixed some coding style issues
2015-06-02 15:13:52 +02:00
Laurent Destailleur
39b4fc6455
Renamed readme file
2015-05-12 22:59:17 +02:00
jfefe
125a34cb34
Fix PHPCS
2015-05-12 16:42:35 +02:00
jfefe
d079bc1507
Add comment to ignore PHPCs error due to restler framework
2015-05-12 16:35:05 +02:00
jfefe
e5f0ab9324
Missing required class
2015-05-06 01:39:28 +02:00
jfefe
d62d7a2fc7
PHPCS again
2015-05-06 01:25:56 +02:00
jfefe
dbb9449ee7
Fix PHPCS
2015-05-06 00:55:42 +02:00
jfefe
289b847eb4
Add API class for orders
2015-05-05 12:42:56 +02:00
jfefe
0e4a06799d
Add API class for categories
2015-05-05 12:42:55 +02:00
jfefe
5c7f7f6d6e
Add API readme
2015-05-04 02:32:24 +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
8027759304
Work on authentication
2015-05-02 18:14:51 +02:00
jfefe
4ccb04590e
Add API admin page
2015-05-02 15:27:19 +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