Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make test more resilient to future changes by not | Neeraj Singh | 2010-11-22 | 1 | -2/+0 |
| | | | | | | | | | | testing the count and not testing the internal value of the registered mime type. Ideally all mime type registration should be cleaned up in teardown. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | rename star star to just one star | Neeraj Singh | 2010-11-22 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | cleanup Mime::LOOKUP after registering image/gif | Neeraj Singh | 2010-11-22 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix test | Neeraj Singh | 2010-11-22 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | test for text/*, application/* and image/* | Neeraj Singh | 2010-11-22 | 1 | -1/+27 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | delegating path and open to internal tempfile | Aaron Patterson | 2010-11-18 | 1 | -0/+12 |
| | |||||
* | Brought the domain method in AD http url inline with subdomain where ↵ | Josh Kalderimis | 2010-11-16 | 1 | -0/+3 |
| | | | | @@tld_length is used by default. Also set the default value of @@tld_length to 1. | ||||
* | Make cookies hash in ActionDispatch::TestProcess indifferent access [#5761 ↵ | David Trasbo | 2010-11-07 | 1 | -0/+18 |
| | | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add additional HTTP request methods from the following RFCs: | Andrew White | 2010-11-02 | 1 | -0/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Hypertext Transfer Protocol -- HTTP/1.1 http://www.ietf.org/rfc/rfc2616.txt) * HTTP Extensions for Distributed Authoring -- WEBDAV http://www.ietf.org/rfc/rfc2518.txt * Versioning Extensions to WebDAV http://www.ietf.org/rfc/rfc3253.txt * Ordered Collections Protocol (WebDAV) http://www.ietf.org/rfc/rfc3648.txt * Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol http://www.ietf.org/rfc/rfc3744.txt * Web Distributed Authoring and Versioning (WebDAV) SEARCH http://www.ietf.org/rfc/rfc5323.txt * PATCH Method for HTTP http://www.ietf.org/rfc/rfc5789.txt [#2809 state:resolved] [#5895 state:resolved] | ||||
* | Don't write out secure cookies unless the request is secure | Andrew White | 2010-10-25 | 1 | -0/+23 |
| | |||||
* | Fix status initialization when custom status provided | Krekoten' Marjan | 2010-10-18 | 1 | -0/+4 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Show exceptions rescues the original exception | Les Hill and Sandro Turriate | 2010-10-12 | 1 | -0/+20 |
| | | | | | | [#5784 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | make sure request parameters are accessible after rack throws an exception ↵ | Miles Egan | 2010-10-12 | 1 | -0/+12 |
| | | | | | | parsing the query string [#3030 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | only forwarding enough methods to work. People should grab the delegate ↵ | Aaron Patterson | 2010-10-04 | 1 | -14/+8 |
| | | | | tempfile if they really need to do hard work | ||||
* | making sure respond_to? works properly | Aaron Patterson | 2010-10-04 | 1 | -0/+15 |
| | |||||
* | raising an argument error if tempfile is not provided | Aaron Patterson | 2010-10-04 | 1 | -3/+9 |
| | |||||
* | if it walks like a duck and talks like a duck, it must be a duck | Aaron Patterson | 2010-10-04 | 1 | -7/+0 |
| | |||||
* | delegate to the @tempfile instance variable | Aaron Patterson | 2010-10-04 | 1 | -0/+18 |
| | |||||
* | adding tests for uploaded file | Aaron Patterson | 2010-10-04 | 1 | -0/+25 |
| | |||||
* | Ensure the proper content type is returned for static files. | José Valim | 2010-10-04 | 1 | -20/+27 |
| | |||||
* | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 1 | -8/+3 |
| | |||||
* | Rely on Rack::Session stores API for more compatibility across the Ruby world. | José Valim | 2010-10-03 | 1 | -12/+0 |
| | |||||
* | removing more duplicate code | Aaron Patterson | 2010-10-01 | 1 | -14/+0 |
| | |||||
* | Allow mounting engines at '/' | Piotr Sarnacki | 2010-09-30 | 1 | -16/+77 |
| | | | | | Without that commit script_name always become '/', which results in paths like //posts/1 instead of /posts/1 | ||||
* | Ensure that named routes do not overwrite previously defined routes. | José Valim | 2010-09-29 | 1 | -0/+18 |
| | |||||
* | Change test to avoid warnings. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 |
| | |||||
* | Initialize @trusted_proxies. | Emilio Tagua | 2010-09-28 | 1 | -0/+1 |
| | |||||
* | undef method if already defined. | Emilio Tagua | 2010-09-28 | 1 | -0/+1 |
| | |||||
* | Remove useless use of :: in void context. | Emilio Tagua | 2010-09-28 | 1 | -1/+0 |
| | |||||
* | Remove more warnings shadowing outer local variable. | Emilio Tagua | 2010-09-27 | 1 | -8/+8 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove more warnings shadowing outer local variable. | Emilio Tagua | 2010-09-27 | 1 | -8/+8 |
| | |||||
* | Remove duplicated test. | Emilio Tagua | 2010-09-27 | 1 | -8/+0 |
| | |||||
* | Use parentheses when using assert_match followed by a regexp to avoid warnings. | Emilio Tagua | 2010-09-27 | 4 | -16/+16 |
| | |||||
* | Remove deprecated stuff in ActionController | Carlos Antonio da Silva | 2010-09-26 | 9 | -13/+13 |
| | | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController. | ||||
* | Add ActionDispatch::TestResponse tests. | John Firebaugh | 2010-09-25 | 1 | -0/+21 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Raise ArgumentError instead of normalizing controller name when there is a ↵ | Andrew White | 2010-09-18 | 1 | -6/+30 |
| | | | | leading slash [#5651 state:resolved] | ||||
* | Remove leading slash from controller [#5651 state:resolved] | Andrew White | 2010-09-18 | 1 | -0/+8 |
| | |||||
* | Add RouteSet#append | Carl Lerche | 2010-09-17 | 1 | -0/+33 |
| | | | Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn. | ||||
* | Only send secure cookies over SSL. | W. Andrew Loe III | 2010-09-13 | 2 | -0/+28 |
| | |||||
* | added block arguments to ActionController::Metal#use | Collin Miller | 2010-09-12 | 1 | -1/+16 |
| | | | | | | | | | | | Useful for cases such as warden, where a block configuration is taken. class SomeController < ApplicationController use RailsWarden::Manager do |manager| manager.default_strategies :facebook_oauth manager.failure_app = SomeController.action(:authorize) end end | ||||
* | Merge remote branch 'drogus/engines' | wycats | 2010-09-11 | 1 | -4/+4 |
|\ | |||||
| * | Change app to main_app in mounted_helpers | Piotr Sarnacki | 2010-09-08 | 1 | -3/+3 |
| | | |||||
| * | Do not require passing :app to mounted helpers, it's actually useless and ↵ | Piotr Sarnacki | 2010-09-08 | 1 | -1/+1 |
| | | | | | | | | not DRY | ||||
* | | Add configuration option for tld length | Simon Jefford | 2010-09-09 | 1 | -0/+5 |
|/ | |||||
* | Removed deprecated RouteSet API, still many tests fail | Piotr Sarnacki | 2010-09-05 | 7 | -7/+7 |
| | |||||
* | Implemented RouteSet#default_scope, which allows to set the scope for the ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -0/+29 |
| | | | | entire routes object | ||||
* | Modified ActionDispatch::Static to allow passing multiple roots | Piotr Sarnacki | 2010-09-03 | 1 | -11/+50 |
| | |||||
* | Ensure that url_helpers included after application's ones have higher priority | Piotr Sarnacki | 2010-09-03 | 1 | -0/+15 |
| | |||||
* | Add mounted_helpers to routes | Piotr Sarnacki | 2010-09-03 | 2 | -66/+70 |
| | | | | | | | | | | | | | | | | mounted_helpers are a bit similar to url_helpers. They're automatically included in controllers for Rails.application and each of mounted Engines. Mounted helper allows to call url_for and named helpers for given application. Given Blog::Engine mounted as blog_engine, there are 2 helpers defined: app and blog_engine. You can call routes for app and engine using those helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post) | ||||
* | Routes refactoring: | Piotr Sarnacki | 2010-09-03 | 1 | -46/+71 |
| | | | | | | | * added more tests for prefix generation * fixed bug with generating host for both prefix and url * refactored url_for method * organized tests for prefix generation |