Santiago Pastorino
|
9cfa87519d
|
scope_key_by_partial fix for Ruby 1.9 when there's virtual_path
[#4202 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-03-16 16:05:24 -07:00 |
|
Santiago Pastorino
|
2310aef29b
|
translation method of TranslationHelper module returns always SafeBuffer [#4194 status:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-03-16 13:49:59 -07:00 |
|
Santiago Pastorino
|
374e49b467
|
Change array entries to safe doesn't worth then the array is joined as a string losing the safe property of his entries
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-03-16 13:14:58 +01:00 |
|
Jeremy Kemper
|
b3d32a5b28
|
to_str works here
|
2010-03-15 11:19:46 -07:00 |
|
Jeremy Kemper
|
9b209e8cb8
|
read_ and write_fragment cache preserve html safety yet cache strings only
|
2010-03-14 18:55:13 -07:00 |
|
Santiago Pastorino
|
056f957b22
|
There's a Ruby issue with File.basename different versions returns different things, so we shouldn't test that
[#4174]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-03-14 13:37:30 -07:00 |
|
Jeremy Kemper
|
eed8a8863d
|
Write strings to fragment cache, not outputbuffers
|
2010-03-11 17:32:26 -08:00 |
|
Sam Ruby
|
cbc0201a3e
|
Add deprecation warning for overwrite_params and remove rdoc
[#4073 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-03-10 16:26:04 -08:00 |
|
Santiago Pastorino
|
d3a8152203
|
Adds disable option to date_helpers generated hidden fields when html_options specifies it. ht by Marc Schütz
[#3807 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-03-05 13:49:23 -08:00 |
|
Jeremy Kemper
|
3969148a13
|
Deprecate omitting the leading slash on a path arg to assert_redirected_to
|
2010-03-02 14:14:37 -08:00 |
|
Bryan Helmkamp
|
1e64cdf8c9
|
Bump version constants to 2.3.6 to more easily support generating prerelease gems
|
2010-03-01 18:24:55 -08:00 |
|
Santiago Pastorino
|
0307dbaba9
|
add time_separator for minutes only if minutes aren't hidden
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-02-24 18:41:29 -08:00 |
|
Santiago Pastorino
|
39bcf14b34
|
missing html_safe added and tests
|
2010-02-19 15:34:18 -08:00 |
|
Santiago Pastorino
|
24911757de
|
missings html_safe added
|
2010-02-19 14:36:49 -08:00 |
|
Santiago Pastorino
|
64d28f61ad
|
ruby 1.9 array.to_s returns a string representing an escaped array
|
2010-02-19 14:04:03 -08:00 |
|
Santiago Pastorino
|
397262a4ee
|
i18n translate with arrays issue solved
|
2010-02-19 14:03:50 -08:00 |
|
Santiago Pastorino and José Ignacio Costa
|
62c802c622
|
html_escape mail_to when encode javascript and not hex
|
2010-02-19 13:40:05 -08:00 |
|
Martin Andert
|
6227ec11f0
|
Fix error_messages_for i18n issue if object_name has underscores [#3629 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-02-17 21:07:05 +01:00 |
|
Santiago Pastorino and José Ignacio Costa
|
4158282e32
|
simple_format returns a safe buffer escaping unsafe input [Santiago Pastorino] (Closes #3767)
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
2010-02-12 17:25:11 -08:00 |
|
Gabriel Mansour
|
6451e864b9
|
Fix pluralization for numbers formatted like '1.00'
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-02-07 12:15:10 -08:00 |
|
Jeremy Kemper
|
f85ab90e4f
|
Ruby 1.9: cookie header parser works with either newline-delimited strings or arrays
|
2010-02-06 19:57:06 -08:00 |
|
Santiago Pastorino and José Ignacio Costa
|
9ca6df83f6
|
Backport html_safe. Use latest rails_xss plugin for forward-compatibility with Rails 3.
|
2010-02-05 11:07:56 -08:00 |
|
Joshua Peek
|
0c0da1a6e0
|
Fix empty Set-Cookie headers [#3811 state:resolved]
|
2010-02-02 08:53:16 -06:00 |
|
Matt Duncan
|
b362b394f6
|
Bump year in MIT licenses
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2010-02-02 08:47:10 -06:00 |
|
Prem Sichanugrist
|
6012e575bb
|
Make local_request? to returns true when facing ::1 IPv6 address [#3257 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-18 08:29:53 +01:00 |
|
David Heinemeier Hansson
|
4682035381
|
Fixed that PrototypeHelper#update_page should return html_safe [DHH]
|
2010-01-08 13:45:51 -08:00 |
|
David Heinemeier Hansson
|
d5ba7c3ea4
|
Fixed that much of DateHelper wouldn't return html_safe? strings [DHH]
|
2010-01-08 11:48:38 -08:00 |
|
David Heinemeier Hansson
|
45e192d05c
|
Fixed that fragment caching should return a cache hit as html_safe (or it would all just get escaped) [DHH]
|
2010-01-07 17:39:32 -08:00 |
|
José Valim
|
b7fd42626a
|
Use helpers.label instead of views.labels.
|
2010-01-07 02:28:10 +01:00 |
|
José Valim
|
319e4aa263
|
Make ActionPack specs work when I18n 0.3.3 is installed as gem.
|
2010-01-05 00:27:50 +01:00 |
|
Hongli Lai (Phusion)
|
1012dec88f
|
The failsafe middleware should flush the logger upon logging the error, otherwise nothing will be written to the log file.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2010-01-05 10:39:42 +13:00 |
|
Zach Brock
|
f32c96eb76
|
fixing autolinking other protocols
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#3494 state:committed]
|
2010-01-05 10:39:12 +13:00 |
|
Carsten Gehling
|
f5714abc3d
|
I18n label helper [#745 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-02 23:38:01 +01:00 |
|
David Heinemeier Hansson
|
1684aa113e
|
Fix tests
|
2009-12-27 15:23:51 -08:00 |
|
David Heinemeier Hansson
|
2675e4ef83
|
Translated strings in the view are assumed html_safe (Closes #3401)
|
2009-12-24 20:33:25 -08:00 |
|
David Heinemeier Hansson
|
e6cadd422b
|
Added :alert, :notice, and :flash as options to ActionController::Base#redirect_to that'll automatically set the proper flash before the redirection [DHH] Added ActionController::Base#notice/= and ActionController::Base#alert/= as a convenience accessors in both the controller and the view for flash[:notice]/= and flash[:alert]/= [DHH]
|
2009-12-17 11:34:47 -08:00 |
|
David Heinemeier Hansson
|
1229ef7bf3
|
Accessing nonexistant cookies through the signed jar should not raise an exception
|
2009-12-15 21:27:38 -08:00 |
|
David Heinemeier Hansson
|
0200e20f14
|
Added cookies.permanent, cookies.signed, and cookies.permanent.signed accessor for common cookie actions [DHH]
|
2009-12-15 20:01:48 -08:00 |
|
Michael Koziarski
|
c253d7b2db
|
1.9 Fix for exception views.
|
2009-12-03 10:27:11 +13:00 |
|
Gabe da Silveira
|
bfe0328580
|
Make sure strip_tags removes tags which start with a non-printable character
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2009-11-27 10:04:22 +13:00 |
|
Eric Chapweske
|
3719bd3e95
|
Decode http_authentication creditentials without generating abitrary symbols.
|
2009-11-27 09:57:10 +13:00 |
|
Michael Koziarski
|
ec542caf58
|
Prepare for the 2.3.5 release
|
2009-11-25 18:56:12 +13:00 |
|
Joshua Peek
|
0f0f977625
|
Revert "Prefix Internet Explorer's accepted mime types with sensible defaults."
IE XHR requests are misinterpreted as HTML instead of JS.
This reverts commit c680f2372e.
|
2009-11-23 11:19:39 -06:00 |
|
Jeremy Kemper
|
a942d66597
|
Extract form_authenticity_param instance method so it's overridable in subclasses
|
2009-11-17 23:36:48 -08:00 |
|
Will Read
|
88d2e4ca6f
|
Allow explicit placement of hidden id element for nested models.
[#3259 state:resolved]
Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
|
2009-11-15 21:50:35 +01:00 |
|
Jeremy Kemper
|
c27cb5e1d4
|
Ruby 1.9: remove dep on T::U::AssertionFailedError
|
2009-11-13 18:05:14 -08:00 |
|
Jeremy Kemper
|
3fa8ca5845
|
Ruby 1.9.2: StringIO no longer has #path
|
2009-11-13 13:02:29 -08:00 |
|
Jeremy Kemper
|
2d67ef9416
|
Ruby 1.9.2: prefer Array.wrap to [foo].flatten
|
2009-11-13 12:59:16 -08:00 |
|
David Vrensk
|
4bc58a215f
|
Rdoc for changes introduced in 6339e5d36, 542d6a0abd.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2009-11-12 11:20:34 -08:00 |
|
Bryan Helmkamp
|
22e1f4b307
|
Silence warning: instance variable @selected not initialized
|
2009-11-09 17:24:18 -05:00 |
|