aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Keep flash after component is rendered. Closes #2291.Scott Barron2005-09-271-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Have text helpers use built in Regexp.escape rather than home grown alternativeMarcel Molina2005-09-261-7/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3573@asus: jeremy | 2005-09-26 11:38:44 -0700Jeremy Kemper2005-09-262-2/+23
| | | | | | | | | | | | | | | Ticket 1507 - IE file uploads give the filename as a full Windows path, but Ruby on UNIX doesn't know how to File.basename('C:\\blah\blah.foo'). r3574@asus: jeremy | 2005-09-26 14:32:11 -0700 Get rid of constant redefine warning. r3575@asus: jeremy | 2005-09-26 14:33:07 -0700 Override the file upload's original_filename singleton method in CGIMethods.get_typed_value. r3576@asus: jeremy | 2005-09-26 14:33:49 -0700 Unit test overridden original_filename against normal filenames and full Windows paths. r3577@asus: jeremy | 2005-09-26 14:33:57 -0700 Update change log. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix open/save dialog in IE not opening files send with send_file/send_data, ↵Thomas Fuchs2005-09-251-1/+10
| | | | | | #2279 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that auto_discovery_link_tag couldn't take a string as the URLDavid Heinemeier Hansson2005-09-221-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Asserts now need html/document so it should require itDavid Heinemeier Hansson2005-09-212-9/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added small note about how longtext might be needed for large session dataDavid Heinemeier Hansson2005-09-201-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with send_file and WEBrick using stdout #1812David Heinemeier Hansson2005-09-202-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2274 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimized tag_options to not sort keys, which is no longer necessary when ↵David Heinemeier Hansson2005-09-206-22/+58
| | | | | | assert_dom_equal and friend is available #1995 [skae]. Added assert_dom_equal and assert_dom_not_equal to compare tags generated by the helpers in an order-indifferent manner #1995 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Request#domain caused an exception if the domain header wasn't ↵David Heinemeier Hansson2005-09-201-1/+2
| | | | | | set in the original http request #1795 [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the truncate() helper multi-byte safe (assuming $KCODE has been set to ↵Jamis Buck2005-09-191-1/+7
| | | | | | something other than "NONE") #2103 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix #2197David Heinemeier Hansson2005-09-171-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add "#:nodoc:" for ActionController::Routing::PathComponent::Result #2209 ↵David Heinemeier Hansson2005-09-171-1/+1
| | | | | | [l.francke@gmx.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2254 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make upload progress not throw JavaScript errors when there is no progress ↵David Heinemeier Hansson2005-09-161-1/+1
| | | | | | bar #2208 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2252 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only attempt to require Active Support if it hasnt been already #1959David Heinemeier Hansson2005-09-151-7/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache relative_url_root for all webservers, not just Apache #2193 [skae]David Heinemeier Hansson2005-09-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Speed up cookie use by decreasing string copying #2194 [skae]David Heinemeier Hansson2005-09-151-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed access to "Host" header with requests made by crappy old HTTP/1.0 ↵David Heinemeier Hansson2005-09-141-1/+1
| | | | | | clients #2124 [Marcel Molina] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More auto-link fixes (to include query strings in autolinked text)Jamis Buck2005-09-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix autolinking to not include trailing tags as part of the URLJamis Buck2005-09-131-1/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added easy assignment of fragment cache store through use of symbols for ↵David Heinemeier Hansson2005-09-135-38/+41
| | | | | | included stores (old way still works too) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved session options to SessionManagementDavid Heinemeier Hansson2005-09-132-20/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController::Base.session_store=, session_store, and ↵David Heinemeier Hansson2005-09-131-0/+20
| | | | | | session_options to make it easier to tweak the session options (instead of going straight to ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont log creation of view classDavid Heinemeier Hansson2005-09-121-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use session_id instead of deprecated sessidDavid Heinemeier Hansson2005-09-121-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make periodically_call_remote use type="text/javascript" on script tag #2171David Heinemeier Hansson2005-09-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#cycle to cycle over an array of values on each hit (useful ↵David Heinemeier Hansson2005-09-121-0/+82
| | | | | | for alternating row colors etc) #2154 [dave-ml@dribin.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that request.path never returns nil. Closes #1675Nicholas Seckar2005-09-111-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ability to specify Route Regexps for controllers. Closes #1917.Nicholas Seckar2005-09-111-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide Named Route's hash methods as helper methods. Closes #1744.Nicholas Seckar2005-09-111-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use send instead of module_eval #1873 [shugo]David Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed docs #1884David Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed docs #1886David Heinemeier Hansson2005-09-111-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split macros test into their own suiteDavid Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :multipart option to ActiveRecordHelper#form to make it possible to ↵David Heinemeier Hansson2005-09-111-1/+1
| | | | | | add file input fields #2034 [jstirk@oobleyboo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added in-place editing support in the spirit of auto complete with ↵David Heinemeier Hansson2005-09-117-123/+232
| | | | | | ActionController::Base.in_place_edit_for, JavascriptHelper#in_place_editor_field, and Javascript support from script.aculo.us #2038 [Jon Tirsen] Moved auto-completion and in-place editing into the Macros module and their helper counterparts into JavaScriptMacrosHelper git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont encourage custom url options to be called with symbol #2047David Heinemeier Hansson2005-09-111-14/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :disabled option to all data selects that'll make the elements ↵David Heinemeier Hansson2005-09-111-8/+12
| | | | | | inaccessible for change #2167, #253 [eigentone] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that TextHelper#auto_link_urls would include punctuation in the links ↵David Heinemeier Hansson2005-09-111-2/+2
| | | | | | #2166, #1671 [eigentone] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that number_to_currency(1000, {:precision => 0})) should return ↵David Heinemeier Hansson2005-09-091-0/+1
| | | | | | "$1,000", instead of "$1,000." #2122 [sd@notso.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored away all the legacy validate_options calls and replaced them with ↵David Heinemeier Hansson2005-09-091-9/+2
| | | | | | Hash#assert_valid_keys git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix docs #2136 [coffee2code]David Heinemeier Hansson2005-09-091-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow link_to_remote to use any DOM-element as the parent of the form ↵David Heinemeier Hansson2005-09-091-0/+7
| | | | | | elements to be submitted #2137 [erik@ruby-lang.nl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for overwrite_params #2146 [Michael Shuerig]David Heinemeier Hansson2005-09-091-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that render :partial would fail when :object was a Hash (due to ↵David Heinemeier Hansson2005-09-093-3/+6
| | | | | | backwards compatibility issues) #2148 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavascriptHelper#auto_complete_for to only include unique items #2153 ↵David Heinemeier Hansson2005-09-091-1/+1
| | | | | | [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that onclick would be overridden even when special features werent usedDavid Heinemeier Hansson2005-09-081-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed all AssetHelper methods to work with relative paths, such that ↵David Heinemeier Hansson2005-09-081-1/+1
| | | | | | javascript_include_tag('stdlib/standard') will look in /javascripts/stdlib/standard instead of '/stdlib/standard/' #1963 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* An explicit include ClassInheritableAttributes is no longer needed #1948 ↵David Heinemeier Hansson2005-09-081-2/+0
| | | | | | [Caleb Tennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid extending view instance with helper modules each request. Closes #1979Nicholas Seckar2005-09-082-18/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de