Jon Crawford
8761663a68
Added grouped_options_for_select helper method for wrapping option tags in optgroups. [ #977 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-01-29 18:00:18 +00:00
Gregg Kellogg
306cc2b920
Implement HTTP Digest authentication. [ #1230 state:resolved] [Gregg Kellogg, Pratik Naik]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-01-29 16:01:59 +00:00
Pratik Naik
a1a9889b06
Move basic auth test controller inside the test class
2009-01-29 01:59:55 +00:00
Dan Weinand
91eeb0ff11
Using the highlight helper on text with html shouldn't highlight text inside html attributes. [ #1302 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-01-28 19:53:59 +00:00
Daniel Rodríguez Troitiño
9a8e2a059c
Ensure selected option is not ignored for collection_select. [ #1037 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-01-28 19:35:18 +00:00
Nathan de Vries
32eeb3e521
Ensure that when UrlWriter is included in multiple classes, the default_url_options of one don't affect the other. [ #1277 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-01-28 19:31:48 +00:00
Pratik Naik
2ae8d3079b
Session cookie header should always be set if :expire_after option is specified
2009-01-28 05:05:48 +00:00
Jeremy Kemper
9714a9b001
Use toplevel reference to ::StringIO since we're in a BasicObject.
2009-01-27 15:25:05 -08:00
Tys von Gaza
dd02af5c7e
Fix for sweepers method_missing missing &block argument [ #1581 status:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-01-27 16:11:45 -06:00
Joshua Peek
093f758bd0
Restore implicit rendering for XHR requests that want a HTML template [ #1590 state:resolved]
2009-01-27 14:09:11 -06:00
Joshua Peek
f17c87665e
Fixed deprecated methods on TestSession [ #1801 state:resolved]
2009-01-27 12:28:05 -06:00
Pratik Naik
57b156b338
Dont use Memoizable for ActionController::Request
2009-01-27 17:26:37 +00:00
Yaroslav Markin
17db28f1ca
Improve i18n support for number_to_human_size helper:
...
* now using pluralization properly
* storage unit translations moved to number.human.storage_units.units
* introduced number.human.storage_units.format for languages that do not follow "{{number}} {{unit}}" format (Japanese)
NOTE: I18n table changed, you will need to update your translations.
[#1634 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-01-27 09:22:00 -08:00
Joshua Peek
a1ac635d96
Ensure the full path is used when searching for layouts [ #1803 state:resolved]
2009-01-27 11:08:29 -06:00
Joshua Peek
57f0b85900
Fix for failing ActionMailer multipart tests
2009-01-26 13:15:29 -06:00
Joshua Peek
a98cd7ca9b
Add localized templates
...
# Default locale
app/views/messages/index.html.erb
# I18n.locale is set to :da (Danish)
app/views/messages/index.da.html.erb
2009-01-25 22:51:21 -06:00
Pratik Naik
617ad23574
Remove the irrelevant fixture added in fe6ffce51d
2009-01-24 18:22:17 +00:00
Pratik Naik
fe6ffce51d
Make sure inner scope conditions get a preference over the outer ones
2009-01-24 17:54:10 +00:00
Joshua Peek
73cc5f270a
Setup ActiveRecord QueryCache middleware in the initializer
2009-01-21 12:44:07 -06:00
Joshua Peek
ae3a93ad89
Missed RequestParser in ff0a267
2009-01-21 12:29:41 -06:00
Joshua Peek
a8ad6568f9
Allow empty files to be uploaded
2009-01-20 20:34:35 -06:00
Joshua Peek
7e4d13d357
Add MiddlewareStack#swap
...
config.middleware.swap ActionController::Session::CookieStore, MySessionStore
2009-01-20 20:19:52 -06:00
Mislav Marohnić
01f06fc7f4
Don't let empty Tempfiles come through as uploaded files [ #1785 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-01-20 12:38:25 -06:00
Cody Fauser
c090e5e075
Restore cookie store httponly default to true. Remove extraneous dup of options on initialization [ #1784 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-01-20 11:50:43 -06:00
Pratik Naik
9cefd5ea0c
Deprecate ActionController::Base#session_enabled?
2009-01-19 18:53:14 +00:00
Pratik Naik
68fdfde003
Improve HTTP Basic authentication tests
2009-01-18 19:21:34 +00:00
Pratik Naik
39e1ac658e
Merge docrails
2009-01-18 18:10:58 +00:00
Pratik Naik
085991891e
Bump up the year in MIT license files
2009-01-18 05:28:21 +00:00
Pratik Naik
41af606db3
Remove script/performance/profiler in favour of performance integration tests.
...
To continue using script/performance/profiler, install the request_profiler plugin :
script/plugin install git://github.com/rails/request_profiler.git
2009-01-18 05:20:39 +00:00
Joshua Peek
ff0a2678c4
Build query string and POST params parser on top of Rack::Request. Also switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [ #1661 state:resolved]
2009-01-17 20:29:50 -06:00
Joshua Peek
aab760c3df
Add test coverage for fixing Safari 2 trailing null character
2009-01-17 20:03:22 -06:00
Joshua Peek
29e7a02428
Ensure any method sent to RewindableIO reads the original IO object [ #1767 state:resolved]
2009-01-17 11:12:18 -06:00
Joshua Peek
515a1a3328
Lock middleware has been committed upstream
2009-01-17 10:16:31 -06:00
Jeremy Kemper
fe013ce934
Fix performance regression
2009-01-16 20:36:59 -08:00
Jeremy Kemper
78af271069
Skip respond_to check so rack.input doesn't have to implement it
2009-01-16 20:36:59 -08:00
Josh
7260852187
Fix date_select within fields_for with an index [ #1666 state:resolved] [Josh, Frederick Cheung]
...
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com >
2009-01-16 17:23:43 +00:00
Joshua Peek
b281a6a5b2
Use Rack's MethodOverride lib [ #1699 state:resolved]
2009-01-13 17:26:29 -06:00
Joshua Peek
9775c25824
Update multipart tests to expose (another) bug in Rack's multipart parser
2009-01-13 17:21:45 -06:00
Joshua Peek
1adc1496f9
Add RewindableInput wrapper to fix issues with middleware that impolitely eat up non-rewindable input
2009-01-13 16:09:51 -06:00
Bryan Ash
5a43908c74
Explicitly read as binary in multipart_body for Windows [ #1065 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-01-13 14:42:43 -06:00
Cody Fauser
d3107ce3b0
Use :key instead of old :session_key in session_store.rb generator and docs [ #1746 state:resovled]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-01-13 14:27:23 -06:00
Pratik Naik
c99ef814b0
Revert "HTTP Digest authentication [ #1230 state:resolved]"
...
This reverts commit 45dee3842d .
Reasons :
1. The code is not working in it's current state
2. Should not be using exceptions for flow control
2009-01-13 16:13:42 +00:00
Pratik Naik
5339f813be
Change Object#try to raise NoMethodError on private methods and always return nil when Object is nil [Pratik Naik, Lawrence Pit]
2009-01-13 03:28:32 +00:00
Joshua Peek
18cb0493d1
Refactor request urlencoded params parsing tests
2009-01-10 16:02:03 -06:00
Joshua Peek
9fe69b225c
Moved query string parsing tests into the request tests folder
2009-01-10 11:39:57 -06:00
Joshua Peek
92dbf5ba83
Refactor request multipart params parsing tests
2009-01-10 11:32:38 -06:00
Joshua Peek
40a75a5091
Refactor request xml params parsing tests
2009-01-09 16:05:27 -06:00
Joshua Peek
38a723e6ea
Refactor request json params parsing tests
2009-01-09 15:43:32 -06:00
Joshua Peek
ac4bf1180a
Ensure we override Rack::Request's POST method too
2009-01-09 13:12:39 -06:00
Joshua Peek
282c1d6159
Refactor request query string parsing tests
2009-01-09 12:52:59 -06:00