aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Ensure expires_in without a :public key sets the Cache-Control header to ↵Johan Sørensen2009-03-071-1/+3
| | | | | | | | | 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/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Failing test for routes with member & requirement [#2054 state:resolved]Mike Gunderloy2009-03-051-1/+6
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed that redirection would just log the options, not the final url (which ↵David Heinemeier Hansson2009-03-051-1/+1
| | | | lead to "Redirected to #<Post:0x23150b8>") [DHH]
* Generating routes with optional format segment does not inherit params ↵Joshua Peek2009-03-041-1/+5
| | | | format [#2043 state:resolved]
* Allow routes with a trailing slash to be recognizedMike Gunderloy2009-03-041-1/+1
| | | | | 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-7/+35
| | | | | | expires_in to make the request proxy cachable [#2095 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Force all internal calls to Array#to_sentence to use English [#2010 ↵David Heinemeier Hansson2009-02-272-3/+3
| | | | state:resolved]
* Ruby 1.9 compat: silence a warning about regexp languagesSam Granieri2009-02-251-1/+5
| | | | | | [#2050 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure ActiveRecord session store's connections are checked in after each ↵Joshua Peek2009-02-241-7/+0
| | | | request [#1927 state:resolved]
* correctly handle layouts for AJAX requests and regular js files [#2052 ↵Matt Jones2009-02-241-7/+14
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge with docrailsPratik Naik2009-02-242-6/+42
|
* Fix requirements regexp for path segmentsAndrew White2009-02-221-16/+12
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1772 state:committed]
* Remove hardcoded number_of_capturesin ControllerSegment to allow regexp ↵Andrew White2009-02-221-4/+0
| | | | | | | requirements with capturing parentheses Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1887 state:committed]
* make action_controller/layouts pick templates from the current instance's ↵Sven Fuchs2009-02-201-32/+26
| | | | | | 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-202-14/+41
| | | | reloading in middleware
* Lazy evaluate middleware arguments [#2028 state:resolved]Sven Fuchs2009-02-202-3/+9
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Lazy evaluate ActionController session store middleware class to pickup ↵Joshua Peek2009-02-192-12/+7
| | | | custom plugin session stores [#2001 state:resolved]
* Special case in deprecated CGI proxy layer for Mongrel CGI cookies [#1957 ↵Joshua Peek2009-02-161-0/+5
| | | | state:resolved]
* Autoload ActionController::Caching::Sweeper constant [#1977 state:resolved]Joshua Peek2009-02-161-0/+1
|
* Removed dead convert_expires! in Response [#1952 state:resolved]Joshua Peek2009-02-161-5/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed http digest authentication to use credentials URI passed from client. ↵Donald Parish2009-02-161-1/+1
| | | | | | [#1848 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Update bundled rack to fix more parameter parsing issuesJoshua Peek2009-02-142-12/+25
|
* workaround for picking layouts based on wrong view_paths [#1974 state:resolved]Sven Fuchs2009-02-141-0/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-121-1/+1
|
* Reapply 0d5b3e6Joshua Peek2009-02-101-1/+1
|
* Update vendored rackJoshua Peek2009-02-105-9/+32
|
* Make sure vendored rack is at the front of the load pathJoshua Peek2009-02-101-2/+1
|
* Improve view rendering performance in development mode and reinstate ↵Andrew White2009-02-091-1/+1
| | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Session LazyHash#inspect triggers the hash to loadJoshua Peek2009-02-071-0/+5
|
* Update bundled Rack for Ruby 1.9 spec changesJoshua Peek2009-02-0716-41/+39
|
* Deprecate ActionController::Response#set_cookie :http_only option infavor of ↵Joshua Peek2009-02-072-1/+4
| | | | :httponly
* Move cleanup before prepare_dispatch so that constants are not loaded twice ↵Andrew White2009-02-071-6/+5
| | | | | | [#1898 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Temporarily bundle Rack 1.0 prerelease for testingJoshua Peek2009-02-0757-250/+4895
|
* Ensure session id is set in session options hash [#1880 state:resolved]Joshua Peek2009-02-062-17/+9
|
* Ruby 1.9 compat: call bytesize for content_lengthEugene Pimenov2009-02-061-1/+1
| | | | | | [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Restore stale session check and move after dispatch development cleanups ↵Joshua Peek2009-02-052-8/+24
| | | | before the request
* implicitly rendering a js response should not use the default layout [#1844 ↵Adam McCrea2009-02-051-1/+1
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Workaround jruby issue with protected module attr_accessor showing up as ↵Jeremy Kemper2009-02-021-2/+7
| | | | public in included class
* Added localized rescue (404.da.html) [#1835 state:committed]José Valim2009-02-021-5/+11
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Use Rack::Head middleware to ensure the body is discarded for HEAD requestsJoshua Peek2009-02-012-0/+4
|
* Removed Prototype specific Safari 2 AJAX hack.Joshua Peek2009-01-311-1/+0
| | | | The normal null character stripper is still there.
* Removed map.resources :only/:except inheritanceTarmo Tänav2009-02-011-16/+19
| | | | | | | | | | 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]
* Ruby 1.9 compat: omit Rack::Lint from integration tests until it accepts ↵Jeremy Kemper2009-01-311-1/+5
| | | | String headers and bodies
* Ruby 1.9 compat: work around that String is not EnumerableJeremy Kemper2009-01-312-2/+6
|
* Controller, response, and request should all refer to same session, even ↵Scott Taylor2009-01-291-4/+19
| | | | | | after a call to session_reset [#1823 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Digest#validate_digest_response should accept request instead of controllerPratik Naik2009-01-291-6/+6
|
* Implement HTTP Digest authentication. [#1230 state:resolved] [Gregg Kellogg, ↵Gregg Kellogg2009-01-292-25/+175
| | | | | | Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure that when UrlWriter is included in multiple classes, the ↵Nathan de Vries2009-01-281-6/+3
| | | | | | 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-282-4/+8
|