Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵ | wycats | 2010-03-17 | 1 | -1/+1 |
| | | | | warnings are in dependencies. | ||||
* | Eliminate warnings for AM on 1.8 | wycats | 2010-03-16 | 1 | -4/+2 |
| | |||||
* | Ensure controller filters are executed before stuff starts to happen. | José Valim | 2010-03-13 | 1 | -1/+1 |
| | |||||
* | Finish cleaning up rendering stack from views and move assigns evaluation to ↵ | José Valim | 2010-03-12 | 3 | -11/+14 |
| | | | | controller (so plugins and/or controllers can overwrite just one method). | ||||
* | ActionController::Base.request_forgery_protection_token should actually be ↵ | Carl Lerche | 2010-03-11 | 1 | -1/+1 |
| | | | | the name of the token and not true. | ||||
* | Remove uneeded methods. | José Valim | 2010-03-10 | 1 | -18/+4 |
| | |||||
* | Refactor the RouteSet so it uses a Generator object instead of one huge method. | wycats | 2010-03-09 | 1 | -1/+0 |
| | |||||
* | Simplify the action endpoint: | Carlhuda | 2010-03-08 | 1 | -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é Valim | 2010-03-08 | 1 | -1/+2 |
| | |||||
* | Move request forgery protection configuration to the AC config object | Carl Lerche | 2010-03-08 | 1 | -4/+41 |
| | | | | This is an interim solution pending revisiting the rails framework configuration situation. | ||||
* | Finally moved the find template logic to the views. | José Valim | 2010-03-08 | 3 | -33/+21 |
| | |||||
* | More refactoring. Split _normalize_args and _normalize_options concerns. | José Valim | 2010-03-08 | 1 | -6/+13 |
| | |||||
* | More cleanup on the layouts side. | José Valim | 2010-03-08 | 1 | -2/+0 |
| | |||||
* | Move layout lookup to views. | José Valim | 2010-03-08 | 2 | -3/+2 |
| | |||||
* | Added template lookup responsible to hold all information used in template ↵ | José Valim | 2010-03-07 | 3 | -14/+1 |
| | | | | lookup. | ||||
* | Tweak out url_for uses :script_name and add some tests | Carl Lerche | 2010-03-04 | 1 | -5/+1 |
| | |||||
* | Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵ | Carlhuda | 2010-03-04 | 1 | -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 config | Carlhuda | 2010-03-04 | 1 | -5/+0 |
| | |||||
* | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 2 | -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.rb | Carlhuda | 2010-03-04 | 1 | -126/+5 |
| | |||||
* | Move session and session_store onto ActionDispatch and add deprecation warnings | Carlhuda | 2010-03-04 | 2 | -5/+6 |
| | |||||
* | Fix all the broken tests due to the AC configuration refactor | Carl Lerche | 2010-03-03 | 2 | -9/+16 |
| | |||||
* | Add caller to deprecation notices | Carlhuda | 2010-03-03 | 1 | -11/+11 |
| | |||||
* | Deprecate IP spoofing settings that are directly on the controller in favor ↵ | Carlhuda | 2010-03-03 | 1 | -7/+26 |
| | | | | of configuring a middleware | ||||
* | Indicate that ActionController::Base.resource_action_separator is deprecated ↵ | Carl Lerche | 2010-03-03 | 1 | -2/+9 |
| | | | | and only has an effect with the deprecated router DSL. | ||||
* | ActionController::Base.use_accept_header is not actually used anymore, so ↵ | Carl Lerche | 2010-03-03 | 1 | -2/+8 |
| | | | | let's deprecate it. | ||||
* | ActionDispatch::Request deprecates #request_uri | Carl Lerche | 2010-03-03 | 2 | -2/+2 |
| | | | | * Refactored ActionPatch to use fullpath instead | ||||
* | Work on deprecating ActionController::Base.relative_url_root | Carlhuda | 2010-03-03 | 3 | -18/+43 |
| | |||||
* | Move session_store and session_options to the AC configuration object | Carlhuda | 2010-03-03 | 3 | -29/+37 |
| | |||||
* | Remove a failed attempt at refactoring AC configuration | Carlhuda | 2010-03-03 | 2 | -30/+0 |
| | |||||
* | Actually move ImplicitRender into it's own file | Carl Lerche | 2010-03-03 | 1 | -0/+21 |
| | |||||
* | Merge _details_defaults and details_for_render | Carlhuda | 2010-03-01 | 1 | -4/+0 |
| | |||||
* | Change AV formats so they can delegate to the controller. Now users (or ↵ | Carlhuda | 2010-03-01 | 1 | -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 ↵ | Carlhuda | 2010-02-26 | 2 | -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 = ↵ | Carlhuda | 2010-02-26 | 1 | -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_for | Carlhuda | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 1 | -0/+21 |
| | |||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 3 | -167/+6 |
| | |||||
* | Renamed LocalizedCache to DetailsCache. | José Valim | 2010-02-24 | 1 | -1/+1 |
| | |||||
* | Cleanup render callstack and make render(:json => {}, :status => 401) work ↵ | José Valim | 2010-02-24 | 1 | -23/+14 |
| | | | | again. | ||||
* | Remove ActionController::Base.resources_path_names | Carl Lerche | 2010-02-24 | 1 | -2/+0 |
| | |||||
* | Remove the renderer option from the hash. | José Valim | 2010-02-24 | 1 | -1/+1 |
| | |||||
* | Makes send_file work again by deferring to Rack::Sendfile. | Carlhuda | 2010-02-23 | 1 | -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 ↵ | Carlhuda | 2010-02-23 | 2 | -15/+6 |
| | | | | Rack servers as appropriate | ||||
* | Include missing modules. | José Valim | 2010-02-22 | 2 | -1/+2 |
| | |||||
* | Use ActionDispatch::Routing everywhere | Martin Schürrer | 2010-02-21 | 2 | -4/+4 |
| | |||||
* | Update Renderer | Yehuda Katz | 2010-02-18 | 1 | -5/+4 |
| | |||||
* | Merge master. | José Valim | 2010-02-17 | 2 | -8/+6 |
|\ | |||||
| * | Update AP to start locking down a public API. This work is parallel to some ↵ | Yehuda Katz | 2010-02-16 | 2 | -8/+6 |
| | | | | | | | | docs I'm working on. | ||||
* | | Ensure render :text => resource first tries to invoke :to_text on it | José Valim | 2010-02-16 | 1 | -0/+7 |
|/ |