Jeremy Kemper
|
8aad8cb390
|
Set cache control to require revalidation if cache freshness response headers are set. Don't set Content-Length header if 304 status.
|
2008-08-14 21:45:14 -07:00 |
|
Jeremy Kemper
|
f1f4e84a7e
|
Fix asset file paths with dangling queries in mtime check
|
2008-08-14 12:28:02 -07:00 |
|
Jeremy Kemper
|
c7e09a8fb2
|
TestRequest#recycle! uses unmemoize_all to reset cached request method, accepts, etc.
|
2008-08-13 17:26:27 -07:00 |
|
Joshua Peek
|
3b9324e62f
|
Fix rendering partials at the top level [#795 state:resolved]
|
2008-08-13 19:15:35 -05:00 |
|
Josh Susser
|
2561be005b
|
Refactor Filter predicate methods to use inheritance. [#815 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-08-13 21:48:37 +01:00 |
|
Jeremy Kemper
|
1b127fcdea
|
Set asset-cached file ctime and mtime to the max mtime of the combined files. Allows for consistent ETag generation without having a shared filesystem.
|
2008-08-12 20:18:03 -07:00 |
|
Jeremy Kemper
|
45b79d933c
|
Merge branch 'conditional-get'
|
2008-08-12 17:03:17 -07:00 |
|
Jeremy Kemper
|
08b0cf07db
|
Update changelog for conditional GET utility methods
|
2008-08-12 17:03:06 -07:00 |
|
Stefan Kaes
|
b2630502a0
|
Fixed autolink regexp compatibility for ruby 1.9 [#783 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-09 10:48:56 -05:00 |
|
Cameron Yule
|
2faf35cea9
|
Added tests for partial collection counters [#766 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-09 10:48:56 -05:00 |
|
miloops
|
ea0d036e31
|
mail_to should use decodeURIcomponent instead of unescape to be utf friendly.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-08-08 15:31:02 +02:00 |
|
Jeremy Kemper
|
ba2d61dd81
|
Update tests for request memoization
|
2008-08-08 02:31:12 -07:00 |
|
Jeremy Kemper
|
c24a7cdd23
|
Don't shadow host method
|
2008-08-08 02:29:37 -07:00 |
|
James Rosen
|
14cf9a8991
|
dryed up resources; fixed small formatting issue in resources rdoc
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-08-08 10:47:26 +02:00 |
|
Jeremy Kemper
|
b7529ed1cc
|
Simplifying usage of ETags and Last-Modified and conditional GET requests
|
2008-08-07 23:43:12 -07:00 |
|
Jeremy Kemper
|
e43d1c226d
|
Inherit these from AbstractRequest instead
|
2008-08-07 23:34:36 -07:00 |
|
Clemens Kofler
|
105093f907
|
Refactor DateHelper to use DateTimeSelector presenter pattern
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-07 13:13:47 -05:00 |
|
Joshua Peek
|
b2504f8ba0
|
Tidy up ActionMailer rendering logic to take advantage of view path cache instead of using file system lookups
|
2008-08-06 20:11:21 -05:00 |
|
Jeremy Kemper
|
165120a606
|
Be more careful about deducing action_methods
|
2008-08-06 15:23:57 -07:00 |
|
Joshua Peek
|
e5b1ab7cc3
|
MemoryStore is the only "unsafe" store. Make it threadsafe by default.
|
2008-08-06 14:54:18 -05:00 |
|
Jeremy Kemper
|
29a06f10e8
|
Strip newlines from cookie session data
|
2008-08-05 19:28:52 -07:00 |
|
Jeremy Kemper
|
69e9cbb99a
|
Ensure public superclass methods don't shadow public controller methods. Case in point, ruby-debug's Kernel#start shadowing a controller's start action.
|
2008-08-05 17:35:08 -07:00 |
|
Jeffrey Hardy
|
8d72b82b8d
|
Make assert_template failure message more friendly
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-05 16:29:56 -05:00 |
|
Clemens Kofler
|
dc66469e64
|
Fixed i18n bulk translate issues in NumberHelper
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-04 22:26:14 -05:00 |
|
Jeremy Kemper
|
ddd552504b
|
Expose Routing::Segment::SAFE_PCHAR list of path characters that don't need escaping
|
2008-08-04 18:37:53 -07:00 |
|
Jeremy Kemper
|
909a7f430b
|
Ensure mailer view path is loaded when it's assigned. Path#[] raises if it isn't loaded.
|
2008-07-31 17:51:43 -07:00 |
|
Jeremy Kemper
|
ad4553587e
|
List available actions in UnknownAction exception message
|
2008-07-31 17:50:53 -07:00 |
|
Tarmo Tänav
|
0b9bfbdebf
|
Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby"
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-31 16:39:48 -05:00 |
|
Tarmo Tänav
|
656f0e7c6c
|
Fix file permissions
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-31 16:36:23 -05:00 |
|
miloops
|
f3da46effa
|
In javascript helpers option[:type] = :synchronous should work as described in docs.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-31 21:28:12 +02:00 |
|
miloops
|
eaab895f83
|
Prototype helpers should generate Element.insert instead of Insertion.new, which has been deprecated in Prototype 1.6.
|
2008-07-30 01:42:32 -07:00 |
|
Joshua Peek
|
a065b764e5
|
Reapply 'cab168ac' because it was accidentally patched over in '10d9fe4b'
|
2008-07-29 22:04:07 -05:00 |
|
Clemens Kofler
|
fea7771d22
|
Updated NumberHelper: Full i18n support (except number_to_phone), consolidated API (almost all methods now support :precision, :delimiter and :separator). Added deprecation notices for old API. Added tests for new options [#716 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-29 21:47:02 -05:00 |
|
Jan De Poorter
|
7aaf1689dd
|
Fix that label_tag doesn't take a symbol for a name. [#719 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-29 12:39:21 +01:00 |
|
Jeremy Kemper
|
eb256718c3
|
Remove send! usage, relic of reverted 1.9 behavior
|
2008-07-28 13:54:10 -07:00 |
|
Joshua Peek
|
19db0b7324
|
Added back ActionController::Base.allow_concurrency flag and moved lock down to controller processing.
|
2008-07-28 14:31:40 -05:00 |
|
Joshua Peek
|
a5db148825
|
Prepare Route#generate and Route#recognize early. Also refactor segments a bit to try to make immutable.
|
2008-07-28 13:41:42 -05:00 |
|
Joshua Peek
|
e0513e33c4
|
Routing whitespace cleanup
|
2008-07-28 13:38:20 -05:00 |
|
Pratik Naik
|
6e75455125
|
Merge docrails changes
|
2008-07-28 12:33:24 +01: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 |
|
Clemens Kofler
|
f7abf0c9db
|
error_message_on takes an options hash instead of ordered parameters [#704 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-27 16:34:20 -05:00 |
|
Joshua Peek
|
f48b9ab5c2
|
ActionController::Base.relative_url_root falls back to ENV['RAILS_RELATIVE_URL_ROOT']
|
2008-07-24 14:06:22 -05:00 |
|
Joshua Peek
|
a87462afcb
|
AbstractRequest.relative_url_root is no longer automatically configured by a HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root
|
2008-07-24 13:41:51 -05:00 |
|
Joshua Peek
|
55adaa2efc
|
Fixed bc5896e, and added test case for the caching bug it originally introduced.
|
2008-07-23 13:47:30 -05:00 |
|
Joshua Peek
|
e0db925be0
|
Revert 'bc5896e'
|
2008-07-23 11:23:25 -05:00 |
|
Joshua Peek
|
97a954bf1d
|
Load view path cache after plugins and gems.
|
2008-07-23 10:41:28 -05:00 |
|
Joshua Peek
|
db1bac796e
|
Just file?
|
2008-07-23 10:24:47 -05:00 |
|
Joshua Peek
|
2681685450
|
Extract ActiveSupport::TypedArray class to ensure an array is all of the same type [#673 state:resolved]
|
2008-07-22 11:12:16 -05:00 |
|
Joshua Peek
|
bc5896e708
|
Memoize ActionView::Base pick_template and find_partial_path for rendering duration
|
2008-07-22 10:27:32 -05:00 |
|
Clemens Kofler
|
0f43de644e
|
Refactored NumberHelper API to accept arguments as an options hash [#666 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-21 13:05:27 -05:00 |
|