Skip to content
Commits on Mar 5, 2014
  1. @Gibheer

    correct forwarded-for header

    Gibheer committed
  2. @Gibheer
  3. @Gibheer
  4. @Gibheer

    add x-forwarded-for header to the client

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

    update dependencies

    Gibheer committed
Commits on Oct 28, 2013
  1. @Gibheer

    run tests on newer rbx version

    Gibheer committed
    As rubinius made their big release, update travis to run on the newest version.
  2. @Gibheer

    add cookie support to response

    Gibheer committed
    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.
Commits on Oct 22, 2013
  1. @Gibheer
  2. @Gibheer

    some minor cleanup

    Gibheer committed
  3. @Gibheer

    add cookie support in requests

    Gibheer committed
Commits on Oct 21, 2013
  1. @Gibheer

    update dependencies

    Gibheer committed
  2. @Gibheer

    remove debug output

    Gibheer committed
Commits on Sep 10, 2013
  1. @Gibheer
Commits on Sep 9, 2013
  1. @Gibheer

    sort routes for more specific results

    Gibheer committed
    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.
Commits on Sep 3, 2013
  1. @Gibheer
  2. @Gibheer

    add partial render method

    Gibheer committed
    This enables the user to render partial templates to embed them into
    other templates and the like.
Commits on Aug 14, 2013
  1. @Gibheer

    add request method override for browsers

    Gibheer committed
    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.
Commits on Aug 13, 2013
  1. @Gibheer

    fix paramter extraction with charset

    Gibheer committed
    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.
Commits on Aug 6, 2013
  1. @Gibheer

    make it possible to push lists as paramters

    Gibheer committed
    This makes it possible to push lists as paramters by naming the
    variables with `[]` at the end, for example `foo[]`.
Commits on Jul 29, 2013
  1. @Gibheer

    drop 1.8 support and add 2.0

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

    update dependencies

    Gibheer committed
  2. @Gibheer

    extend server with protocol information

    Gibheer committed
    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.
Commits on Jul 22, 2013
  1. @Gibheer

    Revert "generate a name from the server details"

    Gibheer committed
    This reverts commit 94a2d39.
  2. @Gibheer
Commits on Feb 27, 2013
  1. @Gibheer

    reworked the renderer

    Gibheer committed
    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.
  2. @Gibheer

    reworked parts of the template finder

    Gibheer committed
    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.
  3. @Gibheer

    update dependencies

    Gibheer committed
Commits on Feb 12, 2013
  1. @Gibheer

    cleanup old specs

    Gibheer committed
  2. @Gibheer

    extracted the building of template tree

    Gibheer committed
    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.
Commits on Feb 11, 2013
  1. @Gibheer
Commits on Feb 4, 2013
  1. @Gibheer

    rename spec for mutant

    Gibheer committed
    That kills 52 mutations!
  2. @Gibheer

    get metrics back

    Gibheer committed
Commits on Jan 29, 2013
  1. @Gibheer

    catch empty routes

    Gibheer committed
    This fixes a bug where an empty route would catch all requests resulting
    in all routes found with the empty route.
  2. @Gibheer
  3. @Gibheer

    remove class_options

    Gibheer committed
Something went wrong with that request. Please try again.