Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 2, 2012
  1. Merge pull request #179 from dshafik/doc-highlight-params

    Highlight parameters in the generated docs
  2. Merge pull request #165 from trevormorse/add_http_status_message

    Add http reason phrase
Commits on Jun 30, 2012
Commits on Jun 29, 2012
  1. @helgi

    Merge pull request #178 from clayhinson/master

    helgi authored
    fix for Main::getParams(), #167
  2. @trevormorse

    Do not override http_phrase unless passed to Frapi_Error constructor.

    trevormorse authored
    This fixes a bug that was causing the http phrase in a known error, that
    had an http phrase defined to be overridden if it was a standard error code, or
    if there was an error message. It now is only overwritten if an http phrase is
    passed to the Frapi_Error constructor.
Commits on Jun 28, 2012
  1. @clayhinson

    getParams now only returns the parsed params. fixes #167

    clayhinson authored
    moved the contents of getParams() into a new method setParams(), which is only called once in the constructor.
    now getParams() is a simple getter rather than a mixed getter/setter.  also removed mixing of $this->request and $this->params
  2. @helgi

    Merge pull request #176 from clayhinson/master

    helgi authored
    throw Frapi_Error by default in generated Actions
  3. @clayhinson
Commits on Jun 27, 2012
  1. @trevormorse
  2. @trevormorse

    Remove extension regardless of it being valid.

    trevormorse authored
    This completely fixes issue #108. If a request is made for an invalid
    format (regardless of if through extension or header) we ignore it and
    return our default format.
Commits on Jun 25, 2012
Commits on Jun 24, 2012
  1. @trevormorse

    Fix Issue #168

    trevormorse authored
    Files were being required based on where phpunit was run from. A
    TESTS_PATH constant was added to bootstrap pointing to the base path of
    the tests and used where necessary.
Commits on Jun 22, 2012
  1. @trevormorse

    Update fetching of formats enabled to work properly.

    trevormorse authored
    Previously, the fetching of formats enabled was not taking in to account
    the enabled field. Therefore frapi still processed the request for a
    disabled format.
Commits on Jun 19, 2012
  1. @trevormorse
  2. @trevormorse
Commits on Jun 15, 2012
  1. @trevormorse

    Add lookup for http reason phrase for standard http codes.

    trevormorse authored
    The logic now uses the passed reason phrase if there is one, if not it
    then attempts to lookup a reason phrase based on the http code, if that
    fails it then uses the error message.
Commits on Jun 14, 2012
  1. @trevormorse
  2. @trevormorse

    Use error message if http reason phrase has not been specified.

    trevormorse authored
    This will help with backwards compatibility if a http reason phrase is
    not set.
Commits on Jun 12, 2012
  1. @trevormorse
  2. @trevormorse
Commits on Jun 9, 2012
  1. @trevormorse
  2. @trevormorse

    Merge branch 'master' into add_http_status_message

    trevormorse authored
  3. @trevormorse
  4. @trevormorse

    Renamed http_message to http_phrase.

    trevormorse authored
    The proper term is HTTP Reason Phrase so I updated code to match
    terminology. Hopefully will minimize confusion.
Commits on Jun 6, 2012
  1. @trevormorse

    Adding constants for http messages.

    trevormorse authored
    Using new constants where needed
Commits on May 28, 2012
  1. Merge pull request #159 from dshafik/check-for-ace-editor

    Detect the existence of submodules using ace
  2. Merge pull request #160 from dragonmantank/getParamDefault_Fix70

    make sure default option for Frapi_Action::getParam() returns default value
Commits on May 25, 2012
  1. Merge pull request #155 from jbafford/master

    Mark TYPE_SQL and TYPE_SAFESQLARRAY as deprecated
  2. Merge pull request #158 from jasonrhodes/fix-docbug

    Checked for ['parameters'] existence before counting
  3. @jasonrhodes
  4. Merge pull request #157 from jasonrhodes/fix-mysql-utf8

    Added 'PDO::MYSQL_ATTR_INIT_COMMAND' UTF-8 flag to the PDO constructor |...
  5. @jasonrhodes
  6. @jbafford
Something went wrong with that request. Please try again.