Vincent Cassé
c3c860ee71
Merge pull request #43 from VincentCasse/master
...
Add script to auto upload binay files
2016-07-07 10:10:34 +02:00
Vincent Cassé
2afe27384b
Merge pull request #44 from ovh/jt-doc-exceptions
...
documentation: catching an exception
2016-06-27 22:59:16 +02:00
Jean-Tiare Le Bigot
ffa29d1bc2
documentation: catching an exception
...
Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@corp.ovh.com>
2016-06-27 10:27:06 +02:00
Vincent Cassé
31082887a6
Fix some code after review
...
Signed-off-by: Vincent Cassé <vincent@casse.me>
2016-04-28 22:34:22 +02:00
Vincent Cassé
aac96e68c1
Merge pull request #42 from shulard/feature/phing
...
Use a PHP build tool, Phing instead of Grunt.
2016-04-19 12:56:57 +02:00
Stéphane HULARD
c13758720b
Use a PHP build tool, Phing instead of Grunt.
...
As I already mentioned in the #35 issue, I think it's more suitable to use a PHP build tool instead of a JS one. I don't tell that Grunt is not a powerful tool but it's a complicated installation process to be able to run tests.
Phing is required as a composer package and can be run directly after the composer install.
Examples:
```
vendor/bin/phing
vendor/bin/phing test
vendor/bin/phing clean
vendor/bin/phing phplint
vendor/bin/phing phpcs
vendor/bin/phing phpunit
vendor/bin/phing phpunit -Donly.units=true #The travis test process
```
The only difference here is the watch process. Phing doesn't have that kind of feature. It can be emulated with different tasks but require a lot more work. I think that PR is the first step, maybe we can go further if necessary.
Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2016-04-19 09:59:15 +02:00
Vincent Cassé
0c43b069a2
Add script to auto upload binay files
...
Signed-off-by: Vincent Cassé <vincent@casse.me>
2016-04-18 23:09:41 +02:00
Vincent Cassé
a3896a6562
Merge pull request #40 from ovh/jt-bump-version
...
add bump-version helper
2016-04-18 21:48:37 +02:00
Jean-Tiare Le Bigot
3ebf59eefb
add bump-version helper. See #37
...
Signed-off-by: Jean-Tiare Le Bigot <jt@yadutaf.fr>
2016-03-28 23:44:35 +02:00
Vincent Cassé
815b07ba22
Merge pull request #36 from shulard/feature/invalid-direct-get
...
Hi @shulard,
Thanks a lot for this contribution :)
Merged
2016-02-29 14:01:23 +01:00
Stéphane HULARD
9703ee3cdd
Remove a direct client call, use API get
method.
...
Remove the `$this->http_client->get()` call used in the `calculateTimeDelta` method.
This call is too coupled to the HttpClient, using the same method for all the calls is always better.
Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2016-02-29 11:03:59 +01:00
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