Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix test to use Mime::Zip | Arun Agrawal | 2011-06-28 | 1 | -1/+1 | |
| | ||||||
* | Use assert_equal instead of assert in uploaded file test. | Lukáš Konarovský | 2011-06-15 | 1 | -1/+1 | |
| | ||||||
* | all requests are utf-8. Don't use the external encoding. | Damien Mathieu | 2011-06-14 | 1 | -6/+1 | |
| | ||||||
* | encode the uploaded file's name in the default external encoding - Closes #869 | Damien Mathieu | 2011-06-14 | 1 | -0/+12 | |
| | ||||||
* | remove warning: assigned but unused variable | Santiago Pastorino | 2011-06-08 | 1 | -1/+0 | |
| | ||||||
* | Add backward compatibility for testing cookies | Andrew White | 2011-06-05 | 1 | -2/+49 | |
| | | | | | | | | | | | | | | | | | | | This commit restores the ability to assign cookies for testing via @request.env['HTTP_COOKIE'] and @request.cookies, e.g: @request.env['HTTP_COOKIE'] = 'user_name=david' get :index assert_equal 'david', cookies[:user_name] and @request.cookies[:user_name] = 'david' get :index assert_equal 'david', cookies[:user_name] Assigning via cookies[] is the preferred method and will take precedence over the other two methods. This is so that cookies set in controller actions have precedence and are carried over between calls to get, post, etc. | |||||
* | Ensure cookie keys are strings | Andrew White | 2011-06-05 | 1 | -0/+9 | |
| | ||||||
* | Refactor ActionController::TestCase cookies | Andrew White | 2011-06-04 | 2 | -24/+21 | |
| | | | | | | | | | | | | | | | | | | Assigning cookies for test cases should now use cookies[], e.g: cookies[:email] = 'user@example.com' get :index assert_equal 'user@example.com', cookies[:email] To clear the cookies, use clear, e.g: cookies.clear get :index assert_nil cookies[:email] We now no longer write out HTTP_COOKIE and the cookie jar is persistent between requests so if you need to manipulate the environment for your test you need to do it before the cookie jar is created. | |||||
* | removed deprecated methods, and related tests, from ActionPack | Josh Kalderimis | 2011-05-24 | 1 | -37/+0 | |
| | ||||||
* | Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵ | Jon Leighton | 2011-05-23 | 1 | -1/+1 | |
| | | | | and require 'securerandom' from the stdlib when active support is required. | |||||
* | adding test | steve | 2011-05-19 | 1 | -4/+8 | |
| | ||||||
* | Dump and load rack-cache stuff. | José Valim | 2011-05-17 | 1 | -0/+21 | |
| | ||||||
* | Fix previous commit by allowing a proc to be given as response_body. This is ↵ | José Valim | 2011-05-10 | 1 | -5/+4 | |
| | | | | deprecated and is going to be removed in future releases. | |||||
* | Merge pull request #446 from danielstutzman/response_body_is_proc | José Valim | 2011-05-10 | 1 | -0/+38 | |
|\ | | | | | New test: setting response_body to a Proc should be supported. | |||||
| * | New test: setting response_body to a Proc should be supported. | Daniel Stutzman | 2011-05-07 | 1 | -0/+38 | |
| | | ||||||
* | | Logs should show overridden method; Issue 426 | David Lee | 2011-05-07 | 1 | -0/+7 | |
| | | ||||||
* | | Don't pluralize, camelize. | José Valim | 2011-05-06 | 1 | -2/+2 | |
|/ | ||||||
* | Fix renew feature on cookies. | José Valim | 2011-05-04 | 1 | -0/+16 | |
| | ||||||
* | Fix .subdomain regression. | José Valim | 2011-05-04 | 1 | -0/+9 | |
| | ||||||
* | Sets the HTTP charset parameter for rescue response. | Matias Korhonen | 2011-05-03 | 1 | -0/+7 | |
| | ||||||
* | Static middleware accepts cache control. | José Valim | 2011-05-03 | 1 | -1/+7 | |
| | ||||||
* | Multipart is now fixed in Rack. | José Valim | 2011-05-03 | 1 | -14/+8 | |
| | ||||||
* | Koz asked to test something crazy. | José Valim | 2011-05-02 | 1 | -0/+12 | |
| | ||||||
* | Add ignore_accept_header config to AD::Request. | José Valim | 2011-05-02 | 1 | -0/+22 | |
| | ||||||
* | Add `ActionController::ParamsWrapper` to wrap parameters into a nested hash | Prem Sichanugrist | 2011-05-03 | 2 | -0/+91 | |
| | | | This will allow us to do a rootless JSON/XML request to server. | |||||
* | Fix tests, main_app mounted helper must be defined explicitly now. | Piotr Sarnacki | 2011-04-25 | 1 | -0/+1 | |
| | ||||||
* | Do not inherit from Rack::Response, remove a shit-ton of unused code. | José Valim | 2011-04-19 | 1 | -16/+0 | |
| | ||||||
* | Make static faster as we don't have to serve multiple paths anymore. | José Valim | 2011-04-15 | 1 | -32/+1 | |
| | ||||||
* | Remove `#among?` from Active Support | Prem Sichanugrist | 2011-04-13 | 1 | -1/+1 | |
| | | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`. | |||||
* | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵ | David Heinemeier Hansson | 2011-04-12 | 1 | -1/+1 | |
| | | | | suggestion! | |||||
* | Fix failing test case on master | Prem Sichanugrist | 2011-04-10 | 1 | -1/+1 | |
| | | | | It turned out that I overlook at some replacements .. | |||||
* | Using Object#in? and Object#either? in various places | Prem Sichanugrist | 2011-04-11 | 1 | -1/+2 | |
| | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?. | |||||
* | Revert "Use freeze instead of close!" | Santiago Pastorino | 2011-04-07 | 1 | -6/+0 | |
| | | | | This reverts commit 29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af. | |||||
* | cookies here | Santiago Pastorino | 2011-04-07 | 1 | -3/+3 | |
| | ||||||
* | Use freeze instead of close! | Santiago Pastorino | 2011-04-06 | 1 | -0/+6 | |
| | ||||||
* | Delete useless arguments | Santiago Pastorino | 2011-04-06 | 1 | -6/+6 | |
| | ||||||
* | Delete useless env variable | Santiago Pastorino | 2011-04-06 | 1 | -9/+3 | |
| | ||||||
* | Add tests to verify that signed and permanent cookies raises if someone tries | Santiago Pastorino | 2011-04-06 | 1 | -0/+51 | |
| | | | | | to modify the cookies when it was already streamed back to the client or converted to HTTP headers | |||||
* | raise if someone tries to modify the cookies when it was already streamed ↵ | Santiago Pastorino | 2011-04-06 | 1 | -0/+51 | |
| | | | | back to the client or converted to HTTP headers | |||||
* | Remove 'warning: ambiguous first argument' when running ActionPack tests | Sebastian Martinez | 2011-03-29 | 1 | -2/+2 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Move mapper_test to the appropriate location | Prem Sichanugrist | 2011-03-29 | 1 | -0/+88 | |
| | | | | | | It seems like in 89c5b9aee7d7db95cec9e5a934c3761872ab107e Aaron actually put the test in action_dispatch folder. However, there's already a `test/dispatch` directory which I think it's more appropriate. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | |||||
* | correction to the outputted controller name in the diagnostics error ↵ | Josh Kalderimis | 2011-03-24 | 1 | -0/+16 | |
| | | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Filter sensitive query string parameters in the log [#6244 state:committed] | Prem Sichanugrist & Xavier Noria | 2011-03-11 | 1 | -0/+38 | |
| | | | | | | This provides more safety to applications that put secret information in the query string, such as API keys or SSO tokens. Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | Improve testing of cookies in functional tests: | Andrew White | 2011-03-06 | 2 | -2/+67 | |
| | | | | | | | | | - cookies can be set using string or symbol keys - cookies are preserved across calls to get, post, etc. - cookie names and values are escaped - cookies can be cleared using @request.cookies.clear [#6272 state:resolved] | |||||
* | Raise ArgumentError if route name is invalid [#6517 state:resolved] | Andrew White | 2011-03-06 | 1 | -0/+32 | |
| | ||||||
* | make sure string keys are always looked up from the class cache | Aaron Patterson | 2011-03-02 | 1 | -0/+25 | |
| | ||||||
* | Ruby 1.8: Y U NO FUN? | Aaron Patterson | 2011-03-02 | 1 | -1/+3 | |
| | ||||||
* | refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵ | Aaron Patterson | 2011-03-01 | 1 | -0/+50 | |
| | | | | that anonymous classes are supported | |||||
* | Add test to prevent regression on namespace root nested in a resource | Andrew White | 2011-02-14 | 1 | -0/+9 | |
| | | | | [#6389 state:resolved] | |||||
* | Fix named route helper for routes nested inside deeply nested resources | Andrew White | 2011-02-14 | 1 | -1/+9 | |
| | | | | [#6416 state:resolved] |