aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
|
* Remove ActionController::Base.resources_path_namesCarl Lerche2010-02-241-7/+8
|
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-0/+2
| | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
* Make AD::Response correctly handle bodies that respond_to?(:to_path) as per ↵Carlhuda2010-02-231-0/+12
| | | | the Rack spec
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-214-13/+19
|
* Store compiled parameter filters so we don't have to compile them in each ↵José Valim2010-02-211-25/+40
| | | | request.
* Fix a bunch of pending tests by providing an introspection mode for the ↵Carlhuda2010-02-193-19/+41
| | | | Response object that does up-front parsing of the headers to populate things like @etag
* Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵José Valim2010-02-191-1/+1
| | | | after_initializer is executed after to_prepare callbacks.
* Rename router internal option :namespace to :controller_namespace which is ↵José Valim2010-02-171-3/+3
| | | | its real purpose.
* Merge master.José Valim2010-02-171-1/+1
|\
| * rack-mount 0.5 supportJoshua Peek2010-02-151-1/+1
| |
* | Make Railties tests green again.José Valim2010-02-171-7/+12
| |
* | AD::TestProcess relies on request.flash, so let's load it.José Valim2010-02-161-0/+2
| |
* | Should allow symbols in :only and :except in routes.José Valim2010-02-161-5/+5
| |
* | Do not swallow controller loading errors unless required.José Valim2010-02-161-10/+4
|/
* Routes should not swallow all NameErrors [#3862 status:resolved].José Valim2010-02-061-1/+2
|
* Routing Mapper with % interpolation on Ruby 1.9.1 fixed [#3837 status:resolved]Santiago Pastorino and José Ignacio Costa2010-02-021-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make rdoc match current APISam Ruby2010-02-021-105/+47
| | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* Deprecation notice for TestResponse#redirected_toJoshua Peek2010-01-301-0/+5
|
* Ensure root routes inside optional scopes works as expected.José Valim2010-01-261-2/+3
|
* As first step setup the load path and lazy compare middlewares.José Valim2010-01-251-1/+13
|
* Ensure metals and initializers in plugins are loaded.José Valim2010-01-241-3/+0
|
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Ensure namespaced controllers in engines work.José Valim2010-01-241-21/+7
|
* Solve some pendencies.José Valim2010-01-241-1/+1
|
* Extract routes reloading responsibilities from application and load them ↵José Valim2010-01-232-13/+5
| | | | just upon a request.
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-211-62/+66
| | | | anything in the middleware stack.
* Default to sync instrumentation.José Valim2010-01-213-52/+0
|
* Tidy up new filter_parameters implementation.José Valim2010-01-213-89/+95
|
* Move filter_parameter_logging logic out of the controller and create ↵Prem Sichanugrist2010-01-214-24/+90
| | | | | | ActionDispatch::ParametersFilter to handle parameter filteration instead. This will make filteration not depending on controller anymore. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add AD::Route#to_sSam Ruby2010-01-201-0/+6
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Only send filtered_env for notificationsJoshua Peek2010-01-201-8/+9
|
* Request#filter_parameters and filter_envJoshua Peek2010-01-201-2/+24
|
* Expose last controller in rack env["action_controller.instance"]Joshua Peek2010-01-201-32/+6
|
* Revert streaming params parser support.Joshua Peek2010-01-191-3/+3
| | | | | | | | | | AS Xml and Json parsers expect the request body to be a real IO object supporting methods like getc or ungetc which are not specified by the Rack spec and aren't supported by Passenger or the Rewindable input wrapper. We can restore functionality if the AS parsers are rewritten to support Racks subset of supported IO methods.
* Cleanup middleware introspection outputJoshua Peek2010-01-191-3/+1
|
* Disable ShowExceptions during integration testsJoshua Peek2010-01-191-1/+3
|
* Do not send rack.input or any other rack information to AD listeners.José Valim2010-01-192-8/+15
|
* Define named routes for other non-GET REST actionsJoshua Peek2010-01-191-4/+32
|
* Prettier hash dumpJoshua Peek2010-01-181-3/+7
|
* Show Rack env dump on exception pageJoshua Peek2010-01-181-1/+4
|
* Accessing nonexistant cookies through the signed jar should not raise anJoshua Peek2010-01-171-1/+3
| | | | exception
* Make local_request? to returns true when facing ::1 IPv6 address [#3257 ↵Prem Sichanugrist2010-01-171-2/+2
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix resources_path_names branch which was sending an array as entity. [#3715 ↵José Valim2010-01-171-34/+25
| | | | status:resolved]
* Move middleware builder back to Rails::Rack::Metal without losing the new ↵José Valim2010-01-171-29/+0
| | | | behavior.
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-172-0/+75
|
* Add ActionDispatch::Notifications middleware.José Valim2010-01-173-7/+26
|
* Use backtrace cleaner for dev mode exception pageJoshua Peek2010-01-163-7/+22
|
* Cookies middlewareJoshua Peek2010-01-162-1/+215
|
* Merge docrailsPratik Naik2010-01-172-11/+12
|