Commit graph

18 commits

Author SHA1 Message Date
minskim
812f0f274e Update rails packages to 2.3.5. This fixes a cross-site scripting
vulnerability in ruby-actionpack.

Major changes:
- Improved compatibility with Ruby 1.9
- RailsXss plugin availability
- Fixes for the Nokogiri backend for XmlMini
2009-12-01 23:24:24 +00:00
minskim
4a3340c71a Update rails packages to 2.3.4.
Changes since 2.3.2:
* I18n support for plugins.
2009-09-12 22:14:16 +00:00
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
minskim
9af1640e70 Update rails packages to 2.3.1.
Changes since 2.1.1:
* Allow metal to live in plugins #2045 [Matthew Rudy]
* Added metal [Josh Peek]
* Remove script/performance/request in favour of the performance
  integration tests. [Pratik Naik]
* Add a rake task to apply a template to an existing application :
  rake rails:template LOCATION=~/template.rb [Pratik Naik]
* Add "-m/--template" option to Rails generator to apply a template to
  the generated application. [Jeremy McAnally]
* Extracted the process scripts (inspector, reaper, spawner) into the
  plugin irs_process_scripts [David Heinemeier Hansson]
* Changed Rails.root to return a Pathname object
* Added view path support for engines [David Heinemeier Hansson]
* Added that config/routes.rb files in engine plugins are
  automatically loaded (and reloaded when they change in dev mode)
  [David Heinemeier Hansson]
* Added app/[models|controllers|helpers] to the load path for plugins
  that has an app directory (go engines ;)) [David Heinemeier Hansson]
* Add config.preload_frameworks to load all frameworks at
  startup. Default to false so Rails autoloads itself as it's
  used. Turn this on for Passenger and JRuby. Also turned on by
  config.threadsafe!  [Jeremy Kemper]
* Add a rake task to generate dispatchers : rake
  rails:generate_dispatchers [Pratik Naik]
* "rails <app>" will not generate public/dispatch.cgi/fcgi/rb files by
  default now. Please use "--with-dispatchers" option if you need
  them. [Yaroslav Markin, Pratik Naik]
* Added rake rails:update:application_controller to renamed
  application.rb to application_controller.rb -- included in rake
  rails:update so upgrading to 2.3 will automatically trigger it #1439
  [kastner]
* Added Rails.backtrace_cleaner as an accessor for the
  Rails::BacktraceCleaner instance used by the framework to cut down
  on backtrace noise and config/initializers/backtrace_silencers.rb to
  add your own (or turn them all off) [David Heinemeier Hansson]
* Switch from Test::Unit::TestCase to ActiveSupport::TestCase.  [Jeremy Kemper]
* Added config.i18n settings gatherer to config/environment,
  auto-loading of all locales in config/locales/*.rb,yml, and
  config/locales/en.yml as a sample locale [David Heinemeier Hansson]
* BACKWARDS INCOMPATIBLE: Renamed application.rb to
  application_controller.rb and removed all the special casing that
  was in place to support the former. You must do this rename in your
  own application when you upgrade to this version [David Heinemeier
  Hansson]
* Fixed plugin generator so that generated unit tests would subclass
  ActiveSupport::TestCase, also introduced a helper script to reduce
  the needed require statements #1137 [Mathias Meyer]
* Update Prototype to 1.6.0.3 [sam]
* Fixed that sqlite would report "db/development.sqlite3 already
  exists" whether true or not on db:create #614 [Antonio Cangiano]
* Added config.threadsafe! to toggle allow concurrency settings and
  disable the dependency loader [Josh Peek]
* Turn cache_classes on by default [Josh Peek]
* Added configurable eager load paths. Defaults to app/models,
  app/controllers, and app/helpers [Josh Peek]
* Introduce simple internationalization support.  [Ruby i18n team]
* Make script/plugin install <plugin> -r <revision> option work with
  git based plugins. #257. [Tim Pope Jakub Kuźma]. Example:
* Added Rails.initialized? flag [Josh Peek]
* Make rake test:uncommitted work with Git. [Tim Pope]
* Added Thin support to script/server.  #488 [Bob Klosinski]
* Fix script/about in production mode.  #370 [Cheah Chu Yeow, Xavier
  Noria, David Krmpotic]
* Add the gem load paths before the framework is loaded, so certain
  gems like RedCloth and BlueCloth can be frozen.
* Fix discrepancies with loading rails/init.rb from gems.
* Plugins check for the gem init path (rails/init.rb) before the
  standard plugin init path (init.rb) [Jacek Becela]
* Changed all generated tests to use the test/do declaration style
  [David Heinemeier Hansson]
* Wrapped Rails.env in StringInquirer so you can do
  Rails.env.development? [David Heinemeier Hansson]
* Fixed that RailsInfoController wasn't considering all requests local
  in development mode (Edgard Castro) [#310 state:resolved]
2009-04-07 17:13:26 +00:00
minskim
f1fedd1cb2 Update ruby-actionpack to 2.1.1.
Changes:

* All 2xx requests are considered successful [Josh Peek]

* Deprecate the limited follow_redirect in functional tests.  If you
  wish to follow redirects, use integration tests. [Michael Koziarski]

* Fixed that AssetTagHelper#compute_public_path shouldn't cache the
  asset_host along with the source or per-request proc's won't run
  [DHH]

* Deprecate define_javascript_functions, javascript_include_tag and
  friends are much better [Michael Koziarski]

* Fix polymorphic_url with singleton resources.  #461 [Tammer Saleh]

* Deprecate ActionView::Base.erb_variable. Use the concat helper
  method instead of appending to it directly.  [Jeremy Kemper]

* Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and
  HTTP_X_FORWARDED_FOR doesn't match (not just if they're both
  present) [Mark Imbriaco, Bradford Folkens]
2008-09-15 05:50:42 +00:00
minskim
ec46cb199b Update ruby-actionpack to 2.1.0.
Too many changes since 2.0.2.  See CHANGELOG for the complete list.
2008-06-20 04:30:33 +00:00
jlam
49044b1ec2 Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
2008-04-04 15:30:00 +00:00
minskim
cdd6ce7240 Update ruby-actionpack to 2.0.2.
There have been too many changes.  Please see CHANGELOG for the complete list:

http://dev.rubyonrails.org/browser/tags/rel_2-0-2/actionpack/CHANGELOG
2008-02-09 06:23:29 +00:00
minskim
02e3a184bc Update ruby-actionpack to 1.13.5.
Changes:
* Backport: allow array and hash query parameters. Array route parameters are
  converted/to/a/path as before. #6765, #7047, #7462 [bgipsy, Jeremy McAnally,
  Dan Kubb, brendan, Diego Algorta Casamayou]
* Fix in place editor's setter action with non-string fields.  #7418 [Andreas]
* Only accept session ids from cookies, prevents session fixation attacks.
* Change the resource seperator from ; to / change the generated routes to use
  the new-style named routes. e.g. new_group_user_path(@group) instead of
  group_new_user_path(@group). [pixeltrix]
* Integration tests: introduce methods for other HTTP methods. #6353 [caboose]
* Improve performance of action caching. Closes #8231 [skaes]
* Fix errors with around_filters which do not yield, restore 1.1 behaviour
  with after filters. Closes #8891 [skaes]
* Allow you to delete cookies with options. Closes #3685
* Deprecate pagination. Install the classic_pagination plugin for forward
  compatibility, or move to the superior will_paginate plugin. #8157
* Fix filtered parameter logging with nil parameter values.  #8422 [choonkeat]
* Integration tests: alias xhr to xml_http_request and add a request_method
  argument instead of always using POST. #7124
* Document caches_action.  #5419 [Jarkko Laine]
* observe_form always sends the serialized form. #5271
* Update UrlWriter to accept :anchor parameter. Closes #6771. [octopod]
* Replace the current block/continuation filter chain handling by an
  implementation based on a simple loop. Closes #8226 [Stefan Kaes]
* Return the string representation from an Xml Builder when rendering a
  partial. #5044 [tpope]
* Cleaned up, corrected, and mildly expanded ActionPack documentation. Closes
  #7190 [jeremymcanally]
* Small collection of ActionController documentation cleanups. Closes #7319
* Performance: patch cgi/session/pstore to require digest/md5 once rather than
  per #initialize. #7583 [Stefan Kaes]
* Deprecation: verification with :redirect_to => :named_route shouldn't be
  deprecated. #7525 [Justin French]
2007-10-16 03:17:31 +00:00
minskim
af068e02eb Update ruby-actionpack to 1.13.3.
Changes:
* Apply [5709] to stable.
* session_enabled? works with session :off.
* Performance: patch cgi/session to require digest/md5 once rather than per
  #cre ate_new_id.
2007-03-17 11:10:16 +00:00
minskim
f539b0cd6a Update ruby-actionpack to 1.13.2.
Changes:
* Add much-needed html-scanner tests.  Fixed CDATA parsing bug. [Rick]
* improve error message for Routing for named routes. [Rob Sanheim]
* Added enhanced docs to routing assertions. [Rob Sanheim]
* fix form_for example in ActionController::Resources documentation. [gnarg]
* Add singleton resources from trunk [Rick Olson]
* TestSession supports indifferent access so session['foo'] == session[:foo]
  in your tests. #7372 [julik, jean.helou]
* select :multiple => true suffixes the attribute name with [] unless already
  suffixed. #6977 [nik.kakelin, ben, julik]
* Improve routes documentation.  #7095 [zackchandler]
* Resource member routes require :id, eliminating the ambiguous overlap with
  collection routes. #7229 [dkubb]
* Fixed NumberHelper#number_with_delimiter to use "." always for splitting the
  original number, not the delimiter parameter #7389 [ceefour]
* Autolinking recognizes trailing and embedded . , : ;  #7354 [Jarkko Laine]
* Make TextHelper::auto_link recognize URLs with colons in path correctly,
  fixes #7268. [imajes]
* Improved auto_link to match more valid urls correctly [Tobias Luetke]
2007-02-18 23:29:06 +00:00
minskim
80911ce74c Update ruby-actionpack to 1.13.1, required by rails-1.2.1.
Too many changes since 1.12.5.  See ${RUBY_DOCDIR}/actionpack/CHANGELOG.
2007-01-28 05:39:02 +00:00
minskim
fbe48239dc Use RUBY_SITELIBDIR. 2006-10-09 23:21:41 +00:00
minskim
0d52281032 Update ruby-actionpack to 1.12.5. This version includes a security fix
for path string handling.  See ${RUBY_DOCDIR}/actionpack/CHANGELOG for
the complete list.
2006-10-09 22:48:10 +00:00
taca
54b3277281 Sort PLIST. 2006-09-07 15:55:50 +00:00
taca
0d227a9c7b Update www/ruby18-actionpack package to 1.10.1.
Changes from 1.9.1 are many, please see ${RUBY_DOCDIR}/actionpack/CHANGELOG.

pkgsrc change is installing example files, too.
2005-11-02 14:48:39 +00:00
taca
2361223994 Update ruby-actionpack package to 1.9.1
Changes from 1.7.0 are too huge, please see web page:
http://ap.rubyonrails.com/files/CHANGELOG.html.
2005-09-04 14:05:44 +00:00
minskim
3583d2c2be Import ruby-actionpack.
Action Pack splits the response to a web request into a controller
part (performing the logic) and a view part (rendering a template).
This two-step approach is known as an action, which will normally
create, read, update, or delete (CRUD for short) some sort of model
part (often backed by a database) before choosing either to render a
template or redirecting to another action.

Action Pack implements these actions as public methods on Action
Controllers and uses Action Views to implement the template rendering.
Action Controllers are then responsible for handling all the actions
relating to a certain part of an application.  This grouping usually
consists of actions for lists and for CRUDs revolving around a single
(or a few) model objects.  So ContactController would be responsible
for listing contacts, creating, deleting, and updating contacts.  A
WeblogController could be responsible for both posts and comments.

Action View templates are written using embedded Ruby in tags mingled
in with the HTML.  To avoid cluttering the templates with code, a
bunch of helper classes provide common behavior for forms, dates, and
strings.  And it's easy to add specific helpers to keep the separation
as the application evolves.
2005-04-10 04:11:28 +00:00