aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Move the cookie store to use the MessageVerifier class.Michael Koziarski2008-11-231-18/+14
| | | | This removes support for ancient cookie-store generated cookies which were double escaped.
* Change the forgery token implementation to just be a simple random string.Michael Koziarski2008-11-231-39/+7
| | | | This deprecates the use of :secret and :digest which were only needed when we were hashing session ids.
* Allow helpers directory to be overridden via ↵Sam Pohlenz2008-11-231-6/+8
| | | | | | ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Use a relative require for bundled rack libJeremy Kemper2008-11-221-1/+2
|
* Vendor rack 0.4.0Joshua Peek2008-11-2241-0/+4224
|
* write_fragment returns content if caching is disabled [#846 state:resolved]Joshua Peek2008-11-221-11/+11
|
* Add TestResponse#client_error? to check for 4xx status codes [#851 ↵Lance Ivy2008-11-221-1/+6
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-221-10/+4
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
* Let ApplicationController stay unloaded for as long as possibleDavid Heinemeier Hansson2008-11-221-3/+1
|
* Fix straggling references to Test::Unit::TestCaseJeremy Kemper2008-11-201-8/+4
|
* Revert "Simplify benchmarking and rescue". Need a different approach.Pratik Naik2008-11-203-63/+68
| | | | This reverts commit 3be9134d1cb882f4be3be8d57b2f8bde5ecde887.
* Simplify benchmarking and rescuePratik Naik2008-11-203-68/+63
|
* Remove deprecated ActionController::Base#assign_default_content_type_and_charsetPratik Naik2008-11-191-5/+0
|
* Remove deprecated render_component. Please use the plugin from ↵Pratik Naik2008-11-193-171/+2
| | | | http://github.com/rails/render_component/tree/master
* Let polymorphic_path treat an array contains single name as without array ↵Hiroshi Saito2008-11-191-0/+1
| | | | | | [#1386 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Make optimized named routes respect all reserved options and tie it into ↵Gabe da Silveira2008-11-182-6/+3
| | | | | | UrlRewriter::RESERVED_OPTIONS so it's DRY Signed-off-by: Michael Koziarski <michael@koziarski.com>
* BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵David Heinemeier Hansson2008-11-171-8/+1
| | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH]
* Add text/plain to the browser_generated_types array as webkit and gecko can ↵Michael Koziarski2008-11-161-2/+2
| | | | | | | | submit them. For more information see: http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/
* Merge branch 'master' into testingJeremy Kemper2008-11-156-44/+105
|\
| * Merge docrails.Pratik Naik2008-11-141-3/+3
| |
| * Make inheritance of map.resources :only/:except options behave more predictablyTom Stuart2008-11-141-19/+14
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Make polymorphic_url compact given array [#1317 state:committed]hiroshi2008-11-141-1/+1
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Fix map.resources to always generate named routes if they're neededTom Stuart2008-11-131-6/+7
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Instead of overriding html_types, base the verification on ↵Michael Koziarski2008-11-131-4/+17
| | | | | | | | | | | | | | | | browser_generated_types. Also Deprecate the old unverifiable types. [#1145 state:committed]
| * fix two MimeType failing test casesrick2008-11-131-1/+4
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Changed request forgery protection to only worry about HTML-formatted ↵Jeff Cohen2008-11-133-3/+4
| | | | | | | | | | | | content requests. Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Add :only/:except options to map.resourcesTom Stuart2008-11-121-37/+85
| | | | | | | | | | | | | | This allows people with huge numbers of resource routes to cut down on the memory consumption caused by the generated code. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1215 state:committed]
* | Merge branch 'master' into testingJeremy Kemper2008-11-114-34/+53
|\|
| * Eliminate excess Regexp creation due to capture countingJeremy Kemper2008-11-102-4/+26
| |
| * Pare down object creation during route buildingJeremy Kemper2008-11-102-30/+27
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-071-1/+0
|\|
| * Simplify dispatcher callbacks to eliminate unnecessary stale thread purging. ↵Nick Sieger2008-11-081-1/+0
| | | | | | | | | | | | [Nick Sieger, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Move controller assertions from base TestCase to AC:: and AV::TestCaseJeremy Kemper2008-11-073-36/+31
| |
* | Remove controller assertions from Test::Unit::TestCase. Use ↵Jeremy Kemper2008-11-073-71/+58
|/ | | | ActionController::TestCase.
* Don't eval recognize_optimized use __FILE__ and __LINE__ in the optimised ↵Aliaksey Kandratsenka2008-11-061-1/+1
| | | | | | | | | recognition code. It produces meaningless line numbers. This also easily produces line numbers greater than recognition_optimization.rb have, which causes rcov to trash memory outside of it's coverage counting arrays. [#1319 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix stupid typoMichael Koziarski2008-11-061-1/+1
|
* Fixed the sanitize helper to avoid double escaping already properly escaped ↵David Heinemeier Hansson2008-11-061-1/+1
| | | | entities [#683 state:committed]
* Dont bother logging the parameters hash if there are no parametersDavid Heinemeier Hansson2008-11-061-1/+1
|
* Dont log the _method attribute either. Its already available in the headerDavid Heinemeier Hansson2008-11-043-21/+25
|\
| * Remove unused debug_routesPratik Naik2008-11-021-6/+0
| |
| * Dont dup params twice when filter_parameters is presentPratik Naik2008-11-021-2/+2
| |
| * Dont document internalsPratik Naik2008-11-021-3/+0
| |
| * Backwards compatibility fixes for relative_url_rootMichael Koziarski2008-11-022-6/+4
| | | | | | | | | | * Make the old deprecated relative_url_root still set the value as it's still used by mongrel * Set the default from the ENV value when the file is required, not at runtime.
| * Merge with docrailsPratik Naik2008-11-021-0/+3
| |
| * Cleaned up route optimisation guard condition generation code as it was ↵Tom Lea2008-11-011-7/+19
| | | | | | | | | | | | | | | | getting a little messy. Add additional condition to handle the case where default_url_options is only defined in the controller, not the view. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* | Dont log the _method attribute either. Its already available in the headerDavid Heinemeier Hansson2008-11-041-2/+2
|/
* Simplified the logging format for parameters (don't include controller, ↵David Heinemeier Hansson2008-11-011-6/+23
| | | | action, and format as duplicates) [DHH]
* Make sure habtm use class variable to list association valid keysLuca Guidi2008-11-011-1/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1310 state:committed]
* Remove the logging of the Session ID when the session store is CookieStore [DHH]David Heinemeier Hansson2008-11-011-1/+5
|
* Accidently nixed a doc headerDavid Heinemeier Hansson2008-11-011-0/+1
|