Permalink
Commits on Mar 5, 2014
  1. correct forwarded-for header

    Gibheer committed Mar 5, 2014
  2. add x-forwarded-for header to the client

    This adds the way to find out the actual ip of the client machine, even
    if it is hidden behind a local reverse proxy.
    Gibheer committed Mar 5, 2014
  3. update dependencies

    Gibheer committed Mar 5, 2014
Commits on Oct 28, 2013
  1. run tests on newer rbx version

    As rubinius made their big release, update travis to run on the newest version.
    Gibheer committed Oct 28, 2013
  2. add cookie support to response

    This commit adds support for response cookies. Response now has a method
    cookie to fetch the current cookie. One cookie has multiple crumbs which
    represent a key value pair. For each crumb multiple options can be set
    according to the specs.
    Gibheer committed Oct 28, 2013
Commits on Oct 22, 2013
  1. some minor cleanup

    Gibheer committed Oct 22, 2013
  2. add cookie support in requests

    Gibheer committed Oct 22, 2013
Commits on Oct 21, 2013
  1. update dependencies

    Gibheer committed Oct 21, 2013
  2. remove debug output

    Gibheer committed Oct 21, 2013
Commits on Sep 10, 2013
Commits on Sep 9, 2013
  1. sort routes for more specific results

    This change sorts the routes to get the most specific routes first and
    avoid hitting a route which is not the most specific match.
    With this the regex to extract variables is made more strict to avoid
    matching half of the URI.
    Gibheer committed Sep 9, 2013
Commits on Sep 3, 2013
  1. add partial render method

    This enables the user to render partial templates to embed them into
    other templates and the like.
    Gibheer committed Sep 3, 2013
Commits on Aug 14, 2013
  1. add request method override for browsers

    Browsers are not able to send put, delete or any other request from a
    plain html form. This limits the possibilities with APIs so an override
    was introduced in many frameworks in the form, that `_method` could be
    defined in a post payload.
    With this, zero also supports `_method` in the post payload to make it
    possible to use all functions of the API with javascript through plain
    html.
    Gibheer committed Aug 14, 2013
Commits on Aug 13, 2013
  1. fix paramter extraction with charset

    This fixes a bug where a charset in the content type blocked the
    extraction of the payload.
    A browser may send a string like
    
      multipart/form-data; charset=UTF-8
    
    which include? could not find the defined types. Now it gets split and
    then checked against the defined types.
    Gibheer committed Aug 13, 2013
Commits on Aug 6, 2013
  1. make it possible to push lists as paramters

    This makes it possible to push lists as paramters by naming the
    variables with `[]` at the end, for example `foo[]`.
    Gibheer committed Aug 6, 2013
Commits on Jul 29, 2013
  1. drop 1.8 support and add 2.0

    As MRI 1.8 is EOL, I think it is okay to drop 1.8 support.
    Gibheer committed Jul 29, 2013
Commits on Jul 26, 2013
  1. update dependencies

    Gibheer committed Jul 26, 2013
  2. extend server with protocol information

    This extends the server class with the information, if it is serving
    http or https. This can then be used to generate a root uri to the web
    application.
    Gibheer committed Jul 26, 2013
Commits on Jul 22, 2013
  1. Revert "generate a name from the server details"

    This reverts commit 94a2d39.
    Gibheer committed Jul 22, 2013
Commits on Feb 27, 2013
  1. reworked the renderer

    The renderer is now a bit smaller and asks the TemplateFinder for the
    actual resources. That way it can just concentrate on rendering instead
    of finding out, which stuff actually exists and which not.
    Gibheer committed Feb 27, 2013
  2. reworked parts of the template finder

    The template finder is now the instance to ask for templates. It was
    already looking for them, so it should be able to handle questions
    regarding the existence of templates too.
    Gibheer committed Feb 27, 2013
  3. update dependencies

    Gibheer committed Feb 27, 2013
Commits on Feb 12, 2013
  1. cleanup old specs

    Gibheer committed Feb 12, 2013
  2. extracted the building of template tree

    This step is a preparation to extend the functionality of the renderer.
    To make the main class easier, the search for templates and building of
    the tree is extracted into its own class.
    Gibheer committed Feb 12, 2013
Commits on Feb 11, 2013
Commits on Feb 4, 2013
  1. rename spec for mutant

    That kills 52 mutations!
    Gibheer committed Feb 4, 2013
  2. get metrics back

    Gibheer committed Feb 4, 2013
Commits on Jan 29, 2013
  1. catch empty routes

    This fixes a bug where an empty route would catch all requests resulting
    in all routes found with the empty route.
    Gibheer committed Jan 29, 2013
  2. remove class_options

    Gibheer committed Jan 29, 2013