Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | require 'thread' before using mutex | José Valim | 2011-07-01 | 1 | -0/+1 |
| | |||||
* | Added a configuration setting: | Chris Eppstein | 2011-06-27 | 2 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | | config.action_controller.default_asset_host_protocol It's best to leave this unset. When unset the :request protocol is used whenever it can be and :relative is used in the other situations. When set to :request then assets hosts will be disabled when there is no request in scope and will use the request protocol whenever a request is in scope. If set to :relative, then a relative protocol is always used except for stylesheet link tags which must use the :request protocol to avoid double downloads in IE6&7. Conflicts: actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb | ||||
* | Stylesheet link tags should use the request protocol to avoid duplicate ↵ | Chris Eppstein | 2011-06-27 | 2 | -9/+5 |
| | | | | | | | | | download of stylesheets in IE7 and IE8. Conflicts: actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb actionpack/lib/sprockets/helpers/rails_helper.rb | ||||
* | Add asset_url helper and refactor the asset paths so that asset hosts can be ↵ | Chris Eppstein | 2011-06-27 | 1 | -12/+11 |
| | | | | | | | | | | used during asset precompilation. Conflicts: actionpack/lib/action_view/asset_paths.rb actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb | ||||
* | Rename AV::Helpers::AssetPaths to AV::AssetPaths to solve autoload mess. | José Valim | 2011-06-21 | 1 | -2/+1 |
| | |||||
* | fixed asset_paths when called from sprockets for relative_url_root | jacott | 2011-05-28 | 1 | -10/+1 |
| | |||||
* | Remaining cleanup from changes to AssetTagHelper | tomhuda | 2011-05-24 | 2 | -12/+4 |
| | |||||
* | No need for a regexp here. | José Valim | 2011-05-03 | 1 | -1/+2 |
| | |||||
* | Prototype and Scriptaculous are no longer vendored, but provided by ↵ | Xavier Noria | 2011-04-30 | 1 | -4/+3 |
| | | | | prototype-rails from now on, also the -j option of the application generator is removed | ||||
* | Replace example hostname with "example.com". | Joost Baaij | 2011-04-21 | 2 | -16/+16 |
| | | | | | The hostname used in these comments actually exists, which is undesirable. See also RFC 2606. | ||||
* | Actually add an abstract class, so it is easier to get rid of old asset ↵ | José Valim | 2011-04-19 | 1 | -108/+53 |
| | | | | paths in the future. | ||||
* | Let's use inheritance here, shall we? | José Valim | 2011-04-19 | 4 | -12/+12 |
| | |||||
* | Switch to asset_path and make it available in the Sprockets::Context (now ↵ | David Heinemeier Hansson | 2011-04-19 | 2 | -2/+2 |
| | | | | you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting) | ||||
* | Remove the ability for engines to serve assets from the public directory. | José Valim | 2011-04-15 | 1 | -3/+0 |
| | |||||
* | jQuery is the new default | Xavier Noria | 2011-04-13 | 1 | -58/+70 |
| | |||||
* | Use sprockets helpers if config.use_sprockets is set | Joshua Peek | 2011-03-29 | 2 | -6/+22 |
| | |||||
* | Remove sprockets exception from main asset helpers | Joshua Peek | 2011-03-28 | 2 | -20/+0 |
| | |||||
* | Add sprockets md5s to asset tags | Joshua Peek | 2011-03-22 | 2 | -0/+20 |
| | |||||
* | javascript_include_tag shouldn't raise if you register an expansion key with ↵ | Santiago Pastorino | 2011-02-28 | 2 | -2/+2 |
| | | | | nil value | ||||
* | merges docrails | Xavier Noria | 2011-02-18 | 1 | -1/+1 |
|\ | |||||
| * | Fix Typos: remove several occurences of the the | Nicholas Rowe | 2011-02-17 | 1 | -1/+1 |
| | | |||||
* | | Applied changes to stylesheet_link_tag from javascript_include_tag which ↵ | Josh Kalderimis | 2011-02-13 | 2 | -14/+15 |
| | | | | | | | | corrects issues with ordering and duplicates. | ||||
* | | This corrects two issues with javascript_include_tag, the order at which ↵ | Josh Kalderimis | 2011-02-13 | 1 | -4/+23 |
|/ | | | | | | | | they are expanded, and removing duplicates. When individual js assets are specified, they will override the order of the same asset specified in an expansion. [#5938 state:resolved] | ||||
* | Allow registering javascript/stylesheet_expansions to existing symbols | Santiago Pastorino | 2010-12-22 | 2 | -4/+10 |
| | |||||
* | Do not use the same hash instance for expansions [#6114 state:resolved] | Piotr Sarnacki | 2010-12-22 | 1 | -1/+3 |
| | | | | | Using the same hash instance makes using the same expansions for both javascripts and stylesheets. | ||||
* | No need to return anything | Neeraj Singh | 2010-11-24 | 1 | -1/+0 |
| | |||||
* | Fix AssetIncludeTag ensuring that files are in the wrong directory [#6015 ↵ | Henning Koch | 2010-11-19 | 1 | -3/+3 |
| | | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | changed asset_timestamps_cache to asset_ids_cache, added an rdoc comment to ↵ | Josh Kalderimis | 2010-11-16 | 1 | -15/+19 |
| | | | | the new public api, and updated the railtie | ||||
* | corrected the AV railtie to use the new home for cache_asset_timestamps, and ↵ | Josh Kalderimis | 2010-11-16 | 3 | -74/+46 |
| | | | | merged asset id caching and asset paths together. | ||||
* | reorganised the the common asset helpers module into a class and have it ↵ | Josh Kalderimis | 2010-11-16 | 5 | -119/+119 |
| | | | | include the id caching module, this class is now shared from the view instance to the asset include tag helpers (js and css) | ||||
* | incorporated most of the feedback from José | Josh Kalderimis | 2010-11-16 | 5 | -286/+40 |
| | |||||
* | reduced duplication between the javascript and stylesheet asset tag methods, ↵ | Josh Kalderimis | 2010-11-16 | 7 | -256/+311 |
| | | | | also split the asset id caching methods into a separate module for easy inclusion and use by the asset include tag class and base asset tag helpers | ||||
* | separated the asset id methods to a separate module, removed some dupliation ↵ | Josh Kalderimis | 2010-11-16 | 5 | -8/+482 |
| | | | | with the various path methods, and moved the base asset tag methods to a base module so the asset id module can play nice with the path generation | ||||
* | split the javascript and stylesheet tag helpers into separate files as a ↵ | Josh Kalderimis | 2010-11-16 | 2 | -0/+344 |
precusor before removing the duplication between the two |