aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that strip_tags blows up with invalid html (closes #9730) [lifo]David Heinemeier Hansson2007-09-291-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ability to disable request forgery protection, disable it in test mode ↵Rick Olson2007-09-283-5/+5
| | | | | | by default. Closes #9693 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-285-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Protect button_to behind protect_from_forgery (closes #9675) [lifo]David Heinemeier Hansson2007-09-251-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stop rdoc from whiningDavid Heinemeier Hansson2007-09-241-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include asset host in public path cache key. Clear cache between asset tag ↵Jeremy Kemper2007-09-241-9/+13
| | | | | | tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache computed public asset paths.Jeremy Kemper2007-09-241-16/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache more file existence checks. Flip-flop escaping.Jeremy Kemper2007-09-241-9/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache file existence checks and the list of all stylesheet sources. Manually ↵Jeremy Kemper2007-09-241-7/+10
| | | | | | escape tag attributes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The tag helper may bypass escaping.Jeremy Kemper2007-09-241-17/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7608 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache asset ids.Jeremy Kemper2007-09-241-3/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* escape_once uses negative lookahead to avoid double-escaping instead of a ↵Jeremy Kemper2007-09-241-6/+1
| | | | | | second gsub git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename some RequestForgeryProtection methods. The class method is now ↵Rick Olson2007-09-233-3/+3
| | | | | | #protect_from_forgery, and the default parameter is now 'authenticity_token'. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7596 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* move TextHelper#sanitize config options to the TextHelper module so it can ↵Rick Olson2007-09-231-1/+146
| | | | | | be included and used with any class, not just ActionView::Base git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge csrf_killer plugin into rails. Adds RequestForgeryProtection model ↵Rick Olson2007-09-234-21/+42
| | | | | | that verifies session-specific _tokens for non-GET requests. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Secure #sanitize, #strip_tags, and #strip_links helpers against xss attacks. ↵Rick Olson2007-09-231-38/+98
| | | | | | Closes #8877. [Rick, lifofifo, Jacques Distler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavaScriptHelper#escape_javascript to also escape closing tags (closes ↵David Heinemeier Hansson2007-09-221-1/+1
| | | | | | #8023) [rubyruy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TextHelper#word_wrap for multiline strings with extra carrier returns ↵David Heinemeier Hansson2007-09-221-1/+3
| | | | | | (closes #8663) [seth] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use rel="stylesheet" in lowercase as prescribed by XHTML standards (closes ↵David Heinemeier Hansson2007-09-221-22/+22
| | | | | | #8910) [RSL] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #9414) [Henrik N]David Heinemeier Hansson2007-09-221-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that setting the :host option in url_for would automatically turn off ↵David Heinemeier Hansson2007-09-221-2/+3
| | | | | | :only_path (since :host would otherwise not be shown) (closes #9586) [Bounga] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#label (closes #8641) [jcoglan]David Heinemeier Hansson2007-09-221-1/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added AtomFeedHelper (slightly improved from the atom_feed_helper plugin) [DHH]David Heinemeier Hansson2007-09-211-0/+111
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CaptureHelper#content_for to work with the optional content parameter ↵David Heinemeier Hansson2007-09-211-3/+9
| | | | | | instead of just the block #9434 [sandofsky/wildchild] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Autolink behaves well with emails embedded in URLs. Closes #7313.Jeremy Kemper2007-09-201-5/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [7397]. Reopens #7313.Jeremy Kemper2007-09-201-11/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* tag_options creates fewer objectsJeremy Kemper2007-09-181-14/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid RDoc warningDavid Heinemeier Hansson2007-09-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added block-acceptance to JavaScriptHelper#javascript_tag (closes #7527) ↵David Heinemeier Hansson2007-09-151-4/+28
| | | | | | [BobSilva/tarmo/rmm5t] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Trips up the RDoc generationDavid Heinemeier Hansson2007-09-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tidy up link to remote options. Closes #9505. [nik.wakelin]Michael Koziarski2007-09-121-2/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Purge empty filesJeremy Kemper2007-09-111-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved ActionController::Macros::AutoComplete into the auto_complete plugin ↵David Heinemeier Hansson2007-09-111-160/+0
| | | | | | on the official Rails svn #9512 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved ActionController::Macros::InPlaceEditing into the in_place_editor ↵David Heinemeier Hansson2007-09-101-77/+1
| | | | | | plugin on the official Rails svn (closes #9513) [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the deprecated behavior of appending ".png" to image_tag/image_path ↵David Heinemeier Hansson2007-09-091-2/+1
| | | | | | calls without an existing extension [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the deprecated behavior of appending ".png" to image_tag/image_path ↵David Heinemeier Hansson2007-09-091-16/+10
| | | | | | calls without an existing extension [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename fieldset_tag to field_set_tag to follow the conventions from ↵David Heinemeier Hansson2007-09-091-3/+3
| | | | | | text_area and text_field [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add fieldset_tag for generating fieldsets, closes #9477. [djanowski]Michael Koziarski2007-09-061-0/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix misleading documentation for truncate. [esad] Closes #9104Michael Koziarski2007-09-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add array support to remote_form_for for polymorphic urls. Closes #8654 [jade]Michael Koziarski2007-09-021-6/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make auto link behave well with URLs containing email addresses. Closes ↵Michael Koziarski2007-09-021-5/+11
| | | | | | #7313 [jeremymcnally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Properly quote the arguments to visual_effect. Closes #7220 [jeremymcanally]Michael Koziarski2007-09-021-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Major improvement to the documentation for the options / select form ↵Michael Koziarski2007-08-051-31/+73
| | | | | | helpers. Closes #9038 [kampers, jardeon, wesg] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix number_to_human_size when using different precisions. Closes #7536. ↵Michael Koziarski2007-08-051-2/+2
| | | | | | [RichardStrand, mpalmer] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored in use of extract_options! (closes #9079) [josh]David Heinemeier Hansson2007-07-245-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Its just ERb nowDavid Heinemeier Hansson2007-07-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't blow up when using nested fields_for and the source object is nilTobias Lütke2007-07-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow symbols as nameDavid Heinemeier Hansson2007-06-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve capture helper documentation. Closes #8796.Jeremy Kemper2007-06-281-25/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Massive documentation update for all helpers (closes #8223, #8177, #8175, ↵David Heinemeier Hansson2007-06-239-261/+1005
| | | | | | #8108, #7977, #7972, #7971, #7969) [jeremymcanally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de