aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
* Handle irregular plurals in polymorphic_urls [#2212 state:resolved]Mike Gunderloy2009-03-121-0/+85
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Support MD5 passwords for Digest auth and use session_options[:secret] in ↵Donald Parish2009-03-121-7/+46
| | | | | | nonce [#2209 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure correct content type is declared after cache hits on actions with ↵Mislav Marohnić2009-03-101-0/+14
| | | | | | string cache keys [#1585 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* reset_session should force a new session id to be generated [#2173]Joshua Peek2009-03-091-16/+24
|
* Ensure blank path_prefix works as expected [#2122 state:resolved]Andrew Bloom2009-03-091-2/+32
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-0812-89/+89
| | | | [#1617 state:resolved]
* Support OPTIONS verb in route conditions [#1727 state:resolved]Mike Gunderloy2009-03-081-0/+8
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure shallow routes respects namespace [#1356 state:resolved]Tom Stuart2009-03-071-3/+31
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed simplified render with nested models [#2042 state:resolved]Joshua Peek2009-03-072-0/+26
|
* fix HTML fallback for explicit templates [#2052 state:resolved]Matt Jones2009-03-071-0/+16
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure assert_select works with XML namespaced attributes [#1547 ↵Pratik Naik2009-03-071-0/+5
| | | | state:resolved] [Jon Yurek]
* Ensure expires_in without a :public key sets the Cache-Control header to ↵Johan Sørensen2009-03-071-1/+1
| | | | | | | | | private. [#2095 state:resolved] This fixes a regression introduced in f2a32bd0, which wasn't exposed due to two test methods having the same name. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix layouts with absolute paths [#2134 state:resolved]thedarkone2009-03-051-1/+11
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Failing test for routes with member & requirement [#2054 state:resolved]Mike Gunderloy2009-03-051-0/+8
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Generating routes with optional format segment does not inherit params ↵Joshua Peek2009-03-041-0/+16
| | | | format [#2043 state:resolved]
* Allow routes with a trailing slash to be recognizedMike Gunderloy2009-03-041-2/+10
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2039 state:committed]
* Added ability to pass in :public => true to fresh_when, stale?, and ↵Gregg Pollack2009-02-281-0/+72
| | | | | | expires_in to make the request proxy cachable [#2095 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* correctly handle layouts for AJAX requests and regular js files [#2052 ↵Matt Jones2009-02-241-4/+5
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Expected cookie value should also be escaped.moro2009-02-211-1/+1
| | | | | | | | Ruby 1.9 compat for test. [#1965 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix requirements regexp for path segmentsAndrew White2009-02-221-0/+24
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1772 state:committed]
* Remove hardcoded number_of_capturesin ControllerSegment to allow regexp ↵Andrew White2009-02-221-0/+9
| | | | | | | requirements with capturing parentheses Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1887 state:committed]
* fix test data, should specify encoding to use multibyte chars on Ruby 1.9moro2009-02-201-0/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* make action_controller/layouts pick templates from the current instance's ↵Sven Fuchs2009-02-201-0/+14
| | | | | | view_paths instead of the class view_paths [#1974 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Move development mode reloading up the stack to avoid issues with class ↵Joshua Peek2009-02-201-5/+8
| | | | reloading in middleware
* Lazy evaluate middleware arguments [#2028 state:resolved]Sven Fuchs2009-02-201-0/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Lazy evaluate ActionController session store middleware class to pickup ↵Joshua Peek2009-02-191-0/+7
| | | | custom plugin session stores [#2001 state:resolved]
* Fix templates reloading in development when using custom view path [#2012 ↵Joshua Peek2009-02-191-15/+11
| | | | state:resolved]
* Fixed http digest authentication to use credentials URI passed from client. ↵Donald Parish2009-02-161-1/+10
| | | | | | [#1848 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-121-11/+15
|
* Remove space from the test name [#1953 state:resolved]Mike Gunderloy2009-02-121-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Update bundled Rack for Ruby 1.9 spec changesJoshua Peek2009-02-073-10/+12
|
* Deprecate ActionController::Response#set_cookie :http_only option infavor of ↵Joshua Peek2009-02-071-1/+1
| | | | :httponly
* Temporarily bundle Rack 1.0 prerelease for testingJoshua Peek2009-02-072-5/+4
|
* Added support to dashed locales in templates localization [#1888 state:resolved]José Valim2009-02-061-7/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure session id is set in session options hash [#1880 state:resolved]Joshua Peek2009-02-062-1/+36
|
* Ruby 1.9 compat: call bytesize for content_lengthEugene Pimenov2009-02-061-0/+15
| | | | | | [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* implicitly rendering a js response should not use the default layout [#1844 ↵Adam McCrea2009-02-051-1/+10
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-036-1562/+1543
|
* Added localized rescue (404.da.html) [#1835 state:committed]José Valim2009-02-021-0/+25
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Use Rack::Head middleware to ensure the body is discarded for HEAD requestsJoshua Peek2009-02-011-0/+14
|
* Remove ancient tests for CGI parsing bugJoshua Peek2009-01-311-30/+0
|
* Removed Prototype specific Safari 2 AJAX hack.Joshua Peek2009-01-311-6/+0
| | | | The normal null character stripper is still there.
* Removed map.resources :only/:except inheritanceTarmo Tänav2009-02-011-15/+28
| | | | | | | | | | It's very rare for these options to apply identically to nested child resources, and with this inheritance on it's very difficult to have a child resource with more actions than the parent. This reverts commit 2ecec6052f7f290252a9fd9cc27ec804c7aad36c. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1826 state:committed]
* Controller, response, and request should all refer to same session, even ↵Scott Taylor2009-01-291-0/+23
| | | | | | after a call to session_reset [#1823 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Deprecation tests for f17c876 [#1801 state:resolved]Mike Gaffney2009-01-291-0/+58
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Implement HTTP Digest authentication. [#1230 state:resolved] [Gregg Kellogg, ↵Gregg Kellogg2009-01-291-0/+130
| | | | | | Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move basic auth test controller inside the test classPratik Naik2009-01-291-21/+21
|
* Ensure that when UrlWriter is included in multiple classes, the ↵Nathan de Vries2009-01-281-1/+16
| | | | | | default_url_options of one don't affect the other. [#1277 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Session cookie header should always be set if :expire_after option is specifiedPratik Naik2009-01-281-4/+32
|
* Restore implicit rendering for XHR requests that want a HTML template [#1590 ↵Joshua Peek2009-01-271-0/+8
| | | | state:resolved]