./www/ruby-actionpack70, Toolkit for building modeling frameworks (part of Rails 7.0)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 7.0.8.7, Package name: ruby32-actionpack70-7.0.8.7, Maintainer: pkgsrc-users

Action Pack -- From request to response

Action Pack is a framework for handling and responding to web requests.
It provides mechanisms for *routing* (mapping request URLs to actions),
defining *controllers* that implement actions, and generating responses.
In short, Action Pack provides the controller layer in the MVC paradigm.

It consists of several modules:

* Action Dispatch, which parses information about the web request, handles
routing as defined by the user, and does advanced processing related to
HTTP such as MIME-type negotiation, decoding parameters in POST, PATCH,
or PUT bodies, handling HTTP caching logic, cookies and sessions.

* Action Controller, which provides a base controller class that can be
subclassed to implement filters and actions to handle requests.
The result of an action is typically content generated from views.

With the Ruby on Rails framework, users only directly interface with the
Action Controller module. Necessary Action Dispatch functionality is
activated by default and Action View rendering is implicitly triggered by
Action Controller. However, these modules are designed to function on their
own and can be used outside of Rails.

This is for Ruby on Rails 7.0.


Master sites:

Filesize: 228.5 KB

Version history: (Expand)


CVS history: (Expand)


   2024-12-11 16:33:16 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
www/ruby-rails70: update to 7.0.8.7

Update to Ruby on Rails 7.0.8.7

Action Pack

* Add validation to content security policies to disallow spaces and
  semicolons.  Developers should use multiple arguments, and different
  directive methods instead.

  [CVE-2024-54133]

  Gannon McGibbon

Action Text

* Update vendored trix version to 1.3.4

  John Hawthorn
   2024-10-27 15:32:58 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
www/ruby-rails70: update to 7.0.8.6

Security fix of ruby-action-mailer70.  Other packages have no change
except their version.

7.0.8.6 (2024-10-23)

Action Mailer

* Fix NoMethodError in block_format helper [Michael Leimstaedtner]
   2024-10-21 17:03:22 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
www/ruby-rails70: update to 7.0.8.5

Update Ruby on Rails 7.0 to 7.0.8.5.

Active Support

* No changes.

Active Model

* No changes.

Active Record

* No changes.

Action View

* No changes.

Action Pack

* Avoid regex backtracking in HTTP Token authentication [CVE-2024-47887]
* Avoid regex backtracking in query parameter filtering [CVE-2024-41128]

Active Job

* No changes.

Action Mailer

* Avoid regex backtracking in block_format helper [CVE-2024-47889]

Action Cable

* No changes.

Active Storage

* No changes.

Action Mailbox

* No changes.

Action Text

* Avoid backtracing in plain_text_for_blockquote_node [CVE-2024-47888]

Railties

* No changes.
   2024-06-05 18:40:51 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
www/ruby-rails70: update to 7.0.8.4

Security fix for CVE-2024-34341 (textproc/ruby-actiontext70) and
CVE-2024-28103 (www/ruby-actionpack61 package).

Ruby on Rails 7.0.8.3 (2024-05-17)

Action Text

    Sanitize ActionText HTML ContentAttachment in Trix edit view
    [CVE-2024-34341]

Ruby on Rails 7.0.8.4 (2024-06-04)

  Action Pack

    * Include the HTTP Permissions-Policy on non-HTML Content-Types
      [CVE-2024-28103]
   2024-02-24 15:49:29 by Takahiro Kambe | Files touched by this commit (16) | Package updated
Log message:
www/ruby-rails70: update to 7.0.8.1

Update Ruby on Rails 7.0 and related pacakges to 7.0.8.1
This includes security fix:

	CVE-2024-26144 for devel/ruby-activestorage70
	CVE-2024-26146 for www/ruby-actionpack70

Action Pack

* Fix possible XSS vulnerability with the translate method in controllers

  CVE-2024-26143

Active Storage

* Disables the session in ActiveStorage::Blobs::ProxyController and
  ActiveStorage::Representations::ProxyController in order to allow caching
  by default in some CDNs as CloudFlare

  Fixes #44136

  Bruno Prieto
   2023-10-08 13:53:59 by Takahiro Kambe | Files touched by this commit (1)
Log message:
www/ruby-actionpack70: change dependency

Switch to depend on www/ruby-rack instead of www/ruby-rack2 since there is
no need to depend on rack < 3.  (It was required for actionpack 6.0.)

Bump PKGREVISION.
   2023-09-10 16:19:02 by Takahiro Kambe | Files touched by this commit (20) | Package updated
Log message:
www/ruby-rails70: update to 7.0.8

pkgsrc change: fix dependency of ruby-activestorage70

Active Support

* Fix TimeWithZone still using deprecated #to_s when ENV or config to
  disable it are set.  (Hartley McGuire)

* Fix CacheStore#write_multi when using a distributed Redis cache with a
  connection pool.  Fixes #48938.  (Jonathan del Strother)

Active Record

* Fix change_column not setting precision: 6 on datetime columns when using
  7.0+ Migrations and SQLite.  (Hartley McGuire)

* Fix unscope is not working in specific case

    Before:

    Post.where(id: 1...3).unscope(where: :id).to_sql # "SELECT `posts`.* \ 
FROM `posts` WHERE `posts`.`id` >= 1 AND `posts`.`id` < 3"

    After:

    Post.where(id: 1...3).unscope(where: :id).to_sql # "SELECT `posts`.* \ 
FROM `posts`"

 Fixes #48094.  (Kazuya Hatanaka)

* Fix associations to a STI model including a class_name parameter

    class Product < ApplicationRecord
      has_many :requests, as: :requestable, class_name: \ 
"ProductRequest", dependent: :destroy
    end

    # STI tables
    class Request < ApplicationRecord
      belongs_to :requestable, polymorphic: true

      validate :request_type, presence: true
    end

    class ProductRequest < Request
      belongs_to :user
    end

Accessing such association would lead to:

    table_metadata.rb:22:in `has_column?': undefined method `key?' for \ 
nil:NilClass (NoMethodError)

  (Romain Filinto)

* Fix change_table setting datetime precision for 6.1 Migrations
  (Hartley McGuire)

* Fix change_column setting datetime precision for 6.1 Migrations
  (Hartley McGuire)

Action View

* Fix form_for missing the hidden _method input for models with a namespaced
  route.  (Hartley McGuire)

* Fix render collection: @records, cache: true inside jbuilder templates

  The previous fix that shipped in 7.0.7 assumed template fragments are
  always strings, this isn't true with jbuilder.  (Jean Boussier)

Action Pack

* Fix HostAuthorization potentially displaying the value of the
  X_FORWARDED_HOST header when the HTTP_HOST header is being blocked.
  (Hartley McGuire, Daniel Schlosser)

Active Job

* Fix Active Job log message to correctly report a job failed to enqueue
  when the adapter raises an ActiveJob::EnqueueError.  (Ben Sheldon)

Railties

* Omit webdrivers gem dependency from Gemfile template (Sean Doyle)
   2023-08-26 17:29:22 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
www/ruby-rails70: update to 7.0.7.2

7.0.7.2 (2023-08-22)

Active Support

* Use a temporary file for storing unencrypted files while editing
  [CVE-2023-38037]

7.0.7.1 (2023-08-22)

* No changes between this and 7.0.7.2.  This release was just to fix file
  permissions in the previous release.