Skip to content
This repository
branch: master

Mar 05, 2014

  1. Gibheer

    correct forwarded-for header

    authored
  2. Gibheer

    travis does not know about rbx-head anymore

    authored
  3. Gibheer

    use newer rbx stable version for tests

    authored
  4. Gibheer

    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.
    authored
  5. Gibheer

    update dependencies

    authored

Oct 28, 2013

  1. Gibheer

    run tests on newer rbx version

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

    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.
    authored

Oct 22, 2013

  1. Gibheer

    some more cleanup of the response

    authored
  2. Gibheer

    some minor cleanup

    authored
  3. Gibheer

    add cookie support in requests

    authored

Oct 21, 2013

  1. Gibheer

    update dependencies

    authored
  2. Gibheer

    remove debug output

    authored

Sep 10, 2013

  1. Gibheer

    allow a dash in the middle url part

    authored

Sep 09, 2013

  1. Gibheer

    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.
    authored

Sep 03, 2013

  1. Gibheer

    remove devutils until I update them again

    authored
  2. Gibheer

    add partial render method

    This enables the user to render partial templates to embed them into
    other templates and the like.
    authored

Aug 14, 2013

  1. Gibheer

    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.
    authored

Aug 13, 2013

  1. Gibheer

    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.
    authored

Aug 06, 2013

  1. Gibheer

    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[]`.
    authored

Jul 29, 2013

  1. Gibheer

    drop 1.8 support and add 2.0

    As MRI 1.8 is EOL, I think it is okay to drop 1.8 support.
    authored

Jul 26, 2013

  1. Gibheer

    update dependencies

    authored
  2. Gibheer

    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.
    authored

Jul 22, 2013

  1. Gibheer

    Revert "generate a name from the server details"

    This reverts commit 94a2d39.
    authored
  2. Gibheer

    generate a name from the server details

    authored

Feb 27, 2013

  1. Gibheer

    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.
    authored
  2. Gibheer

    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.
    authored
  3. Gibheer

    update dependencies

    authored

Feb 12, 2013

  1. Gibheer

    cleanup old specs

    authored
  2. Gibheer

    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.
    authored

Feb 11, 2013

  1. Gibheer

    change route regex to string beginning and end

    authored

Feb 04, 2013

  1. Gibheer

    rename spec for mutant

    That kills 52 mutations!
    authored
  2. Gibheer

    get metrics back

    authored

Jan 29, 2013

  1. Gibheer

    catch empty routes

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

    remove more leftovers from class_options

    authored
  3. Gibheer

    remove class_options

    authored
Something went wrong with that request. Please try again.