Nicholas Seckar
|
c05c22a45f
|
Fix double url escaping of remote_function. Add :escape => false option to ActionView's url_for.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-22 19:41:39 +00:00 |
|
David Heinemeier Hansson
|
f46eb2ab64
|
Fix test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-22 19:28:46 +00:00 |
|
Rick Olson
|
f49ba114db
|
Add :script option to in_place_editor to support evalScripts (closes #4194) [codyfauser@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 19:40:11 +00:00 |
|
Rick Olson
|
a6cfb4e0e4
|
Fix mixed case enumerable methods in the JavaScript Collection Proxy (closes #4314) [codyfauser@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 19:38:38 +00:00 |
|
Nicholas Seckar
|
ab9f324423
|
Undo accidental escaping for mail_to; add regression test. Fix incorrect credit in changelog. Closes #4202.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 17:03:02 +00:00 |
|
Nicholas Seckar
|
1e7ce13b37
|
Change url_for to escape the resulting URLs when called from a view. Closes #4202
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 22:36:52 +00:00 |
|
David Heinemeier Hansson
|
129a159d12
|
Fixed link_to "somewhere", :post => true to produce valid XHTML by using the parentnode instead of document.body for the instant form (closes #3007) [Bob Silva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 16:25:11 +00:00 |
|
David Heinemeier Hansson
|
7bfca7e717
|
Added :function option to PrototypeHelper#observe_field/observe_form that allows you to call a function instead of submitting an ajax call as the trigger (closes #4268) [jonathan@daikini.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 16:08:09 +00:00 |
|
Sam Stephenson
|
3589871de8
|
Added simple alert() notifications for RJS exceptions when config.action_view.debug_rjs = true. Set debug_rjs = true for the default development environment.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-13 02:11:59 +00:00 |
|
David Heinemeier Hansson
|
06c2b43f36
|
Rendering xml shouldnt happen inside any layout. Added class proxying to RJS, so you can call page.field.clear("my_field") to generate Field.clear("my_field");. Added :content_type option to render, so you can change the content type on the fly. Do type/subtype reordering of Accept header preferences for xml types (aka make Firefox work with respond_to). CHANGED DEFAULT: The default content type for .rxml is now application/xml instead of type/xml, see http://www.xml.com/pub/a/2004/07/21/dive.html for reason
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-13 01:33:57 +00:00 |
|
Rick Olson
|
043bee3338
|
Re-added mixed-in helper methods for the JavascriptGenerator. Moved JavascriptGenerators methods to a module that is mixed in after the helpers are added. Also fixed that variables set in the enumeration methods like #collect are set correctly. Documentation added for the enumeration methods [Rick Olson].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-08 05:21:27 +00:00 |
|
David Heinemeier Hansson
|
5f724b516c
|
Fixed tests (closes #4087) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-05 16:35:27 +00:00 |
|
David Heinemeier Hansson
|
16b9409a9c
|
allow RJS enum values to be passed to visual_effect() and other scriptaculous helpers #4080 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-05 06:42:58 +00:00 |
|
David Heinemeier Hansson
|
2e67f1adc8
|
RJS now does enumerations, baby! (closes #3876) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 19:34:23 +00:00 |
|
David Heinemeier Hansson
|
3fb29b172f
|
Fixed that default image extension was not appended when using a full URL with AssetTagHelper#image_tag (closes #4032, #3728) [rubyonrails@beautifulpixel.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:54:53 +00:00 |
|
David Heinemeier Hansson
|
fed41fbe8b
|
Added support to AssetTagHelper#javascript_include_tag for having :defaults appear anywhere in the list, so you can now make one call ala javascript_include_tag(:defaults, "my_scripts") or javascript_include_tag("my_scripts", :defaults) depending on how you want the load order (closes #3506) [Bob Silva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-28 05:16:34 +00:00 |
|
Thomas Fuchs
|
d0bd952aff
|
Added support for visual effects scoped queues to the visual_effect helper #3530 [Abdur-Rahman Advany]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-27 10:37:59 +00:00 |
|
Thomas Fuchs
|
d11f8d5516
|
Added script.aculo.us drag and drop helpers to RJS [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 14:20:21 +00:00 |
|
David Heinemeier Hansson
|
6a83ebfe70
|
Fixed form_for regression (closes #3962) [t.lucas@toolmantim.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 07:23:42 +00:00 |
|
David Heinemeier Hansson
|
841d596c24
|
Fixed tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 04:25:17 +00:00 |
|
David Heinemeier Hansson
|
231a464d4e
|
Fixed that form elements would strip the trailing [] from the first parameter (closes #3545) [ruby@bobsilva.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 01:07:05 +00:00 |
|
David Heinemeier Hansson
|
06dd7b8efa
|
The image_tag helper is not converting the options hash to symbols (closes #3615) [agkr@pobox.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 00:55:22 +00:00 |
|
Thomas Fuchs
|
523d54b56d
|
Added various InPlaceEditor options, #3746, #3891, #3896, #3906
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-21 10:52:35 +00:00 |
|
David Heinemeier Hansson
|
35b74de770
|
Use real assigns instead of a method call [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 21:31:28 +00:00 |
|
David Heinemeier Hansson
|
5f2292ce39
|
replace_element was renamed replace [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 21:19:49 +00:00 |
|
David Heinemeier Hansson
|
8dc4f46233
|
Also support replace and replace_html and some refactoring in JavaScriptElementProxy [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3588 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 20:10:59 +00:00 |
|
David Heinemeier Hansson
|
ebdb766e79
|
Added element and collection proxies to RJS [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 18:48:08 +00:00 |
|
Sam Stephenson
|
838ec413eb
|
Add JavaScriptGenerator#replace_element for replacing an element's "outer HTML". Closes #3246.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 01:30:13 +00:00 |
|
Nicholas Seckar
|
344ae8326a
|
Remove over-engineered form_for code for a leaner implementation.
Document form_for's :html option.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-11 23:29:53 +00:00 |
|
Sam Stephenson
|
803b9a41af
|
Add :html option for specifying form tag options in form_for
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-08 20:46:15 +00:00 |
|
Marcel Molina
|
ba2619f539
|
Don't interpret the :value option on text_area as an html attribute. Set the text_area's value. Closes #3752.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-08 05:13:21 +00:00 |
|
Nicholas Seckar
|
7139e2a0e1
|
Fix remote_form_for creates a non-ajax form. Closes #3741.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-06 05:06:36 +00:00 |
|
Nicholas Seckar
|
9474fe72dd
|
Add :builder => option to form_for and friends. Closes 3268.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 19:58:45 +00:00 |
|
David Heinemeier Hansson
|
01b1a87729
|
Added reusable reloading support through the inclusion of the Relodable module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-29 00:37:39 +00:00 |
|
Sam Stephenson
|
9c52a41241
|
Add the ability to call JavaScriptGenerator methods from helpers called in update blocks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-23 17:09:15 +00:00 |
|
David Heinemeier Hansson
|
ea30f7353b
|
Raise a RedirectBackError if redirect_to :back is called when theres no HTTP_REFERER defined (closes #3049) [kevin.clark@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-22 01:52:23 +00:00 |
|
Michael Koziarski
|
e3898491f2
|
make error_messages_for return "" for nil objects
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-19 08:47:18 +00:00 |
|
Marcel Molina
|
363b79f942
|
Refactor human_size to exclude decimal place if it is zero.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-19 05:31:48 +00:00 |
|
Michael Koziarski
|
12e0cb7971
|
Fix broken autocompleter test.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-13 07:26:21 +00:00 |
|
Michael Koziarski
|
8edbdfc9f4
|
Fix for failing auto complete unit test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-13 07:21:08 +00:00 |
|
Michael Koziarski
|
543f789240
|
Fix failing test due to hard coded year
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-13 07:08:55 +00:00 |
|
Marcel Molina
|
489ace60fb
|
Remove Upload Progress. Closes #2871.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-13 04:27:53 +00:00 |
|
Marcel Molina
|
f4f7e750dc
|
Add test for min_chars auto_complete_field fix. Closes #2929.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-13 04:00:11 +00:00 |
|
David Heinemeier Hansson
|
987d9dbf31
|
Added JavaScriptHelper#button_to_function that works just like JavaScriptHelper#link_to_function but uses a button instead of a href [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-31 04:31:10 +00:00 |
|
David Heinemeier Hansson
|
89d8afa2c4
|
Added that JavaScriptHelper#link_to_function will honor existing :onclick definitions when adding the function call [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-31 03:51:43 +00:00 |
|
David Heinemeier Hansson
|
341d34cd50
|
Added that JavaScriptHelper#link_to_function will honor existing :onclick definitions when adding the function call [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-31 03:50:08 +00:00 |
|
David Heinemeier Hansson
|
00541f263b
|
Added :disable_with option to FormTagHelper#submit_tag to allow for easily disabled submit buttons with different text [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-30 19:41:25 +00:00 |
|
Scott Barron
|
63c822afb2
|
Make auto_link handle nil by returning quickly if blank?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-30 18:45:04 +00:00 |
|
Marcel Molina
|
839f03b7d0
|
Make auto_link match urls with a port number specified.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-26 19:31:40 +00:00 |
|
Thomas Fuchs
|
eb53467bdf
|
Added support for toggling visual effects to ScriptaculousHelper::visual_effect, #3323.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-25 18:53:22 +00:00 |
|