aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Fix some warnings on 3-2-stablekennyj2012-02-211-1/+0
|
* Remove fixture files with Windows incompatible filenamesAndrew White2012-02-201-27/+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 PCHARAndrew White2012-02-171-0/+28
| | | | | | | | | | | 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
* backporting #4918 to 3.2 stable; adding extra test for accept header given ↵Aditya Sanghi2012-02-171-0/+12
| | | | by googlebot
* Merge pull request #4988 from kennyj/fix_4720-3Aaron Patterson2012-02-101-0/+26
| | | | Fix GH #4720. Routing problem with nested namespace and already camelized controller option.
* Merge pull request #4908 from kennyj/fix_3864José Valim2012-02-061-0/+33
| | | | Fix url_for method's behavior. GH #3684.
* Merge pull request #4879 from kennyj/fix_4873José Valim2012-02-041-0/+6
| | | | Fix GH #4873. Allow swapping same class middleware.
* Test for unicode path supportPaul McMahon2012-01-251-0/+20
| | | | This is currently broken due to a bug in journey.
* Deprecate AC::UnknownError and AC::DoubleRenderErrorCarlos Antonio da Silva2012-01-172-3/+3
| | | | | Use the constants AbstractController::ActionNotFound and AbstractController::DoubleRenderError respectively instead.
* Merge pull request #4462 from spohlenz/fix-routing-testsAaron Patterson2012-01-161-0/+4
| | | | Stub ip method of alternative request class in router tests
* Use a BodyProxy instead of including a Module that responds to close.Santiago Pastorino2012-01-131-1/+12
| | | | Closes #4441 if Active Record is disabled assets are delivered correctly
* Add original_fullpath and original_url methods to RequestPiotr Sarnacki2012-01-101-0/+24
|
* Override respond_to? since we are also overriding method_missing.José Valim2012-01-031-0/+7
|
* deprecate ActiveSupport::Base64Sergey Nartimov2012-01-031-4/+4
| | | | extend and define ::Base64 if needed
* last named route wins. fixes #4164Aaron Patterson2011-12-281-1/+1
| | | | | | This differs from route recognition where first recognized route wins. This will not be supported in Rails 4.0 so that route recognition and generation rules are consistent.
* adding tests for #4029Aaron Patterson2011-12-191-1/+1
|
* Add test for register_aliasJustin Campbell2011-12-171-0/+9
|
* Add test for type aliasesJustin Campbell2011-12-171-0/+11
|
* Allow symbols to be passed for extension aliasesJustin Campbell2011-12-171-0/+11
|
* Do not raise an exception if an invalid route was generated automatically.José Valim2011-12-161-0/+1
|
* ShowExceptions should understand X-Cascade responses from exceptions app.José Valim2011-12-161-0/+11
|
* Improve the specs on exceptions app.José Valim2011-12-161-1/+14
|
* Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-161-1/+1
|
* Get rid of the close checks since we cannot reliably close the session anyway.José Valim2011-12-161-97/+1
|
* Warning removed "warning: (...) interpreted as grouped expression"Arun Agrawal2011-12-161-1/+1
|
* Close the response body on cascade pass, closes #3975.José Valim2011-12-141-3/+22
|
* log exception backtrace when all backtrace lines silencedSergey Nartimov2011-12-131-0/+13
|
* Fix failing AP tests.José Valim2011-12-131-1/+1
|
* use Array#join so that file encoding doesn't impact returned string.Aaron Patterson2011-12-121-0/+9
| | | | Fixes #3957
* Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-121-0/+9
| | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
* Allow reloader to be configured.José Valim2011-12-121-0/+13
|
* Use default charset when we read content type without charset.kennyj2011-12-071-0/+11
|
* Fix failing cascade exception.José Valim2011-12-031-0/+9
|
* Remove unnecessary test setup.José Valim2011-12-011-6/+1
|
* Split and improve show and debug exceptions middlewares.José Valim2011-12-012-76/+130
|
* Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-011-2/+2
|
* put backtrace_cleaner to envlest2011-11-281-0/+7
|
* middlewares should use logger from envlest2011-11-253-20/+19
|
* configuration option to always write cookielest2011-11-231-2/+2
|
* Remove unreachable code, and add additional testcases.kennyj2011-11-242-0/+24
|
* refactor show exceptions testslest2011-11-221-42/+19
|
* add ActionController::Metal#show_detailed_exceptions?lest2011-11-221-19/+26
|
* Refactoring the redirect method for the router api.Aaron Patterson2011-11-181-0/+5
|
* remove the :path feature to redirects, since it cannot workAaron Patterson2011-11-181-33/+0
|
* require that all blocks have arity of 2Aaron Patterson2011-11-181-1/+1
|
* add test for bug fixed in 4f2bf64Andre Arko2011-11-141-0/+5
|
* change tests to expect X-F-F over REMOTE_ADDRAndre Arko2011-11-131-2/+2
|
* Warnings removed from RequestIdTestArun Agrawal2011-10-221-2/+2
|
* Add ActionDispatch::Session::CacheStore as a generic way of storing sessions ↵Brian Durand2011-10-211-0/+181
| | | | in a cache.
* Make tests run on 1.8.x, add integration setup.José Valim2011-10-191-39/+45
|