aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the RouteSet so it uses a Generator object instead of one huge method.wycats2010-03-091-1/+0
|
* Simplify the action endpoint:Carlhuda2010-03-081-4/+1
| | | | | | | * Remove ActionEndpoint in favor of passing a block to MiddlewareStack * Always create a Request; the performance win of RackDelegation is around the response; the Request object hit is limited to a single object allocation * #dispatch takes a Request
* Clean LookupContext API.José Valim2010-03-081-1/+2
|
* Move request forgery protection configuration to the AC config objectCarl Lerche2010-03-081-4/+41
| | | | This is an interim solution pending revisiting the rails framework configuration situation.
* Finally moved the find template logic to the views.José Valim2010-03-083-33/+21
|
* More refactoring. Split _normalize_args and _normalize_options concerns.José Valim2010-03-081-6/+13
|
* More cleanup on the layouts side.José Valim2010-03-081-2/+0
|
* Move layout lookup to views.José Valim2010-03-082-3/+2
|
* Added template lookup responsible to hold all information used in template ↵José Valim2010-03-073-14/+1
| | | | lookup.
* Tweak out url_for uses :script_name and add some testsCarl Lerche2010-03-041-5/+1
|
* Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵Carlhuda2010-03-041-1/+1
| | | | a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request.
* Refactor cache_store to use ActionController configCarlhuda2010-03-041-5/+0
|
* Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-042-32/+2
| | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
* Move stuff from compatibility.rb to deprecated.rbCarlhuda2010-03-041-126/+5
|
* Move session and session_store onto ActionDispatch and add deprecation warningsCarlhuda2010-03-042-5/+6
|
* Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-032-9/+16
|
* Add caller to deprecation noticesCarlhuda2010-03-031-11/+11
|
* Deprecate IP spoofing settings that are directly on the controller in favor ↵Carlhuda2010-03-031-7/+26
| | | | of configuring a middleware
* Indicate that ActionController::Base.resource_action_separator is deprecated ↵Carl Lerche2010-03-031-2/+9
| | | | and only has an effect with the deprecated router DSL.
* ActionController::Base.use_accept_header is not actually used anymore, so ↵Carl Lerche2010-03-031-2/+8
| | | | let's deprecate it.
* ActionDispatch::Request deprecates #request_uriCarl Lerche2010-03-032-2/+2
| | | | * Refactored ActionPatch to use fullpath instead
* Work on deprecating ActionController::Base.relative_url_rootCarlhuda2010-03-033-18/+43
|
* Move session_store and session_options to the AC configuration objectCarlhuda2010-03-033-29/+37
|
* Remove a failed attempt at refactoring AC configurationCarlhuda2010-03-032-30/+0
|
* Actually move ImplicitRender into it's own fileCarl Lerche2010-03-031-0/+21
|
* Merge _details_defaults and details_for_renderCarlhuda2010-03-011-4/+0
|
* Change AV formats so they can delegate to the controller. Now users (or ↵Carlhuda2010-03-011-1/+5
| | | | plugins) can override details_for_render in their controllers and add appropriate additional details. Now if only they could *do* something with those details...
* Including UrlFor in Redirecting and Head will warn usefully if a controller ↵Carlhuda2010-02-262-6/+3
| | | | is wired up without a router included (and still support redirect_to "omg")
* Change the API for setting global options for #url_for to self.url_options = ↵Carlhuda2010-02-261-1/+1
| | | | | | { ... } This attr_accessor can be set in a before filter or in the action itself. Overwriting default_url_options still works but will output a deprecation notice.
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-1/+1
|
* Continued effort to deglobalize the routerCarlhuda2010-02-251-0/+21
|
* WIP: Remove the global routerCarlhuda2010-02-253-167/+6
|
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-241-1/+1
|
* Cleanup render callstack and make render(:json => {}, :status => 401) work ↵José Valim2010-02-241-23/+14
| | | | again.
* Remove ActionController::Base.resources_path_namesCarl Lerche2010-02-241-2/+0
|
* Remove the renderer option from the hash.José Valim2010-02-241-1/+1
|
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-38/+19
| | | | | | | | | | * 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.
* Fix streaming by having it create a File object, which can be handled by ↵Carlhuda2010-02-232-15/+6
| | | | Rack servers as appropriate
* Include missing modules.José Valim2010-02-222-1/+2
|
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-212-4/+4
|
* Update RendererYehuda Katz2010-02-181-5/+4
|
* Merge master.José Valim2010-02-172-8/+6
|\
| * Update AP to start locking down a public API. This work is parallel to some ↵Yehuda Katz2010-02-162-8/+6
| | | | | | | | docs I'm working on.
* | Ensure render :text => resource first tries to invoke :to_text on itJosé Valim2010-02-161-0/+7
|/
* Its not a deprecation if you actually just ignore the callDavid Heinemeier Hansson2010-02-091-0/+2
|
* Make UrlWriter includable in a ModuleJeremy Kemper2010-02-051-1/+9
|
* Add method and path to AC notifications.José Valim2010-02-031-1/+3
|
* Merge branch 'master' of gitproxy:rails/railsJosé Valim2010-02-016-21/+36
|\
| * Convert to class_attributeJeremy Kemper2010-02-016-21/+36
| |
* | Deprecate AC configuration values which were moved to Rack.José Valim2010-02-011-6/+22
|/