Commit Graph

47272 Commits

Author SHA1 Message Date
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
46ce77c571 Refactor function to use it into API
New function checkUserAccessToObject() is a piece of restrictedArea() function.
2015-05-03 14:41:51 +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
65ff78f61a Don't expose API if module disabled 2015-05-02 15:31:21 +02:00
jfefe
4ccb04590e Add API admin page 2015-05-02 15:27:19 +02:00
jfefe
4bce903c63 Add field into user table to store API key 2015-05-02 15:26:45 +02:00
jfefe
23e423404b Add API htaccess file for Apache webserver 2015-05-02 15:25:48 +02:00
jfefe
1536cd430d Missing PHPDOC for REST API working for thirdparties
These tags are very important for REST API. Please have a look at https://github.com/Luracast/Restler/blob/master/ANNOTATIONS.md
2015-05-01 16:16:31 +02:00
jfefe
d406830e06 NEW : add an explorer for REST API consultation & documentation 2015-05-01 16:13:58 +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
jfefe
b503b16f07 NEW : add restler framework
First step to build REST API into Dolibarr
2015-05-01 15:42:05 +02:00
jfefe
f6c93525a6 Require restler/framework into composer.json 2015-05-01 14:03:32 +02:00
Juanjo Menent
29c9686b8e Merge pull request #2730 from GPCsolutions/dolibarr-2718
Export task labels
2015-04-30 21:02:17 +02:00
Juanjo Menent
40be94452d Merge pull request #2734 from GPCsolutions/unitfix
Fix missing unit parameter
2015-04-30 20:54:00 +02:00
Juanjo Menent
4a4630a4a3 Merge pull request #2735 from GPCsolutions/dolibarr-2632
Add sensible default mode to directory creation
2015-04-30 20:51:37 +02:00
Juanjo Menent
91767edd05 Fixed SQL table reference for members types in export 2015-04-30 20:50:05 +02:00
Raphaël Doursenaud
2c44aa6742 Add sensible default mode to directory creation
Fix #2632
2015-04-30 16:22:01 +02:00
Raphaël Doursenaud
7b538d8842 Fix missing unit parameter
Prevented the input of supplier invoices lines from working
2015-04-30 15:59:20 +02:00
Raphaël Doursenaud
2058d21da9 Export task labels
FIX #2718
2015-04-30 11:43:42 +02:00
Laurent Destailleur
3b38949fc5 Fix bad link to linkedin networks 2015-04-28 21:57:54 +02:00
Laurent Destailleur
53bf90a3e2 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	ChangeLog
2015-04-28 21:54:13 +02:00
Laurent Destailleur
b0071a7c6c Merge remote-tracking branch 'origin/3.6' into 3.7
Conflicts:
	htdocs/main.inc.php
2015-04-28 21:14:17 +02:00
Laurent Destailleur
1a70e9c5f9 Merge branch '3.7' of git@github.com:Dolibarr/dolibarr.git into 3.7 2015-04-28 21:12:38 +02:00
Laurent Destailleur
b30ee6b3fa Better fix for #2725 2015-04-28 21:12:04 +02:00
Juanjo Menent
6cfd8d64f5 Change bugtracker to github in all maintened versions 2015-04-27 20:34:52 +02:00
Juanjo Menent
cfaaf56428 Change bugtracker to github in all maintened versions 2015-04-27 20:34:26 +02:00
Juanjo Menent
ebe1f4a74d -Activate const PRODUCT_USE_OLD_PATH_FOR_PHOTOS by default for old
instances
-Update changelog for 3.7.1

Conflicts:
	ChangeLog
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
2015-04-27 20:31:12 +02:00
Laurent Destailleur
416e34d50d Fix error management 2015-04-27 20:26:56 +02:00
Laurent Destailleur
f9a428d550 Fixed #2714 2015-04-27 20:25:02 +02:00
Laurent Destailleur
b619c64770 Fix #2713 2015-04-27 20:24:02 +02:00
Juanjo Menent
93024830f5 -Activate const PRODUCT_USE_OLD_PATH_FOR_PHOTOS by default for old
instances
-Update changelog for 3.7.1
2015-04-27 20:22:03 +02:00
fmarcet
1c01e187c1 Fix: Bug in the new photo system 2015-04-27 17:20:10 +02:00
Juanjo Menent
8124cd2088 Merge pull request #2716 from fmarcet/3.7
Fix: Bug in the new photo system
2015-04-27 17:10:37 +02:00
fmarcet
99c4508029 Fix: Bug in the new photo system 2015-04-27 16:44:12 +02:00
Laurent Destailleur
50a6c133c9 Fix error management 2015-04-27 11:46:30 +02:00
Laurent Destailleur
92f2c48475 Fixed #2714 2015-04-27 11:46:08 +02:00
Laurent Destailleur
ce05837237 Translation 2015-04-27 09:55:59 +02:00
Laurent Destailleur
2e05a4f1be Fix #2713 2015-04-27 03:21:55 +02:00
Laurent Destailleur
aa9bffe5c9 Fix translation 2015-04-27 02:34:15 +02:00
Laurent Destailleur
4e04f75c66 Fix css 2015-04-27 02:33:44 +02:00
Laurent Destailleur
5b3b180c10 NEW Web service to create or update product can correct stock during
creation/update.
2015-04-27 01:36:13 +02:00
Laurent Destailleur
a0c27620b2 Fix to match spanish new vat value 2015-04-26 18:28:08 +02:00
Laurent Destailleur
1e237defb0 Fix phpcs 2015-04-26 17:59:02 +02:00
Laurent Destailleur
2f070b0e1b Fix data to match spanish current setup 2015-04-26 17:56:41 +02:00
Laurent Destailleur
1abcd5f4fe Fix test for vat calculation 2015-04-26 16:58:00 +02:00
Laurent Destailleur
4235d74aac Fix tests for ES 2015-04-26 16:45:24 +02:00
Laurent Destailleur
414404e854 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/comm/action/class/actioncomm.class.php
	htdocs/core/class/commonobject.class.php
2015-04-26 16:30:33 +02:00
Laurent Destailleur
7b9d9c4d0a Fix lang 2015-04-26 16:25:02 +02:00