aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Deprecation: remove deprecated url_for(:symbol, *args) and ↵Jeremy Kemper2007-03-135-58/+8
| | | | | | redirect_to(:symbol, *args) controller methods. Use named routes instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated update_element_function, start_form_tag, and ↵Jeremy Kemper2007-03-136-122/+4
| | | | | | end_form_tag. Use RJS and form_tag instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated human_size helper alias. Use ↵Jeremy Kemper2007-03-133-19/+10
| | | | | | number_to_human_size instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated link_to_image and link_image_to methods. Use ↵Jeremy Kemper2007-03-133-121/+66
| | | | | | link_to(image_path(...), url). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: privatize deprecated render_partial and ↵Jeremy Kemper2007-03-134-50/+47
| | | | | | render_partial_collection methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove toplevel components directory and ↵Jeremy Kemper2007-03-133-64/+25
| | | | | | uses_component_template_root. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated dependency methods.Jeremy Kemper2007-03-133-68/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated request methods.Jeremy Kemper2007-03-134-45/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated redirect methods.Jeremy Kemper2007-03-134-20/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated instance variables.Jeremy Kemper2007-03-1335-142/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Credit Dan by name rather than nick.Jeremy Kemper2007-03-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Consistent public/protected/private visibility for chained methods. Closes ↵Jeremy Kemper2007-03-135-73/+80
| | | | | | #7813. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adjust test for unsorted Array#to_query. References #7756.Jeremy Kemper2007-03-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* form_options_helper refactoring for clarity. Closes #7787.Jeremy Kemper2007-03-111-17/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6377 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give time_ago_in_words test some DST slop.Jeremy Kemper2007-03-111-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of using File.atomic_write in the asset_tag_helper.rb as its ↵David Heinemeier Hansson2007-03-071-3/+3
| | | | | | still half-baked. Most importantly, it creates files with different permissions than File.open/write git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Caching shouldnt include the host stillDavid Heinemeier Hansson2007-03-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cached versions of concatted js/css asset tags have to be written out ↵Tobias Lütke2007-03-061-4/+4
| | | | | | atomically. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prefer MIME constants to strings. Closes #7707.Jeremy Kemper2007-03-0611-37/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow array and hash query parameters. Array route parameters are ↵Jeremy Kemper2007-03-064-34/+68
| | | | | | converted/to/a/path as before. References #6765, #7462. Closes #7047. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a #dbman attr_reader for CGI::Session and make ↵Rick Olson2007-03-063-6/+10
| | | | | | | | CGI::Session::CookieStore#generate_digest public so it's easy to generate digests using the cookie store's secret. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ignore odd charset declaration in CONTENT_TYPE header which would throw off ↵Tobias Lütke2007-03-052-1/+21
| | | | | | mime type lookup. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sans request pleaseDavid Heinemeier Hansson2007-03-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#url that returns the complete URL used for the request [DHH]David Heinemeier Hansson2007-03-042-50/+60
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added URL escaping of user and password when used through the UrlWriterDavid Heinemeier Hansson2007-03-042-2/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sort asset sources for consistent results across filesystems. Closes #7615.Jeremy Kemper2007-03-041-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6308 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract dynamic scaffolding into a plugin. Closes #7700.Jeremy Kemper2007-03-043-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added user/password options for url_for to add http authentication in a URL ↵David Heinemeier Hansson2007-03-034-16/+38
| | | | | | [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6302 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that FormTagHelper#text_area_tag should disregard :size option if it's ↵David Heinemeier Hansson2007-03-034-2/+10
| | | | | | not a string [Brendon Davidson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie store: use OpenSSL::HMAC instead of basic hash. Introduce :secret ↵Jeremy Kemper2007-03-033-35/+88
| | | | | | block and :digest option. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie store: test that >4K raises CookieOverflow and that unverifiable ↵Jeremy Kemper2007-03-032-14/+47
| | | | | | cookies are automatically deleted. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Options are more often than not meaningless babble, just go nondescript insteadDavid Heinemeier Hansson2007-03-011-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set the original button value in an attribute of the button when using the ↵Jamis Buck2007-02-283-1/+4
| | | | | | :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-273-1/+14
| | | | 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-253-2/+32
| | | | | | 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
* Doc fixesDavid Heinemeier Hansson2007-02-251-36/+53
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow send_file/send_data to use a registered mime type as the :type ↵David Heinemeier Hansson2007-02-253-3/+7
| | | | | | 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-253-8/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed broken testDavid Heinemeier Hansson2007-02-251-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved perform_caching test set up into test's setup to fix a dependence ↵David Heinemeier Hansson2007-02-251-1/+4
| | | | | | fragility (closes #7640) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie session store: empty and unchanged sessions don't write a cookie.Jeremy Kemper2007-02-253-2/+19
| | | | 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-244-6/+45
| | | | | | 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-223-2/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CGI escape the session cookie.Jeremy Kemper2007-02-222-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Session configuration in config/environment.rb instead of ↵Jeremy Kemper2007-02-221-0/+3
| | | | | | app/controllers/application.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable active record cache automatically for all actionsTobias Lütke2007-02-211-1/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added subdirectory testDavid Heinemeier Hansson2007-02-211-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that the filesystem is not involved with asset hostingDavid Heinemeier Hansson2007-02-212-12/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: better support for escaped values in route segments. Closes #7544.Jeremy Kemper2007-02-213-6/+55
| | | | 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-215-3/+257
| | | | | | 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