aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added caching option to AssetTagHelper#stylesheet_link_tag and ↵David Heinemeier Hansson2007-02-182-19/+154
| | | | | | AssetTagHelper#javascript_include_tag [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow people to set their own etags, if they want more control over the ↵David Heinemeier Hansson2007-02-181-2/+2
| | | | | | process (closes #7580) [] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add request protocol to asset host if not given. Prefer setting asset host ↵Jeremy Kemper2007-02-181-3/+10
| | | | | | as hostname only, no request protocol. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Work around the two connection per host browser limit: use asset%d.myapp.com ↵Jeremy Kemper2007-02-181-32/+66
| | | | | | to distribute asset requests among asset[0123].myapp.com. Use a DNS wildcard or CNAMEs to map these hosts to your asset server. See http://www.die.net/musings/page_load_time/ for background. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Etagging ignores appended and block responses.Jeremy Kemper2007-02-181-9/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added default mime type for CSS (Mime::CSS) [DHH]David Heinemeier Hansson2007-02-181-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that rendering will automatically insert the etag header on 200 OK ↵David Heinemeier Hansson2007-02-172-0/+22
| | | | | | responses. The etag is calculated using MD5 of the response body. If a request comes in that has a matching etag, the response will be changed to a 304 Not Modified and the response body will be set to an empty string. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added X-Runtime to all responses with the request run time [DHH] (rename ↵David Heinemeier Hansson2007-02-171-7/+6
| | | | | | from X-Benchmark) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added X-Benchmark to all responses with the same benchmark data as goes into ↵David Heinemeier Hansson2007-02-161-5/+10
| | | | | | the log [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* In tests, content_type can be nil, which would disturb accepts/formatDavid Heinemeier Hansson2007-02-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Mime::Type convenience methods to check the current mime type. [Rick]Rick Olson2007-02-152-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [6086] and [6087] since they caused a major regression with ↵Jeremy Kemper2007-02-101-2/+2
| | | | | | functional tests in 1.2.2. References #7372. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance: patch cgi/session to require digest/md5 once rather than per ↵Jeremy Kemper2007-02-102-0/+31
| | | | | | #create_new_id. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a :url_based_filename => true option to ↵Thomas Fuchs2007-02-091-1/+4
| | | | | | ActionController::Streaming::send_file, which allows URL-based filenames. [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More Safari appeasementDavid Heinemeier Hansson2007-02-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Safari requires an explicit submitDavid Heinemeier Hansson2007-02-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that FormTagHelper#submit_tag using :disable_with should trigger the ↵David Heinemeier Hansson2007-02-061-1/+6
| | | | | | onsubmit handler of its form if available [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rename #lookup_template_base_path_for to #find_base_path_for in ↵Rick Olson2007-02-061-1/+1
| | | | | | ActionView::Base [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix #render_file so that TemplateError is called with the correct params and ↵Rick Olson2007-02-051-5/+4
| | | | | | you don't get the WSOD. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix issue with deprecation messing up #template_root= usage. Add ↵Rick Olson2007-02-042-5/+21
| | | | | | | | #prepend_view_path and #append_view_path to allow modification of a copy of the superclass' view_paths. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow Controllers to have multiple view_paths instead of a single ↵Rick Olson2007-02-043-34/+75
| | | | | | template_root. Closes #2754 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ ↵David Heinemeier Hansson2007-02-041-1/+1
| | | | | | [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick]Rick Olson2007-02-041-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix form_for example in ActionController::Resources documentation. Closes ↵Rick Olson2007-02-043-7/+38
| | | | | | #7362 [gnarg], Added enhanced docs to routing assertions. Closes #7359 [Rob Sanheim], improve error message for Routing for named routes. Closes #7346 [Rob Sanheim] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that the string returned by TextHelper#truncate is actually a ↵David Heinemeier Hansson2007-01-311-1/+1
| | | | | | string, not a char proxy -- that should only be used internally while working on a multibyte-safe way of truncating [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormBuilder#submit as a delegate for FormTagHelper#submit_tag [DHH]David Heinemeier Hansson2007-01-291-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* TestSession supports indifferent access so session['foo'] == session[:foo] ↵Jeremy Kemper2007-01-281-2/+2
| | | | | | in your tests. Closes #7372. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow Routes to generate all urls for a set of options by specifying ↵Nicholas Seckar2007-01-281-0/+9
| | | | | | :generate_all => true. References #1739. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change the query parser to map empty GET params to "" rather than nil. ↵Nicholas Seckar2007-01-281-1/+1
| | | | | | Closes #5694. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* date_select and datetime_select take a :default option. Closes #7052.Jeremy Kemper2007-01-281-1/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* select :multiple => true suffixes the attribute name with [] unless already ↵Jeremy Kemper2007-01-281-1/+1
| | | | | | suffixed. Closes #6977. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve routes documentation. Closes #7095.Jeremy Kemper2007-01-281-15/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* mail_to :encode => 'hex' also encodes the mailto: part of the href attribute ↵Jeremy Kemper2007-01-281-2/+10
| | | | | | as well as the linked email when no name is given. Closes #2061. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource member routes require :id, eliminating the ambiguous overlap with ↵Jeremy Kemper2007-01-281-37/+45
| | | | | | collection routes. Closes #7229. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵Jeremy Kemper2007-01-2825-58/+57
| | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Test::Unit::TestCase#clean_backtraceJeremy Kemper2007-01-281-19/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove deprecated assertions.Jeremy Kemper2007-01-282-231/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change session restoration to allow namespaced models to be autoloaded. ↵Nicholas Seckar2007-01-281-2/+3
| | | | | | Closes #6348. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix doubly appearing parameters due to string and symbol mixups. Closes #2551.Nicholas Seckar2007-01-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix overly greedy rescues when loading helpers. Closes #6268Nicholas Seckar2007-01-281-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed NumberHelper#number_with_delimiter to use "." always for splitting the ↵David Heinemeier Hansson2007-01-261-5/+5
| | | | | | original number, not the delimiter parameter (closes #7389) [ceefour] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nodoc the irrelevant (from 1.2)David Heinemeier Hansson2007-01-265-17/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add error_messages and error_message_on to the default FormBuilder. Closes ↵Michael Koziarski2007-01-261-0/+8
| | | | | | #6939 [nik.wakelin] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Autolinking recognizes trailing and embedded . , : ; Closes #7354.Jeremy Kemper2007-01-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make TextHelper::auto_link recognize URLs with colons in path correctly, ↵Thomas Fuchs2007-01-211-14/+14
| | | | | | fixes #7268 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk to script.aculo.us 1.7.0Thomas Fuchs2007-01-192-86/+86
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update prototype.js to [5985], fixes content-type issue with simulated HTTP ↵Thomas Fuchs2007-01-181-8/+9
| | | | | | methods git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix #distance_of_time_in_words to report accurately against the Duration ↵Rick Olson2007-01-171-3/+3
| | | | | | class. #7114 [eventualbuddha] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor #form_tag to allow easy extending. [Rick]Rick Olson2007-01-171-21/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0Sam Stephenson2007-01-171-126/+214
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de