Skip to content

Releases: gggeek/ggwebservices

0.14.5

03 Feb 18:03
Compare
Choose a tag to compare

use value 2 by default for CURLOPT_SSL_VERIFYHOST. Thanks mivancic

0.14.4

03 Feb 18:02
Compare
Choose a tag to compare

included php files that allow emulating the encoding/decoding functionality for xmlrpc and json when the php native extensions that do that are not enabled

0.14.3

03 Mar 18:43
Compare
Choose a tag to compare

Changed:

  • bumped included phpxmlrpc lib to 3.1.2 and phpjsonrpc to 0.6.2

Bugfixes:

  • check perms when showing the debugger tab in the admin interface top navigation

0.14.2

22 Jan 21:06
Compare
Choose a tag to compare

Minor fix for admin interface main navigation

0.14.1

22 Jan 21:09
Compare
Choose a tag to compare
  • Changed

    • updated the bundled phpxmlrpc library to version 3.0.0
  • Bugfixes

    • zero bytes http responses were not properly handled as errors

0.14.0

22 Jan 21:11
Compare
Choose a tag to compare

Added

  • compatibility with the eZ Publish REST API v2!
    Implemented both in the php layer and in the debugger (using REST type).
    For best results, use the json variant of all the calls for now.

  • make the webservices/execute view respect ValidateClientIPs even when server
    is behind a reverse proxy (needs eZP 4.5 or later and config in site.ini)

  • debugger always displays status code, charset, content-type for all execute calls (REST first!)

  • all the response classes now save http headers in $this->headers() when decoding
    a payload. This makes it easier to execute further processing, eg. support custom
    authentication schemes

  • methods ggWebservicesClient::getOption() and ggWebservicesClient::availableOptions()

  • new methods in class ggRESTRequest to set Accept header, or any custom header for that matter

  • example code to interact with eZPublish REST API v2 in doc/samples

  • the template fetch function webservices/call has a new parameter. When set, the response object
    is returned instead of just the data

Changed

  • REST requests will happily receive a plaintext or html response without trying to decode it.
    This makes it easier to use them for interacting with sites (posting to forms etc)

  • ggWebservicesClient::setOptions throws an exception when trying to set an invalid option

  • it is possible that, when servers do not specify it, the charset of a response now defaults to empty whereas it defaulted to UTF-8 before

Bugfixes

  • avoid strict errors with eZP5 LS

  • make the debugger work correctly when testing the current server by using the
    admin siteaccess and plain php session handler

  • all types of responses properly set their content-type, status code and charset on decoding

  • debugger: only allow user to set content type when request has a body