solidus_backend 2.8.6 → 2.9.0.rc.1

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