solidus_backend 2.8.5 → 2.9.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_backend might be problematic. Click here for more details.

Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/spree/backend/components/sortable_table.js +1 -0
  3. data/app/assets/javascripts/spree/backend/components/tabs.js +1 -0
  4. data/app/assets/javascripts/spree/backend/shipments.js +1 -0
  5. data/app/assets/javascripts/spree/backend/stock_management.js +9 -0
  6. data/app/assets/javascripts/spree/backend/templates/orders/line_item.hbs +1 -1
  7. data/app/assets/stylesheets/spree/backend/_bootstrap_custom.scss +24 -16
  8. data/app/assets/stylesheets/spree/backend/components/_breadcrumb.scss +12 -0
  9. data/app/assets/stylesheets/spree/backend/components/_buttons.scss +18 -0
  10. data/app/assets/stylesheets/spree/backend/components/_image_placeholder.scss +2 -2
  11. data/app/assets/stylesheets/spree/backend/components/_list_group.scss +2 -2
  12. data/app/assets/stylesheets/spree/backend/components/_messages.scss +20 -12
  13. data/app/assets/stylesheets/spree/backend/components/_navigation.scss +45 -11
  14. data/app/assets/stylesheets/spree/backend/components/_progress.scss +3 -3
  15. data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +1 -2
  16. data/app/assets/stylesheets/spree/backend/components/_tabs.scss +14 -13
  17. data/app/assets/stylesheets/spree/backend/globals/_deprecated_variables.scss +24 -0
  18. data/app/assets/stylesheets/spree/backend/globals/_deprecation.scss +10 -1
  19. data/app/assets/stylesheets/spree/backend/globals/_functions.scss +2 -0
  20. data/app/assets/stylesheets/spree/backend/globals/_variables.scss +88 -57
  21. data/app/assets/stylesheets/spree/backend/globals/_variables_override.scss +1 -0
  22. data/app/assets/stylesheets/spree/backend/globals/mixins/_caret.scss +1 -1
  23. data/app/assets/stylesheets/spree/backend/globals/mixins/_line_through.scss +1 -1
  24. data/app/assets/stylesheets/spree/backend/sections/_log_entries.scss +8 -2
  25. data/app/assets/stylesheets/spree/backend/sections/_orders.scss +17 -6
  26. data/app/assets/stylesheets/spree/backend/sections/_products.scss +3 -1
  27. data/app/assets/stylesheets/spree/backend/sections/_promotions.scss +5 -5
  28. data/app/assets/stylesheets/spree/backend/sections/_style_guide.scss +4 -4
  29. data/app/assets/stylesheets/spree/backend/sections/_taxonomies.scss +1 -1
  30. data/app/assets/stylesheets/spree/backend/shared/_fonts.scss +15 -0
  31. data/app/assets/stylesheets/spree/backend/shared/_forms.scss +27 -7
  32. data/app/assets/stylesheets/spree/backend/shared/_header.scss +2 -2
  33. data/app/assets/stylesheets/spree/backend/shared/_icons.scss +5 -1
  34. data/app/assets/stylesheets/spree/backend/shared/_layout.scss +5 -4
  35. data/app/assets/stylesheets/spree/backend/shared/_tables.scss +11 -6
  36. data/app/assets/stylesheets/spree/backend/shared/_typography.scss +10 -6
  37. data/app/assets/stylesheets/spree/backend/spree_admin.scss +3 -0
  38. data/app/controllers/spree/admin/customer_returns_controller.rb +8 -1
  39. data/app/controllers/spree/admin/log_entries_controller.rb +3 -0
  40. data/app/controllers/spree/admin/orders_controller.rb +0 -1
  41. data/app/controllers/spree/admin/users_controller.rb +4 -2
  42. data/app/helpers/spree/admin/base_helper.rb +9 -3
  43. data/app/helpers/spree/admin/promotions_helper.rb +15 -0
  44. data/app/views/spree/admin/images/index.html.erb +1 -1
  45. data/app/views/spree/admin/log_entries/index.html.erb +1 -19
  46. data/app/views/spree/admin/option_types/edit.html.erb +1 -1
  47. data/app/views/spree/admin/orders/_line_items_edit_form.html.erb +1 -1
  48. data/app/views/spree/admin/payments/_capture_events.html.erb +15 -18
  49. data/app/views/spree/admin/payments/_list.html.erb +1 -1
  50. data/app/views/spree/admin/payments/_log_entries.html.erb +29 -0
  51. data/app/views/spree/admin/payments/show.html.erb +13 -6
  52. data/app/views/spree/admin/payments/source_forms/{_storecredit.html.erb → _store_credit.html.erb} +0 -0
  53. data/app/views/spree/admin/payments/source_views/{_storecredit.html.erb → _store_credit.html.erb} +0 -0
  54. data/app/views/spree/admin/prices/_form.html.erb +1 -1
  55. data/app/views/spree/admin/product_properties/index.html.erb +1 -1
  56. data/app/views/spree/admin/products/_form.html.erb +16 -5
  57. data/app/views/spree/admin/products/edit.html.erb +1 -1
  58. data/app/views/spree/admin/promotions/_form.html.erb +2 -2
  59. data/app/views/spree/admin/promotions/index.html.erb +4 -4
  60. data/app/views/spree/admin/reimbursements/edit.html.erb +2 -2
  61. data/app/views/spree/admin/shared/_head.html.erb +0 -3
  62. data/app/views/spree/admin/shared/_modal.html.erb +1 -1
  63. data/app/views/spree/admin/shipping_methods/_form.html.erb +10 -10
  64. data/app/views/spree/admin/stock_items/_stock_management.html.erb +1 -1
  65. data/app/views/spree/admin/store_credits/edit_validity.html.erb +1 -1
  66. data/app/views/spree/admin/store_credits/index.html.erb +1 -1
  67. data/app/views/spree/admin/store_credits/show.html.erb +1 -1
  68. data/app/views/spree/admin/stores/_form.html.erb +1 -0
  69. data/app/views/spree/admin/style_guide/topics/typography/_colors.html.erb +30 -20
  70. data/app/views/spree/admin/style_guide/topics/typography/_fonts.html.erb +1 -1
  71. data/app/views/spree/admin/taxonomies/edit.html.erb +1 -1
  72. data/app/views/spree/admin/taxons/_form.html.erb +1 -1
  73. data/app/views/spree/admin/taxons/edit.html.erb +2 -2
  74. data/app/views/spree/admin/users/edit.html.erb +2 -2
  75. data/app/views/spree/admin/users/index.html.erb +2 -2
  76. data/app/views/spree/admin/variants/_form.html.erb +1 -1
  77. data/app/views/spree/admin/variants/index.html.erb +1 -1
  78. data/app/views/spree/admin/zones/_state_members.html.erb +1 -1
  79. data/spec/controllers/spree/admin/locale_controller_spec.rb +45 -0
  80. data/spec/controllers/spree/admin/orders/customer_details_controller_spec.rb +3 -3
  81. data/spec/controllers/spree/admin/orders_controller_spec.rb +2 -2
  82. data/spec/controllers/spree/admin/stock_locations_controller_spec.rb +1 -1
  83. data/spec/features/admin/locale_spec.rb +1 -2
  84. data/spec/features/admin/orders/adjustments_spec.rb +1 -1
  85. data/spec/features/admin/orders/customer_details_spec.rb +5 -7
  86. data/spec/features/admin/orders/customer_returns_spec.rb +28 -0
  87. data/spec/features/admin/orders/listing_spec.rb +1 -6
  88. data/spec/features/admin/orders/log_entries_spec.rb +2 -2
  89. data/spec/features/admin/orders/new_order_spec.rb +3 -3
  90. data/spec/features/admin/orders/order_details_spec.rb +8 -3
  91. data/spec/features/admin/orders/payments_spec.rb +80 -39
  92. data/spec/features/admin/products/edit/products_spec.rb +25 -0
  93. data/spec/features/admin/products/edit/taxons_spec.rb +4 -0
  94. data/spec/features/admin/products/pricing_spec.rb +24 -6
  95. data/spec/features/admin/products/products_spec.rb +4 -4
  96. data/spec/features/admin/products/variant_spec.rb +1 -1
  97. data/spec/features/admin/promotions/promotion_spec.rb +52 -0
  98. data/spec/features/admin/store_credits_spec.rb +3 -3
  99. data/spec/features/admin/users_spec.rb +22 -0
  100. data/spec/spec_helper.rb +1 -2
  101. data/spec/support/appear_before_matcher.rb +1 -1
  102. data/vendor/assets/fonts/inter/Inter-Regular.woff +0 -0
  103. data/vendor/assets/fonts/inter/Inter-Regular.woff2 +0 -0
  104. data/vendor/assets/fonts/inter/Inter-SemiBold.woff +0 -0
  105. data/vendor/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
  106. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss +4 -0
  107. metadata +20 -9
  108. data/.eslintrc +0 -21
@@ -50,6 +50,31 @@ describe 'Product Details', type: :feature do
50
50
  end
51
51
  end
52
52
 
53
+ context "when default price is deleted" do
54
+ it "does not show the master price", js: true do
55
+ product = create(:product, name: 'Bún thịt nướng', sku: 'A100',
56
+ description: 'lorem ipsum', available_on: '2013-08-14 01:02:03')
57
+
58
+ visit spree.admin_path
59
+ click_nav "Products"
60
+ within_row(1) { click_icon :edit }
61
+
62
+ click_link 'Prices'
63
+
64
+ within "#spree_price_#{product.master.default_price.id}" do
65
+ accept_alert do
66
+ click_icon :trash
67
+ end
68
+ end
69
+ expect(page).to have_content("Price has been successfully removed")
70
+
71
+ click_link 'Product Details'
72
+
73
+ expect(page).not_to have_field('product_price')
74
+ expect(page).to have_content('This Product has no price in the default currency (USD).')
75
+ end
76
+ end
77
+
53
78
  # Regression test for https://github.com/spree/spree/issues/3385
54
79
  context "deleting a product", js: true do
55
80
  it "is still able to find the master variant" do
@@ -28,7 +28,11 @@ describe "Product Display Order", type: :feature do
28
28
  assert_selected_taxons([taxon_1])
29
29
 
30
30
  select2_search "Clothing", from: "Taxon"
31
+ assert_selected_taxons([taxon_1, taxon_2])
32
+
31
33
  click_button "Update"
34
+
35
+ expect(find(".flash")).to have_text "Product \"#{product.name}\" has been successfully updated!"
32
36
  assert_selected_taxons([taxon_1, taxon_2])
33
37
  end
34
38
 
@@ -65,18 +65,36 @@ describe 'Pricing' do
65
65
  end
66
66
 
67
67
  context "editing" do
68
- let(:variant) { create(:variant, price: 20) }
69
- let(:product) { variant.product }
70
-
71
- before do
72
- product.master.update(price: 49.99)
73
- end
68
+ let(:product) { create(:product, price: 123.99) }
69
+ let!(:variant) { product.master }
70
+ let!(:other_price) { product.master.prices.create(amount: 34.56, currency: "EUR") }
74
71
 
75
72
  it 'has a working edit page' do
76
73
  within "#spree_price_#{product.master.prices.first.id}" do
77
74
  click_icon :edit
78
75
  end
79
76
  expect(page).to have_content("Edit Price")
77
+
78
+ within("#price_price_field") do
79
+ expect(page).to have_field('price_price', with: '123.99')
80
+ end
81
+
82
+ fill_in "price_price", with: 999.99
83
+ click_button "Update"
84
+ expect(page).to have_content("Price has been successfully updated!")
85
+ expect(page).to have_content("$999.99")
86
+ expect(page).to have_content("€34.56")
87
+ end
88
+
89
+ it "will not reset the currency to default" do
90
+ within "#spree_price_#{other_price.id}" do
91
+ click_icon :edit
92
+ end
93
+ expect(page).to have_content("Edit Price")
94
+ expect(page).to_not have_field('price_currency', with: 'USD')
95
+ within("#price_price_field") do
96
+ expect(page).to have_css('.number-with-currency-addon', text: 'EUR')
97
+ end
80
98
  end
81
99
  end
82
100
 
@@ -54,7 +54,7 @@ describe "Products", type: :feature do
54
54
  context "currency displaying" do
55
55
  context "using Russian Rubles" do
56
56
  before do
57
- Spree::Config[:currency] = "RUB"
57
+ stub_spree_preferences(currency: "RUB")
58
58
  end
59
59
 
60
60
  let!(:product) do
@@ -72,7 +72,7 @@ describe "Products", type: :feature do
72
72
  end
73
73
  context "when none of the product prices are in the same currency as the default in the store" do
74
74
  before do
75
- Spree::Config[:currency] = "MXN"
75
+ stub_spree_preferences(currency: "MXN")
76
76
  end
77
77
 
78
78
  let!(:product) do
@@ -80,7 +80,7 @@ describe "Products", type: :feature do
80
80
  end
81
81
 
82
82
  it 'defaults it to Spree::Config.currency and sets the price as blank' do
83
- Spree::Config[:currency] = "USD"
83
+ stub_spree_preferences(currency: "USD")
84
84
  visit spree.admin_product_path(product)
85
85
  within("#product_price_field") do
86
86
  expect(page).to have_content("USD")
@@ -289,7 +289,7 @@ describe "Products", type: :feature do
289
289
  check "Show Deleted"
290
290
  click_button "Search"
291
291
  click_link product.name
292
- expect(page).to have_field('Master Price', with: product.price.to_f)
292
+ expect(page).to_not have_field('Master Price')
293
293
  expect(page).to_not have_content('Images')
294
294
  expect(page).to_not have_content('Prices')
295
295
  expect(page).to_not have_content('Product Properties')
@@ -32,7 +32,7 @@ describe "Variants", type: :feature do
32
32
  context "currency displaying" do
33
33
  context "using Russian Rubles" do
34
34
  before do
35
- Spree::Config[:currency] = "RUB"
35
+ stub_spree_preferences(currency: "RUB")
36
36
  end
37
37
 
38
38
  let!(:variant) do
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ feature 'Promotions' do
6
+ stub_authorization!
7
+
8
+ context 'index' do
9
+ context 'when no promotions' do
10
+ scenario 'shows no promotions found message' do
11
+ visit spree.admin_promotions_path
12
+ expect(page).to have_content('No Promotions found.')
13
+ end
14
+ end
15
+
16
+ context 'when promotion is active' do
17
+ given!(:promotion) { create :promotion }
18
+
19
+ scenario 'promotion status is active' do
20
+ visit spree.admin_promotions_path
21
+
22
+ within_row(1) do
23
+ expect(column_text(3)).to eq("Active")
24
+ end
25
+ end
26
+ end
27
+
28
+ context 'when promotion is in the future' do
29
+ given!(:promotion) { create :promotion, starts_at: 1.day.after }
30
+
31
+ scenario 'promotion status is not started' do
32
+ visit spree.admin_promotions_path
33
+
34
+ within_row(1) do
35
+ expect(column_text(3)).to eq("Not started")
36
+ end
37
+ end
38
+ end
39
+
40
+ context 'when promotion is in the past' do
41
+ given!(:promotion) { create :promotion, expires_at: 1.day.ago }
42
+
43
+ scenario 'promotion status is expired' do
44
+ visit spree.admin_promotions_path
45
+
46
+ within_row(1) do
47
+ expect(column_text(3)).to eq("Expired")
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
@@ -84,7 +84,7 @@ describe "Store credits admin" do
84
84
  click_button 'Edit'
85
85
  fill_in 'store_credit_memo', with: 'Lottery Won'
86
86
  click_button 'Save'
87
- expect(page).to have_content "Memo Lottery Won"
87
+ expect(page).to have_content "Memo Lottery Won", normalize_ws: true
88
88
  end
89
89
  expect(page).to have_content "Store Credit has been successfully updated!"
90
90
 
@@ -98,8 +98,8 @@ describe "Store credits admin" do
98
98
  find(:css, ".edit-memo").click
99
99
  fill_in 'store_credit_memo', with: 'Lottery Won Twice'
100
100
  find(:css, ".save-memo").click
101
- expect(page).to have_content "Memo Lottery Won"
102
- expect(page).not_to have_content "Memo Lottery Won Twice"
101
+ expect(page).to have_content "Memo Lottery Won", normalize_ws: true
102
+ expect(page).not_to have_content "Lottery Won Twice"
103
103
  end
104
104
  expect(page).to have_content "Unable to update store credit [\"Memo is not valid\"]"
105
105
  end
@@ -59,6 +59,7 @@ describe 'Users', type: :feature do
59
59
 
60
60
  it "can sort asc" do
61
61
  within_table(table_id) do
62
+ expect(page).to have_selector '.sort_link.asc'
62
63
  expect(page).to have_text text_match_1
63
64
  expect(page).to have_text text_match_2
64
65
  expect(text_match_1).to appear_before text_match_2
@@ -69,7 +70,10 @@ describe 'Users', type: :feature do
69
70
  within_table(table_id) do
70
71
  # Ransack adds a ▲ to the sort link. With exact match Capybara is not able to find that link
71
72
  click_link sort_link, exact: false
73
+ end
72
74
 
75
+ within_table(table_id) do
76
+ expect(page).to have_selector '.sort_link.desc'
73
77
  expect(page).to have_text text_match_1
74
78
  expect(page).to have_text text_match_2
75
79
  expect(text_match_2).to appear_before text_match_1
@@ -285,6 +289,24 @@ describe 'Users', type: :feature do
285
289
  end
286
290
  end
287
291
 
292
+ context 'deleting users' do
293
+ let!(:an_user) { create(:user_with_addresses, email: 'an_user@example.com') }
294
+ let!(:order) { create(:completed_order_with_totals, user_id: an_user.id) }
295
+
296
+ context 'if an user has placed orders' do
297
+ before do
298
+ visit spree.admin_path
299
+ click_link 'Users'
300
+ end
301
+
302
+ it "can't be deleted" do
303
+ within "#spree_user_#{an_user.id}" do
304
+ expect(page).not_to have_selector('.fa-trash')
305
+ end
306
+ end
307
+ end
308
+ end
309
+
288
310
  context 'order history with sorting' do
289
311
  before do
290
312
  orders
data/spec/spec_helper.rb CHANGED
@@ -47,7 +47,7 @@ Capybara.register_driver :selenium_chrome_headless do |app|
47
47
  browser_options = ::Selenium::WebDriver::Chrome::Options.new
48
48
  browser_options.args << '--headless'
49
49
  browser_options.args << '--disable-gpu'
50
- browser_options.args << '--window-size=1440,1080'
50
+ browser_options.args << '--window-size=1920,1080'
51
51
  Capybara::Selenium::Driver.new(app, browser: :chrome, options: browser_options)
52
52
  end
53
53
 
@@ -89,7 +89,6 @@ RSpec.configure do |config|
89
89
 
90
90
  config.before do
91
91
  Rails.cache.clear
92
- reset_spree_preferences
93
92
  if RSpec.current_example.metadata[:js] && page.driver.browser.respond_to?(:url_blacklist)
94
93
  page.driver.browser.url_blacklist = ['http://fonts.googleapis.com']
95
94
  end
@@ -5,6 +5,6 @@ require 'rspec/expectations'
5
5
  RSpec::Matchers.define :appear_before do |expected|
6
6
  match do |actual|
7
7
  raise "Page instance required to use the appear_before matcher" unless page
8
- page.body.index(actual) <= page.body.index(expected)
8
+ has_text? /#{actual}.*#{expected}/
9
9
  end
10
10
  end
@@ -51,6 +51,10 @@
51
51
  color: $pagination-active-color;
52
52
  background-color: $pagination-active-bg;
53
53
  border-color: $pagination-active-border-color;
54
+
55
+ &:hover {
56
+ color: $pagination-active-color;
57
+ }
54
58
  }
55
59
 
56
60
  &.disabled .page-link {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.5
4
+ version: 2.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.8.5
19
+ version: 2.9.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.8.5
26
+ version: 2.9.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.8.5
33
+ version: 2.9.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.8.5
40
+ version: 2.9.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -156,7 +156,6 @@ executables: []
156
156
  extensions: []
157
157
  extra_rdoc_files: []
158
158
  files:
159
- - ".eslintrc"
160
159
  - README.md
161
160
  - Rakefile
162
161
  - app/assets/config/solidus_backend_manifest.js
@@ -273,6 +272,7 @@ files:
273
272
  - app/assets/stylesheets/spree/backend/_bootstrap_custom.scss
274
273
  - app/assets/stylesheets/spree/backend/components/_actions.scss
275
274
  - app/assets/stylesheets/spree/backend/components/_breadcrumb.scss
275
+ - app/assets/stylesheets/spree/backend/components/_buttons.scss
276
276
  - app/assets/stylesheets/spree/backend/components/_editable_table.scss
277
277
  - app/assets/stylesheets/spree/backend/components/_hint.scss
278
278
  - app/assets/stylesheets/spree/backend/components/_image_placeholder.scss
@@ -287,6 +287,7 @@ files:
287
287
  - app/assets/stylesheets/spree/backend/components/_stock_table.scss
288
288
  - app/assets/stylesheets/spree/backend/components/_table-filter.scss
289
289
  - app/assets/stylesheets/spree/backend/components/_tabs.scss
290
+ - app/assets/stylesheets/spree/backend/globals/_deprecated_variables.scss
290
291
  - app/assets/stylesheets/spree/backend/globals/_deprecation.scss
291
292
  - app/assets/stylesheets/spree/backend/globals/_functions.scss
292
293
  - app/assets/stylesheets/spree/backend/globals/_mixins.css
@@ -312,6 +313,7 @@ files:
312
313
  - app/assets/stylesheets/spree/backend/sections/_taxons.scss
313
314
  - app/assets/stylesheets/spree/backend/sections/_users.scss
314
315
  - app/assets/stylesheets/spree/backend/sections/_variants.scss
316
+ - app/assets/stylesheets/spree/backend/shared/_fonts.scss
315
317
  - app/assets/stylesheets/spree/backend/shared/_forms.scss
316
318
  - app/assets/stylesheets/spree/backend/shared/_header.scss
317
319
  - app/assets/stylesheets/spree/backend/shared/_icons.scss
@@ -383,6 +385,7 @@ files:
383
385
  - app/helpers/spree/admin/orders_helper.rb
384
386
  - app/helpers/spree/admin/payments_helper.rb
385
387
  - app/helpers/spree/admin/products_helper.rb
388
+ - app/helpers/spree/admin/promotions_helper.rb
386
389
  - app/helpers/spree/admin/reimbursement_type_helper.rb
387
390
  - app/helpers/spree/admin/stock_locations_helper.rb
388
391
  - app/helpers/spree/admin/stock_movements_helper.rb
@@ -459,16 +462,17 @@ files:
459
462
  - app/views/spree/admin/payments/_capture_events.html.erb
460
463
  - app/views/spree/admin/payments/_form.html.erb
461
464
  - app/views/spree/admin/payments/_list.html.erb
465
+ - app/views/spree/admin/payments/_log_entries.html.erb
462
466
  - app/views/spree/admin/payments/credit.html.erb
463
467
  - app/views/spree/admin/payments/index.html.erb
464
468
  - app/views/spree/admin/payments/new.html.erb
465
469
  - app/views/spree/admin/payments/show.html.erb
466
470
  - app/views/spree/admin/payments/source_forms/_check.html.erb
467
471
  - app/views/spree/admin/payments/source_forms/_gateway.html.erb
468
- - app/views/spree/admin/payments/source_forms/_storecredit.html.erb
472
+ - app/views/spree/admin/payments/source_forms/_store_credit.html.erb
469
473
  - app/views/spree/admin/payments/source_views/_check.html.erb
470
474
  - app/views/spree/admin/payments/source_views/_gateway.html.erb
471
- - app/views/spree/admin/payments/source_views/_storecredit.html.erb
475
+ - app/views/spree/admin/payments/source_views/_store_credit.html.erb
472
476
  - app/views/spree/admin/prices/_form.html.erb
473
477
  - app/views/spree/admin/prices/_master_variant_table.html.erb
474
478
  - app/views/spree/admin/prices/_table.html.erb
@@ -715,6 +719,7 @@ files:
715
719
  - spec/controllers/spree/admin/base_controller_spec.rb
716
720
  - spec/controllers/spree/admin/cancellations_controller_spec.rb
717
721
  - spec/controllers/spree/admin/customer_returns_controller_spec.rb
722
+ - spec/controllers/spree/admin/locale_controller_spec.rb
718
723
  - spec/controllers/spree/admin/missing_products_controller_spec.rb
719
724
  - spec/controllers/spree/admin/orders/customer_details_controller_spec.rb
720
725
  - spec/controllers/spree/admin/orders_controller_spec.rb
@@ -756,6 +761,7 @@ files:
756
761
  - spec/features/admin/orders/cancelling_and_resuming_spec.rb
757
762
  - spec/features/admin/orders/cancelling_inventory_spec.rb
758
763
  - spec/features/admin/orders/customer_details_spec.rb
764
+ - spec/features/admin/orders/customer_returns_spec.rb
759
765
  - spec/features/admin/orders/line_items_spec.rb
760
766
  - spec/features/admin/orders/listing_spec.rb
761
767
  - spec/features/admin/orders/log_entries_spec.rb
@@ -782,6 +788,7 @@ files:
782
788
  - spec/features/admin/promotions/option_value_rule_spec.rb
783
789
  - spec/features/admin/promotions/product_rule_spec.rb
784
790
  - spec/features/admin/promotions/promotion_categories_spec.rb
791
+ - spec/features/admin/promotions/promotion_spec.rb
785
792
  - spec/features/admin/promotions/tiered_calculator_spec.rb
786
793
  - spec/features/admin/promotions/user_rule_spec.rb
787
794
  - spec/features/admin/reimbursements_spec.rb
@@ -815,6 +822,10 @@ files:
815
822
  - spec/test_views/spree/admin/widgets/edit.html.erb
816
823
  - spec/test_views/spree/admin/widgets/new.html.erb
817
824
  - spec/views/spree/admin/shared/navigation_footer_spec.rb
825
+ - vendor/assets/fonts/inter/Inter-Regular.woff
826
+ - vendor/assets/fonts/inter/Inter-Regular.woff2
827
+ - vendor/assets/fonts/inter/Inter-SemiBold.woff
828
+ - vendor/assets/fonts/inter/Inter-SemiBold.woff2
818
829
  - vendor/assets/images/solidus_admin/select2-spinner.gif
819
830
  - vendor/assets/images/solidus_admin/select2.png
820
831
  - vendor/assets/images/solidus_admin/select2x2.png
data/.eslintrc DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "rules": {
3
- "no-unused-vars": ["error", { "vars": "all", "args": "none" }],
4
- "linebreak-style": ["error", "unix"]
5
- },
6
- "env": {
7
- "es6": false,
8
- "browser": true,
9
- "jquery": true
10
- },
11
- "globals": {
12
- "Spree": true,
13
- "Backbone": true,
14
- "HandlebarsTemplates": true,
15
- "_": true,
16
- "Select2": true,
17
- "show_flash": true,
18
- "update_state": true,
19
- },
20
- "extends": "eslint:recommended"
21
- }