Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | html_escape should escape single quotes | Santiago Pastorino | 2012-08-02 | 1 | -2/+2 |
| | | | | | | | | | | | | https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content Closes #7215 Conflicts: actionpack/test/template/erb_util_test.rb actionpack/test/template/form_tag_helper_test.rb actionpack/test/template/text_helper_test.rb actionpack/test/template/url_helper_test.rb activesupport/lib/active_support/core_ext/string/output_safety.rb | ||||
* | Added test for assets:precompile for index files | Dmitry Vorotilin | 2012-05-01 | 1 | -0/+9 |
| | |||||
* | Fix GH #5411. When precompiling, params method is undefined. | kennyj | 2012-03-22 | 1 | -0/+12 |
| | |||||
* | fix assets test | Sergey Nartimov | 2012-01-31 | 1 | -1/+1 |
| | |||||
* | Remove dead code | Santiago Pastorino | 2012-01-10 | 1 | -4/+0 |
| | |||||
* | Rails initialization with initialize_on_precompile = false should set assets_dir | Santiago Pastorino | 2012-01-10 | 1 | -0/+6 |
| | |||||
* | Fix failing asset test. | José Valim | 2011-12-16 | 1 | -1/+3 |
| | |||||
* | Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365 | Piotrek Okoński | 2011-12-12 | 1 | -0/+9 |
| | |||||
* | Ensure that files that compile to js/css are not compiled by default with ↵ | Piotr Sarnacki | 2011-12-11 | 1 | -2/+8 |
| | | | | | | | | `rake assets:precompile` This case was not tested and documentation was a bit confusing on that topic, so it was not obvious if current code works properly or not. | ||||
* | Leave default_asset_host_protocol unset | Jonathan del Strother | 2011-12-01 | 1 | -0/+22 |
| | | | When default_asset_host_protocol is left as nil, it will use absolute protocols when a request is present, and relative protocols otherwise (eg in asset generation) | ||||
* | Merge pull request #3265 from arunagw/warning_uri_parser | Vijay Dev | 2011-10-10 | 1 | -1/+1 |
|\ | | | | | URI.escape is obsolete : warning removed | ||||
| * | URI.escape is obsolete : warning removed | Arun Agrawal | 2011-10-09 | 1 | -1/+1 |
| | | |||||
* | | fix invalid regex | kennyj | 2011-10-10 | 1 | -1/+1 |
|/ | |||||
* | Test utf8 assets filenames with request instead of manifest lookup | Guillermo Iguaran | 2011-10-08 | 1 | -8/+4 |
| | |||||
* | Skip broken asset precompilation test on Macs. Issues with NFD vs NFC ↵ | Jeremy Kemper | 2011-10-08 | 1 | -4/+8 |
| | | | | normalization on the asset filename. Major red flag with asset lookups! | ||||
* | Fix regression when calling helpers inside sprockets. | José Valim | 2011-10-05 | 1 | -2/+2 |
| | |||||
* | correct path used in "digested assets are not mistakenly removed" test | Mark J. Titorenko | 2011-10-04 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | add failing test: "digested assets are removed from configured path" | Mark J. Titorenko | 2011-10-04 | 1 | -0/+13 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix failing tests and refactor assets.rake | José Valim | 2011-10-04 | 1 | -1/+1 |
| | |||||
* | add failing test for #3198 | Mark J. Titorenko | 2011-10-03 | 1 | -0/+13 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensure that enhancements to assets:precompile task are only run once | Sam Pohlenz | 2011-10-03 | 1 | -0/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Replace calls to capture(:stdout) with quietly in assets tests | Sam Pohlenz | 2011-10-03 | 1 | -4/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Precompile properly refers files referenced with asset_path test | Santiago Pastorino | 2011-10-02 | 1 | -1/+3 |
| | |||||
* | capture was commented out | Santiago Pastorino | 2011-10-02 | 1 | -2/+2 |
| | |||||
* | Provide initialize_on_precompile which, when set to false, does not ↵ | José Valim | 2011-10-02 | 1 | -0/+23 |
| | | | | initialize the app for precompilation. Defaults to true. | ||||
* | Merge pull request #3136 from guilleiguaran/clear-digests-on-precompile | Santiago Pastorino | 2011-09-26 | 1 | -0/+18 |
| | | | | Avoid use of existing precompiled assets during rake assets:precompile run | ||||
* | Copy assets to nondigested filenames too | Santiago Pastorino | 2011-09-26 | 1 | -0/+2 |
| | |||||
* | Avoid using pathnames and automatically create the manifest directory if one ↵ | José Valim | 2011-09-24 | 1 | -4/+0 |
| | | | | does not exist yet. | ||||
* | Remove the ENV flag, yagni. | José Valim | 2011-09-24 | 1 | -10/+0 |
| | |||||
* | `rake assets:precompile` loads the application but does not initialize it. | José Valim | 2011-09-24 | 1 | -38/+72 |
| | | | | | | | | | | | | | To the app developer, this means configuration add in config/initializers/* will not be executed. Plugins developers need to special case their initializers that are meant to be run in the assets group by adding :group => :assets. Conflicts: railties/CHANGELOG railties/test/application/assets_test.rb | ||||
* | set env to let rails know we're precompiling | Terence Lee | 2011-09-22 | 1 | -0/+9 |
| | |||||
* | Default precompile regexp that properly matches application.js and ↵ | Alex Yakoubian | 2011-09-16 | 1 | -0/+9 |
| | | | | application.css | ||||
* | config.action_controller.asset_host shouldn't set to nil during precompile | Guillermo Iguaran | 2011-09-15 | 1 | -14/+0 |
| | |||||
* | Revert "Provide a way to access to assets without using the digest, useful ↵ | Santiago Pastorino | 2011-09-14 | 1 | -2/+0 |
| | | | | | | for static files and emails" This reverts commit 82afaa06861d03f6a2887d40e40c0ded76db88db. | ||||
* | Fix broken asset test | Guillermo Iguaran | 2011-09-13 | 1 | -2/+2 |
| | |||||
* | Don't mount Sprockets at config.assets.prefix if config.assets.compile is false. | Mark J. Titorenko | 2011-09-13 | 1 | -0/+12 |
| | |||||
* | Provide a way to access to assets without using the digest, useful for ↵ | Santiago Pastorino | 2011-09-13 | 1 | -0/+2 |
| | | | | static files and emails | ||||
* | Fix precompile asset_host test | Guillermo Iguaran | 2011-09-13 | 1 | -1/+1 |
| | |||||
* | Move asset tests to assets_test file | Guillermo Iguaran | 2011-09-13 | 1 | -0/+31 |
| | |||||
* | Fixed assets precompile regex, now accepts Procs | Alex Yakoubian | 2011-09-08 | 1 | -0/+28 |
| | |||||
* | Refactor assets tests to use add_to_config instead of creating initializers ↵ | Guillermo Iguaran | 2011-09-06 | 1 | -13/+14 |
| | | | | with config values | ||||
* | config.action_controller.perform_caching isn't used anymore in assets ↵ | Guillermo Iguaran | 2011-09-06 | 1 | -0/+9 |
| | | | | pipeline, instead we are using config.assets.digest now | ||||
* | AssetNotPrecompiledError should be raise when config.assets.digest = false, ↵ | Guillermo Iguaran | 2011-09-04 | 1 | -0/+26 |
| | | | | config.assets.compile = false and manifest file isn't present | ||||
* | Warnings removed for "assert_match /" Please do | Arun Agrawal | 2011-09-04 | 1 | -9/+9 |
| | | | | not add more.! | ||||
* | assets:precompile should not append asset digests when config.assets.digest ↵ | Sam Pohlenz | 2011-09-01 | 1 | -0/+26 |
| | | | | is false | ||||
* | Merge pull request #2780 from guilleiguaran/assets-pipeline-minor-changes | Santiago Pastorino | 2011-08-31 | 1 | -0/+13 |
| | | | | Assets pipeline: fix in manifest location and remove unused code | ||||
* | Set default location of manifest with config.assets.manifest | Guillermo Iguaran | 2011-08-31 | 1 | -0/+17 |
| | |||||
* | Backport f443f9cb0c64 to master | Guillermo Iguaran | 2011-08-31 | 1 | -16/+16 |
| | |||||
* | Read digests of assets from manifest.yml if config.assets.manifest is on | Guillermo Iguaran | 2011-08-31 | 1 | -0/+65 |
| | |||||
* | Move asset debugging tests into a separate test case | Daniel Schierbeck | 2011-08-25 | 1 | -42/+0 |
| | | | | | | | Also: - Refactor AssetDebuggingTest. - Use the %r regexp syntax. That way we don't need to escape the /'s. |