Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added parsing of arbitrary media type parameters. | Steve Klabnik | 2012-03-05 | 1 | -0/+6 |
| | | | | | | Based on #4918. Related to #4127. | ||||
* | Merge pull request #5219 from ↵ | Aaron Patterson | 2012-02-29 | 1 | -0/+12 |
|\ | | | | | | | | | mattfawcett/2781-fix-querystring-route-constraint-for-testing Fix for #2781 | ||||
| * | Fix the assert_recognizes test method so that it works when there are | Matt Fawcett | 2012-02-24 | 1 | -0/+12 |
| | | | | | | | | constraints on the querystring. Issue #2781 | ||||
* | | Remove wrong and redundant code. | kennyj | 2012-02-25 | 1 | -6/+4 |
| | | |||||
* | | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 1 | -0/+8 |
|/ | | | | the update action of resources | ||||
* | Merge pull request #5119 from kennyj/fix_5114 | Aaron Patterson | 2012-02-22 | 1 | -0/+26 |
|\ | | | | | Testcase for GH #5114. | ||||
| * | Testcase for GH #5114. | kennyj | 2012-02-22 | 1 | -0/+26 |
| | | |||||
* | | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -4/+11 |
|/ | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | Remove fixture files with Windows incompatible filenames | Andrew White | 2012-02-20 | 1 | -26/+88 |
| | | | | | | Windows doesn't allow `\ / : * ? " < > |` in filenames so create the fixture files at runtime and ignore the incompatible ones when running on Windows. | ||||
* | Fix ActionDispatch::Static to serve files with unencoded PCHAR | Andrew White | 2012-02-17 | 1 | -2/+26 |
| | | | | | | | | | | | RFC 3986[1] allows sub-delim characters in path segments unencoded, however Rack::File requires them to be encoded so we use URI's unescape method to leave them alone and then escape them again. Also since the path gets passed to Dir[] we need to escape any glob characters in the path. [1]: http://www.ietf.org/rfc/rfc3986.txt | ||||
* | escape static file path to prevent double unescaping | Sergey Nartimov | 2012-02-16 | 1 | -0/+4 |
| | |||||
* | ActionDispatch: add missing test for callbacks | Bogdan Gusiev | 2012-02-16 | 1 | -2/+9 |
| | |||||
* | fixing AP tests | Aaron Patterson | 2012-02-15 | 1 | -1/+1 |
| | |||||
* | say goodbye to #with_test_routes :axe: | Xavier Noria | 2012-02-10 | 1 | -1166/+947 |
| | |||||
* | fixes a regression introduced by 532cd4, and a bogus test in AP the ↵ | Xavier Noria | 2012-02-10 | 1 | -6/+6 |
| | | | | regression uncovered | ||||
* | Fix GH #4720. Routing problem with nested namespace and already camelized ↵ | kennyj | 2012-02-10 | 1 | -0/+26 |
| | | | | controller option. | ||||
* | Fix failing request test | Carlos Antonio da Silva | 2012-02-07 | 1 | -1/+1 |
| | | | | | | | | Latest changes in remote ip handling conflicted with each other in tests. Related: dd09811fa6214a130fdc2de1d4c00b4337cb15f9 6a720226aad2adffcbd2422d40db772719579e2f | ||||
* | Merge pull request #2490 from gsterndale/x_forwarded_for_order | José Valim | 2012-02-07 | 1 | -4/+4 |
|\ | | | | | The first IP address in the X-Forwarded-For header is the originating IP | ||||
| * | The first IP address in the X-Forwarded-For header is the originating IP | Greg Sterndale | 2012-02-07 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #2632 from gsterndale/replace_trusted_proxies | José Valim | 2012-02-07 | 1 | -2/+13 |
|\ \ | | | | | | | Trusted proxies are configurable | ||||
| * | | Trusted proxies is replaced with a Regexp or appended to with a String | Greg Sterndale | 2012-02-07 | 1 | -2/+13 |
| |/ | |||||
* / | Failing test case that shows issue #736 should still be open. | Scott W. Bradley | 2012-02-06 | 1 | -0/+6 |
|/ | |||||
* | Fix url_for method's behavior when it is called with :controller option ↵ | kennyj | 2012-02-07 | 1 | -0/+33 |
| | | | | | | which starts with "/" from multiple nested controller. Closes #3864 | ||||
* | Revert "Deprecated multi args to http route methods" | Jeremy Kemper | 2012-02-05 | 1 | -2/+1 |
| | | | | | | | | | | Too painful to lose the compact shorthand form! This reverts commit e848c52535fa0f9488cdbdb3f1cedc7c7c02d643. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb | ||||
* | Add testcase for non english filename. Related to #2982. | kennyj | 2012-02-05 | 1 | -1/+6 |
| | |||||
* | Fix GH #4873. Allow swapping middleware of same class | kennyj | 2012-02-04 | 1 | -0/+6 |
| | |||||
* | Remove not used env[] call in routing_test. | Carlos Antonio da Silva | 2012-01-27 | 1 | -1/+0 |
| | | | The commit 4c321c6d42b6e35f9ead12eb1dccdead03c5abf4 removes the path_params variable assignment, actually the entire line is not used at all. | ||||
* | Fix warning. assigned but unused variable - path_params | kennyj | 2012-01-28 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4658 from pwim/unicode-paths | Aaron Patterson | 2012-01-25 | 1 | -0/+20 |
| | | | | Test for unicode path support | ||||
* | Deprecated multi args to http route methods | Aaron Patterson | 2012-01-23 | 1 | -1/+2 |
| | |||||
* | ActionDispatch::Cookies::CookieJar#deleted? predicate method. | Paul Annesley | 2012-01-24 | 1 | -0/+11 |
| | | | | | Necessary in controller tests to determine if the CookieJar will delete the given cookie. | ||||
* | Removed unused assigns from ActionView::Template::Error | brainopia | 2012-01-20 | 2 | -2/+2 |
| | | | | | They existed since initial rails commit by DHH but lost use a long time ago | ||||
* | Remove rescue_action from compatibility module and tests | Carlos Antonio da Silva | 2012-01-17 | 3 | -6/+0 |
| | |||||
* | Remove other old compatibility constants | Carlos Antonio da Silva | 2012-01-17 | 2 | -3/+3 |
| | |||||
* | Stub ip method of alternative request class | Sam Pohlenz | 2012-01-14 | 1 | -0/+4 |
| | |||||
* | Use a BodyProxy instead of including a Module that responds to close. | Santiago Pastorino | 2012-01-13 | 1 | -1/+12 |
| | | | | Closes #4441 if Active Record is disabled assets are delivered correctly | ||||
* | Fix routing test to use assert_equal | Carlos Antonio da Silva | 2012-01-06 | 1 | -2/+2 |
| | |||||
* | AP tests should inherit from AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Moved all the logger methods to active support logger | Karunakar (Ruby) | 2012-01-06 | 2 | -2/+2 |
| | | | | minor | ||||
* | Override respond_to? since we are also overriding method_missing. | José Valim | 2012-01-03 | 1 | -0/+7 |
| | |||||
* | remove ActiveSupport::Base64 in favor of ::Base64 | Sergey Nartimov | 2012-01-02 | 1 | -4/+4 |
| | |||||
* | remove checks for encodings availability | Sergey Nartimov | 2011-12-25 | 1 | -1/+1 |
| | |||||
* | deprecate String#encoding_aware? and remove its usage | Sergey Nartimov | 2011-12-24 | 3 | -10/+3 |
| | |||||
* | just use def setup | Aaron Patterson | 2011-12-21 | 1 | -1/+2 |
| | |||||
* | removed warning "warning: ambiguous first argument; put parentheses or even ↵ | Arun Agrawal | 2011-12-21 | 1 | -1/+1 |
| | | | | spaces" | ||||
* | Merge pull request #4079 from drogus/http_digest_issue | José Valim | 2011-12-21 | 1 | -0/+24 |
|\ | | | | | Fix http digest authentication when url ends with `/` or `?` | ||||
| * | Add original_fullpath and original_url methods to Request | Piotr Sarnacki | 2011-12-21 | 1 | -0/+24 |
| | | |||||
* | | Using uuid which is supported in 1.9 | Arun Agrawal | 2011-12-21 | 1 | -1/+1 |
|/ | | | Orignal commit #ada78066fdbccffb1da092a2470211fa252b3c99 | ||||
* | adding tests for #4029 | Aaron Patterson | 2011-12-19 | 1 | -1/+1 |
| | |||||
* | Add test for register_alias | Justin Campbell | 2011-12-17 | 1 | -0/+9 |
| |