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

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

    Add http reason phrase
    committed Jul 2, 2012
Commits on Jun 30, 2012
Commits on Jun 29, 2012
  1. Merge pull request #178 from clayhinson/master

    fix for Main::getParams(), #167
    helgi committed Jun 29, 2012
  2. Do not override http_phrase unless passed to Frapi_Error constructor.

    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.
    trevormorse committed Jun 29, 2012
Commits on Jun 28, 2012
  1. getParams now only returns the parsed params. fixes #167

    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
    clayhinson committed Jun 28, 2012
  2. Merge pull request #176 from clayhinson/master

    throw Frapi_Error by default in generated Actions
    helgi committed Jun 28, 2012
Commits on Jun 27, 2012
  1. Merge pull request #172 from trevormorse/issue_108

    Issue 108
    committed Jun 27, 2012
  2. Remove extension regardless of it being valid.

    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.
    trevormorse committed Jun 27, 2012
Commits on Jun 25, 2012
  1. Merge pull request #170 from trevormorse/issue_168

    Fix Issue #168
    committed Jun 25, 2012
Commits on Jun 24, 2012
  1. Fix Issue #168

    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.
    trevormorse committed Jun 24, 2012
Commits on Jun 22, 2012
  1. Update fetching of formats enabled to work properly.

    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.
    trevormorse committed Jun 22, 2012
Commits on Jun 19, 2012
Commits on Jun 15, 2012
  1. Add lookup for http reason phrase for standard http codes.

    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.
    trevormorse committed Jun 15, 2012
Commits on Jun 14, 2012
  1. Use error message if http reason phrase has not been specified.

    This will help with backwards compatibility if a http reason phrase is
    not set.
    trevormorse committed Jun 14, 2012
Commits on Jun 12, 2012
Commits on Jun 9, 2012
  1. Merge branch 'master' into add_http_status_message

    Conflicts:
    	src/frapi/admin/application/languages/en_GB.mo
    	src/frapi/library/Frapi/Controller/Api.php
    	src/frapi/library/Frapi/Controller/Main.php
    trevormorse committed Jun 9, 2012
  2. Renamed http_message to http_phrase.

    The proper term is HTTP Reason Phrase so I updated code to match
    terminology. Hopefully will minimize confusion.
    trevormorse committed Jun 9, 2012
Commits on Jun 6, 2012
  1. Adding constants for http messages.

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

    Detect the existence of submodules using ace
    committed May 28, 2012
  2. Merge pull request #160 from dragonmantank/getParamDefault_Fix70

    make sure default option for Frapi_Action::getParam() returns default value
    committed May 28, 2012
Commits on May 25, 2012
  1. Detect the existence of submodules using ace

    Fixes #128
    committed May 25, 2012
  2. Merge pull request #155 from jbafford/master

    Mark TYPE_SQL and TYPE_SAFESQLARRAY as deprecated
    committed May 25, 2012
  3. Merge pull request #158 from jasonrhodes/fix-docbug

    Checked for ['parameters'] existence before counting
    committed May 25, 2012
  4. Merge pull request #157 from jasonrhodes/fix-mysql-utf8

    Added 'PDO::MYSQL_ATTR_INIT_COMMAND' UTF-8 flag to the PDO constructor |...
    committed May 25, 2012