aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Use toplevel reference to ::StringIO since we're in a BasicObject.Jeremy Kemper2009-01-271-2/+2
|
* Fix for sweepers method_missing missing &block argument [#1581 status:committed]Tys von Gaza2009-01-271-2/+2
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fixed deprecated methods on TestSession [#1801 state:resolved]Joshua Peek2009-01-272-17/+21
|
* Dont use Memoizable for ActionController::RequestPratik Naik2009-01-272-34/+23
|
* Ensure the full path is used when searching for layouts [#1803 state:resolved]Joshua Peek2009-01-271-1/+1
|
* Setup ActiveRecord QueryCache middleware in the initializerJoshua Peek2009-01-211-5/+3
|
* Allow empty files to be uploadedJoshua Peek2009-01-201-1/+1
|
* Add MiddlewareStack#swapJoshua Peek2009-01-201-5/+10
| | | | config.middleware.swap ActionController::Session::CookieStore, MySessionStore
* Don't let empty Tempfiles come through as uploaded files [#1785 state:resolved]Mislav Marohnić2009-01-201-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Restore cookie store httponly default to true. Remove extraneous dup of ↵Cody Fauser2009-01-201-3/+1
| | | | | | options on initialization [#1784 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Deprecate ActionController::Base#session_enabled?Pratik Naik2009-01-191-1/+1
|
* Merge docrailsPratik Naik2009-01-185-22/+32
|
* Remove script/performance/profiler in favour of performance integration tests.Pratik Naik2009-01-181-168/+0
| | | | | | To continue using script/performance/profiler, install the request_profiler plugin : script/plugin install git://github.com/rails/request_profiler.git
* Build query string and POST params parser on top of Rack::Request. Also ↵Joshua Peek2009-01-179-329/+184
| | | | switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [#1661 state:resolved]
* Ensure any method sent to RewindableIO reads the original IO object [#1767 ↵Joshua Peek2009-01-172-25/+9
| | | | state:resolved]
* Lock middleware has been committed upstreamJoshua Peek2009-01-175-39/+46
|
* Skip respond_to check so rack.input doesn't have to implement itJeremy Kemper2009-01-161-2/+2
|
* Use Rack's MethodOverride lib [#1699 state:resolved]Joshua Peek2009-01-132-25/+1
|
* Update multipart tests to expose (another) bug in Rack's multipart parserJoshua Peek2009-01-134-14/+31
|
* Add RewindableInput wrapper to fix issues with middleware that impolitely ↵Joshua Peek2009-01-132-0/+41
| | | | eat up non-rewindable input
* Explicitly read as binary in multipart_body for Windows [#1065 state:resolved]Bryan Ash2009-01-131-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Use :key instead of old :session_key in session_store.rb generator and docs ↵Cody Fauser2009-01-131-3/+3
| | | | | | [#1746 state:resovled] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Revert "HTTP Digest authentication [#1230 state:resolved]"Pratik Naik2009-01-132-271/+2
| | | | | | | | | This reverts commit 45dee3842d68359a189fe7c0729359bd5a905ea4. Reasons : 1. The code is not working in it's current state 2. Should not be using exceptions for flow control
* Change Object#try to raise NoMethodError on private methods and always ↵Pratik Naik2009-01-131-1/+2
| | | | return nil when Object is nil [Pratik Naik, Lawrence Pit]
* Ensure we override Rack::Request's POST method tooJoshua Peek2009-01-091-1/+4
|
* Refactor request query string parsing testsJoshua Peek2009-01-091-1/+3
|
* Inherit ActionController::Request from Rack::RequestJoshua Peek2009-01-092-29/+7
|
* Remove Content-Length header from :no_content responsesJeremy Kemper2009-01-071-3/+6
|
* Set assigns for integration tests alsoJeremy Kemper2009-01-071-2/+5
|
* Take care not to mix in public methodsJeremy Kemper2009-01-071-9/+10
|
* Include process methods in ActionController::TestCase only. No need to ↵Jeremy Kemper2009-01-072-34/+23
| | | | alias_method_chain :process either.
* Fix failing flash testJeremy Kemper2009-01-061-1/+1
|
* Cache AssetTag timestampsJoshua Peek2009-01-041-0/+2
|
* Memoize request accessors on the Rack env so other request objects have ↵Joshua Peek2009-01-044-19/+16
| | | | access to the same cache [#1668 state:resolved]
* Move metal above method piggybacking middleware and add some test coverageJoshua Peek2009-01-031-0/+21
|
* Revert to the good old days when AssetTag didn't cause anyone problemsJoshua Peek2009-01-021-1/+0
|