Permalink
Switch branches/tags
Nothing to show
Commits on Jul 22, 2012
  1. Add composer.json

    dshafik committed Jul 22, 2012
Commits on Jul 19, 2012
  1. Ignore .DS_Store and *.bak

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    dshafik committed May 25, 2012
    Checked for ['parameters'] existence before counting