spree_backend 4.6.2 → 4.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +20 -101
  3. data/.codeclimate.yml +1 -1
  4. data/.rubocop.yml +5 -2
  5. data/Gemfile +10 -14
  6. data/app/assets/javascripts/spree/backend/global/tinymce.es6 +2 -2
  7. data/app/assets/javascripts/spree/backend/stock_transfer.js +1 -1
  8. data/app/controllers/spree/admin/products_controller.rb +22 -0
  9. data/app/helpers/spree/admin/navigation_helper.rb +77 -11
  10. data/app/helpers/spree/admin/orders_helper.rb +0 -18
  11. data/app/models/spree/admin/actions/action.rb +48 -0
  12. data/app/models/spree/admin/actions/action_builder.rb +79 -0
  13. data/app/models/spree/admin/actions/action_style.rb +11 -0
  14. data/app/models/spree/admin/actions/adjustments_default_actions_builder.rb +28 -0
  15. data/app/models/spree/admin/actions/images_default_actions_builder.rb +29 -0
  16. data/app/models/spree/admin/actions/order_default_actions_builder.rb +92 -0
  17. data/app/models/spree/admin/actions/orders_default_actions_builder.rb +29 -0
  18. data/app/models/spree/admin/actions/payments_default_actions_builder.rb +33 -0
  19. data/app/models/spree/admin/actions/product_properties_default_actions_builder.rb +42 -0
  20. data/app/models/spree/admin/actions/products_default_actions_builder.rb +29 -0
  21. data/app/models/spree/admin/actions/root.rb +15 -0
  22. data/app/models/spree/admin/actions/store_credits_default_actions_builder.rb +28 -0
  23. data/app/models/spree/admin/actions/user_default_actions_builder.rb +29 -0
  24. data/app/models/spree/admin/actions/users_default_actions_builder.rb +29 -0
  25. data/app/models/spree/admin/actions/variants_default_actions_builder.rb +30 -0
  26. data/app/models/spree/admin/item_manager.rb +50 -0
  27. data/app/models/spree/admin/main_menu/default_configuration_builder.rb +263 -0
  28. data/app/models/spree/admin/main_menu/item.rb +30 -0
  29. data/app/models/spree/admin/main_menu/item_builder.rb +37 -0
  30. data/app/models/spree/admin/main_menu/root.rb +17 -0
  31. data/app/models/spree/admin/main_menu/section.rb +31 -0
  32. data/app/models/spree/admin/main_menu/section_builder.rb +36 -0
  33. data/app/models/spree/admin/permission_checks.rb +50 -0
  34. data/app/models/spree/admin/tabs/order_default_tabs_builder.rb +147 -0
  35. data/app/models/spree/admin/tabs/product_default_tabs_builder.rb +144 -0
  36. data/app/models/spree/admin/tabs/root.rb +15 -0
  37. data/app/models/spree/admin/tabs/tab.rb +38 -0
  38. data/app/models/spree/admin/tabs/tab_builder.rb +63 -0
  39. data/app/models/spree/admin/tabs/user_default_tabs_builder.rb +77 -0
  40. data/app/views/spree/admin/adjustments/index.html.erb +9 -1
  41. data/app/views/spree/admin/cms_sections/types/_image_gallery.html.erb +27 -33
  42. data/app/views/spree/admin/cms_sections/types/_side_by_side_images.html.erb +18 -22
  43. data/app/views/spree/admin/images/index.html.erb +12 -3
  44. data/app/views/spree/admin/orders/_order_actions.html.erb +10 -15
  45. data/app/views/spree/admin/orders/index.html.erb +11 -6
  46. data/app/views/spree/admin/payments/index.html.erb +9 -4
  47. data/app/views/spree/admin/prices/index.html.erb +12 -2
  48. data/app/views/spree/admin/product_properties/index.html.erb +13 -13
  49. data/app/views/spree/admin/products/_add_stock_form.html.erb +12 -1
  50. data/app/views/spree/admin/products/edit.html.erb +12 -1
  51. data/app/views/spree/admin/products/index.html.erb +11 -2
  52. data/app/views/spree/admin/shared/_main_menu.html.erb +19 -77
  53. data/app/views/spree/admin/shared/_order_tabs.html.erb +10 -83
  54. data/app/views/spree/admin/shared/_product_tabs.html.erb +12 -64
  55. data/app/views/spree/admin/store_credits/index.html.erb +9 -1
  56. data/app/views/spree/admin/users/_tabs.html.erb +11 -30
  57. data/app/views/spree/admin/users/_user_page_actions.html.erb +9 -1
  58. data/app/views/spree/admin/users/index.html.erb +11 -2
  59. data/app/views/spree/admin/variants/index.html.erb +12 -2
  60. data/app/views/spree/admin/webhooks_subscribers/index.html.erb +0 -11
  61. data/config/locales/en.yml +6 -4
  62. data/lib/spree/backend/configuration.rb +0 -17
  63. data/lib/spree/backend/engine.rb +28 -1
  64. data/lib/spree/backend/version.rb +1 -1
  65. data/spree_backend.gemspec +2 -2
  66. data/yarn.lock +58 -22
  67. metadata +36 -17
  68. data/app/views/spree/admin/shared/sub_menu/_apps.html.erb +0 -3
  69. data/app/views/spree/admin/shared/sub_menu/_configuration.html.erb +0 -19
  70. data/app/views/spree/admin/shared/sub_menu/_content.html.erb +0 -4
  71. data/app/views/spree/admin/shared/sub_menu/_integrations.html.erb +0 -5
  72. data/app/views/spree/admin/shared/sub_menu/_orders.html.erb +0 -5
  73. data/app/views/spree/admin/shared/sub_menu/_organizations.html.erb +0 -3
  74. data/app/views/spree/admin/shared/sub_menu/_product.html.erb +0 -8
  75. data/app/views/spree/admin/shared/sub_menu/_promotion.html.erb +0 -4
  76. data/app/views/spree/admin/shared/sub_menu/_returns.html.erb +0 -4
  77. data/app/views/spree/admin/shared/sub_menu/_stock.html.erb +0 -4
data/yarn.lock CHANGED
@@ -70,6 +70,46 @@
70
70
  resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
71
71
  integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
72
72
 
73
+ "@jridgewell/gen-mapping@^0.3.0":
74
+ version "0.3.2"
75
+ resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9"
76
+ integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==
77
+ dependencies:
78
+ "@jridgewell/set-array" "^1.0.1"
79
+ "@jridgewell/sourcemap-codec" "^1.4.10"
80
+ "@jridgewell/trace-mapping" "^0.3.9"
81
+
82
+ "@jridgewell/resolve-uri@^3.0.3":
83
+ version "3.1.0"
84
+ resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78"
85
+ integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==
86
+
87
+ "@jridgewell/set-array@^1.0.1":
88
+ version "1.1.2"
89
+ resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72"
90
+ integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==
91
+
92
+ "@jridgewell/source-map@^0.3.2":
93
+ version "0.3.2"
94
+ resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.2.tgz#f45351aaed4527a298512ec72f81040c998580fb"
95
+ integrity sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==
96
+ dependencies:
97
+ "@jridgewell/gen-mapping" "^0.3.0"
98
+ "@jridgewell/trace-mapping" "^0.3.9"
99
+
100
+ "@jridgewell/sourcemap-codec@^1.4.10":
101
+ version "1.4.14"
102
+ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24"
103
+ integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==
104
+
105
+ "@jridgewell/trace-mapping@^0.3.9":
106
+ version "0.3.14"
107
+ resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed"
108
+ integrity sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==
109
+ dependencies:
110
+ "@jridgewell/resolve-uri" "^3.0.3"
111
+ "@jridgewell/sourcemap-codec" "^1.4.10"
112
+
73
113
  "@rails/actioncable@^7.0":
74
114
  version "7.0.3"
75
115
  resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.0.3.tgz#71f08e958883af64f6a20489318b5e95d2c6dc5b"
@@ -156,9 +196,9 @@ acorn-jsx@^5.3.1:
156
196
  integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==
157
197
 
158
198
  acorn@^8.5.0:
159
- version "8.6.0"
160
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.6.0.tgz#e3692ba0eb1a0c83eaa4f37f5fa7368dd7142895"
161
- integrity sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==
199
+ version "8.8.0"
200
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8"
201
+ integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==
162
202
 
163
203
  ajv@^6.10.0, ajv@^6.12.4:
164
204
  version "6.12.6"
@@ -286,7 +326,7 @@ commondir@^1.0.1:
286
326
  concat-map@0.0.1:
287
327
  version "0.0.1"
288
328
  resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
289
- integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
329
+ integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
290
330
 
291
331
  cross-spawn@^7.0.2:
292
332
  version "7.0.3"
@@ -694,9 +734,9 @@ merge-stream@^2.0.0:
694
734
  integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
695
735
 
696
736
  minimatch@^3.0.4:
697
- version "3.0.4"
698
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
699
- integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
737
+ version "3.1.2"
738
+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
739
+ integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
700
740
  dependencies:
701
741
  brace-expansion "^1.1.7"
702
742
 
@@ -831,9 +871,9 @@ safe-buffer@^5.1.0:
831
871
  integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
832
872
 
833
873
  semver@^7.2.1:
834
- version "7.3.5"
835
- resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
836
- integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
874
+ version "7.5.4"
875
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
876
+ integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
837
877
  dependencies:
838
878
  lru-cache "^6.0.0"
839
879
 
@@ -874,11 +914,6 @@ source-map@^0.6.0:
874
914
  resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
875
915
  integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
876
916
 
877
- source-map@~0.7.2:
878
- version "0.7.3"
879
- resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
880
- integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
881
-
882
917
  sourcemap-codec@^1.4.4:
883
918
  version "1.4.8"
884
919
  resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4"
@@ -916,12 +951,13 @@ supports-color@^7.0.0, supports-color@^7.1.0:
916
951
  has-flag "^4.0.0"
917
952
 
918
953
  terser@^5.0.0:
919
- version "5.10.0"
920
- resolved "https://registry.yarnpkg.com/terser/-/terser-5.10.0.tgz#b86390809c0389105eb0a0b62397563096ddafcc"
921
- integrity sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==
954
+ version "5.14.2"
955
+ resolved "https://registry.yarnpkg.com/terser/-/terser-5.14.2.tgz#9ac9f22b06994d736174f4091aa368db896f1c10"
956
+ integrity sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==
922
957
  dependencies:
958
+ "@jridgewell/source-map" "^0.3.2"
959
+ acorn "^8.5.0"
923
960
  commander "^2.20.0"
924
- source-map "~0.7.2"
925
961
  source-map-support "~0.5.20"
926
962
 
927
963
  text-table@^0.2.0:
@@ -961,9 +997,9 @@ which@^2.0.1:
961
997
  isexe "^2.0.0"
962
998
 
963
999
  word-wrap@^1.2.3:
964
- version "1.2.3"
965
- resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
966
- integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==
1000
+ version "1.2.4"
1001
+ resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.4.tgz#cb4b50ec9aca570abd1f52f33cd45b6c61739a9f"
1002
+ integrity sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA==
967
1003
 
968
1004
  wrappy@1:
969
1005
  version "1.0.2"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.2
4
+ version: 4.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-05 00:00:00.000000000 Z
12
+ date: 2023-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 4.6.0
20
+ version: 4.7.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 4.6.0
27
+ version: 4.7.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: babel-transpiler
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -2026,7 +2026,36 @@ files:
2026
2026
  - app/javascript/spree/dashboard/index.js
2027
2027
  - app/javascript/spree/dashboard/utilities/bootstrap.js
2028
2028
  - app/javascript/spree/dashboard/utilities/request_utility.js
2029
+ - app/models/spree/admin/actions/action.rb
2030
+ - app/models/spree/admin/actions/action_builder.rb
2031
+ - app/models/spree/admin/actions/action_style.rb
2032
+ - app/models/spree/admin/actions/adjustments_default_actions_builder.rb
2033
+ - app/models/spree/admin/actions/images_default_actions_builder.rb
2034
+ - app/models/spree/admin/actions/order_default_actions_builder.rb
2035
+ - app/models/spree/admin/actions/orders_default_actions_builder.rb
2036
+ - app/models/spree/admin/actions/payments_default_actions_builder.rb
2037
+ - app/models/spree/admin/actions/product_properties_default_actions_builder.rb
2038
+ - app/models/spree/admin/actions/products_default_actions_builder.rb
2039
+ - app/models/spree/admin/actions/root.rb
2040
+ - app/models/spree/admin/actions/store_credits_default_actions_builder.rb
2041
+ - app/models/spree/admin/actions/user_default_actions_builder.rb
2042
+ - app/models/spree/admin/actions/users_default_actions_builder.rb
2043
+ - app/models/spree/admin/actions/variants_default_actions_builder.rb
2044
+ - app/models/spree/admin/item_manager.rb
2045
+ - app/models/spree/admin/main_menu/default_configuration_builder.rb
2046
+ - app/models/spree/admin/main_menu/item.rb
2047
+ - app/models/spree/admin/main_menu/item_builder.rb
2048
+ - app/models/spree/admin/main_menu/root.rb
2049
+ - app/models/spree/admin/main_menu/section.rb
2050
+ - app/models/spree/admin/main_menu/section_builder.rb
2051
+ - app/models/spree/admin/permission_checks.rb
2029
2052
  - app/models/spree/admin/resource.rb
2053
+ - app/models/spree/admin/tabs/order_default_tabs_builder.rb
2054
+ - app/models/spree/admin/tabs/product_default_tabs_builder.rb
2055
+ - app/models/spree/admin/tabs/root.rb
2056
+ - app/models/spree/admin/tabs/tab.rb
2057
+ - app/models/spree/admin/tabs/tab_builder.rb
2058
+ - app/models/spree/admin/tabs/user_default_tabs_builder.rb
2030
2059
  - app/views/kaminari/admin-twitter-bootstrap-4/_first_page.html.erb
2031
2060
  - app/views/kaminari/admin-twitter-bootstrap-4/_gap.html.erb
2032
2061
  - app/views/kaminari/admin-twitter-bootstrap-4/_last_page.html.erb
@@ -2264,16 +2293,6 @@ files:
2264
2293
  - app/views/spree/admin/shared/named_types/_new.html.erb
2265
2294
  - app/views/spree/admin/shared/sortable_tree/_menu.html.erb
2266
2295
  - app/views/spree/admin/shared/sortable_tree/_taxonomy.html.erb
2267
- - app/views/spree/admin/shared/sub_menu/_apps.html.erb
2268
- - app/views/spree/admin/shared/sub_menu/_configuration.html.erb
2269
- - app/views/spree/admin/shared/sub_menu/_content.html.erb
2270
- - app/views/spree/admin/shared/sub_menu/_integrations.html.erb
2271
- - app/views/spree/admin/shared/sub_menu/_orders.html.erb
2272
- - app/views/spree/admin/shared/sub_menu/_organizations.html.erb
2273
- - app/views/spree/admin/shared/sub_menu/_product.html.erb
2274
- - app/views/spree/admin/shared/sub_menu/_promotion.html.erb
2275
- - app/views/spree/admin/shared/sub_menu/_returns.html.erb
2276
- - app/views/spree/admin/shared/sub_menu/_stock.html.erb
2277
2296
  - app/views/spree/admin/shipping_categories/_form.html.erb
2278
2297
  - app/views/spree/admin/shipping_categories/edit.html.erb
2279
2298
  - app/views/spree/admin/shipping_categories/index.html.erb
@@ -2427,9 +2446,9 @@ licenses:
2427
2446
  - BSD-3-Clause
2428
2447
  metadata:
2429
2448
  bug_tracker_uri: https://github.com/spree/spree_backend/issues
2430
- changelog_uri: https://github.com/spree/spree_backend/releases/tag/v4.6.2
2449
+ changelog_uri: https://github.com/spree/spree_backend/releases/tag/v4.7.0
2431
2450
  documentation_uri: https://dev-docs.spreecommerce.org/
2432
- source_code_uri: https://github.com/spree/spree_backend/tree/v4.6.2
2451
+ source_code_uri: https://github.com/spree/spree_backend/tree/v4.7.0
2433
2452
  post_install_message:
2434
2453
  rdoc_options: []
2435
2454
  require_paths:
@@ -2438,7 +2457,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
2438
2457
  requirements:
2439
2458
  - - ">="
2440
2459
  - !ruby/object:Gem::Version
2441
- version: '2.5'
2460
+ version: '3.0'
2442
2461
  required_rubygems_version: !ruby/object:Gem::Requirement
2443
2462
  requirements:
2444
2463
  - - ">="
@@ -1,3 +0,0 @@
1
- <ul id="sidebar-apps" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_apps">
2
- <%= tab :oauth_applications, match_path: '/oauth_applications', label: 'oAuth Applications', do_not_titleize: true %>
3
- </ul>
@@ -1,19 +0,0 @@
1
- <ul data-hook="admin_configurations_sidebar_menu" class="collapse nav nav-pills nav-stacked" id="sidebar-configuration">
2
- <%= configurations_sidebar_menu_item(Spree.t(:store), spree.edit_admin_store_path(current_store), { is_selected: controller_name == 'stores' }) if can? :manage, current_store %>
3
- <%= configurations_sidebar_menu_item(Spree.t(:tax_categories), spree.admin_tax_categories_path) if can? :manage, Spree::TaxCategory %>
4
- <%= configurations_sidebar_menu_item(Spree.t(:tax_rates), spree.admin_tax_rates_path) if can? :manage, Spree::TaxRate %>
5
- <%= configurations_sidebar_menu_item(Spree.t(:zones), spree.admin_zones_path) if can? :manage, Spree::Zone %>
6
- <%= configurations_sidebar_menu_item(Spree.t(:countries), spree.admin_countries_path) if can? :manage, Spree::Country %>
7
-
8
- <% if country = current_store.default_country %>
9
- <%= configurations_sidebar_menu_item(Spree.t(:states), spree.admin_country_states_path(country)) if can? :manage, Spree::Country %>
10
- <% end %>
11
-
12
- <%= configurations_sidebar_menu_item(Spree.t(:shipping_methods), spree.admin_shipping_methods_path) if can? :manage, Spree::ShippingMethod %>
13
- <%= configurations_sidebar_menu_item(Spree.t(:shipping_categories), spree.admin_shipping_categories_path) if can? :manage, Spree::ShippingCategory %>
14
- <%= configurations_sidebar_menu_item(Spree.t(:store_credit_categories), spree.admin_store_credit_categories_path) if can? :manage, Spree::StoreCreditCategory %>
15
- <%= configurations_sidebar_menu_item(Spree.t(:refund_reasons), spree.admin_refund_reasons_path) if can? :manage, Spree::RefundReason %>
16
- <%= configurations_sidebar_menu_item(Spree.t(:reimbursement_types), spree.admin_reimbursement_types_path) if can? :manage, Spree::ReimbursementType %>
17
- <%= configurations_sidebar_menu_item(Spree.t(:return_authorization_reasons), spree.admin_return_authorization_reasons_path) if can? :manage, Spree::ReturnAuthorizationReason %>
18
- <%= configurations_sidebar_menu_item(Spree.t(:roles), spree.admin_roles_path) if can? :manage, Spree::Role %>
19
- </ul>
@@ -1,4 +0,0 @@
1
- <ul id="sidebar-content" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_content">
2
- <%= tab :menus, match_path: '/menus', label: Spree.t('admin.tab.navigation') %>
3
- <%= tab :cms_pages, match_path: '/cms_pages', label: Spree.t('admin.tab.pages') %>
4
- </ul>
@@ -1,5 +0,0 @@
1
- <ul id="sidebar-integrations" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_integrations">
2
- <%= tab :payment_methods, match_path: '/payment_methods', label: 'Payment Methods' if can? :manage, Spree::PaymentMethod %>
3
- <%= tab :data_feeds, match_path: '/data_feeds', label: 'Data Feeds' if can? :manage, Spree::DataFeed %>
4
- <%= tab :webhooks_subscribers, match_path: '/webhooks_subscribers', label: 'Webhooks' if can? :manage, Spree::Webhooks::Subscriber %>
5
- </ul>
@@ -1,5 +0,0 @@
1
- <ul id="sidebar-orders" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_orders">
2
- <%= tab :orders, match_path: /completed_at_not_null\%5D\=1/, url: spree.admin_orders_path(q: { completed_at_not_null: '1' }), label: Spree.t('admin.orders.all_orders') %>
3
- <%= tab :draft_orders, match_path: /cart/, url: spree.admin_orders_path(q: { completed_at_not_null: false, state_eq: :cart}), label: Spree.t('admin.orders.draft_orders') %>
4
- <%= tab :abandoned_checkouts, match_path: /state_in/, url: spree.admin_orders_path(q: { completed_at_not_null: false, state_in: %i[address delivery payment confirm]}), label: Spree.t('admin.orders.abandoned_checkouts') %>
5
- </ul>
@@ -1,3 +0,0 @@
1
- <ul id="sidebar-organizations" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_organizations">
2
- <%= tab :vendors, match_path: '/vendors', label: Spree.t(:vendors) %>
3
- </ul>
@@ -1,8 +0,0 @@
1
- <ul id="sidebar-product" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_product_sub_tabs">
2
- <%= tab :products, match_path: '/products' %>
3
- <%= tab :option_types, match_path: '/option_types' %>
4
- <%= tab :properties %>
5
- <%= tab :prototypes %>
6
- <%= tab :taxonomies, match_path: '/taxonomies' %>
7
- <%= tab :taxons, match_path: '/taxons' %>
8
- </ul>
@@ -1,4 +0,0 @@
1
- <ul id="sidebar-promotions" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_promotion_sub_tabs">
2
- <%= tab :promotions %>
3
- <%= tab :promotion_categories %>
4
- </ul>
@@ -1,4 +0,0 @@
1
- <ul id="sidebar-returns" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_returns_sub_tabs">
2
- <%= tab :return_authorizations, url: spree.admin_return_authorizations_path, match_path: '/return_authorizations' if can?(:admin, Spree::ReturnAuthorization) %>
3
- <%= tab :customer_returns, url: spree.admin_customer_returns_path, match_path: '/customer_returns' if can?(:admin, Spree::CustomerReturn) %>
4
- </ul>
@@ -1,4 +0,0 @@
1
- <ul id="sidebar-stock" class="collapse nav nav-pills nav-stacked pb-2" data-hook="admin_stock_sub_tabs">
2
- <%= tab(:stock_transfers, spree.admin_stock_transfers_path) if can? :manage, Spree::StockTransfer %>
3
- <%= tab(:stock_locations, spree.admin_stock_locations_path) if can? :manage, Spree::StockLocation %>
4
- </ul>