Andrew Kaspick
|
bda55f82c6
|
allow options to be passed to email address auto generation
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1418 state:committed]
|
2008-12-01 19:27:03 +01:00 |
|
Mislav Marohnić
|
4f984c9d0e
|
auto_link helper: add intelligent ending closing bracket handling. add new tests and reorder new ones for readability
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1353 state:committed]
|
2008-11-15 18:30:17 +01:00 |
|
Mislav Marohnić
|
c6c5cd5541
|
refactor autolink helper. change tests to expect HTML-escaped URLs
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-11-15 18:30:01 +01:00 |
|
Rich Manalang
|
d3ec1d3c22
|
auto_link view helper was failing on URLs with colons after a query param
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1341 state:committed]
|
2008-11-07 19:33:18 +00:00 |
|
Ken Collins
|
f277e1d8fd
|
Added TextHelper#current_cycle to return the current cycle for better design options.
[#417 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2008-08-27 23:06:20 -07:00 |
|
Clemens Kofler
|
10d9fe4bf3
|
Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link to accept options hash [#705 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-27 16:49:19 -05:00 |
|
Cheah Chu Yeow
|
3c1e8ab0fe
|
Allow single quote (the ' character) in the middle of URL when auto_link-ing. [#471 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-06-27 13:46:17 +01:00 |
|
Jeremy Kemper
|
72f93b581f
|
Check whether blocks are called from erb using a special __in_erb_template variable visible in block binding.
|
2008-06-19 22:21:56 -07:00 |
|
Jeremy Kemper
|
ff5f155f8d
|
Use output_buffer reader and writer methods exclusively instead of hitting the instance variable so others can override the methods.
|
2008-06-08 20:05:39 -07:00 |
|
Jeremy Kemper
|
26ec1be24a
|
concat should ignore nil
|
2008-06-06 18:00:01 -07:00 |
|
Kevin Glowacz
|
1a73e98660
|
Fix auto_link helper for already linked urls. [#72 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-22 21:10:40 +01:00 |
|
Adam
|
314e556e6f
|
Parentheses should be acceptable characters for auto_link_urls. [#234 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-22 11:16:02 +01:00 |
|
Eugene Pimenov
|
150717344a
|
auto_link helper fails to recognize links separated by space. [#72 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-16 13:00:39 +01:00 |
|
Robby Russell
|
6df995bbf2
|
Adding an example test case for pluralize for (y) -> (ies)
|
2008-05-14 17:17:24 -07:00 |
|
Joshua Peek
|
603c853a34
|
Don't fallback to just adding "'s" in TextHelper#pluralize, because the Inflector is always loaded.
|
2008-05-14 14:34:28 -05:00 |
|
Joshua Peek
|
17d4164a16
|
Introduce ActionView::TestCase for testing view helpers.
|
2008-04-19 13:08:24 -05:00 |
|
Jeremy Kemper
|
30fa377f33
|
Ruby 1.9 compat: encoding and multibyte test fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 07:39:04 +00:00 |
|
Rick Olson
|
5bf4cbbdb7
|
Allow the #simple_format text_helper to take an html_options hash for each paragraph. Closes #2448 [Francois Beausoleil, thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 02:29:30 +00:00 |
|
David Heinemeier Hansson
|
5f5822af37
|
Fixed that TextHelper#excerpt would include one character too many (closes #11268) [Irfy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 19:59:34 +00:00 |
|
Rick Olson
|
58cf6df41a
|
Fix that auto_link looks for ='s in url paths (Amazon urls have them). Closes #10640 [bgreenlee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 20:59:30 +00:00 |
|
Jeremy Kemper
|
a4c77f9bc4
|
Ruby 1.9 compat: text helper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:51:17 +00:00 |
|
David Heinemeier Hansson
|
6637f9069c
|
Extracted sanitization methods from TextHelper to SanitizeHelper [DHH] Changed SanitizeHelper#sanitize to only allow the custom attributes and tags when specified in the call [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-10 17:35:10 +00:00 |
|
David Heinemeier Hansson
|
826f0bd42f
|
Fixed that strip_tags blows up with invalid html (closes #9730) [lifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-29 20:19:33 +00:00 |
|
Rick Olson
|
c619003854
|
Rename some RequestForgeryProtection methods. The class method is now #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
|
2007-09-23 18:14:44 +00:00 |
|
Rick Olson
|
2d02199e15
|
Secure #sanitize, #strip_tags, and #strip_links helpers against xss attacks. Closes #8877. [Rick, lifofifo, Jacques Distler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-23 00:11:08 +00:00 |
|
David Heinemeier Hansson
|
9686dcdb5b
|
Fixed TextHelper#word_wrap for multiline strings with extra carrier returns (closes #8663) [seth]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 18:21:54 +00:00 |
|
Jeremy Kemper
|
09e76e6aca
|
Autolink behaves well with emails embedded in URLs. Closes #7313.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-20 20:40:22 +00:00 |
|
Jeremy Kemper
|
835cb43745
|
Revert [7397]. Reopens #7313.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-20 08:27:45 +00:00 |
|
Michael Koziarski
|
a79ac12c4e
|
Make auto link behave well with URLs containing email addresses. Closes #7313 [jeremymcnally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-02 23:52:01 +00:00 |
|
Jeremy Kemper
|
b195ed61c8
|
Improve Text Helper test coverage. Closes #7274.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-08 04:05:35 +00:00 |
|
Jeremy Kemper
|
67d5a1abed
|
Highlight helper highlights one or many terms in a single pass.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-30 01:19:01 +00:00 |
|
Jeremy Kemper
|
0eacdcf9a3
|
Use a consistent load path to avoid double requires. Fix some scattered Ruby warnings.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 07:16:55 +00:00 |
|
Jeremy Kemper
|
ef1d0c1259
|
Autolinking recognizes trailing and embedded . , : ; Closes #7354.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 18:42:03 +00:00 |
|
Thomas Fuchs
|
8e82e29010
|
Make TextHelper::auto_link recognize URLs with colons in path correctly, fixes #7268
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-21 21:41:44 +00:00 |
|
Rick Olson
|
d833645cd8
|
Fix HTML::Node to output double quotes instead of single quotes. Closes #6845 [mitreandy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-14 20:56:03 +00:00 |
|
Tobias Lütke
|
2f9d44e50b
|
Improved auto_link to match more valid urls correctly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-07 22:12:48 +00:00 |
|
Jeremy Kemper
|
1d564d97c5
|
strip_tags passes through blank args such as nil or "". Closes #6702, references #2229.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-26 01:00:10 +00:00 |
|
Jeremy Kemper
|
229ea65374
|
simple_format helper doesn't choke on nil. Closes #6644.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-19 09:57:16 +00:00 |
|
Jeremy Kemper
|
5b50504f48
|
Missed pluralize nil test in [5431].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-06 21:39:16 +00:00 |
|
David Heinemeier Hansson
|
b34ed9b339
|
Docfix (closes #6393)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-22 23:58:41 +00:00 |
|
Michael Koziarski
|
81ddeadd49
|
Replace KCODE checks with String#chars for truncate. Closes #6385 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-14 00:31:30 +00:00 |
|
Michael Koziarski
|
41c3623524
|
Use String#chars in TextHelper::excerpt. Closes #6386 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-12 21:13:05 +00:00 |
|
Jeremy Kemper
|
c554a9caba
|
strip_links is case-insensitive. Closes #6285.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-26 16:26:00 +00:00 |
|
David Heinemeier Hansson
|
d4bb22b220
|
Fixed TextHelper#simple_format to deal with multiple single returns within a single paragraph (closes #5835) [moriq@moriq.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 19:26:32 +00:00 |
|
David Heinemeier Hansson
|
a693b3beca
|
Fixed TextHelper#pluralize to handle 1 as a string (closes #5905) [rails@bencurtis.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 19:23:07 +00:00 |
|
Jeremy Kemper
|
6d17ece9f2
|
strip_tags returns nil for a blank arg such as nil or "". Closes #2229.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 16:47:05 +00:00 |
|
Rick Olson
|
0c999f4125
|
Update sanitize text helper to strip plaintext tags, and <img src=javascript:bang>. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 00:02:14 +00:00 |
|
Jamis Buck
|
bdf91d6748
|
Make auto_link parse a greater subset of valid url formats.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-02 01:47:32 +00:00 |
|
David Heinemeier Hansson
|
31199a9e4a
|
Update description
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-28 01:11:09 +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 |
|