Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 1 | -1/+0 | |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | |||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 1 | -0/+1 | |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Expanded routing documentation with current best practices | Joost Baaij | 2010-08-29 | 1 | -10/+9 | |
| | ||||||
* | escape constants that should not be linked to | Joost Baaij | 2010-08-27 | 2 | -3/+3 | |
| | ||||||
* | Reset symbolized path parameters when a test request is recycled [#5437 ↵ | Andrew White | 2010-08-24 | 1 | -2/+2 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Cache the symbolized path parameters using a instance variable in the ↵ | Andrew White | 2010-08-22 | 1 | -2/+2 | |
| | | | | | | | | | | | request object rather than the environment hash. This it to prevent stale parameters in later routing constraints/redirects as only the normal path parameters are set by Rack::Mount. Also if a constraint proc arity is more than one, pass the symbolized path parameters as the first argument to match redirect proc args and provide easier access. [#5157 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Don't add the standard https port when using redirect in routes.rb and ↵ | Andrew White | 2010-08-20 | 1 | -0/+10 | |
| | | | | | | | | ensure that request.scheme returns https when using a reverse proxy. [#5408 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -10/+10 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | Moves local_request? to require.local? | Santiago Pastorino | 2010-08-13 | 1 | -0/+7 | |
| | | | | [#5361 state:committed] | |||||
* | no need to assign if we are gonna return | Xavier Noria | 2010-08-12 | 1 | -2/+2 | |
| | ||||||
* | Extract ParameterFilter class from FilterParameters mixin | Bryan Helmkamp | 2010-07-19 | 2 | -64/+81 | |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Removing ActionDispatch::Http::FilterParameters#fitered_parameters alias | Nick Quaranto | 2010-07-18 | 1 | -2/+1 | |
| | ||||||
* | ETag: use body instead of @body since the method will always return a string | Jeremy Kemper | 2010-06-28 | 1 | -2/+2 | |
| | ||||||
* | Fix several known web encoding issues: | wycats | 2010-06-27 | 1 | -1/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | * Specify accept-charset on all forms. All recent browsers, as well as IE5+, will use the encoding specified for form parameters * Unfortunately, IE5+ will not look at accept-charset unless at least one character in the form's values is not in the page's charset. Since the user can override the default charset (which Rails sets to UTF-8), we provide a hidden input containing a unicode character, forcing IE to look at the accept-charset. * Now that the vast majority of web input is UTF-8, we set the inbound parameters to UTF-8. This will eliminate many cases of incompatible encodings between ASCII-8BIT and UTF-8. * You can safely ignore params[:_snowman_] TODO: * Validate inbound text to confirm it is UTF-8 * Combine the whole_form implementations in form_helper_test and form_tag_helper_test | |||||
* | Just reading flash messages should not create a session if one does not ↵ | José Valim | 2010-06-25 | 1 | -0/+3 | |
| | | | | exist yet. | |||||
* | Sessions should not be created until written to and session data should be ↵ | Michael Lovitt | 2010-06-23 | 1 | -1/+1 | |
| | | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-20 | 1 | -0/+0 | |
|\ | | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb | |||||
| * | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 1 | -0/+0 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 3 | -4/+4 | |
|/ | ||||||
* | Improve performance of commonly used request methods | wycats | 2010-06-04 | 1 | -7/+19 | |
| | ||||||
* | Rely on set and delete cookie logic from rack. | José Valim | 2010-05-18 | 1 | -33/+2 | |
| | ||||||
* | Some require indifferent_access added | Santiago Pastorino | 2010-04-21 | 1 | -1/+2 | |
| | | | | Signed-off-by: Xavier Noria <fxn@ubuntu.(none)> | |||||
* | Missing requires | wycats | 2010-04-16 | 1 | -0/+1 | |
| | ||||||
* | * Change the object used in routing constraints to be an instance of | wycats | 2010-04-03 | 1 | -21/+39 | |
| | | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request | |||||
* | Slightly less annoying check for acceptable mime_types. This allows Accept: ↵ | Paul Sadauskas | 2010-04-01 | 1 | -2/+2 | |
| | | | | application/json, application/jsonp (and the like), but still blacklists browsers. Essentially, we use normal content negotiation unless you include */* in your list, in which case we assume you're a browser and send HTML [#3541 state:resolved] | |||||
* | Request#content_type exists in Rack::Request, and other parts of ↵ | wycats | 2010-03-28 | 2 | -5/+9 | |
| | | | | | | Rack::Request expect it to return a String. Split the Rails API so that Request#content_type returns a String, and Request#content_mime_type returns a Mime::Type object. | |||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 4 | -0/+6 | |
| | ||||||
* | adds missing requires for Object#duplicable? | Xavier Noria | 2010-03-28 | 1 | -0/+1 | |
| | ||||||
* | Clean up Mime::Type and remove deprecated stuff (from 2.3). | José Valim | 2010-03-20 | 1 | -7/+1 | |
| | ||||||
* | Eliminate warnings for AM on 1.8 | wycats | 2010-03-16 | 1 | -1/+0 | |
| | ||||||
* | Remove uneeded methods. | José Valim | 2010-03-10 | 1 | -15/+0 | |
| | ||||||
* | Add memoizing to AD::Request | Carlhuda | 2010-03-08 | 1 | -0/+8 | |
| | ||||||
* | Add caller to request_uri deprecation notice | Carlhuda | 2010-03-03 | 1 | -1/+1 | |
| | ||||||
* | Move remote_ip to a middleware: | Carlhuda | 2010-03-03 | 1 | -30/+1 | |
| | | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies | |||||
* | ActionDispatch::Request deprecates #request_uri | Carl Lerche | 2010-03-03 | 1 | -10/+3 | |
| | | | | * Refactored ActionPatch to use fullpath instead | |||||
* | Rack::Request actually defines #query_string | Carl Lerche | 2010-03-03 | 1 | -5/+0 | |
| | ||||||
* | Tweak the semantic of various URL related methods of ActionDispatch::Request | Carlhuda | 2010-03-03 | 1 | -25/+6 | |
| | ||||||
* | Request#subdomain returns a string version of Request#subdomains | Joshua Peek | 2010-02-28 | 1 | -0/+4 | |
| | ||||||
* | Set the body using the accessor for AD::Response introspection mode so it ↵ | Carlhuda | 2010-02-26 | 1 | -1/+2 | |
| | | | | gets wrapped in a [] | |||||
* | Make AD::Response correctly handle bodies that respond_to?(:to_path) as per ↵ | Carlhuda | 2010-02-23 | 1 | -0/+12 | |
| | | | | the Rack spec | |||||
* | Store compiled parameter filters so we don't have to compile them in each ↵ | José Valim | 2010-02-21 | 1 | -25/+40 | |
| | | | | request. | |||||
* | Fix a bunch of pending tests by providing an introspection mode for the ↵ | Carlhuda | 2010-02-19 | 2 | -18/+39 | |
| | | | | Response object that does up-front parsing of the headers to populate things like @etag | |||||
* | Make filter parameters based on request, so they can be modified for ↵ | José Valim | 2010-01-21 | 1 | -62/+66 | |
| | | | | anything in the middleware stack. | |||||
* | Tidy up new filter_parameters implementation. | José Valim | 2010-01-21 | 3 | -89/+95 | |
| | ||||||
* | Move filter_parameter_logging logic out of the controller and create ↵ | Prem Sichanugrist | 2010-01-21 | 3 | -23/+89 | |
| | | | | | | ActionDispatch::ParametersFilter to handle parameter filteration instead. This will make filteration not depending on controller anymore. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Request#filter_parameters and filter_env | Joshua Peek | 2010-01-20 | 1 | -2/+24 | |
| | ||||||
* | Cookies middleware | Joshua Peek | 2010-01-16 | 1 | -1/+1 | |
| | ||||||
* | Split ActionDispatch http in smaller chunks. | José Valim | 2010-01-16 | 7 | -430/+480 | |
| | ||||||
* | Move Flash into middleware | Joshua Peek | 2010-01-15 | 1 | -4/+0 | |
| | ||||||
* | Make HEAD method masquerade as GET so requests are routed correctly | Joshua Peek | 2010-01-15 | 1 | -5/+7 | |
| |