./devel/ruby-activestorage71, Local and cloud file storage framework (part of Rails 7.1)

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


Branch: CURRENT, Version: 7.1.5.1, Package name: ruby32-activestorage71-7.1.5.1, Maintainer: pkgsrc-users

Active Storage

Active Storage makes it simple to upload and reference files in cloud
services like [Amazon S3](https://aws.amazon.com/s3/), [Google Cloud
Storage](https://cloud.google.com/storage/docs/), or [Microsoft Azure
Storage](https://azure.microsoft.com/en-us/services/storage/), and attach
those files to Active Records. Supports having one main service and mirrors
in other services for redundancy. It also provides a disk service for
testing or local deployments, but the focus is on cloud storage.

Files can be uploaded from the server to the cloud or directly from the
client to the cloud.

Image files can furthermore be transformed using on-demand variants for
quality, aspect ratio, size, or any other
[MiniMagick](https://github.com/minimagick/minimagick) or
[Vips](https://www.rubydoc.info/gems/ruby-vips/Vips/Image) supported
transformation.

This is for Ruby on Rails 7.1.


Master sites:

Filesize: 66 KB

Version history: (Expand)


CVS history: (Expand)


   2024-12-11 16:37:33 by Takahiro Kambe | Files touched by this commit (15) | Package updated
Log message:
www/ruby-rails71: update to 7.1.5.1

Update to Ruby on Rails 7.1.5.1.

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 2.1.10

  John Hawthorn
   2024-12-01 16:47:47 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
www/rails71: update to 7.1.5

Ruby on Rails 7.1.5 (2024-10-31)

Active Model

* Fix regression in alias_attribute to work with user defined methods.

   alias_attribute would wrongly assume the attribute accessor was generated
   by Active Model.

	class Person
	  include ActiveModel::AttributeMethods

	  define_attribute_methods :name
	  attr_accessor :name

	  alias_attribute :full_name, :name
	end

    person.full_name # => NoMethodError: undefined method `attribute' for an
    instance of Person

    Jean Boussier

Active Record

* Fix marshalling of unsaved associated records in 7.1 format.

  The 7.1 format would only marshal associated records if the association
  was loaded.  But associations that would only contain unsaved records
  would be skipped.

  Jean Boussier

* Fix an issue where .left_outer_joins used with multiple associations that
  have the same child association but different parents does not join all
  parents.

  Previously, using .left_outer_joins with the same child association would
  only join one of the parents.

  Now it will correctly join both parents.

    Fixes #41498.

    Garrett Blehm

* Ensure ActiveRecord::Encryption.config is always ready before access.

  Previously, ActiveRecord::Encryption configuration was deferred until
  ActiveRecord::Base was loaded. Therefore, accessing
  ActiveRecord::Encryption.config properties before ActiveRecord::Base was
  loaded would give incorrect results.

  ActiveRecord::Encryption now has its own loading hook so that its
  configuration is set as soon as needed.

  When ActiveRecord::Base is loaded, even lazily, it in turn triggers the
  loading of ActiveRecord::Encryption, thus preserving the original behavior
  of having its config ready before any use of ActiveRecord::Base.

  Maxime Réty

* Add TimeZoneConverter#== method, so objects will be properly compared by
  their type, scale, limit & precision.

  Address #52699.

  Ruy Rocha
   2024-10-27 15:35:27 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
www/ruby-rails71: update to 7.1.4.2

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

7.1.4.2 (2024-10-23)

Action Mailer

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

Update Ruby on Rails 7.1 to 7.1.4.1.

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-09-22 15:24:12 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-activestorage71: update to 7.1.4

Active Storage 7.1.4 (2024-08-22)

* Fixes race condition for multiple preprocessed video variants.
  (Justin Searls)
   2024-06-05 18:44:18 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
www/ruby-rails71: update to 7.1.3.4

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

Ruby on Rails 7.1.3.4 (2024-06-04)

Action Text

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

  Action Pack

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

Update Ruby on Rails 7.1 and related pacakges to 7.1.3.2
This includes security fix:

	CVE-2024-26142 for www/ruby-actionpack71
	CVE-2024-26143 for www/ruby-actionpack71

Action Pack

* Fix possible XSS vulnerability with the translate method in controllers

  CVE-2024-26143

* Fix ReDoS in Accept header parsing

  CVE-2024-26142
   2024-02-04 16:15:18 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-activestorage71: update to 7.1.3

Active Storage (2024-01-16)

* Fix N+1 query when fetching preview images for non-image assets.
  [Aaron Patterson & Justin Searls]

* Fix all Active Storage database related models to respect
 ActiveRecord::Base.table_name_prefix configuration.  [Chedli Bourguiba]

* Fix ActiveStorage::Representations::ProxyController not returning
  the proper preview image variant for previewable files.
  [Chedli Bourguiba]

* Fix ActiveStorage::Representations::ProxyController to proxy
  untracked variants.  [Chedli Bourguiba]

* Fix direct upload forms when submit button contains nested elements.
  [Marc Köhlbrugge]

* When using the preprocessed: true option, avoid enqueuing transform
  jobs for blobs that are not representable.  [Chedli Bourguiba]

* Process preview image variant when calling
  ActiveStorage::Preview#processed.  For example,
  attached_pdf.preview(:thumb).processed will now immediately generate
  the full-sized preview image and the :thumb variant of it.
  Previously, the :thumb variant would not be generated until a
  further call to e.g. processed.url.
  [Chedli Bourguiba and Jonathan Hefner]

* Prevent ActiveRecord::StrictLoadingViolationError when strict
  loading is enabled and the variant of an Active Storage preview has
  already been processed (for example, by calling
  ActiveStorage::Preview#url).  [Jonathan Hefner]

* Fix preprocessed: true option for named variants of previewable files.
  [Nico Wenterodt]