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 |
|
Rick Olson
|
17e1f7b354
|
trivial documentation patch for #pagination_links [Francois Beausoleil] closes #4258
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 06:38:08 +00:00 |
|
David Heinemeier Hansson
|
7d06259be9
|
Dots in template path should not trip up rendering (closes #4244) [lmarlow@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 02:51:19 +00:00 |
|
David Heinemeier Hansson
|
75b8a66638
|
The mere existance of a rjs file shouldnt cause the layout to disappear. Made it easier to specify a :with on observer_field
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-13 03:27:26 +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
|
955583aed4
|
Prefer application/xml over text/xml for charset reasons
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-13 02:05: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 |
|
David Heinemeier Hansson
|
de37f7df4f
|
Mime types are separated by a comma, not semicolon, in the Accept header. Also switch all internal configuration of mime types away from strings and over to Mime::Type [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-12 16:03:44 +00:00 |
|
David Heinemeier Hansson
|
6e3e5cadfb
|
Added option to render action/template/file of a specific extension (and here by template type). This means you can have multiple templates with the same name but a different extension [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-12 01:56:55 +00:00 |
|
David Heinemeier Hansson
|
1c16649b48
|
Added better support for using the same actions to output for different sources depending on the Accept header [DHH] Added Base#render(:xml => xml) that works just like Base#render(:text => text), but sets the content-type to text/xml and the charset to UTF-8 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-11 01:23:29 +00:00 |
|
Thomas Fuchs
|
130001c377
|
Update to latest script.aculo.us trunk, fixes possible issue with Effect.Appear on IE
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-09 09:59:29 +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
|
cd989472a5
|
Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML from basic structures [DHH] Moved Jim Weirich's wonderful Builder from Action Pack to Active Support (it's simply too useful to be stuck in AP) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-08 02:56:25 +00:00 |
|
David Heinemeier Hansson
|
08967ead78
|
Allow method chaining in RJS elements [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-06 19:45:02 +00:00 |
|
Sam Stephenson
|
382741f289
|
Update Prototype for beta gems
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-06 17:33:25 +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
|
e3bfd08cbc
|
Fixed Effect.Appear in effects.js to work with floats in Safari (closes #3524, #3813, #3044) [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 17:12:03 +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 |
|
David Heinemeier Hansson
|
3d1b51b441
|
Added .rxml (and any non-rhtml template, really) supportfor CaptureHelper#content_for and CaptureHelper#capture #3287 [Brian Takita]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 19:47:50 +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
|
d94af9a61f
|
mail_to shouldnt include language attribute in script tag #3364 [donald.piret@synergetek.be]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 01:10:05 +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
|
bb7408fd4c
|
Update script.aculo.us to V1.5.3 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-22 09:59: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 |
|
Thomas Fuchs
|
e8c4cc9503
|
Update script.aculo.us in Rails trunk to V1.5.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-14 10:29:12 +00:00 |
|
David Heinemeier Hansson
|
c7f5a848f1
|
Refactor the Javascript proxy into a hierarchy for element/collection [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-14 04:39:44 +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
|
022a8fc681
|
Wups, committed too much
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 20:21:01 +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
|
324e5eb571
|
Fix form_for brokenness due to a shortage of parenthesis
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 00:41:50 +00:00 |
|
David Heinemeier Hansson
|
a8a1d11d77
|
Expose object and object_name from the FormBuilder [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 00:28:45 +00:00 |
|
David Heinemeier Hansson
|
a04a849d15
|
Clean up style around form_for and friends a bit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 00:22:24 +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 |
|
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 |
|
Sam Stephenson
|
7d0d0f0edd
|
Add render(:update) to ActionView::Base
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-23 16:36:40 +00:00 |
|
Sam Stephenson
|
5f44411d94
|
Backing out of [3470] until visual_effect, et al can work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-23 07:27:24 +00:00 |
|
Sam Stephenson
|
8436147825
|
Add the ability to call JavaScriptGenerator methods from helpers called in update blocks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-23 06:52:26 +00:00 |
|
David Heinemeier Hansson
|
5436ffa840
|
Treat timestamps like datetimes for scaffolding purposes (closes #3388) [Maik Schmidt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3457 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-21 23:46:56 +00:00 |
|