diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f9bb20d5a1..287496f384f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1897,7 +1897,6 @@ should respond to `call`. - Add a reference to the Writing Extensions doc [#2851](https://github.com/solidusio/solidus/pull/2851) ([jacobherrington](https://github.com/jacobherrington)) - Add article that documents a Spree::Order journey [#2803](https://github.com/solidusio/solidus/pull/2803) ([benjaminwil](https://github.com/benjaminwil)) - ## Solidus 2.7.0 (2018-09-14) ### Major Changes @@ -2131,7 +2130,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ [solidus_stock_transfers](https://github.com/solidusio-contrib/solidus_stock_transfers) provides an admin interface to transfer stock between two locations. This used to be included in core but has been extracted to a gem. - Extract stock transfers to the [solidus_stock_transfers](https://github.com/solidusio-contrib/solidus_stock_transfers) gem. [#2379](https://github.com/solidusio/solidus/pull/2379) ([jhawthorn](https://github.com/jhawthorn)) - ## Misc - Generate correct number of codes in BatchBuilder [#2578](https://github.com/solidusio/solidus/pull/2578) ([jhawthorn](https://github.com/jhawthorn)) @@ -2349,7 +2347,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ either update their customizations or include the [solidus_legacy_stock_system](https://github.com/solidusio-contrib/solidus_legacy_stock_system) extension, which provides the old classes. - ### Core - Replace Stock::Coordinator with Stock::SimpleCoordinator [#2199](https://github.com/solidusio/solidus/pull/2199) ([jhawthorn](https://github.com/jhawthorn)) @@ -2472,8 +2469,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ - Deprecate support for alternate Kaminari page_method_name [#2115](https://github.com/solidusio/solidus/pull/2115) ([cbrunsdon](https://github.com/cbrunsdon)) - Deprecate update_params_payment_source method [#2227](https://github.com/solidusio/solidus/pull/2227) ([ccarruitero](https://github.com/ccarruitero)) - - ## Solidus 2.3.0 (2017-07-31) - Rails 5.1 [\#1895](https://github.com/solidusio/solidus/pull/1895) ([jhawthorn](https://github.com/jhawthorn)) @@ -2538,7 +2533,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ - Fix typo on the new promotions form [\#2035](https://github.com/solidusio/solidus/pull/2035) ([swcraig](https://github.com/swcraig)) - Use translated model name in admin payment methods form [\#1975](https://github/com/solidusio/solidus/pull/1975) ([tvdeyen](https://github.com/tvdeyen)) - ### Deprecations - Renamed `Spree::Gateway` payment method into `Spree::PaymentMethod::CreditCard` [\#2001](https://github.com/solidusio/solidus/pull/2001) ([tvdeyen](https://github.com/tvdeyen)) - Deprecate `#simple_current_order` [\#1915](https://github.com/solidusio/solidus/pull/1915) ([ericsaupe](https://github.com/ericsaupe)) @@ -2552,7 +2546,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ - Remove ! from assign\_default\_user\_addresses!, deprecating the old method [\#2019](https://github.com/solidusio/solidus/pull/2019) ([jhawthorn](https://github.com/jhawthorn)) - Emit Spree.url JS deprecation warning in all environments [\#2017](https://github.com/solidusio/solidus/pull/2017) ([jhawthorn](https://github.com/jhawthorn)) - ## Solidus 2.2.1 (2017-05-09) - Fix migrating CreditCards to WalletPaymentSource [\#1898](https://github.com/solidusio/solidus/pull/1898) ([jhawthorn](https://github.com/jhawthorn)) @@ -2581,7 +2574,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ See the "Admin UI" section below for a full list of changes. - ### Core - `Spree::Order#available_payment_methods` returns an `ActiveRecord::Relation` instead of an array [\#1802](https://github.com/solidusio/solidus/pull/1802) ([luukveenis](https://github.com/luukveenis)) - Product slugs no longer have a minimum length requirement [#1616](https://github.com/solidusio/solidus/pull/1616) ([fschwahn](https://github.com/fschwahn)) @@ -2664,7 +2656,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ - Remove `webkit-tap-highlight-color` [\#1792](https://github.com/solidusio/solidus/pull/1792) ([brchristian](https://github.com/brchristian)) - Promotion and Shipping calculators can be created or changed without reloading the page. [#1618](https://github.com/solidusio/solidus/pull/1618) ([jhawthorn](https://github.com/jhawthorn)) - ### Removals - Extract expedited exchanges to an extension [\#1691](https://github.com/solidusio/solidus/pull/1691) ([jhawthorn](https://github.com/jhawthorn)) @@ -2674,7 +2665,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ - Remove unused payment Javascript [\#1735](https://github.com/solidusio/solidus/pull/1735) ([jhawthorn](https://github.com/jhawthorn)) - Moved `spree/admin/shared/_translations` partial to `spree/admin/shared/_js_locale_data`. - ### Deprecations - Deprecate `Order#has_step?` in favour of `has_checkout_step?` [#1667](https://github.com/solidusio/solidus/pull/1667) ([mamhoff](https://github.com/mamhoff)) @@ -2687,7 +2677,6 @@ In this version we are beginning to deprecate this using the [`discard`](https:/ - Deprecate `fill_in_quantity` capybara helper [#1710](https://github.com/solidusio/solidus/pull/1710) ([jhawthorn](https://github.com/jhawthorn)) - Deprecate `wait_for_ajax` capybara helper [#1668](https://github.com/solidusio/solidus/pull/1668) ([cbrunsdon](https://github.com/cbrunsdon)) - ## Solidus 2.1.0 (2017-01-17) * The OrderUpdater (as used by `order.update!`) now fully updates taxes. diff --git a/Gemfile b/Gemfile index cf6f20e6c83..6397c57d3c9 100644 --- a/Gemfile +++ b/Gemfile @@ -45,7 +45,6 @@ group :backend do gem 'net-http', require: false end - if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3') # Need to explicitly declare gems when using ruby 3.0 with older versions of rails. Can be removed when mail 2.8.0 is released. # - https://bugs.ruby-lang.org/issues/17873 diff --git a/README.md b/README.md index 31d74470f4e..b45527a99ac 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ - **Join our Slack**: [http://slack.solidus.io/](http://slack.solidus.io/) - **Solidus Security**: [mailing list](https://groups.google.com/forum/#!forum/solidus-security) - ## Table of Contents - [Supporting Solidus](#supporting-solidus) - [Summary](#summary) diff --git a/api/LICENSE b/api/LICENSE index 3946ad638a7..bef97d82cc6 100644 --- a/api/LICENSE +++ b/api/LICENSE @@ -24,4 +24,3 @@ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/api/openapi/errors.md b/api/openapi/errors.md index 5712b6eef9d..4e37e19b3bd 100644 --- a/api/openapi/errors.md +++ b/api/openapi/errors.md @@ -1,3 +1,3 @@ # Errors -Error responses for each endpoint are documented. When interacting with an endpoint, make sure to handle all possible errors appropriately. \ No newline at end of file +Error responses for each endpoint are documented. When interacting with an endpoint, make sure to handle all possible errors appropriately. diff --git a/api/openapi/main.hub.yml b/api/openapi/main.hub.yml index 975236b90a2..33053451ed7 100644 --- a/api/openapi/main.hub.yml +++ b/api/openapi/main.hub.yml @@ -13,18 +13,15 @@ pages: data: >- # Solidus API - Welcome! This is the documentation for the [Solidus](https://solidus.io) REST API. - This documentation refers to a stock installation of Solidus. However, every store may customize their API in any number of ways, so make sure to ensure the store you are working with conforms to this documentation or refer to the store's own documentation for interacting with the API. - Endpoints are grouped by the logical resource they interact with. Note that some of the endpoints are duplicated, since the same resource may be accessed at the root level or as the child of diff --git a/backend/app/assets/javascripts/spree/backend/admin.js b/backend/app/assets/javascripts/spree/backend/admin.js index 96c6ba53714..2a87298f5a2 100644 --- a/backend/app/assets/javascripts/spree/backend/admin.js +++ b/backend/app/assets/javascripts/spree/backend/admin.js @@ -37,7 +37,6 @@ Spree.ready(function() { }); }); - $.fn.visible = function(cond) { this[cond ? 'show' : 'hide' ]() }; // Apply to individual radio button that makes another element visible when checked diff --git a/backend/app/assets/javascripts/spree/backend/images/upload.js b/backend/app/assets/javascripts/spree/backend/images/upload.js index 7808d517f6e..424434f70d8 100644 --- a/backend/app/assets/javascripts/spree/backend/images/upload.js +++ b/backend/app/assets/javascripts/spree/backend/images/upload.js @@ -21,7 +21,6 @@ Spree.prepareImageUploader = function () { }); }; - Spree.ready(function () { Spree.prepareImageUploader(); }); diff --git a/backend/app/assets/javascripts/spree/backend/models/image_upload.js b/backend/app/assets/javascripts/spree/backend/models/image_upload.js index 92a117de5f5..e2d155a0ff2 100644 --- a/backend/app/assets/javascripts/spree/backend/models/image_upload.js +++ b/backend/app/assets/javascripts/spree/backend/models/image_upload.js @@ -24,7 +24,6 @@ Spree.Models.ImageUpload = Backbone.Model.extend({ 'image/gif': true }, - previewFile: function () { var file = this.get('file'), that = this; diff --git a/backend/app/assets/stylesheets/spree/backend/globals/_variables_override.scss b/backend/app/assets/stylesheets/spree/backend/globals/_variables_override.scss index afc5b57f7af..0a49b49d2f5 100644 --- a/backend/app/assets/stylesheets/spree/backend/globals/_variables_override.scss +++ b/backend/app/assets/stylesheets/spree/backend/globals/_variables_override.scss @@ -5,4 +5,3 @@ file in your application and set variables according to globals/_variables.scss file. --------------------------------------------------------- */ - diff --git a/backend/app/assets/stylesheets/spree/backend/sections/_image_settings.scss b/backend/app/assets/stylesheets/spree/backend/sections/_image_settings.scss index 2be0f8ff46a..dc7a29b1b28 100644 --- a/backend/app/assets/stylesheets/spree/backend/sections/_image_settings.scss +++ b/backend/app/assets/stylesheets/spree/backend/sections/_image_settings.scss @@ -1,3 +1,3 @@ .destroy_style, .destroy_header { float: right; -} \ No newline at end of file +} diff --git a/backend/app/assets/stylesheets/spree/backend/shared/_typography.scss b/backend/app/assets/stylesheets/spree/backend/shared/_typography.scss index 8f2d194c54a..1a3a7c80fc2 100644 --- a/backend/app/assets/stylesheets/spree/backend/shared/_typography.scss +++ b/backend/app/assets/stylesheets/spree/backend/shared/_typography.scss @@ -32,7 +32,6 @@ h4 { line-height: $h1-font-size } h5 { line-height: $h1-font-size } h6 { line-height: $h1-font-size } - // Lists //-------------------------------------------------------------- ul { diff --git a/backend/app/views/spree/admin/adjustments/new.html.erb b/backend/app/views/spree/admin/adjustments/new.html.erb index 8823a9f6499..1c9bf3131fb 100644 --- a/backend/app/views/spree/admin/adjustments/new.html.erb +++ b/backend/app/views/spree/admin/adjustments/new.html.erb @@ -3,7 +3,6 @@ <% admin_breadcrumb(link_to plural_resource_name(Spree::Adjustment), spree.admin_order_adjustments_path(@order)) %> <% admin_breadcrumb(t('spree.new_adjustment')) %> - <% content_for :page_actions do %> <% end %> diff --git a/backend/app/views/spree/admin/customer_returns/new.html.erb b/backend/app/views/spree/admin/customer_returns/new.html.erb index 46d08eebded..8c84c0b5240 100644 --- a/backend/app/views/spree/admin/customer_returns/new.html.erb +++ b/backend/app/views/spree/admin/customer_returns/new.html.erb @@ -3,7 +3,6 @@ <% admin_breadcrumb(link_to plural_resource_name(Spree::CustomerReturn), spree.admin_order_customer_returns_url(@order)) %> <% admin_breadcrumb(t('spree.new_customer_return')) %> - <% content_for :page_actions do %> <% end %> diff --git a/backend/app/views/spree/admin/images/edit.html.erb b/backend/app/views/spree/admin/images/edit.html.erb index 9cefc632e3a..bd9e48811b3 100644 --- a/backend/app/views/spree/admin/images/edit.html.erb +++ b/backend/app/views/spree/admin/images/edit.html.erb @@ -5,7 +5,6 @@ <% admin_breadcrumb(link_to plural_resource_name(Spree::Image), admin_product_images_path(@product)) %> <% admin_breadcrumb(@image.filename) %> - <% content_for :page_actions do %>