Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Eliminate unnecessary File.exist? when correct file extension given [#1879 ↵ | Andrew White | 2009-02-05 | 1 | -1/+2 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -50/+74 |
| | |||||
* | Cache AssetTag timestamps | Joshua Peek | 2009-01-04 | 1 | -5/+31 |
| | |||||
* | Revert to the good old days when AssetTag didn't cause anyone problems | Joshua Peek | 2009-01-02 | 1 | -325/+131 |
| | |||||
* | Fixed the AssetTagHelper cache to use the computed asset host as part of the ↵ | David Heinemeier Hansson | 2009-01-01 | 1 | -5/+5 |
| | | | | cache key instead of just assuming the its a string [#1299 state:committed] | ||||
* | Ensure ActionMailer doesn't blow up when a two argument proc is set for the ↵ | Tekin Suleyman | 2008-12-01 | 1 | -1/+1 |
| | | | | | | | asset host Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1394 state:committed] | ||||
* | Make sure #compute_public_path caching allows to return different results ↵ | Sven Fuchs | 2008-11-29 | 1 | -1/+1 |
| | | | | | | for different given sources [#1471 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Added the option to declare an asset_host as an object that responds to call ↵ | David Heinemeier Hansson | 2008-11-27 | 1 | -3/+11 |
| | | | | (see http://github.com/dhh/asset-hosting-with-minimum-ssl for an example) [DHH] | ||||
* | need to make sure the asset type is cached with it in Cache.. name is ↵ | Aaron Batalion | 2008-11-19 | 1 | -2/+2 |
| | | | | | | sufficient, not self Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fixed asset host to not cache objects [#1419 state:resolved] | Aaron Batalion | 2008-11-19 | 1 | -29/+35 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fixed bug with asset timestamping when using relative_url_root (Joe ↵ | David Heinemeier Hansson | 2008-10-26 | 1 | -1/+1 |
| | | | | Goldwasser) [#1265 status:committed] | ||||
* | Fix image_tag behavior on windows. [#1085 state:resolved] | madlep | 2008-10-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fixed AssetTag cache with with relative_url_root [#1022 state:resolved] | Martin Rehfeld | 2008-09-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Refactor AssetTagHelper and fix remaining threadsafe issues. | Joshua Peek | 2008-09-22 | 1 | -148/+316 |
| | |||||
* | Switched computed public paths cache over to a simple hash w/ mutex | Joshua Peek | 2008-09-10 | 1 | -15/+17 |
| | |||||
* | Removed unnecessary Symbol#to_proc from Asset Tag Helper. | Clemens Kofler | 2008-09-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix asset file paths with dangling queries in mtime check | Jeremy Kemper | 2008-08-14 | 1 | -2/+6 |
| | |||||
* | Set asset-cached file ctime and mtime to the max mtime of the combined ↵ | Jeremy Kemper | 2008-08-12 | 1 | -0/+5 |
| | | | | files. Allows for consistent ETag generation without having a shared filesystem. | ||||
* | MemoryStore is the only "unsafe" store. Make it threadsafe by default. | Joshua Peek | 2008-08-06 | 1 | -1/+1 |
| | |||||
* | AbstractRequest.relative_url_root is no longer automatically configured by a ↵ | Joshua Peek | 2008-07-24 | 1 | -3/+3 |
| | | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root | ||||
* | Wrap AssetTagHelper's computed public path cache in a threadsafe store | Joshua Peek | 2008-07-17 | 1 | -33/+25 |
| | |||||
* | Resolved conflict | David Heinemeier Hansson | 2008-07-16 | 1 | -18/+44 |
|\ | |||||
| * | Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵ | Damian Janowski | 2008-07-08 | 1 | -14/+42 |
| | | | | | | | | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Move the file exists checks outside write_asset_file_contents. | Michael Koziarski | 2008-07-03 | 1 | -6/+4 |
| | | | | | | | | This lets us avoid the relatively costly trip through compute_*_paths if the file already exists. | ||||
* | | Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host ↵ | David Heinemeier Hansson | 2008-07-16 | 1 | -11/+14 |
|/ | | | | along with the source or per-request proc's won't run [DHH] | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -12/+12 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge branch 'master' of git://github.com/stephencelis/rails | Joshua Peek | 2008-04-14 | 1 | -3/+3 |
|\ | |||||
| * | Scripts and styles with multiple dots in the filename should cache | Stephen Celis | 2008-04-12 | 1 | -3/+3 |
| | | |||||
* | | Added Rails.public_path to control where HTML and assets are expected to be ↵ | David Heinemeier Hansson | 2008-04-13 | 1 | -1/+1 |
|/ | | | | loaded from (defaults to Rails.root + "/public") #11581 [nicksieger] | ||||
* | Re-added ActionView::Helpers::register_javascript/stylesheet_expansion to ↵ | Jeremy Kemper | 2008-03-20 | 1 | -18/+55 |
| | | | | | | make it easier for plugin developers to inject multiple assets. Closes #10350. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert [9106]. References #10350. | Jeremy Kemper | 2008-03-19 | 1 | -57/+21 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Docfix (closes #11281) [jlindley] | David Heinemeier Hansson | 2008-03-15 | 1 | -4/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added ActionView::Helpers::register_javascript/stylesheet_expansion to make ↵ | David Heinemeier Hansson | 2008-03-13 | 1 | -21/+57 |
| | | | | | | it easier for plugin developers to inject multiple assets (closes #10350) [lotswholetime] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Check the host string contains %d before using String#%, this avoids ↵ | Michael Koziarski | 2008-02-18 | 1 | -1/+1 |
| | | | | | | warnings. Closes #10809 [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't repeatedly add relative_url_root to asset sources. Closes #10767 ↵ | Michael Koziarski | 2008-01-27 | 1 | -5/+11 |
| | | | | | | [tomtoday, Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Handle corner case with image_tag when passed 'messed up' image names. ↵ | Michael Koziarski | 2008-01-25 | 1 | -1/+1 |
| | | | | | | Closes #9018 [duncanbeevers, mpalmer] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Correct docs on caching and all.js | Michael Koziarski | 2008-01-14 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: remove stray colon | Jeremy Kemper | 2008-01-07 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | The asset_host block takes the controller request as an optional second ↵ | Jeremy Kemper | 2008-01-06 | 1 | -3/+23 |
| | | | | | | argument. Example: use a single asset host for SSL requests. Closes #10549. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8578 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added option to pass proc to ActionController::Base.asset_host for maximum ↵ | David Heinemeier Hansson | 2007-12-16 | 1 | -8/+38 |
| | | | | | | configurability (closes #10521) [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix javascript_tag method name collision. Closes #10337. | Jeremy Kemper | 2007-12-10 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ensure asset cache directories are automatically created. Closes #10337. | Jeremy Kemper | 2007-12-10 | 1 | -38/+30 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix typos (closes #10378) | David Heinemeier Hansson | 2007-12-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Asset timestamps are appended, not prepended. Closes #10276 [mnaberez] | Marcel Molina | 2007-11-27 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add documentation about asset timestamps (just for koz) | David Heinemeier Hansson | 2007-11-25 | 1 | -0/+21 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added :mouseover short-cut to AssetTagHelper#image_tag for doing easy image ↵ | David Heinemeier Hansson | 2007-11-07 | 1 | -4/+15 |
| | | | | | | swaps (closes #6893) [joost] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | compute_public_path behaves well with mailers also. Closes #10014. | Jeremy Kemper | 2007-10-29 | 1 | -6/+16 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove more potential clashes with asset methods and resource routes. ↵ | Michael Koziarski | 2007-10-19 | 1 | -4/+6 |
| | | | | | | Closes #9928 [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Rename image_path path_to_image to avoid conflicting with named routes. ↵ | Michael Koziarski | 2007-10-19 | 1 | -1/+2 |
| | | | | | | Closes #9924 [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |