aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Set the original button value in an attribute of the button when using the ↵Jamis Buck2007-02-281-0/+2
| | | | | | :disable_with key with submit_tag git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* session_enabled? works with session :off. Closes #6680.Jeremy Kemper2007-02-271-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :port and :host handling to UrlRewriter (which unified url_for usage, ↵David Heinemeier Hansson2007-02-251-0/+2
| | | | | | regardless of whether it's called in view or controller) #7616 [alancfrancis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow send_file/send_data to use a registered mime type as the :type ↵David Heinemeier Hansson2007-02-251-0/+2
| | | | | | parameter #7620 [jonathan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow routing requirements on map.resource(s) (closes #7633) [quixoten]David Heinemeier Hansson2007-02-251-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie session store: empty and unchanged sessions don't write a cookie.Jeremy Kemper2007-02-251-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added helper(:all) as a way to include all helpers from app/helpers/**/*.rb ↵David Heinemeier Hansson2007-02-241-0/+2
| | | | | | in ApplicationController [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration tests: introduce methods for other HTTP methods. Closes #6353.Jeremy Kemper2007-02-221-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: better support for escaped values in route segments. Closes #7544.Jeremy Kemper2007-02-211-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce a cookie-based session store as the Rails default. Sessions ↵Jeremy Kemper2007-02-211-0/+2
| | | | | | typically contain at most a user_id and flash message; both fit within the 4K cookie size limit. A secure hash is included with the cookie to ensure data integrity (a user cannot alter his user_id without knowing the secret key included in the hash). If you have more than 4K of session data or don't want your data to be visible to the user, pick another session store. Cookie-based sessions are dramatically faster than the alternatives. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added .erb and .builder as preferred aliases to the now deprecated .rhtml ↵David Heinemeier Hansson2007-02-201-0/+2
| | | | | | and .rxml extensions [Chad Fowler]. This is done to separate the renderer from the mime type. .erb templates are often used to render emails, atom, csv, whatever. So labeling them .rhtml doesn't make too much sense. The same goes for .rxml, which can be used to build everything from HTML to Atom to whatever. .rhtml and .rxml will continue to work until Rails 3.0, though. So this is a slow phasing out. All generators and examples will start using the new aliases, though. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added caching option to AssetTagHelper#stylesheet_link_tag and ↵David Heinemeier Hansson2007-02-181-0/+13
| | | | | | AssetTagHelper#javascript_include_tag [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Work around the two connection per host browser limit: use asset%d.myapp.com ↵Jeremy Kemper2007-02-181-0/+2
| | | | | | 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
* Added default mime type for CSS (Mime::CSS) [DHH]David Heinemeier Hansson2007-02-181-0/+2
| | | | 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-171-0/+2
| | | | | | 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-1/+1
| | | | | | 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-0/+2
| | | | | | the log [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Mime::Type convenience methods to check the current mime type. [Rick]Rick Olson2007-02-151-0/+9
| | | | 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/+0
| | | | | | 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-101-0/+2
| | | | | | #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-0/+2
| | | | | | 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
* Fix that FormTagHelper#submit_tag using :disable_with should trigger the ↵David Heinemeier Hansson2007-02-061-1/+3
| | | | | | onsubmit handler of its form if available [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix #render_file so that TemplateError is called with the correct params and ↵Rick Olson2007-02-051-0/+2
| | | | | | 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-041-0/+3
| | | | | | | | #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-041-0/+2
| | | | | | template_root. Closes #2754 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick]Rick Olson2007-02-041-0/+2
| | | | 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-041-0/+6
| | | | | | #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-0/+2
| | | | | | 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/+2
| | | | 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-0/+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/+2
| | | | | | :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-0/+2
| | | | | | 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-0/+4
| | | | 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-0/+2
| | | | | | 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-0/+2
| | | | 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-0/+2
| | | | | | 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-0/+2
| | | | | | collection routes. Closes #7229. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove deprecated assertions.Jeremy Kemper2007-01-281-0/+2
| | | | 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-0/+2
| | | | | | 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-0/+2
| | | | 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-0/+2
| | | | 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-0/+2
| | | | | | 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
* Autolinking recognizes trailing and embedded . , : ; Closes #7354.Jeremy Kemper2007-01-241-0/+2
| | | | 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-0/+2
| | | | | | 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-191-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Modernize cookie testing code, and increase coverage (Heckle++) #7101 [Kevin ↵Rick Olson2007-01-171-0/+2
| | | | | | Clark] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Test Coverage for ↵Rick Olson2007-01-171-0/+2
| | | | | | ActionController::Routing::Route#matches_controller_and_action? (Heckle++) #7115 [Kevin Clark] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Heckling ActionController::Resources::Resource revealed that set_prefixes ↵Rick Olson2007-01-171-0/+2
| | | | | | didn't break when :name_prefix was munged. #7081 [Kevin Clark] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix #distance_of_time_in_words to report accurately against the Duration ↵Rick Olson2007-01-171-0/+2
| | | | | | 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-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de