Permalink
Commits on Dec 16, 2010
  1. Added option of emulating the request-method. This is for example use…

    mileswebdesign committed Dec 16, 2010
    …d by MooTools in the Request-class.
    
    Changes:
    - added config option (enable_emulate_request)
    - modified _detect_method() to allow emulated methods
    - moved loading the config file to beginning of __construct(), before $this->request->method is set
Commits on Dec 10, 2010
  1. Fixed UTF-8 characters in XML and loaded Security library so it doesn…

    Phil Sturgeon
    Phil Sturgeon committed Dec 10, 2010
    …'t fall over when cleaning XSS.
Commits on Dec 6, 2010
  1. Put my e-cup on the floor.

    Phil Sturgeon
    Phil Sturgeon committed Dec 6, 2010
  2. Changed readme for v2.3.

    Phil Sturgeon
    Phil Sturgeon committed Dec 6, 2010
  3. Upgraded to CI 2.0 and made a small change that will finish page outp…

    Phil Sturgeon
    Phil Sturgeon committed Dec 6, 2010
    …ut once $this->response() has been called.
  4. Added JSONP support for client side AJAX requests. Many APIs (Vimeo a…

    zoster authored and Phil Sturgeon committed Dec 6, 2010
    …nd Google come to mind) support this type of access, and we wanted to support it for our service as well. It basically wraps the JSON with a callback function as defined by the client.
    
    GitHub user SomethingOn implemented this on our REST API, and we thought others might benefit from it as well.
Commits on Oct 22, 2010
  1. added: settings in config to set table names for keys, limits, logs &…

    hasokeric authored and Phil Sturgeon committed Oct 21, 2010
    … minor cleanup
Commits on Oct 12, 2010
  1. FALSE values were coming out as empty strings in xml or rawxml mode, …

    Phil Sturgeon
    Phil Sturgeon committed Oct 12, 2010
    …now they will be 0/1.
Commits on Oct 10, 2010
  1. key => FALSE can now be used to override the keys_enabled option for …

    Phil Sturgeon
    Phil Sturgeon committed Oct 10, 2010
    …a specific method, and level is now optional. If no level is set it will assume the method has a level of 0.
  2. Fixed issue where calls to ->get('foo') would error is foo was not se…

    Phil Sturgeon
    Phil Sturgeon committed Oct 10, 2010
    …t. Reported by Paul Barto.
Commits on Sep 13, 2010
  1. Added sponsorship details for CodingFutures, but their website is not…

    Phil Sturgeon
    Phil Sturgeon committed Sep 13, 2010
    … done yet.
Commits on Sep 11, 2010
  1. Fixed PUT parameters and added defaults for $this->rest->key and othe…

    Phil Sturgeon
    Phil Sturgeon committed Sep 11, 2010
    …r properties.
  2. Added a helper function for returning an array of validation errors i…

    Phil Sturgeon
    Phil Sturgeon committed Sep 11, 2010
    …nstead of a string.
Commits on Sep 1, 2010
  1. Patched to work better with CI 2. Input vrs Security.

    Phil Sturgeon
    Phil Sturgeon committed Sep 1, 2010
Commits on Aug 31, 2010
  1. New version of CodeIgniter REST Server with API Key management, permi…

    Phil Sturgeon
    Phil Sturgeon committed Aug 31, 2010
    …ssions and method limiting. All turned off by default, turn them on and find the schema for each feature in application/config/rest.php.
Commits on Aug 24, 2010
  1. Converted to new $this->methods = array('foo_get' => array('limit' = …

    Phil Sturgeon
    Phil Sturgeon committed Aug 24, 2010
    …X) instead of $this->rest_permissions = array('foo_get' => X);
  2. POST actually works now!

    Phil Sturgeon
    Phil Sturgeon committed Aug 24, 2010
  3. Name of the API Key header now comes from the config.

    Phil Sturgeon
    Phil Sturgeon committed Aug 24, 2010
  4. Detect languages from "Accept-Language" and populate $this->request->…

    Phil Sturgeon
    Phil Sturgeon committed Aug 24, 2010
    …lang with either a string or an array of strings, containing en, en-GB, pr, etc.
Commits on Aug 23, 2010
  1. Moved example API and added a simple Add/Delete REST Controller for m…

    Phil Sturgeon
    Phil Sturgeon committed Aug 23, 2010
    …anaging API Keys.
Commits on Aug 19, 2010
  1. Checks for an API key through POST/PUT/GET/DELETE or API-Key/api_key/…

    Phil Sturgeon
    Phil Sturgeon committed Aug 19, 2010
    …Api-Key/etc through headers. All variations get converted to $_SERVER['HTTP_API_KEY'] anyhow.
  2. Added config options for keys and logging, along with a db group to c…

    Phil Sturgeon
    Phil Sturgeon committed Aug 19, 2010
    …onnect to.
  3. Renamed the README for the hell of it.

    Phil Sturgeon
    Phil Sturgeon committed Aug 19, 2010
Commits on Jun 30, 2010
Commits on May 25, 2010
  1. Now calling ->get(), post(), put() or delete() without a key will ret…

    Phil Sturgeon
    Phil Sturgeon committed May 25, 2010
    …urn an array of all arguments.
Commits on Apr 4, 2010
  1. Added suport for .json, .xml, etc extension's in the URL to set outpu…

    philsturgeon
    philsturgeon committed Apr 4, 2010
    …t format.
Commits on Feb 10, 2010
  1. Modified example_api to reflect changes made to the REST client allow…

    philsturgeon
    philsturgeon committed Feb 10, 2010
    …ing response for errored requests.
  2. Removed default login.

    philsturgeon
    philsturgeon committed Feb 10, 2010
Commits on Jan 29, 2010
  1. Added is_object() check for recursive XML outputting.

    Phil Sturgeon
    Phil Sturgeon committed Jan 29, 2010
Commits on Jan 25, 2010