1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00
Commit Graph

58 Commits

Author SHA1 Message Date
Stéphane HULARD
940ec307fb Introduce a decodeResponse method.
This new method allow to perform a `rawCall` call and retrieve the full response instance.
It'll help to manipulate response more easily.

Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2016-02-29 11:03:45 +01:00
Vincent Cassé
25a97501a1 Merge pull request #27 from Rbeuque74/fixMultipleQueryString
fix: incorrect query when passed from url and not from content
2016-02-10 14:16:38 +01:00
Romain Beuque
285e9e43e1 Merge pull request #32 from VincentCasse/update_doc
Add endpoints into the documentation
2016-02-03 10:56:27 +01:00
Vincent Cassé
48d3f6e761 Merge pull request #1 from Rbeuque74/update_doc_markdown
(fix): add formatting to endpoint information
2016-02-03 10:48:07 +01:00
Romain Beuque
cc676cd9a2 (fix): add formatting to endpoint information
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
2016-02-03 10:45:50 +01:00
Vincent Casse
fef24b65a7 Add endpoints into the documentation
Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2016-02-03 10:31:45 +01:00
Romain Beuque
d3bd44ed68 fix: hook that modify Guzzle parameters serialization when true/false value
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
2016-02-01 10:50:33 +00:00
Romain Beuque
57ba00310d Added tests for #27 + fix empty comparaison
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
2016-01-21 18:22:06 +00:00
Romain Beuque
0506a231ec fix: incorrect query when passed from url and not from content
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
2016-01-21 16:16:20 +00:00
Vincent Cassé
43b0ba34e4 Merge pull request #26 from Olinkl/AdrienBensaibi/fix_invalidsignature_by_querystring
Add content from QueryString into  to build signature
2016-01-21 17:01:36 +01:00
Adrien Bensaibi
727249f738 Add content from QueryString to build valide signature
Signed-off-by: Adrien Bensaibi <adrien.bensaibi@corp.ovh.com>
2016-01-19 14:40:35 +00:00
Jean-Tiare Le Bigot
b472ebdec1 Merge pull request #25 from VincentCasse/add_example
Add attached domain example

Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@corp.ovh.com>
2016-01-19 12:15:11 +01:00
Vincent Casse
0378c8db51 Add attached domain example
Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2016-01-19 11:59:59 +01:00
Jean-Tiare Le Bigot
33c06797c5 Merge pull request #24 from VincentCasse/add_redirection_example
Add new example to add http redirection

Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@corp.ovh.com>
2016-01-13 18:12:14 +01:00
Vincent Casse
42c0a43c4b Fix typo
Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2016-01-13 18:09:18 +01:00
Vincent Casse
aded4f28f7 Fix typo
Improve script

Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2016-01-13 17:36:37 +01:00
Vincent Casse
324d42ea3c Add example to add http redirection
Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2016-01-13 12:56:19 +01:00
Vincent Cassé
a3afac6cf0 Merge pull request #21 from VincentCasse/master
Welcome to 2.x.x branch :)
2016-01-12 11:12:24 +01:00
Jean-Tiare Le Bigot
84d7ff825e Merge pull request #23 from VincentCasse/exampleHosting
Add hosting get capabilities example

Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@corp.ovh.com>
2016-01-11 18:38:05 +01:00
Vincent Casse
16fabb2bfb Add hosting get capabilities example
Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2016-01-11 18:32:20 +01:00
Vincent Casse
cc0ba042ca Fix tls issue into travis
Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2016-01-06 11:11:55 +01:00
Vincent Casse
9aa7df73bf Fix timeout and guzzle 6
Fix copyrights

Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2015-12-17 18:14:35 +01:00
Vincent Casse
cdd9a916f8 Merge branch 'master' of https://github.com/ByScripts/php-ovh
Conflicts:
	.travis.yml
	src/Api.php
2015-12-17 18:03:54 +01:00
Jean-Tiare Le Bigot
efd770390a Merge pull request #20 from VincentCasse/master
Fix issues open on github

Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@corp.ovh.com>
2015-12-16 11:34:19 +01:00
Vincent Casse
d99c758c72 Add documentation about HTTP client library injection
Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2015-12-15 18:25:35 +01:00
Vincent Casse
3f9aec3547 Add default timeout on http client
Issue #18
2015-12-15 17:25:42 +01:00
Vincent Casse
ce12dcb280 Delete "createToken" link for Runabove
Issue #11
2015-12-15 17:10:08 +01:00
Vincent Cassé
3a8ce8a924 Add PHP7 into automated tests 2015-10-09 22:29:18 +02:00
Vincent Cassé
8a6e39c802 Update License copyright to the current year 2015-10-09 10:04:52 +02:00
Thierry Goettelmann
37b5f740ab Remove Php 5.4 from travis since Guzzle 6.0 require Php >=5.5
Signed-off-by: Thierry Goettelmann <thierry@byscripts.info>
2015-08-06 15:39:34 +02:00
Thierry Goettelmann
d54f99ac5e Do a composer self-update before install. Remove deprecated --dev option
Signed-off-by: Thierry Goettelmann <thierry@byscripts.info>
2015-08-06 15:34:43 +02:00
Thierry Goettelmann
f1047d23f9 Migrate to new Travis infrastructure
Signed-off-by: Thierry Goettelmann <thierry@byscripts.info>
2015-08-06 15:31:29 +02:00
Thierry Goettelmann
6ecf7c2773 Added 100% Code Coverage
Signed-off-by: Thierry Goettelmann <thierry@byscripts.info>
2015-08-06 15:16:26 +02:00
Thierry Goettelmann
47d3cd2ed7 Update Guzzle to 6.0
Rewrite API for to support new Guzzle 6.0
2015-08-06 15:15:10 +02:00
Vincent Cassé
3e0e7714d3 Merge pull request #14 from alpixel/hotfix_post
fixing post bug
2015-06-23 12:21:41 +02:00
Benjamin HUBERT
6a00b9b059 fixing post bug
Signed-off-by: Benjamin HUBERT <benjamin@alpixel.fr>
2015-06-23 11:36:10 +02:00
Vincent Cassé
9d21650009 Merge pull request #10 from stof/improve_phpunit
Improve the PHPUnit setup
2015-04-22 17:57:05 +02:00
Vincent Cassé
81d39e670e Merge pull request #13 from stof/fix_phpdoc
Fix an invalid phpdoc
2015-04-22 17:50:49 +02:00
Christophe Coevoet
0126ecc1b0 Fix an invalid phpdoc 2015-04-22 15:01:36 +02:00
Vincent Cassé
18aec30356 Merge pull request #9 from stof/phpdoc
Update the phpdoc to make it valid
2015-04-22 12:12:46 +02:00
Christophe Coevoet
1d4d6f87f1 Improve the PHPUnit setup
- allow maintained versions of PHPUnit 4 instead of the old 4.0 only
- add the code coverage configuration to cover only the library code and
  not all tests and vendors as well
- move the configuration to phpunit.xml.dist to follow PHPUnit best
  practices

Signed-off-by: Christophe Coevoet <stof@notk.org>
2015-03-19 17:12:20 +01:00
Christophe Coevoet
6df59f8382 Update the phpdoc to make it valid
Types were missing everywhere in the phpdoc.

Signed-off-by: Christophe Coevoet <stof@notk.org>
2015-03-19 16:39:23 +01:00
Vincent Cassé
ec7afae21c Merge pull request #8 from h4cc/patch-1
Added HHVM to Travis.
2015-03-19 09:57:12 +01:00
Julius Beckmann
fa48a1282c Added HHVM to Travis.
Added HHVM Status Badge.

Using nicer hhvm badge image.

Signed-off-by: Julius Beckmann <github@h4cc.de>
2015-03-19 09:43:19 +01:00
Vincent Cassé
d32f2b71e0 Merge pull request #7 from stof/patch-1
Add the package license for composer
2015-03-18 17:38:47 +01:00
Christophe Coevoet
7bb1dfaaf1 Add the package license for composer
Signed-off-by: Christophe Coevoet <stof@notk.org>
2015-03-18 17:25:34 +01:00
Vincent Cassé
f99c8ac42c Improve example
Improve example by replacing "/me/*" by /me* to help new users to get account data with this example.
2015-01-23 10:56:26 +01:00
Vincent Cassé
893191d151 Merge pull request #4 from dunglas/fix_composer
Fix composer
2014-12-19 01:20:42 +01:00
Kévin Dunglas
cf39192e5e Fix composer
Signed-off-by: Kévin Dunglas <dunglas@gmail.com>
2014-12-18 13:26:08 +01:00
vcasse
18ebb19c49 change version number 2014-12-10 09:29:22 +01:00