aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
* Updates subscriber test for new outputYehuda Katz2010-02-051-1/+1
|
* Test that csrf meta content is html-escaped, tooJeremy Kemper2010-02-041-1/+2
|
* Revert dumb testJeremy Kemper2010-02-041-2/+2
|
* HTML-escape csrf meta contentsJeremy Kemper2010-02-041-2/+2
|
* Expose CSRF param name alsoJeremy Kemper2010-02-041-1/+1
|
* Expose CSRF tag for UJS adaptersJeremy Kemper2010-02-041-1/+15
|
* Convert to class_attributeJeremy Kemper2010-02-011-2/+2
|
* Add support for compile-time <%= raw %>Yehuda Katz2010-01-311-22/+34
|
* For performance reasons, you can no longer call html_safe! on Strings. ↵Yehuda Katz2010-01-312-3/+3
| | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
* deOMGifying Railties, Active Support, and Action PackMikel Lindsaar2010-01-315-31/+31
|
* Improve missing template error messages a little bit.José Valim2010-01-311-1/+1
|
* Move form_remote_tag and remote_form_for into prototype_legacy_helperJoshua Peek2010-01-301-27/+18
|
* Bring helpers_dir deprecation back.José Valim2010-01-301-11/+10
|
* Get rid of AM warnings in AP test suite.José Valim2010-01-291-2/+2
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-0/+272
|
* Fix t('.helper').José Valim2010-01-261-10/+11
|
* Add a deprecation for helpers_dir.José Valim2010-01-251-2/+13
|
* Fix failing tests after merge.José Valim2010-01-241-2/+2
|
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-212-6/+20
| | | | anything in the middleware stack.
* Default to sync instrumentation.José Valim2010-01-211-15/+3
|
* Tidy up new filter_parameters implementation.José Valim2010-01-211-1/+4
|
* Add deprecation warning for calling filter_parameter_logging ↵Prem Sichanugrist2010-01-211-51/+0
| | | | | | ActionController::Base, and allow it to be configured in config.filter_parameters Signed-off-by: José Valim <jose.valim@gmail.com>
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-201-26/+0
|
* Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-191-1/+1
| | | | nil!)
* Move parameters to the top on logging.José Valim2010-01-191-24/+30
|
* Fix failing test.José Valim2010-01-191-2/+2
|
* Clear out AS callback method pollution in AC::Base.action_methodsJoshua Peek2010-01-171-1/+27
|
* Accessing nonexistant cookies through the signed jar should not raise anJoshua Peek2010-01-171-0/+5
| | | | exception
* Module lookup issue on flash_test using ruby 1.9 solved [#3716 status:resolved]Sam Elliott and Santiago Pastorino2010-01-171-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-171-28/+14
|
* Clean up filter parameter logging tests.José Valim2010-01-171-27/+0
|
* Cookies middlewareJoshua Peek2010-01-161-27/+5
|
* Move Flash into middlewareJoshua Peek2010-01-151-2/+40
|
* Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-151-0/+13
|
* Small tweaks in ActionController subscriber messages format.José Valim2010-01-151-1/+8
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-151-47/+33
|
* Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-131-21/+21
|
* optimise_named_routes is unnecessaryJoshua Peek2010-01-132-14/+0
|
* Tidy up ActiveRecord and Views runtime information on process action logger.José Valim2010-01-141-7/+7
|
* ControllerRuntime tests also use Rails::Subscriber::TestHelper.José Valim2010-01-131-5/+0
|
* Test fragment/page cache and send data/file notifications.José Valim2010-01-131-11/+93
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-134-107/+108
|
* Raise an error if respond_with is invoked and no format is declared.José Valim2010-01-101-68/+62
|
* Ensure that segments in default_url_options also work with format specified.José Valim2010-01-071-0/+8
|
* From now on, parameters defined in default_url_options can be absent from ↵José Valim2010-01-071-43/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views.
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-072-266/+0
| | | | and ActionController up to AbstractController.
* Remove deprecated formatted named routesJosé Valim2010-01-041-18/+0
|
* Ensure no notification is on the queue before running notifications related ↵José Valim2010-01-032-0/+3
| | | | tests.
* Use namespaces in notifications.José Valim2010-01-032-9/+7
|
* Fix new year heisenbugJeremy Kemper2009-12-311-2/+2
|