Workarea 3.1.12

Fixes Exception When Using Latest Redis Client

Updates Workarea::AutoexpireCacheRedis, replacing API calls that were removed in the latest version of the Redis Ruby client. Ruby dependency changes in Workarea 3.2 are causing Bundler to resolve to a newer version of the Redis client, which introduced the problem. Seeding an environment where caching is enabled was raising an exception.

Issues

Pull Requests

Commits

Fixes Multiple CSRF Authenticity Tokens

Fixes Storefront forms containing multiple CSRF authenticity token fields. A previous fix, Fixes CSRF Protection for Cached Pages, introduced the issue. Modifies Storefront JavaScript module WORKAREA.authenticityToken.

Issues

Pull Requests

Commits

Fixes ImageOptim Processor Not Optimizing Images

Fixes Workarea:ImageOptimProcessor, which was not optimizing product images and content assets due to an oversight in its implementation.

Issues

Pull Requests

Commits

Fixes Overwriting of Dragonfly Configuration

Fixes the Dragonfly configuration by removing old Dragonfly configuration code (from < Workarea 3.1) that was overwriting the current (>= Workarea 3.1) Dragonfly configuration code.

Issues

Pull Requests

Commits

Fixes Intermittent Exception in Discounts Seeds

Updates discounts seeds to ensure the product used for the free gift discount has at least one variant. Fixes an exception raising intermittently during seeding.

Issues

Pull Requests

Commits

Fixes Presentation of Saved Addresses Menu

Fixes the presentation of the saved addresses select menu in checkout, which was broken by broader changes in previous patches.

Issues

Pull Requests

Commits

Adds Validation of Product Rule Name

Adds validation for the presence of name on ProductRule. The validation was always intended, but was missing due to an oversight when the class was first defined.

Issues

Pull Requests

Commits

Adds Product Rule Changes to Admin Activity

Includes changes to product rules in Admin activity/timeline views.

Issues

Pull Requests

Commits

Adds Support for Improved Invalid State

Within the Storefront, re-validates the fields within a form when the form is submitted. This ensures all invalid fields receive a --invalid modifier. Prior to this change, only recently focused fields would receive this modifier. This change improves the “invalid” state of a form when an application is styling this state. The platform does not style this state by default.

Issues

Pull Requests

Commits

Adds Support for Skipping External Service Connections

Adds Core config Workarea.config.skip_service_connections, which, when true, allows developers to initialize the Rails app when external services (for example: Elasticsearch, Mongoid, and Redis) are not available. This may be useful if you want to compile assets or run a task that requires initializing the application, but does not utilize external services.

By default, the value of this config depends on the value of the environment variable WORKAREA_SKIP_SERVICES. Set that variable to 'true' within the environment to prevent the application from making external service connections.

Issues

Pull Requests

Commits

Adds Configurations for Workarea Hosting to New Applications

Adds additional environment-specific configurations to the app template, which is used to create new Workarea applications. The additions configure new applications appropriately for Workarea Hosting environments.

Adds configuration of caching and mail delivery to the existing production environment-specific configuration file for new applications.

Adds to new applications the additional environment-specific configuration files config/environments/staging.rb and config/environments/qa.rb, whose default contents duplicate the production configuration. The presence of these files also creates additional Rails environments.

Issues

Pull Requests

Commits

Adds “Checkout Payment Top” Append Point to Storefront

Adds a new append point to the Storefront checkout payment step, because existing append points are included conditionally and are therefore not always present.

Issues

Pull Requests

Commits

Now on GitHub