aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* assert nothing raised for setting a cookie value to nil in ActionDispatchBradford Folkens2011-07-141-0/+5
|
* Bump rack upSantiago Pastorino2011-07-131-1/+1
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-2/+2
| | | | tmp/assets_cache between deploys.
* Fixed session ID fixation for ActiveRecord::SessionStoreJoseph Wong2011-07-121-0/+31
| | | | | | | | | | | | | | | | | I have found that Rails will take an invalid session ID specified by the client and materialize a session based on that session ID. This means that it is possible, among other things, for a client to use an arbitrarily weak session ID or for a client to resurrect a previous used session ID. In other words, we cannot guarantee that all session IDs are generated by the server and that they are (statistically) unique through time. The fix is to always generate a new session ID in #get_session if an existing session cannot be found under the incoming session ID. Also added new tests that make sure that an invalid session ID is never materialized into a new session, regardless of whether it comes in via a cookie or a URL parameter (when :cookie_only => false).
* Grouped select helperAndrew Radev2011-07-112-2/+48
| | | | FormBuilder#select now works with a nested data structure.
* Merge pull request #2009 from vatrai/autoload-todo-newJosé Valim2011-07-118-15/+7
|\ | | | | TODO fix explicitly loading exceptations, autoload removed
| * TODO fix explicitly loading exceptations, autoload removedVishnu Atrai2011-07-118-15/+7
| |
* | Require assets in all environments by default and provide a way to opt-out ↵José Valim2011-07-111-2/+7
| | | | | | | | from uglifier.
* | Include TagHelper within AssetTagHelperSam Pohlenz2011-07-101-0/+2
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-094-5/+5
|\ \
| * | find(:all) => allAkira Matsuda2011-07-084-5/+5
| | |
* | | config should always be an AS::InheritableOptions object. Closes #1992Santiago Pastorino2011-07-082-1/+5
| |/ |/|
* | use Zlib.crc2 rather that bytes.sum, as per Aaron's suggestionXavier Noria2011-07-082-3/+4
| | | | | | | | | | | | That integer is rather irrelevant, the only thing that matters is that it is consistent and with no apparent bias. Zlib.crc32 is 8-10 times faster than bytes.sum, so use that.
* | Move config.default_asset_host_protocol to the railtie.José Valim2011-07-072-6/+3
| |
* | removing brittle assertionAaron Patterson2011-07-071-1/+0
| |
* | Using the sum of bytes instead the hash of the path when replacing the ↵Albert Callarisa Roca2011-07-082-3/+5
| | | | | | | | wildcard of the assets path because in ruby 1.9 is not consistent
* | Give higher priority to assets.cache_store.José Valim2011-07-061-1/+1
| |
* | Make compressors lazily load.José Valim2011-07-062-2/+25
| |
* | Remove stream at the class level.José Valim2011-07-062-39/+6
|/ | | | | | This is because only template rendering works with streaming. Setting it at the class level was also changing the behavior of JSON and XML responses, closes #1337.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-052-11/+13
|\
| * document handle_unverified_request methodVijay Dev2011-07-021-0/+2
| |
| * update doc about resetting the session in case of authenticity token mismatchVijay Dev2011-07-011-6/+5
| |
| * clarify which url would be used to cache a page when options are not ↵Matt Jankowski2011-06-261-2/+2
| | | | | | | | provided to #cache_page to determine that url
| * elaborate on how web server configuration to check for static files on disk ↵Matt Jankowski2011-06-261-3/+4
| | | | | | | | enables page caching to work without hitting the app server stack
* | Merge pull request #1925 from spohlenz/refactor-asset-pathsJosé Valim2011-07-023-9/+40
|\ \ | | | | | | Refactor sprockets asset paths to allow for alternate asset environments
| * | Add documentation for asset_prefix and asset_environmentSam Pohlenz2011-07-031-0/+9
| | |
| * | Add tests for alternate asset prefix/environmentSam Pohlenz2011-07-012-0/+13
| | |
| * | Refactor sprockets asset paths to allow for alternate asset environmentsSam Pohlenz2011-07-011-9/+18
| | |
* | | provide a more explicit message when using url_for with nilDamien Mathieu2011-07-023-1/+18
| | | | | | | | | This fixes the problem of having a non-explicit message when the :location option is not provided in respond_with.
* | | require 'thread' before using mutexJosé Valim2011-07-011-0/+1
| | |
* | | It's autoload all the way downAndrew White2011-07-011-1/+1
| | |
* | | Don't require ActionView::Context as it's autoloadedAndrew White2011-07-011-1/+0
| | |
* | | Revert "Add missing require for ActionView::AssetPaths"Andrew White2011-07-011-1/+0
| | | | | | | | | | | | This reverts commit 987eb7d4236513978e3cfcd5c3c159d95d2a84c8.
* | | Add missing requires for ActionView::Context and Module#instance_method_namesAndrew White2011-07-011-0/+2
| | |
* | | Add missing require for ActionView::AssetPathsAndrew White2011-07-011-0/+1
| | |
* | | Revert "Add method fields_for_with_index to FormHelper"José Valim2011-07-013-145/+6
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7c562d5e460d97b18e4f3367b3cfb13401732920. Conflicts: actionpack/lib/action_view/helpers/form_helper.rb
* | | Merge pull request #1927 from bogdan/select_multiple_indexJosé Valim2011-07-012-1/+8
|\ \ \ | |/ / |/| | Fixed ActionView::FormOptionsHelper#select with :multiple => false
| * | Fixed ActionView::FormOptionsHelper#select with :multiple => falseBogdan Gusiev2011-06-302-1/+8
| | |
* | | Make sure respond_with with :js tries to render a template in all casesJosé Valim2011-06-304-6/+23
| | |
* | | Master version is 3.2.0.betaSantiago Pastorino2011-06-301-2/+2
| | |
* | | Bump up rack-cache and tzinfoSantiago Pastorino2011-06-301-2/+2
| | |
* | | Add has_key? and key? methods to CookieJar removed in 0ca69ca65f83b4bb34f8José Valim2011-06-302-0/+14
|/ /
* | Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-291-9/+0
| | | | | | | | javascript_engine ("js") for apps that remove Coffee gem
* | sub suffices hereXavier Noria2011-06-291-1/+1
| |
* | Revert "Delegate to @flashes with 'delegate' instead of manually."Aaron Patterson2011-06-291-2/+24
| | | | | | | | This reverts commit 701e8554a8f69b0c81fe794cba985bfda804161b.
* | Delegate to @flashes with 'delegate' instead of manually.Ben Orenstein2011-06-291-24/+2
| |
* | [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-293-1/+31
| | | | | | | | | | | | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* | No need to register again. As it's default now.Arun Agrawal2011-06-281-3/+3
| | | | | | Removing gif from here because when it got unregister it start failing other places.
* | Fix test to use Mime::ZipArun Agrawal2011-06-282-4/+4
| |
* | Edited actionpack/CHANGELOG via GitHubJosé Valim2011-06-281-0/+4
| |