Permalink
Commits on Jan 27, 2012
  1. Merge branch 'release/1.3092'

    xsawyerx committed Jan 27, 2012
  2. reflect changes

    xsawyerx committed Jan 27, 2012
  3. version bump

    xsawyerx committed Jan 27, 2012
  4. Document how view_exists() works and why it exists

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed with xsawyerx Nov 4, 2011
  5. Move check for template on disk to a method other views can override

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed with xsawyerx Nov 2, 2011
  6. CHANGES update for GH #716

    (Also tweaking previous entry for #725 to use GH #725, not "Issue 725) for
    consistency)
    bigpresh committed Jan 27, 2012
  7. Update CHANGES to reflect GH-725 fix

    bigpresh committed with xsawyerx Jan 26, 2012
  8. Add cookies to the response via add_cookie(), not directly.

    Don't directly add another Set-Cookie header; just add this cookie to the list
    of cookies which will be sent when the response headers are generated.
    
    This means that, if you attempt to set the same cookie multiple times with the
    same name, the last value used wins, rather than sending multiple Set-Cookie
    headers for the same cookie, which is wrong.
    
    This should fix GH-725.
    bigpresh committed with xsawyerx Jan 26, 2012
  9. Accumulate cookies until headers are generated.

    New `$response->add_cookie()` takes a name and cookie object, and adds it to the
    list of cookies which will be sent; using the same name clobbers any previous
    value for that cookie name.
    
    When headers_to_array fires, it calls build_cookie_headers which assembles the
    correct Set-Cookie headers (TODO: we can probably collapse multiple cookies into
    a single Set-Cookie header, I think.)
    bigpresh committed with xsawyerx Jan 26, 2012
  10. Test update to match new _template_name behaviour

    Expect Dancer::Template::Abstract->_template_name() to return multiple view
    names.
    bigpresh committed with xsawyerx Dec 27, 2011
  11. Remove left-over `$layout_name` declaration.

    (Incomplete refactoring, whoops)
    bigpresh committed with xsawyerx Dec 27, 2011
  12. Try layout name as supplied before appending default extension

    Similarly to previous change, try the layout name as supplied, first, before
    trying to append the default template extension (if it didn't already end with
    that).
    bigpresh committed with xsawyerx Dec 27, 2011
  13. _template_name tries view name as supplied before adding default ext.

    When looking for a template in the views directory, try the view name as
    supplied before appending the default template extension.
    bigpresh committed with xsawyerx Dec 27, 2011
  14. wrapping, cleanup

    xsawyerx committed Jan 27, 2012
  15. Added Hosting on DotCloud section.

    ollyg committed with xsawyerx Jan 18, 2012
  16. don't restrict options passed to JSON serializer

    allow pass through of options straight from engines config for JSON
    so we can set canonical/relaxed/etc (see JSON docs), which are useful
    for developing/debugging purposes. yes it could be possible to pass
    options that break the serialization, in which case; caveat developer
    Lee Johnson committed with xsawyerx Jan 20, 2012
  17. add @dams' solution

    xsawyerx committed Jan 27, 2012
  18. bump tests count

    xsawyerx committed Jan 27, 2012