aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve view rendering performance in development mode and reinstate ↵Andrew White2009-02-092-33/+24
| | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Update bundled Rack for Ruby 1.9 spec changesJoshua Peek2009-02-073-10/+12
|
* Deprecate ActionController::Response#set_cookie :http_only option infavor of ↵Joshua Peek2009-02-071-1/+1
| | | | :httponly
* ~ backup files don't clobber original templates [#1818 state:resolved]Joshua Peek2009-02-071-0/+1
|
* Render implicit html template when xhr request now supports localization ↵José Valim2009-02-072-0/+20
| | | | | | [#1886 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Temporarily bundle Rack 1.0 prerelease for testingJoshua Peek2009-02-072-5/+4
|
* Added support to dashed locales in templates localization [#1888 state:resolved]José Valim2009-02-064-7/+11
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure session id is set in session options hash [#1880 state:resolved]Joshua Peek2009-02-062-1/+36
|
* Test AR integration with jdbcsqlite3 adapter on jrubyJeremy Kemper2009-02-061-1/+2
|
* Ruby 1.9 compat: change encoding of action_view/renderable to utf-8, so erb ↵Eugene Pimenov2009-02-062-0/+11
| | | | | | | | templates can use utf-8 properly [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 compat: call bytesize for content_lengthEugene Pimenov2009-02-061-0/+15
| | | | | | [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allowing an object to be passed explicitly to a fields_for with ↵Pascal Ehlert2009-02-061-0/+9
| | | | | | | nested_attributes on one-to-one associations Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1849 state:committed]
* implicitly rendering a js response should not use the default layout [#1844 ↵Adam McCrea2009-02-052-1/+11
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added tests from Andrew Whites fix [#1385 state:committed]David Heinemeier Hansson2009-02-051-0/+21
|
* Fix a syntax error in current_page?() that was prevent matches against URL's ↵chris finne2009-02-051-1/+13
| | | | | | with multiple query parameters [#1868 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-0316-2486/+2443
|
* Added localized rescue (404.da.html) [#1835 state:committed]José Valim2009-02-022-0/+26
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Use Rack::Head middleware to ensure the body is discarded for HEAD requestsJoshua Peek2009-02-011-0/+14
|
* Remove ancient tests for CGI parsing bugJoshua Peek2009-01-311-30/+0
|
* Removed Prototype specific Safari 2 AJAX hack.Joshua Peek2009-01-311-6/+0
| | | | The normal null character stripper is still there.
* Removed map.resources :only/:except inheritanceTarmo Tänav2009-02-011-15/+28
| | | | | | | | | | It's very rare for these options to apply identically to nested child resources, and with this inheritance on it's very difficult to have a child resource with more actions than the parent. This reverts commit 2ecec6052f7f290252a9fd9cc27ec804c7aad36c. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1826 state:committed]
* Add support for nested object forms to ActiveRecord and the helpers in ↵Eloy Duran2009-02-011-5/+136
| | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
* Fix unsorted array comparisonJeremy Kemper2009-01-312-2/+2
|
* Controller, response, and request should all refer to same session, even ↵Scott Taylor2009-01-291-0/+23
| | | | | | after a call to session_reset [#1823 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Deprecation tests for f17c876 [#1801 state:resolved]Mike Gaffney2009-01-291-0/+58
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added grouped_options_for_select helper method for wrapping option tags in ↵Jon Crawford2009-01-291-0/+26
| | | | | | optgroups. [#977 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Implement HTTP Digest authentication. [#1230 state:resolved] [Gregg Kellogg, ↵Gregg Kellogg2009-01-291-0/+130
| | | | | | Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move basic auth test controller inside the test classPratik Naik2009-01-291-21/+21
|
* Using the highlight helper on text with html shouldn't highlight text inside ↵Dan Weinand2009-01-281-0/+23
| | | | | | html attributes. [#1302 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure selected option is not ignored for collection_select. [#1037 ↵Daniel Rodríguez Troitiño2009-01-281-0/+16
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure that when UrlWriter is included in multiple classes, the ↵Nathan de Vries2009-01-281-1/+16
| | | | | | default_url_options of one don't affect the other. [#1277 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Session cookie header should always be set if :expire_after option is specifiedPratik Naik2009-01-281-4/+32
|
* Restore implicit rendering for XHR requests that want a HTML template [#1590 ↵Joshua Peek2009-01-272-0/+9
| | | | state:resolved]
* Dont use Memoizable for ActionController::RequestPratik Naik2009-01-272-42/+42
|
* Improve i18n support for number_to_human_size helper:Yaroslav Markin2009-01-271-5/+19
| | | | | | | | | | | | * now using pluralization properly * storage unit translations moved to number.human.storage_units.units * introduced number.human.storage_units.format for languages that do not follow "{{number}} {{unit}}" format (Japanese) NOTE: I18n table changed, you will need to update your translations. [#1634 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add localized templatesJoshua Peek2009-01-253-0/+20
| | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* Remove the irrelevant fixture added in fe6ffce51dc16285094be49244b26591956c2dd6Pratik Naik2009-01-241-8/+0
|
* Make sure inner scope conditions get a preference over the outer onesPratik Naik2009-01-241-1/+9
|
* Allow empty files to be uploadedJoshua Peek2009-01-203-3/+21
|
* Add MiddlewareStack#swapJoshua Peek2009-01-201-0/+6
| | | | config.middleware.swap ActionController::Session::CookieStore, MySessionStore
* Don't let empty Tempfiles come through as uploaded files [#1785 state:resolved]Mislav Marohnić2009-01-202-0/+16
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Restore cookie store httponly default to true. Remove extraneous dup of ↵Cody Fauser2009-01-201-2/+2
| | | | | | options on initialization [#1784 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Improve HTTP Basic authentication testsPratik Naik2009-01-182-54/+88
|
* Build query string and POST params parser on top of Rack::Request. Also ↵Joshua Peek2009-01-172-4/+4
| | | | switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [#1661 state:resolved]
* Add test coverage for fixing Safari 2 trailing null characterJoshua Peek2009-01-171-0/+12
|
* Fix date_select within fields_for with an index [#1666 state:resolved] ↵Josh2009-01-161-15/+80
| | | | | | [Josh, Frederick Cheung] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Update multipart tests to expose (another) bug in Rack's multipart parserJoshua Peek2009-01-132-2/+2
|
* Add RewindableInput wrapper to fix issues with middleware that impolitely ↵Joshua Peek2009-01-132-2/+80
| | | | eat up non-rewindable input
* Explicitly read as binary in multipart_body for Windows [#1065 state:resolved]Bryan Ash2009-01-131-7/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Revert "HTTP Digest authentication [#1230 state:resolved]"Pratik Naik2009-01-132-161/+0
| | | | | | | | | This reverts commit 45dee3842d68359a189fe7c0729359bd5a905ea4. Reasons : 1. The code is not working in it's current state 2. Should not be using exceptions for flow control