Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add active_support/ruby/shim to the default requirements for AP components | Yehuda Katz | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Fully expand relative rails framework paths and make sure we aren't | Joshua Peek | 2009-12-16 | 1 | -7/+6 |
| | | | | adding any to the load path more than once. | ||||
* | Add autoloads for ActionView::Template* classes, and an ↵ | Nathan Weizenbaum | 2009-12-10 | 1 | -0/+4 |
| | | | | | | ActionView::TemplateError alias for ActionView::Template::Error. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -14/+12 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Remove reference to class that doesn't exist (ht: brynary) | Yehuda Katz | 2009-11-28 | 1 | -1/+1 |
| | |||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 1 | -3/+3 |
| | | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration. | ||||
* | Remove unused code in ActionView. | José Valim | 2009-09-15 | 1 | -3/+0 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Require active_support after autoload setup | Jeremy Kemper | 2009-09-14 | 1 | -5/+5 |
| | |||||
* | Refactor ActionView::Resolver | Yehuda Katz + Carl Lerche | 2009-09-03 | 1 | -0/+1 |
| | |||||
* | Separate ActionView::Context so something else can easily be made into an AV ↵ | Yehuda Katz | 2009-07-19 | 1 | -1/+2 |
| | | | | context | ||||
* | Add some missing dependencies | Yehuda Katz | 2009-07-15 | 1 | -0/+1 |
| | |||||
* | Cleaning up more tests and code that needed to work in both old and new base | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -0/+1 |
| | |||||
* | Rename path.rb to resolver.rb | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -1/+1 |
| | |||||
* | Rename ActionView::Template::Path ActionView::Resolver | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -14/+14 |
| | |||||
* | Cleaning up more render tests | Yehuda Katz + Carl Lerche | 2009-05-14 | 1 | -0/+1 |
| | |||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -10/+3 |
| | |||||
* | No more free lunch | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 |
| | |||||
* | Makes rails-dev-boost work again | Carl Lerche & Yehuda Katz | 2009-04-14 | 1 | -0/+1 |
| | |||||
* | Working on being able to render :text with layouts | Carl Lerche | 2009-03-23 | 1 | -0/+1 |
| | |||||
* | Begin unifying the interface between ActionController and ActionView | Yehuda Katz | 2009-01-22 | 1 | -8/+11 |
| | |||||
* | Bump up the year in MIT license files | Pratik Naik | 2009-01-18 | 1 | -1/+1 |
| | |||||
* | Add config.preload_frameworks to load all frameworks at startup. Default to ↵ | Jeremy Kemper | 2008-11-24 | 1 | -2/+0 |
| | | | | false so Rails autoloads itself as it's used. | ||||
* | Add LAZY env flag for testing autoload/lazy load feature | Joshua Peek | 2008-11-24 | 1 | -1/+1 |
| | |||||
* | use autoload instead of explicit requires for ActionView | Joshua Peek | 2008-11-23 | 1 | -15/+21 |
| | |||||
* | use :en as a default locale (in favor of :en-US) | Sven Fuchs | 2008-11-18 | 1 | -1/+1 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | I18n: Introduce I18n.load_path in favor of I18n.load_translations and change ↵ | Sven Fuchs | 2008-09-20 | 1 | -1/+1 |
| | | | | | | Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | I18n: removed call to #populate from main library files | Marko Seppae | 2008-08-27 | 1 | -3/+1 |
| | |||||
* | Harmonize framework require strategy. Don't add self to load path since ↵ | Jeremy Kemper | 2008-08-25 | 1 | -1/+10 |
| | | | | Rails initializer and RubyGems handle it. | ||||
* | Include all helpers into ActionView::Helper | Joshua Peek | 2008-08-25 | 1 | -4/+3 |
| | |||||
* | Changed locale file to yml for actionpack, but still broken | Iain Hecker | 2008-08-20 | 1 | -1/+1 |
| | |||||
* | switch to using I18n.load_translations instead of requiring plain ruby files | Sven Fuchs | 2008-08-13 | 1 | -1/+1 |
| | |||||
* | merge forward to current rails/master | Sven Fuchs | 2008-07-16 | 1 | -3/+5 |
|\ | |||||
| * | Refactor template preloading. New abstractions include Renderable mixins and ↵ | Joshua Peek | 2008-07-12 | 1 | -4/+4 |
| | | | | | | | | a refactored Template class. | ||||
| * | Renamed Renderer to Renderable | Joshua Peek | 2008-07-05 | 1 | -1/+1 |
| | | |||||
| * | Extracted Template rendering logic into Renderer module | Joshua Peek | 2008-07-03 | 1 | -0/+2 |
| | | |||||
* | | Renamed lang/ to locale/ because that's what we seem to | Sven Fuchs | 2008-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | | standarize on. Also, in future this place can be used for data/code that's not literally translations but conceptually belongs to the locale (like custom pluralization algorithms etc.). | ||||
* | | Changed process of storing translations from the | Sven Fuchs | 2008-06-21 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | client libraries to the backend: clients now can pass a block to backend#populate which can contain code to load and register translations. This makes sense for backends that persist their translations (e.g. to db) so the repeated loading and passing of translations throughout the server startup would be wasted resources. | ||||
* | | integrating I18n into Rails | Sven Fuchs | 2008-06-19 | 1 | -0/+2 |
|/ | |||||
* | Replaced TemplateFinder abstraction with ViewLoadPaths | Joshua Peek | 2008-06-17 | 1 | -1/+2 |
| | |||||
* | Moved template handler registration into a mix-in module. | Joshua Peek | 2008-06-11 | 1 | -6/+1 |
| | |||||
* | Updated copyright years | David Heinemeier Hansson | 2008-05-11 | 1 | -1/+1 |
| | |||||
* | Introduce ActionView::TestCase for testing view helpers. | Joshua Peek | 2008-04-19 | 1 | -2/+4 |
| | |||||
* | Introduce ActionView::InlineTemplate class | Pratik Naik | 2008-04-19 | 1 | -0/+1 |
| | |||||
* | Refactor partial rendering into a PartialTemplate class. [Pratik] | Michael Koziarski | 2008-03-03 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Introduce a Template class to ActionView. Closes #11024 [lifofifo] | Michael Koziarski | 2008-02-06 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor template compilation from AV::Base into the template handlers. ↵ | Michael Koziarski | 2008-01-22 | 1 | -0/+1 |
| | | | | | | Closes #10888 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Reapply the TemplateFinder first applied in [8669] then reverted in [8676]. ↵ | Michael Koziarski | 2008-01-21 | 1 | -0/+2 |
| | | | | | | Closes #10800 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert r8669 for now, breaks Action Mailer. Reopens #10800. | Jeremy Kemper | 2008-01-19 | 1 | -2/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Introduce TemplateFinder to handle view paths and lookups. Closes #10800. | Jeremy Kemper | 2008-01-19 | 1 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor Action View template handlers. Closes #10437. | Jeremy Kemper | 2007-12-09 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |