aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
* Auto completer should hide update element by when initializing #1579 [Thomas ↵David Heinemeier Hansson2005-07-021-0/+2
| | | | | | Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#draggable_element and ↵David Heinemeier Hansson2005-07-022-9/+50
| | | | | | JavascriptHelper#drop_receiving_element to facilitate easy dragging and dropping through the script.aculo.us libraries #1578 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that UrlHelper#mail_to will now also encode the default link title ↵David Heinemeier Hansson2005-07-022-3/+7
| | | | | | #749 [f.svehla@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default option of wrap=virtual on FormHelper#text_area to ensure ↵David Heinemeier Hansson2005-07-021-1/+1
| | | | | | XHTML compatibility #1300 [thomas@columbus.rr.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1600 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adds the ability to include XML CDATA tags using Builder #1563 [Josh Knowles]David Heinemeier Hansson2005-07-021-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1598 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added evaluation of <SCRIPT> blocks in content returned to Ajax calls #1577 ↵David Heinemeier Hansson2005-07-023-15/+34
| | | | | | [Thomas Fuchs/court3nay] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make render(:inline) use locals #1556 [Michael Shuerig]David Heinemeier Hansson2005-07-011-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load models and frequency typo on upoad progress #1555 [Sean Treadway]David Heinemeier Hansson2005-07-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix IE 30-sec timeout bug, make auto_complete_for even more delicious #1572 ↵David Heinemeier Hansson2005-07-015-46/+86
| | | | | | [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* File upload progress seems to have problems on a variety of servers, marking ↵David Heinemeier Hansson2005-06-301-1/+1
| | | | | | as experimental for now and not including it in the docs git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrong variable name used in observe_field #1551David Heinemeier Hansson2005-06-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give auto_complete_for parameters, fix browser-autocompletion #1550David Heinemeier Hansson2005-06-291-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix JavaScriptHelper capitalization and make it compatible with Prototype ↵David Heinemeier Hansson2005-06-291-13/+15
| | | | | | #1545 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Script.aculo.us: autocompletion focus fix, setContentZoom fix #1546 [Thomas ↵David Heinemeier Hansson2005-06-293-19/+21
| | | | | | Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sync Prototype; closes #1539Sam Stephenson2005-06-291-30/+59
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-281-0/+427
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-282-9/+67
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the Event.findElement prototype function. Needed to get autocomplete ↵David Heinemeier Hansson2005-06-281-3/+3
| | | | | | working with Safari #1528 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for graceful error handling of Ajax calls #1217 [Jamis ↵David Heinemeier Hansson2005-06-272-22/+75
| | | | | | Buck/Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Object.prototype.extend work correctlySam Stephenson2005-06-271-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Work around existing Element and Event objects in PrototypeSam Stephenson2005-06-271-8/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us scripts for Prototype 1.3.0 #1522 [Thomas Fuchs]David Heinemeier Hansson2005-06-273-3/+107
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix a potential bug in Prototype's Ajax.Request involving Mozilla and null ↵Sam Stephenson2005-06-271-11/+11
| | | | | | POST bodies git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added event-based observations when frequency is not set on ↵David Heinemeier Hansson2005-06-271-5/+16
| | | | | | observe_field/form #1474 [flash@vanklinkenbergsoftware.nl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.3.0; closes #1441, #1348Sam Stephenson2005-06-271-389/+435
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1530 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us scripts to fix some bugs #1515David Heinemeier Hansson2005-06-263-20/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed remote_sortable to sortable_elementDavid Heinemeier Hansson2005-06-261-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added auto_complete_for to controller and text_field_with_auto_complete to ↵David Heinemeier Hansson2005-06-261-16/+55
| | | | | | view to make it really, really easy to do Google Suggest style interfaces git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script.aculo.us Javascripts (controls.js, dragdrop.js, effects.js) ↵David Heinemeier Hansson2005-06-265-188/+1533
| | | | | | (NEEDS MORE DESCRIPTION) #1509 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed prototype to consider all fields it doesn't know as text (such as ↵David Heinemeier Hansson2005-06-251-4/+2
| | | | | | Safari's search) just like the browser in its serialization #1497 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentation for partials #1171David Heinemeier Hansson2005-06-211-7/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#word_wrap(text, line_length = 80) #1449 [tuxie@dekadance.se]David Heinemeier Hansson2005-06-211-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a fall-through action for form_remote_tag that'll be used in case ↵David Heinemeier Hansson2005-06-211-0/+8
| | | | | | Javascript is unavailable #1459 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tag_options as a third parameter to ↵David Heinemeier Hansson2005-06-211-4/+9
| | | | | | AssetHelper#auto_discovery_link_tag to control options like the title of the link #1430 [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1460 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to pass in parameters to CaptureHelper#capture, so you can ↵David Heinemeier Hansson2005-06-211-5/+7
| | | | | | create more advanced view helper methods #1466 [duane.johnson@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed the default name of the input tag generated by ↵David Heinemeier Hansson2005-06-211-1/+1
| | | | | | FormTagHelper#submit_tag from "submit" to "commit" so it doesnt clash with form.submit() calls in Javascript #1271 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1456 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r1335@iwill: jeremy | 2005-06-17 11:41:50 -0700Jeremy Kemper2005-06-171-7/+12
| | | | | | | | | | | | | Ticket 1458 - distance_of_time_in_words r1336@iwill: jeremy | 2005-06-17 11:44:50 -0700 Update changelog r1337@iwill: jeremy | 2005-06-17 11:45:44 -0700 Applied patch. r1361@iwill: jeremy | 2005-06-17 11:48:02 -0700 Merge changelog git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added cuba to country list #1351 [todd]David Heinemeier Hansson2005-06-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed radio_button to work with numeric values #1352 [demetrius]David Heinemeier Hansson2005-06-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :extension option to NumberHelper#number_to_phone #1361 [delynnb]David Heinemeier Hansson2005-06-161-10/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added button_to as a form-based solution to deal with harmful actions that ↵David Heinemeier Hansson2005-06-161-1/+92
| | | | | | should be hidden behind POSTs. This makes it just as easy as link_to to create a safe trigger for actions like destroy, although it's limited by being a block element, the fixed look, and a no-no inside other forms. #1371 [tom@moertel.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed image_tag so an exception is not thrown just because the image is ↵David Heinemeier Hansson2005-06-161-1/+1
| | | | | | missing and alt value can't be generated #1395 [Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1434 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a third parameter to TextHelper#auto_link called href_options for ↵David Heinemeier Hansson2005-06-161-5/+8
| | | | | | specifying additional tag options on the links generated #1401 [tyler.kovacs@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TextHelper#highlight to return the text, not nil, if the phrase is ↵David Heinemeier Hansson2005-06-161-1/+1
| | | | | | blank #1409 [patrick@lenz.sh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Its Iraq, not Irak #1443 [ivan]David Heinemeier Hansson2005-06-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TagHelper such that :name and 'name' keys in the options doesn't ↵David Heinemeier Hansson2005-06-161-2/+1
| | | | | | result in two attributes #1455 [take_tk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r1318@iwill: jeremy | 2005-06-15 01:08:22 -0700Jeremy Kemper2005-06-151-11/+1
| | | | | | | | | | | | | | | Ticket 1394 - Helper isolation r1319@iwill: jeremy | 2005-06-15 01:10:00 -0700 Formulate a test case for helper isolation. r1331@iwill: jeremy | 2005-06-15 15:21:07 -0700 Update changelog r1332@iwill: jeremy | 2005-06-15 15:21:30 -0700 Remove superfluous, broken layout_test r1333@iwill: jeremy | 2005-06-15 15:24:10 -0700 Use an anonymous Module to store helpers per-class instead of tossing them all in template_class. Create a new helper module for subclasses which includes its superclass' helper module. Remove unnecessary ActionView::Base.controller_delegate. Update helper tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow distance_of_time_in_words to work with any value that responds to ↵Jamis Buck2005-06-141-0/+2
| | | | | | #to_time (like dates) #969 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2495@sedna: jeremy | 2005-05-27 22:07:18 -0700Jeremy Kemper2005-06-121-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Branch to have scaffold use new render methods r2496@sedna: jeremy | 2005-05-28 10:50:51 -0700 axe unused process_request method r2497@sedna: jeremy | 2005-05-28 10:51:58 -0700 sanity assertions in process method check that @controller, @request, @response are set r2498@sedna: jeremy | 2005-05-28 10:53:42 -0700 clean up escaping. use instance_variable_get instead of instance_eval. put id in form action instead of hidden input (like the generated scaffolding) r2499@sedna: jeremy | 2005-05-28 10:54:46 -0700 clean up interpolation, remove tabs from stylesheet r2500@sedna: jeremy | 2005-05-28 10:56:40 -0700 modernize dynamic scaffolding. use params[:id] instead of @params[id]. use consolidated render method instead of render_action, render_file, etc. use builtin inflections rather than module methods. r2501@sedna: jeremy | 2005-05-28 11:00:26 -0700 modernize generated scaffolding. use new-style assertions; use params[:id] instead of @params[id]; use consolidated render method instead of render_* r2542@sedna: jeremy | 2005-06-12 02:24:06 -0700 use :id => model instead of :id => model.id. clean up the form helper method. use flash[:notice] instead of flash['notice']. r2543@sedna: jeremy | 2005-06-12 02:33:22 -0700 whitespace r2544@sedna: jeremy | 2005-06-12 02:56:57 -0700 update changelogs r2545@sedna: jeremy | 2005-06-12 03:26:23 -0700 test dynamic form help when @post is not a new record r2546@sedna: jeremy | 2005-06-12 03:44:14 -0700 touch up TestCase#process sanity assertions git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Action View work with the new render :file/:partial style from the ↵David Heinemeier Hansson2005-06-021-2/+15
| | | | | | controller git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de