Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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] | |||||
* | Fix assert_recognizes with block constraints [#5805 state:resolved] | Andrew White | 2011-02-13 | 1 | -0/+103 | |
| | ||||||
* | Use Mime::Type references. | José Valim | 2011-02-08 | 1 | -0/+7 | |
| | ||||||
* | cleaning up some warnings on 1.9.3 | Aaron Patterson | 2011-02-07 | 3 | -7/+6 | |
| | ||||||
* | fixed bug with nested resources within shallow scope | german | 2011-02-04 | 1 | -0/+62 | |
| | | | | | | [#6372 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Add tld_length option when using domain :all in cookies | brainopia | 2011-01-21 | 1 | -0/+36 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Support list of possible domains for cookies | brainopia | 2011-01-21 | 1 | -0/+45 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Don't deprecate to_prepare. | José Valim | 2010-12-23 | 1 | -5/+7 | |
| | ||||||
* | Clean up callbacks should also be called on exceptions. | José Valim | 2010-12-23 | 1 | -0/+14 | |
| | ||||||
* | Small changes on AD::Reloader. | José Valim | 2010-12-20 | 1 | -20/+5 | |
| | ||||||
* | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare | John Firebaugh | 2010-12-20 | 1 | -59/+13 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Introduce ActionDispatch::Reloader | John Firebaugh | 2010-12-20 | 1 | -0/+139 | |
| | | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix edge cases for domain :all option on cookie store | brainopia | 2010-12-16 | 1 | -0/+21 | |
| | | | | | | | | Dont set explicit domain for cookies if host is not a domain name [#6002 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Check if the routes object really responds to define_mount_prefix. | José Valim | 2010-12-09 | 1 | -0/+18 | |
| | ||||||
* | Merge remote branch 'joshk/redirect_routing' | José Valim | 2010-12-03 | 2 | -0/+90 | |
|\ | | | | | | | | | | | | | | | Conflicts: actionpack/CHANGELOG actionpack/lib/action_controller/metal/mime_responds.rb Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Added documentation explaining the new additional supported syntaxes for the ↵ | Josh Kalderimis | 2010-11-30 | 1 | -0/+17 | |
| | | | | | | | | routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax. | |||||
| * | The redirect routing method now allows for a hash of options which only ↵ | Josh Kalderimis | 2010-11-30 | 2 | -0/+73 | |
| | | | | | | | | changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method. | |||||
* | | Fix tests on 1.9.2. | José Valim | 2010-11-28 | 1 | -5/+4 | |
| | | ||||||
* | | trailing star mimes should respect the order in which mime types are defined. | José Valim | 2010-11-28 | 1 | -13/+6 | |
|/ | ||||||
* | Dynamically generaeted helpers on collection should not clobber resources ↵ | José Valim | 2010-11-25 | 1 | -0/+11 | |
| | | | | url helper [#6028 state:resolved] | |||||
* | process text/* if it appears in the middle of | Neeraj Singh | 2010-11-25 | 1 | -0/+20 | |
| | | | | HTTP_ACCEPT parameter | |||||
* | processing image/* is an odditity because there is | Neeraj Singh | 2010-11-25 | 1 | -6/+0 | |
| | | | | | | a test case which expects image/* to not to be expanded. So I am leaving image/* as it is and process only text/* and application/* | |||||
* | clean up test by using unregister method | Neeraj Singh | 2010-11-25 | 1 | -2/+1 | |
| | ||||||
* | unregister method implementation and test | Neeraj Singh | 2010-11-25 | 1 | -0/+17 | |
| | ||||||
* | port_string bought back to life as it is part of the public api | Josh Kalderimis | 2010-11-24 | 1 | -1/+9 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> |