solidus_backend 2.8.2 → 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 (110) 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/javascripts/spree/backend/views/stock/edit_stock_item_row.js +18 -2
  8. data/app/assets/stylesheets/spree/backend/_bootstrap_custom.scss +24 -16
  9. data/app/assets/stylesheets/spree/backend/components/_breadcrumb.scss +12 -0
  10. data/app/assets/stylesheets/spree/backend/components/_buttons.scss +18 -0
  11. data/app/assets/stylesheets/spree/backend/components/_image_placeholder.scss +2 -2
  12. data/app/assets/stylesheets/spree/backend/components/_list_group.scss +2 -2
  13. data/app/assets/stylesheets/spree/backend/components/_messages.scss +20 -12
  14. data/app/assets/stylesheets/spree/backend/components/_navigation.scss +45 -11
  15. data/app/assets/stylesheets/spree/backend/components/_progress.scss +3 -3
  16. data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +1 -2
  17. data/app/assets/stylesheets/spree/backend/components/_tabs.scss +14 -13
  18. data/app/assets/stylesheets/spree/backend/globals/_deprecated_variables.scss +24 -0
  19. data/app/assets/stylesheets/spree/backend/globals/_deprecation.scss +10 -1
  20. data/app/assets/stylesheets/spree/backend/globals/_functions.scss +4 -1
  21. data/app/assets/stylesheets/spree/backend/globals/_variables.scss +88 -57
  22. data/app/assets/stylesheets/spree/backend/globals/_variables_override.scss +1 -0
  23. data/app/assets/stylesheets/spree/backend/globals/mixins/_caret.scss +1 -1
  24. data/app/assets/stylesheets/spree/backend/globals/mixins/_line_through.scss +1 -1
  25. data/app/assets/stylesheets/spree/backend/sections/_log_entries.scss +8 -2
  26. data/app/assets/stylesheets/spree/backend/sections/_orders.scss +17 -6
  27. data/app/assets/stylesheets/spree/backend/sections/_products.scss +3 -1
  28. data/app/assets/stylesheets/spree/backend/sections/_promotions.scss +5 -5
  29. data/app/assets/stylesheets/spree/backend/sections/_style_guide.scss +4 -4
  30. data/app/assets/stylesheets/spree/backend/sections/_taxonomies.scss +1 -1
  31. data/app/assets/stylesheets/spree/backend/shared/_fonts.scss +15 -0
  32. data/app/assets/stylesheets/spree/backend/shared/_forms.scss +27 -7
  33. data/app/assets/stylesheets/spree/backend/shared/_header.scss +2 -2
  34. data/app/assets/stylesheets/spree/backend/shared/_icons.scss +5 -1
  35. data/app/assets/stylesheets/spree/backend/shared/_layout.scss +5 -4
  36. data/app/assets/stylesheets/spree/backend/shared/_tables.scss +11 -6
  37. data/app/assets/stylesheets/spree/backend/shared/_typography.scss +10 -6
  38. data/app/assets/stylesheets/spree/backend/spree_admin.scss +3 -0
  39. data/app/controllers/spree/admin/customer_returns_controller.rb +8 -1
  40. data/app/controllers/spree/admin/log_entries_controller.rb +3 -0
  41. data/app/controllers/spree/admin/orders_controller.rb +0 -1
  42. data/app/controllers/spree/admin/users_controller.rb +4 -2
  43. data/app/helpers/spree/admin/base_helper.rb +9 -3
  44. data/app/helpers/spree/admin/promotions_helper.rb +15 -0
  45. data/app/views/spree/admin/images/index.html.erb +1 -1
  46. data/app/views/spree/admin/log_entries/index.html.erb +1 -19
  47. data/app/views/spree/admin/option_types/edit.html.erb +1 -1
  48. data/app/views/spree/admin/orders/_line_items_edit_form.html.erb +1 -1
  49. data/app/views/spree/admin/payments/_capture_events.html.erb +15 -18
  50. data/app/views/spree/admin/payments/_list.html.erb +1 -1
  51. data/app/views/spree/admin/payments/_log_entries.html.erb +29 -0
  52. data/app/views/spree/admin/payments/show.html.erb +13 -6
  53. data/app/views/spree/admin/payments/source_forms/{_storecredit.html.erb → _store_credit.html.erb} +0 -0
  54. data/app/views/spree/admin/payments/source_views/{_storecredit.html.erb → _store_credit.html.erb} +0 -0
  55. data/app/views/spree/admin/prices/_form.html.erb +1 -1
  56. data/app/views/spree/admin/product_properties/index.html.erb +1 -1
  57. data/app/views/spree/admin/products/_form.html.erb +16 -5
  58. data/app/views/spree/admin/products/edit.html.erb +1 -1
  59. data/app/views/spree/admin/promotions/_form.html.erb +2 -2
  60. data/app/views/spree/admin/promotions/index.html.erb +4 -4
  61. data/app/views/spree/admin/reimbursements/edit.html.erb +2 -2
  62. data/app/views/spree/admin/shared/_head.html.erb +0 -3
  63. data/app/views/spree/admin/shared/_modal.html.erb +1 -1
  64. data/app/views/spree/admin/shipping_methods/_form.html.erb +10 -10
  65. data/app/views/spree/admin/stock_items/_stock_management.html.erb +1 -1
  66. data/app/views/spree/admin/store_credits/edit_validity.html.erb +1 -1
  67. data/app/views/spree/admin/store_credits/index.html.erb +1 -1
  68. data/app/views/spree/admin/store_credits/show.html.erb +1 -1
  69. data/app/views/spree/admin/stores/_form.html.erb +1 -0
  70. data/app/views/spree/admin/style_guide/topics/typography/_colors.html.erb +30 -20
  71. data/app/views/spree/admin/style_guide/topics/typography/_fonts.html.erb +1 -1
  72. data/app/views/spree/admin/taxonomies/edit.html.erb +1 -1
  73. data/app/views/spree/admin/taxons/_form.html.erb +1 -1
  74. data/app/views/spree/admin/taxons/edit.html.erb +2 -2
  75. data/app/views/spree/admin/users/edit.html.erb +2 -2
  76. data/app/views/spree/admin/users/index.html.erb +2 -2
  77. data/app/views/spree/admin/variants/_form.html.erb +1 -1
  78. data/app/views/spree/admin/variants/index.html.erb +1 -1
  79. data/app/views/spree/admin/zones/_state_members.html.erb +1 -1
  80. data/spec/controllers/spree/admin/locale_controller_spec.rb +45 -0
  81. data/spec/controllers/spree/admin/orders/customer_details_controller_spec.rb +3 -3
  82. data/spec/controllers/spree/admin/orders_controller_spec.rb +2 -2
  83. data/spec/controllers/spree/admin/stock_locations_controller_spec.rb +1 -1
  84. data/spec/features/admin/locale_spec.rb +1 -2
  85. data/spec/features/admin/orders/adjustments_spec.rb +1 -1
  86. data/spec/features/admin/orders/customer_details_spec.rb +5 -7
  87. data/spec/features/admin/orders/customer_returns_spec.rb +28 -0
  88. data/spec/features/admin/orders/listing_spec.rb +1 -6
  89. data/spec/features/admin/orders/log_entries_spec.rb +2 -2
  90. data/spec/features/admin/orders/new_order_spec.rb +3 -3
  91. data/spec/features/admin/orders/order_details_spec.rb +8 -3
  92. data/spec/features/admin/orders/payments_spec.rb +80 -39
  93. data/spec/features/admin/products/edit/products_spec.rb +25 -0
  94. data/spec/features/admin/products/edit/taxons_spec.rb +4 -0
  95. data/spec/features/admin/products/pricing_spec.rb +24 -6
  96. data/spec/features/admin/products/products_spec.rb +4 -4
  97. data/spec/features/admin/products/stock_management_spec.rb +17 -0
  98. data/spec/features/admin/products/variant_spec.rb +1 -1
  99. data/spec/features/admin/promotions/promotion_spec.rb +52 -0
  100. data/spec/features/admin/store_credits_spec.rb +3 -3
  101. data/spec/features/admin/users_spec.rb +22 -0
  102. data/spec/spec_helper.rb +1 -2
  103. data/spec/support/appear_before_matcher.rb +1 -1
  104. data/vendor/assets/fonts/inter/Inter-Regular.woff +0 -0
  105. data/vendor/assets/fonts/inter/Inter-Regular.woff2 +0 -0
  106. data/vendor/assets/fonts/inter/Inter-SemiBold.woff +0 -0
  107. data/vendor/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
  108. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss +4 -0
  109. metadata +21 -11
  110. data/.eslintrc +0 -21
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
- }