Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove deprecated callbacks from ActionDispatch middlewares | Rafael Mendonça França | 2017-01-31 | 1 | -0/+8 |
| | |||||
* | Remove deprecated ActionController::Metal.call | Rafael Mendonça França | 2017-01-03 | 1 | -0/+4 |
| | |||||
* | List full class name | Jon Moss | 2017-01-03 | 1 | -1/+1 |
| | | | | | | `Metal#env` --> `ActionController::Metal#env` [ci skip] | ||||
* | Remove deprecated Metal#env | Rafael Mendonça França | 2017-01-03 | 1 | -0/+4 |
| | |||||
* | fix with_routing when testing api only controllers | Julia López | 2016-12-29 | 1 | -0/+4 |
| | |||||
* | Small edits to actionpack/CHANGELOG.md | Jon Moss | 2016-12-27 | 1 | -2/+2 |
| | | | | | | | [ci skip] - change a period to a comma - add backticks for class + method | ||||
* | Remove random extra spaces from Action Pack and Railties CHANGELOG.md | Jon Moss | 2016-12-27 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [ci skip] Add changelog entry for 86754a8f | Kasper Timm Hansen | 2016-11-23 | 1 | -0/+11 |
| | |||||
* | move CHANGELOG entry to the appropriate file [ci skip] | yuuji.yaginuma | 2016-11-19 | 1 | -0/+6 |
| | | | | Follow up to #27098 | ||||
* | Merge pull request #27089 from erickueen/erickueen_fix_26606 | Rafael Mendonça França | 2016-11-18 | 1 | -5/+11 |
|\ | | | | | | | Fix incorrect output from rails routes when using singular resources … | ||||
| * | Fix incorrect output from rails routes when using singular resources issue ↵ | Erick Reyna | 2016-11-18 | 1 | -4/+10 |
|/ | | | | | | | | | | #26606 Rails routes (even rake routes in previous versions) output showed incorrect routes when an application use resource :controller, implying that edit_controller_path match with controller#show. The order of the output has changed to correct this. View #26606 for more information. Added a test case, change unit test in rake to expect the new output. Since the output of resource :controller is changing, the string spected of the railties/test/application/rake_test.rb test_rails_routes_with_controller_environment had to be modified. | ||||
* | Merge pull request #26222 from vipulnsward/26134-fix | Rafael França | 2016-11-13 | 1 | -0/+8 |
|\ | | | | | Format and send logs to logger.fatal from DebugExceptions | ||||
| * | Format and send logs to logger.fatal from DebugExceptions instead of calling ↵ | Vipul A M | 2016-11-12 | 1 | -0/+8 |
| | | | | | | | | | | | | fatal multiple times. Expose tags_text from TaggedLogging to be used for log formatting Fixes #26134 | ||||
* | | Changelog edits | Vipul A M | 2016-11-12 | 1 | -1/+1 |
|/ | |||||
* | adds support for arbitrary hashes in strong parameters | Xavier Noria | 2016-11-11 | 1 | -0/+8 |
| | |||||
* | add `ActionController::Parameters#merge!` | yuuji.yaginuma | 2016-10-18 | 1 | -0/+4 |
| | | | | | This method has the same behavior as `Hash#merge!`, returns current `ActionController::Parameters`. | ||||
* | Allow any key in Renderer environment hash | Sammy Larbi | 2016-10-15 | 1 | -0/+5 |
| | | | | | | When rendering arbitrary templates, it is helpful to not overwrite `env` keys with nil if they don't match any found in the `RACK_KEY_TRANSLATION` This allows the developer to set the environment to exactly what is needed for rendering. | ||||
* | [ci skip] fix typo in Actionpack Changelog | Alex Kitchens | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | Remove deprecated support to non-keyword arguments in ↵ | Rafael Mendonça França | 2016-10-10 | 1 | -0/+5 |
| | | | | | | `ActionDispatch::IntegrationTest`, `#process`, `#get`, `#post`, `#patch`, `#put`, `#delete`, and `#head`. | ||||
* | Remove deprecated `ActionDispatch::IntegrationTest#*_via_redirect`. | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | |||||
* | Remove deprecated `ActionDispatch::IntegrationTest#xml_http_request` | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | |||||
* | Remove deprecated support for passing `:path` and route path as stings in ↵ | Rafael Mendonça França | 2016-10-10 | 1 | -1/+5 |
| | | | | `ActionDispatch::Routing::Mapper#match` | ||||
* | Remove deprecated support passing path as `nil` in ↵ | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | | | | `ActionDispatch::Routing::Mapper#match` | ||||
* | Remove deprecated `cache_control` argument from ↵ | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | | | | `ActionDispatch::Static#initialize` | ||||
* | Remove deprecated support to passing strings to the middleware stack | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | |||||
* | Remove deprecated code in ssl middleware | Rafael Mendonça França | 2016-10-10 | 1 | -0/+8 |
| | |||||
* | Remove deprecated code in ActionDispatch::Session::SessionRestoreError | Rafael Mendonça França | 2016-10-10 | 1 | -0/+9 |
| | |||||
* | Deprecated ActionDispatch::ParamsParser::ParamsParser | Rafael Mendonça França | 2016-10-10 | 1 | -0/+5 |
| | | | | | | ActionDispatch::ParamsParser class was removed in favor of ActionDispatch::Http::Parameters so it is better to move the error constant to the new class. | ||||
* | Remove deprecated ActionDispatch::ParamsParser | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | |||||
* | Remove deprecated code in ActionDispatch::ParamsParser::ParseError | Rafael Mendonça França | 2016-10-10 | 1 | -0/+9 |
| | |||||
* | Remove deprecated access to mime types through constants | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | |||||
* | Remove deprecated support to non-keyword arguments #process | Rafael Mendonça França | 2016-10-10 | 1 | -0/+5 |
| | |||||
* | Remove deprecated `xml_http_request` and `xhr` methods | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | |||||
* | Remove deprecated methods in ActionController::Parameters | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | |||||
* | Remove deprecated comparing support with `ActionController::Parameters` | Rafael Mendonça França | 2016-10-10 | 1 | -0/+5 |
| | |||||
* | Remove deprecated support to :text in render | Rafael Mendonça França | 2016-10-10 | 1 | -0/+4 |
| | |||||
* | Remove deprecated support to :nothing in render | Rafael Mendonça França | 2016-10-09 | 1 | -0/+4 |
| | |||||
* | Remove deprecated support to `:back` in `redirect_to` | Rafael Mendonça França | 2016-10-09 | 1 | -0/+4 |
| | |||||
* | Remove deprecated support for status option in head | Rafael Mendonça França | 2016-10-09 | 1 | -0/+4 |
| | |||||
* | Remove deprecation at ActionController::BadRequest | Rafael Mendonça França | 2016-10-09 | 1 | -0/+5 |
| | |||||
* | Remove deprecated methods related to controller filters | Rafael Mendonça França | 2016-10-09 | 1 | -0/+7 |
| | | | | | | | | | | `skip_action_callback`, `skip_filter`, `before_filter`, `prepend_before_filter`, `skip_before_filter`, `append_before_filter`, `around_filter` `prepend_around_filter`, `skip_around_filter`, `append_around_filter`, `after_filter`, `prepend_after_filter`, `skip_after_filter` and `append_after_filter`. | ||||
* | Show an "unmatched constraints" error for mismatching and present params | Chris Carter | 2016-10-03 | 1 | -0/+7 |
| | | | | | | | | | | | | Currently a misleading "missing required keys" error is thrown when a param fails to match the constraints of a particular route. This commit ensures that these params are recognised as unmatching rather than missing. Note: this means that a different error message will be provided between optimized and non-optimized path helpers, due to the fact that the former does not check constraints when matching routes. Fixes #26470. | ||||
* | Add #25546 and #25817 to changelog [ci skip] | Philip Nguyen | 2016-09-23 | 1 | -0/+8 |
| | |||||
* | make `fixture_file_upload` work in integration tests | yuuji.yaginuma | 2016-09-04 | 1 | -0/+4 |
| | | | | | | | | | Currently, `fixture_file_upload` does not work in integration test. Because, `TestProcess` module has been include in `Session` class, but `fixture_path` can not get from `Session` class. Modify to include `TestProcess` in `IntegrationTest` class in order to get correct value of `fixture_path`. | ||||
* | Add changelog entry for #26328. | Kasper Timm Hansen | 2016-08-31 | 1 | -0/+7 |
| | | | | | I consider the missing deprecation warning a bug fix from the point of view of the 5.0.x series and forward. | ||||
* | Fix nested multiple roots | Ryo Hashimoto | 2016-08-29 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | The PR #20940 enabled the use of multiple roots with different constraints at the top level but unfortunately didn't work when those roots were inside a namespace and also broke the use of root inside a namespace after a top level root was defined because the check for the existence of the named route used the global :root name and not the namespaced name. This is fixed by using the name_for_action method to expand the :root name to the full namespaced name. We can pass nil for the second argument as we're not dealing with resource definitions so don't need to handle the cases for edit and new routes. Fixes #26148. | ||||
* | Include the content of the flash in the auto-generated etag (#26250) | David Heinemeier Hansson | 2016-08-22 | 1 | -0/+12 |
| | | | Include the content of the flash in the auto-generated etag | ||||
* | Return 307 status instead of 301 when rerouting POST requests to SSL | Chirag Singhal | 2016-08-22 | 1 | -0/+20 |
| | | | | | | | | | | | When `config.force_ssl` is set to `true`, any POST/PUT/DELETE requests coming in to non-secure url are being redirected with a 301 status. However, when that happens, the request is converted to a GET request and ends up hitting a different action on the controller. Since we can not do non-GET redirects, we can instead redirect with a 307 status code instead to indicate to the caller that a fresh request should be tried preserving the original request method. `rack-ssl` gem which was used to achieve this before we had this middleware directly baked into Rails also used to do the same, ref: https://github.com/josh/rack-ssl/blob/master/lib/rack/ssl.rb#L54 This would be specially important for any apps switching from older version of Rails or apps which expose an API through Rails. | ||||
* | Copy edits in the documentation [ci skip] | Rafael Mendonça França | 2016-08-19 | 1 | -3/+5 |
| | |||||
* | Set the request type if as: is specified | Everest Munro-Zeisberger | 2016-08-18 | 1 | -0/+5 |
| | | | | Documentation & testing |