spree_backend 4.1.15 → 4.2.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (270) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/backend-add.svg +5 -0
  3. data/app/assets/images/backend-adjust.svg +5 -0
  4. data/app/assets/images/backend-approve.svg +3 -0
  5. data/app/assets/images/backend-arrow-down.svg +1 -0
  6. data/app/assets/images/backend-arrow-left.svg +1 -0
  7. data/app/assets/images/backend-arrow-right.svg +1 -0
  8. data/app/assets/images/backend-arrow-up.svg +1 -0
  9. data/app/assets/images/backend-calendar.svg +9 -0
  10. data/app/assets/images/backend-cancel.svg +7 -0
  11. data/app/assets/images/backend-capture.svg +3 -0
  12. data/app/assets/images/backend-cart.svg +1 -0
  13. data/app/assets/images/backend-chevron-down.svg +1 -0
  14. data/app/assets/images/backend-chevron-left.svg +1 -0
  15. data/app/assets/images/backend-chevron-right.svg +1 -0
  16. data/app/assets/images/backend-chevron-up.svg +1 -0
  17. data/app/assets/images/backend-clone.svg +7 -0
  18. data/app/assets/images/backend-close.svg +7 -0
  19. data/app/assets/images/backend-delete.svg +6 -0
  20. data/app/assets/images/backend-double-chevron-left.svg +15 -0
  21. data/app/assets/images/backend-double-chevron-right.svg +17 -0
  22. data/app/assets/images/backend-edit.svg +14 -0
  23. data/app/assets/images/backend-enter.svg +6 -0
  24. data/app/assets/images/backend-envelope.svg +3 -0
  25. data/app/assets/images/backend-exit.svg +13 -0
  26. data/app/assets/images/backend-extensions.svg +4 -0
  27. data/app/assets/images/backend-eye-open.svg +8 -0
  28. data/app/assets/images/backend-file.svg +6 -0
  29. data/app/assets/images/backend-filter.svg +3 -0
  30. data/app/assets/images/backend-folder.svg +4 -0
  31. data/app/assets/images/backend-images.svg +7 -0
  32. data/app/assets/images/backend-info.svg +7 -0
  33. data/app/assets/images/backend-items.svg +5 -0
  34. data/app/assets/images/backend-leaf.svg +7 -0
  35. data/app/assets/images/backend-list.svg +5 -0
  36. data/app/assets/images/backend-location.svg +4 -0
  37. data/app/assets/images/backend-menu.svg +5 -0
  38. data/app/assets/images/backend-money.svg +1 -0
  39. data/app/assets/images/backend-move.svg +5 -0
  40. data/app/assets/images/backend-ok.svg +3 -0
  41. data/app/assets/images/backend-pagination-double-arrow-right.svg +8 -0
  42. data/app/assets/images/backend-payments.svg +8 -0
  43. data/app/assets/images/backend-pencil.svg +1 -0
  44. data/app/assets/images/backend-products.svg +5 -0
  45. data/app/assets/images/backend-promotion.svg +8 -0
  46. data/app/assets/images/backend-recycle.svg +5 -0
  47. data/app/assets/images/backend-remove.svg +6 -0
  48. data/app/assets/images/backend-report.svg +6 -0
  49. data/app/assets/images/backend-resume.svg +5 -0
  50. data/app/assets/images/backend-returns.svg +3 -0
  51. data/app/assets/images/backend-save.svg +3 -0
  52. data/app/assets/images/backend-search.svg +1 -0
  53. data/app/assets/images/backend-settings.svg +6 -0
  54. data/app/assets/images/backend-shipping.svg +3 -0
  55. data/app/assets/images/backend-slack.svg +3 -0
  56. data/app/assets/images/backend-sort.svg +5 -0
  57. data/app/assets/images/backend-split.svg +3 -0
  58. data/app/assets/images/backend-store.svg +14 -0
  59. data/app/assets/images/backend-tick.svg +3 -0
  60. data/app/assets/images/backend-update.svg +3 -0
  61. data/app/assets/images/backend-user.svg +3 -0
  62. data/app/assets/images/backend-users.svg +6 -0
  63. data/app/assets/images/backend-view.svg +8 -0
  64. data/app/assets/images/backend-void.svg +7 -0
  65. data/app/assets/javascripts/spree/backend/admin.js +156 -147
  66. data/app/assets/javascripts/spree/backend/checkouts/edit.js +1 -0
  67. data/app/assets/javascripts/spree/backend/flatpickr_locals.js +37 -0
  68. data/app/assets/javascripts/spree/backend/multi_currency.js +38 -0
  69. data/app/assets/javascripts/spree/backend/payments/edit.js +4 -3
  70. data/app/assets/javascripts/spree/backend/payments/new.js +18 -18
  71. data/app/assets/javascripts/spree/backend/promotions.js +1 -1
  72. data/app/assets/javascripts/spree/backend/spree-select2.js +18 -4
  73. data/app/assets/javascripts/spree/backend/stock_management.js +2 -1
  74. data/app/assets/javascripts/spree/backend/taxon_tree_menu.js +4 -4
  75. data/app/assets/javascripts/spree/backend/taxonomy.js +8 -1
  76. data/app/assets/javascripts/spree/backend/taxons.js +25 -16
  77. data/app/assets/javascripts/spree/backend/user_picker.js +1 -1
  78. data/app/assets/javascripts/spree/backend/variant_autocomplete.js +1 -1
  79. data/app/assets/javascripts/spree/backend/variant_management.js +2 -1
  80. data/app/assets/javascripts/spree/backend.js +5 -2
  81. data/app/assets/stylesheets/spree/backend/components/_buttons.scss +27 -11
  82. data/app/assets/stylesheets/spree/backend/components/_filters.scss +35 -5
  83. data/app/assets/stylesheets/spree/backend/components/_icons.scss +39 -4
  84. data/app/assets/stylesheets/spree/backend/components/_main.scss +32 -6
  85. data/app/assets/stylesheets/spree/backend/components/_navbar.scss +16 -8
  86. data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +119 -55
  87. data/app/assets/stylesheets/spree/backend/components/_tables.scss +62 -19
  88. data/app/assets/stylesheets/spree/backend/components/_taxon_products_view.scss +26 -63
  89. data/app/assets/stylesheets/spree/backend/global/_variables.scss +5 -1
  90. data/app/assets/stylesheets/spree/backend/plugins/_flatpickr.scss +95 -0
  91. data/app/assets/stylesheets/spree/backend/plugins/_jquery_ui.scss +0 -117
  92. data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +73 -24
  93. data/app/assets/stylesheets/spree/backend/shared/_base.scss +40 -0
  94. data/app/assets/stylesheets/spree/backend/shared/_forms.scss +38 -0
  95. data/app/assets/stylesheets/spree/backend/spree_admin.css.scss +5 -0
  96. data/app/assets/stylesheets/spree/backend/views/_order_payments.scss +12 -0
  97. data/app/assets/stylesheets/spree/backend/views/_product_properties.scss +11 -0
  98. data/app/assets/stylesheets/spree/backend/views/prototypes.scss +42 -0
  99. data/app/assets/stylesheets/spree/backend.css +1 -1
  100. data/app/controllers/spree/admin/general_settings_controller.rb +27 -0
  101. data/app/controllers/spree/admin/prices_controller.rb +39 -0
  102. data/app/controllers/spree/admin/stock_transfers_controller.rb +8 -1
  103. data/app/controllers/spree/admin/stores_controller.rb +61 -1
  104. data/app/controllers/spree/admin/taxons_controller.rb +5 -1
  105. data/app/helpers/spree/admin/base_helper.rb +25 -8
  106. data/app/helpers/spree/admin/navigation_helper.rb +50 -19
  107. data/app/helpers/spree/admin/orders_helper.rb +3 -3
  108. data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_first_page.html.erb +1 -1
  109. data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_gap.html.erb +1 -1
  110. data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_last_page.html.erb +1 -1
  111. data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_next_page.html.erb +1 -1
  112. data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_page.html.erb +0 -0
  113. data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_paginator.html.erb +1 -1
  114. data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_prev_page.html.erb +1 -1
  115. data/app/views/spree/admin/adjustments/_adjustment.html.erb +2 -2
  116. data/app/views/spree/admin/adjustments/_adjustments_table.html.erb +16 -16
  117. data/app/views/spree/admin/adjustments/edit.html.erb +2 -2
  118. data/app/views/spree/admin/adjustments/index.html.erb +3 -3
  119. data/app/views/spree/admin/adjustments/new.html.erb +1 -1
  120. data/app/views/spree/admin/countries/_form.html.erb +9 -4
  121. data/app/views/spree/admin/countries/index.html.erb +27 -24
  122. data/app/views/spree/admin/customer_returns/_reimbursements_table.html.erb +37 -35
  123. data/app/views/spree/admin/customer_returns/_return_item_decision.html.erb +2 -0
  124. data/app/views/spree/admin/customer_returns/_return_item_selection.html.erb +45 -43
  125. data/app/views/spree/admin/customer_returns/index.html.erb +3 -1
  126. data/app/views/spree/admin/customer_returns/new.html.erb +1 -1
  127. data/app/views/spree/admin/general_settings/_form.html.erb +27 -0
  128. data/app/views/spree/admin/general_settings/edit.html.erb +4 -3
  129. data/app/views/spree/admin/images/edit.html.erb +2 -2
  130. data/app/views/spree/admin/images/index.html.erb +7 -7
  131. data/app/views/spree/admin/images/new.html.erb +2 -2
  132. data/app/views/spree/admin/log_entries/index.html.erb +4 -3
  133. data/app/views/spree/admin/option_types/_option_value_fields.html.erb +1 -1
  134. data/app/views/spree/admin/option_types/edit.html.erb +22 -20
  135. data/app/views/spree/admin/option_types/index.html.erb +27 -25
  136. data/app/views/spree/admin/orders/_adjustments.html.erb +26 -26
  137. data/app/views/spree/admin/orders/_line_items.html.erb +7 -7
  138. data/app/views/spree/admin/orders/_order_actions.html.erb +1 -1
  139. data/app/views/spree/admin/orders/_risk_analysis.html.erb +44 -42
  140. data/app/views/spree/admin/orders/_shipment.html.erb +6 -6
  141. data/app/views/spree/admin/orders/_shipment_manifest.html.erb +5 -5
  142. data/app/views/spree/admin/orders/_store_form.html.erb +3 -3
  143. data/app/views/spree/admin/orders/customer_details/_form.html.erb +1 -1
  144. data/app/views/spree/admin/orders/index.html.erb +135 -127
  145. data/app/views/spree/admin/payment_methods/index.html.erb +6 -4
  146. data/app/views/spree/admin/payments/_capture_events.html.erb +18 -16
  147. data/app/views/spree/admin/payments/_form.html.erb +1 -1
  148. data/app/views/spree/admin/payments/_list.html.erb +39 -37
  149. data/app/views/spree/admin/payments/index.html.erb +2 -3
  150. data/app/views/spree/admin/payments/new.html.erb +1 -1
  151. data/app/views/spree/admin/payments/show.html.erb +1 -1
  152. data/app/views/spree/admin/payments/source_forms/_gateway.html.erb +30 -30
  153. data/app/views/spree/admin/payments/source_views/_gateway.html.erb +20 -18
  154. data/app/views/spree/admin/payments/source_views/_storecredit.html.erb +28 -26
  155. data/app/views/spree/admin/prices/_variant_prices.html.erb +43 -0
  156. data/app/views/spree/admin/prices/index.html.erb +21 -0
  157. data/app/views/spree/admin/product_properties/_product_property_fields.html.erb +16 -4
  158. data/app/views/spree/admin/product_properties/index.html.erb +24 -19
  159. data/app/views/spree/admin/products/_add_stock_form.html.erb +1 -1
  160. data/app/views/spree/admin/products/_autocomplete.js.erb +27 -21
  161. data/app/views/spree/admin/products/_form.html.erb +40 -9
  162. data/app/views/spree/admin/products/edit.html.erb +1 -1
  163. data/app/views/spree/admin/products/index.html.erb +24 -19
  164. data/app/views/spree/admin/products/new.html.erb +11 -2
  165. data/app/views/spree/admin/products/stock.html.erb +3 -3
  166. data/app/views/spree/admin/promotion_categories/index.html.erb +4 -1
  167. data/app/views/spree/admin/promotions/_actions.html.erb +2 -2
  168. data/app/views/spree/admin/promotions/_form.html.erb +44 -17
  169. data/app/views/spree/admin/promotions/_promotion_action.html.erb +1 -1
  170. data/app/views/spree/admin/promotions/_promotion_rule.html.erb +1 -1
  171. data/app/views/spree/admin/promotions/_rules.html.erb +4 -4
  172. data/app/views/spree/admin/promotions/edit.html.erb +2 -2
  173. data/app/views/spree/admin/promotions/index.html.erb +5 -3
  174. data/app/views/spree/admin/promotions/new.html.erb +7 -6
  175. data/app/views/spree/admin/promotions/rules/_country.html.erb +1 -1
  176. data/app/views/spree/admin/promotions/rules/_item_total.html.erb +5 -5
  177. data/app/views/spree/admin/promotions/rules/_option_value.html.erb +6 -13
  178. data/app/views/spree/admin/promotions/rules/_product.html.erb +1 -1
  179. data/app/views/spree/admin/promotions/rules/_taxon.html.erb +1 -1
  180. data/app/views/spree/admin/properties/index.html.erb +5 -3
  181. data/app/views/spree/admin/prototypes/_prototypes.html.erb +30 -28
  182. data/app/views/spree/admin/prototypes/index.html.erb +21 -19
  183. data/app/views/spree/admin/prototypes/show.html.erb +21 -8
  184. data/app/views/spree/admin/refunds/edit.html.erb +2 -2
  185. data/app/views/spree/admin/refunds/new.html.erb +2 -2
  186. data/app/views/spree/admin/reimbursement_types/_form.html.erb +4 -4
  187. data/app/views/spree/admin/reimbursement_types/index.html.erb +4 -2
  188. data/app/views/spree/admin/reimbursements/edit.html.erb +66 -63
  189. data/app/views/spree/admin/reimbursements/index.html.erb +21 -20
  190. data/app/views/spree/admin/reimbursements/show.html.erb +66 -60
  191. data/app/views/spree/admin/reports/index.html.erb +18 -17
  192. data/app/views/spree/admin/reports/sales_total.html.erb +20 -19
  193. data/app/views/spree/admin/return_authorizations/_form.html.erb +3 -2
  194. data/app/views/spree/admin/return_authorizations/edit.html.erb +3 -3
  195. data/app/views/spree/admin/return_authorizations/index.html.erb +3 -1
  196. data/app/views/spree/admin/return_authorizations/new.html.erb +2 -2
  197. data/app/views/spree/admin/return_index/customer_returns.html.erb +4 -4
  198. data/app/views/spree/admin/return_index/return_authorizations.html.erb +4 -4
  199. data/app/views/spree/admin/roles/index.html.erb +21 -19
  200. data/app/views/spree/admin/shared/_account_nav.html.erb +51 -65
  201. data/app/views/spree/admin/shared/_address_form.html.erb +31 -73
  202. data/app/views/spree/admin/shared/_cal_close.html.erb +10 -0
  203. data/app/views/spree/admin/shared/_content_header.html.erb +40 -21
  204. data/app/views/spree/admin/shared/_edit_resource_links.html.erb +2 -2
  205. data/app/views/spree/admin/shared/_header.html.erb +14 -11
  206. data/app/views/spree/admin/shared/_index_table_options.html.erb +5 -7
  207. data/app/views/spree/admin/shared/_main_menu.html.erb +25 -14
  208. data/app/views/spree/admin/shared/_new_resource_links.html.erb +2 -2
  209. data/app/views/spree/admin/shared/_order_summary.html.erb +2 -0
  210. data/app/views/spree/admin/shared/_order_tabs.html.erb +9 -9
  211. data/app/views/spree/admin/shared/_product_tabs.html.erb +13 -5
  212. data/app/views/spree/admin/shared/_refunds.html.erb +31 -29
  213. data/app/views/spree/admin/shared/_report_order_criteria.html.erb +27 -6
  214. data/app/views/spree/admin/shared/_sidebar.html.erb +19 -1
  215. data/app/views/spree/admin/shared/_table_filter.html.erb +3 -3
  216. data/app/views/spree/admin/shared/_translations.html.erb +33 -1
  217. data/app/views/spree/admin/shared/_version.html.erb +1 -1
  218. data/app/views/spree/admin/shared/named_types/_index.html.erb +3 -1
  219. data/app/views/spree/admin/shipping_categories/index.html.erb +3 -1
  220. data/app/views/spree/admin/shipping_methods/index.html.erb +3 -1
  221. data/app/views/spree/admin/state_changes/index.html.erb +5 -2
  222. data/app/views/spree/admin/states/_state_list.html.erb +25 -24
  223. data/app/views/spree/admin/states/index.html.erb +1 -1
  224. data/app/views/spree/admin/stock_locations/_transfer_stock_form.html.erb +2 -2
  225. data/app/views/spree/admin/stock_locations/index.html.erb +3 -1
  226. data/app/views/spree/admin/stock_movements/index.html.erb +28 -26
  227. data/app/views/spree/admin/stock_transfers/_stock_movements.html.erb +20 -18
  228. data/app/views/spree/admin/stock_transfers/index.html.erb +6 -4
  229. data/app/views/spree/admin/stock_transfers/new.html.erb +3 -3
  230. data/app/views/spree/admin/stock_transfers/show.html.erb +3 -3
  231. data/app/views/spree/admin/store_credit_categories/index.html.erb +3 -1
  232. data/app/views/spree/admin/store_credits/index.html.erb +3 -1
  233. data/app/views/spree/admin/stores/_form.html.erb +128 -68
  234. data/app/views/spree/admin/stores/edit.html.erb +1 -1
  235. data/app/views/spree/admin/stores/index.html.erb +4 -2
  236. data/app/views/spree/admin/tax_categories/index.html.erb +29 -27
  237. data/app/views/spree/admin/tax_rates/index.html.erb +3 -1
  238. data/app/views/spree/admin/taxonomies/_list.html.erb +24 -22
  239. data/app/views/spree/admin/taxonomies/edit.html.erb +2 -2
  240. data/app/views/spree/admin/taxonomies/index.html.erb +1 -1
  241. data/app/views/spree/admin/taxons/_form.html.erb +3 -3
  242. data/app/views/spree/admin/taxons/_taxon_table.html.erb +24 -22
  243. data/app/views/spree/admin/taxons/edit.html.erb +6 -2
  244. data/app/views/spree/admin/taxons/index.html.erb +1 -1
  245. data/app/views/spree/admin/users/_lifetime_stats.html.erb +24 -23
  246. data/app/views/spree/admin/users/_sidebar.html.erb +5 -5
  247. data/app/views/spree/admin/users/_user_page_actions.html.erb +1 -1
  248. data/app/views/spree/admin/users/edit.html.erb +2 -2
  249. data/app/views/spree/admin/users/index.html.erb +25 -23
  250. data/app/views/spree/admin/users/items.html.erb +3 -2
  251. data/app/views/spree/admin/users/orders.html.erb +30 -29
  252. data/app/views/spree/admin/variants/_autocomplete_line_items_stock.js.erb +3 -3
  253. data/app/views/spree/admin/variants/_autocomplete_stock.js.erb +2 -2
  254. data/app/views/spree/admin/variants/_form.html.erb +14 -2
  255. data/app/views/spree/admin/variants/_split.js.erb +2 -2
  256. data/app/views/spree/admin/variants/index.html.erb +7 -5
  257. data/app/views/spree/admin/zones/index.html.erb +4 -4
  258. data/app/views/spree/layouts/admin.html.erb +33 -27
  259. data/config/initializers/ransack.rb +31 -0
  260. data/config/routes.rb +1 -0
  261. data/lib/spree/backend.rb +2 -0
  262. data/lib/spree_backend.rb +0 -1
  263. data/spec/fixtures/thinking-cat.jpg +0 -0
  264. data/spree_backend.gemspec +6 -4
  265. data/vendor/assets/javascripts/js.cookie.js +154 -156
  266. data/vendor/assets/javascripts/purify.js +1217 -0
  267. data/vendor/assets/javascripts/sortable.js +3709 -0
  268. data/vendor/assets/stylesheets/animate.css +7 -3156
  269. data/vendor/assets/stylesheets/jquery.jstree/themes/spree/style.scss +23 -9
  270. metadata +138 -25
@@ -29,10 +29,21 @@
29
29
  line-height: 1;
30
30
  height: 38px;
31
31
  vertical-align: middle;
32
- font-family: 'Glyphicons Halflings';
33
32
  color: #555;
33
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cpath id='icon-chevron-right' d='M377.212,245.558l-221.539,-221.539c-5.769,-5.769 -15.115,-5.769 -20.885,0c-5.769,5.769 -5.769,15.116 0,20.885l211.097,211.096l-211.097,211.096c-5.769,5.769 -5.769,15.116 0,20.885c2.885,2.884 6.654,4.327 10.443,4.327c3.788,0 7.557,-1.443 10.442,-4.327l221.539,-221.539c5.769,-5.769 5.769,-15.115 0,-20.884Z' style='fill-rule:nonzero;stroke:%23000;stroke-width:9.5px;'/%3E%3C/svg%3E");
34
+
35
+ display: inline-block;
36
+ width: 1rem;
37
+ height: 1rem;
38
+ overflow: hidden !important;
39
+ vertical-align: middle !important;
40
+ background-repeat: no-repeat !important;
41
+ background-size: 100% !important;
42
+ background-position: center !important;
34
43
 
35
44
  &:before {
45
+
46
+
36
47
  position: absolute;
37
48
  top: 12px;
38
49
  padding-left: 4px;
@@ -40,9 +51,15 @@
40
51
  }
41
52
  }
42
53
 
43
- .jstree-open > ins:before { content: '\e114' }
54
+ .jstree-open > ins {
55
+ transform: rotate(90deg);
56
+ transition: .3s ease-in-out;
57
+ }
58
+ .jstree-closed > ins {
59
+ transform: rotate(0deg);
60
+ transition: .3s ease-in-out;
44
61
 
45
- .jstree-closed > ins:before { content: '\e080' }
62
+ }
46
63
 
47
64
  .jstree-leaf > ins {
48
65
  background-position: -36px 0;
@@ -62,6 +79,7 @@
62
79
  -webkit-user-select: none;
63
80
  -moz-user-select: none;
64
81
  user-select: none;
82
+ margin-left: 10px;
65
83
 
66
84
  &.jstree-search {
67
85
  color: aqua;
@@ -75,7 +93,6 @@
75
93
 
76
94
  .jstree-icon {
77
95
  vertical-align: middle;
78
- font-family: 'Glyphicons Halflings';
79
96
  line-height: 20px;
80
97
  width: 20px;
81
98
  height: 24px;
@@ -83,11 +100,8 @@
83
100
  margin-right: 8px;
84
101
  pointer-events: none;
85
102
 
86
- &:before {
87
- content: "\e118";
88
- top: 1px;
89
- padding-left: 0;
90
- }
103
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cpath d='M64,448c-26.51,0 -48,-21.49 -48,-48l0,-288c0,-26.51 21.49,-48 48,-48l112,0c4.759,-0.008 9.274,2.103 12.32,5.76l48.48,58.24l195.2,0c8.809,0.039 15.929,7.191 15.929,16c0,8.809 -7.12,15.961 -15.929,16l-202.72,0c-4.703,-0.04 -9.15,-2.146 -12.16,-5.76l-48.64,-58.24l-104.48,0c-8.837,0 -16,7.163 -16,16l0,288c0,8.837 7.163,16 16,16c8.809,0.039 15.929,7.191 15.929,16c0,8.809 -7.12,15.961 -15.929,16Z' style='fill-rule:nonzero;stroke:%23000;stroke-width:1px;'/%3E%3Cpath d='M406.08,448l-342.08,0c-4.895,0.109 -9.571,-2.029 -12.691,-5.803c-3.119,-3.775 -4.339,-8.77 -3.309,-13.557l48,-224c1.61,-7.506 8.325,-12.811 16,-12.64l368,0c4.895,-0.109 9.571,2.029 12.691,5.803c3.119,3.775 4.339,8.77 3.309,13.557l-42.88,198.72c-4.76,22.161 -24.373,37.972 -47.04,37.92Zm-322.24,-32l322.24,0c7.675,0.171 14.39,-5.134 16,-12.64l38.08,-179.36l-336,0l-40.32,192Z' style='fill-rule:nonzero;stroke:%23000;stroke-width:1px;'/%3E%3C/svg%3E");
104
+
91
105
  }
92
106
  }
93
107
 
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.15
4
+ version: 4.2.0.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
- autorequire:
8
+ - Spark Solutions
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2024-04-21 00:00:00.000000000 Z
12
+ date: 2020-09-07 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: spree_api
@@ -16,42 +17,48 @@ dependencies:
16
17
  requirements:
17
18
  - - '='
18
19
  - !ruby/object:Gem::Version
19
- version: 4.1.15
20
+ version: 4.2.0.beta
20
21
  type: :runtime
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
25
  - - '='
25
26
  - !ruby/object:Gem::Version
26
- version: 4.1.15
27
+ version: 4.2.0.beta
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: spree_core
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - '='
32
33
  - !ruby/object:Gem::Version
33
- version: 4.1.15
34
+ version: 4.2.0.beta
34
35
  type: :runtime
35
36
  prerelease: false
36
37
  version_requirements: !ruby/object:Gem::Requirement
37
38
  requirements:
38
39
  - - '='
39
40
  - !ruby/object:Gem::Version
40
- version: 4.1.15
41
+ version: 4.2.0.beta
41
42
  - !ruby/object:Gem::Dependency
42
43
  name: bootstrap
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
- - - "~>"
46
+ - - ">="
46
47
  - !ruby/object:Gem::Version
47
48
  version: 4.3.1
49
+ - - "<"
50
+ - !ruby/object:Gem::Version
51
+ version: 4.6.0
48
52
  type: :runtime
49
53
  prerelease: false
50
54
  version_requirements: !ruby/object:Gem::Requirement
51
55
  requirements:
52
- - - "~>"
56
+ - - ">="
53
57
  - !ruby/object:Gem::Version
54
58
  version: 4.3.1
59
+ - - "<"
60
+ - !ruby/object:Gem::Version
61
+ version: 4.6.0
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: glyphicons
57
64
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +73,34 @@ dependencies:
66
73
  - - "~>"
67
74
  - !ruby/object:Gem::Version
68
75
  version: 1.0.2
76
+ - !ruby/object:Gem::Dependency
77
+ name: flatpickr
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 4.6.0
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 4.6.0
90
+ - !ruby/object:Gem::Dependency
91
+ name: inline_svg
92
+ requirement: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.5'
97
+ type: :runtime
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.5'
69
104
  - !ruby/object:Gem::Dependency
70
105
  name: jquery-rails
71
106
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +144,7 @@ dependencies:
109
144
  - !ruby/object:Gem::Version
110
145
  version: 3.5.0
111
146
  description: Required dependency for Spree
112
- email: sean@spreecommerce.com
147
+ email: hello@spreecommerce.org
113
148
  executables: []
114
149
  extensions: []
115
150
  extra_rdoc_files: []
@@ -117,6 +152,69 @@ files:
117
152
  - Gemfile
118
153
  - Rakefile
119
154
  - app/assets/images/admin/logo.png
155
+ - app/assets/images/backend-add.svg
156
+ - app/assets/images/backend-adjust.svg
157
+ - app/assets/images/backend-approve.svg
158
+ - app/assets/images/backend-arrow-down.svg
159
+ - app/assets/images/backend-arrow-left.svg
160
+ - app/assets/images/backend-arrow-right.svg
161
+ - app/assets/images/backend-arrow-up.svg
162
+ - app/assets/images/backend-calendar.svg
163
+ - app/assets/images/backend-cancel.svg
164
+ - app/assets/images/backend-capture.svg
165
+ - app/assets/images/backend-cart.svg
166
+ - app/assets/images/backend-chevron-down.svg
167
+ - app/assets/images/backend-chevron-left.svg
168
+ - app/assets/images/backend-chevron-right.svg
169
+ - app/assets/images/backend-chevron-up.svg
170
+ - app/assets/images/backend-clone.svg
171
+ - app/assets/images/backend-close.svg
172
+ - app/assets/images/backend-delete.svg
173
+ - app/assets/images/backend-double-chevron-left.svg
174
+ - app/assets/images/backend-double-chevron-right.svg
175
+ - app/assets/images/backend-edit.svg
176
+ - app/assets/images/backend-enter.svg
177
+ - app/assets/images/backend-envelope.svg
178
+ - app/assets/images/backend-exit.svg
179
+ - app/assets/images/backend-extensions.svg
180
+ - app/assets/images/backend-eye-open.svg
181
+ - app/assets/images/backend-file.svg
182
+ - app/assets/images/backend-filter.svg
183
+ - app/assets/images/backend-folder.svg
184
+ - app/assets/images/backend-images.svg
185
+ - app/assets/images/backend-info.svg
186
+ - app/assets/images/backend-items.svg
187
+ - app/assets/images/backend-leaf.svg
188
+ - app/assets/images/backend-list.svg
189
+ - app/assets/images/backend-location.svg
190
+ - app/assets/images/backend-menu.svg
191
+ - app/assets/images/backend-money.svg
192
+ - app/assets/images/backend-move.svg
193
+ - app/assets/images/backend-ok.svg
194
+ - app/assets/images/backend-pagination-double-arrow-right.svg
195
+ - app/assets/images/backend-payments.svg
196
+ - app/assets/images/backend-pencil.svg
197
+ - app/assets/images/backend-products.svg
198
+ - app/assets/images/backend-promotion.svg
199
+ - app/assets/images/backend-recycle.svg
200
+ - app/assets/images/backend-remove.svg
201
+ - app/assets/images/backend-report.svg
202
+ - app/assets/images/backend-resume.svg
203
+ - app/assets/images/backend-returns.svg
204
+ - app/assets/images/backend-save.svg
205
+ - app/assets/images/backend-search.svg
206
+ - app/assets/images/backend-settings.svg
207
+ - app/assets/images/backend-shipping.svg
208
+ - app/assets/images/backend-slack.svg
209
+ - app/assets/images/backend-sort.svg
210
+ - app/assets/images/backend-split.svg
211
+ - app/assets/images/backend-store.svg
212
+ - app/assets/images/backend-tick.svg
213
+ - app/assets/images/backend-update.svg
214
+ - app/assets/images/backend-user.svg
215
+ - app/assets/images/backend-users.svg
216
+ - app/assets/images/backend-view.svg
217
+ - app/assets/images/backend-void.svg
120
218
  - app/assets/images/credit_cards/credit_card.gif
121
219
  - app/assets/javascripts/spree/backend.js
122
220
  - app/assets/javascripts/spree/backend/address_states.js
@@ -124,11 +222,13 @@ files:
124
222
  - app/assets/javascripts/spree/backend/admin.js
125
223
  - app/assets/javascripts/spree/backend/calculator.js
126
224
  - app/assets/javascripts/spree/backend/checkouts/edit.js
225
+ - app/assets/javascripts/spree/backend/flatpickr_locals.js
127
226
  - app/assets/javascripts/spree/backend/gateway.js
128
227
  - app/assets/javascripts/spree/backend/general_settings.js
129
228
  - app/assets/javascripts/spree/backend/handlebar_extensions.js
130
229
  - app/assets/javascripts/spree/backend/line_items.js
131
230
  - app/assets/javascripts/spree/backend/line_items_on_order_edit.js
231
+ - app/assets/javascripts/spree/backend/multi_currency.js
132
232
  - app/assets/javascripts/spree/backend/option_type_autocomplete.js
133
233
  - app/assets/javascripts/spree/backend/option_value_picker.js
134
234
  - app/assets/javascripts/spree/backend/orders/edit.js
@@ -173,12 +273,16 @@ files:
173
273
  - app/assets/stylesheets/spree/backend/components/_tables.scss
174
274
  - app/assets/stylesheets/spree/backend/components/_taxon_products_view.scss
175
275
  - app/assets/stylesheets/spree/backend/global/_variables.scss
276
+ - app/assets/stylesheets/spree/backend/plugins/_flatpickr.scss
176
277
  - app/assets/stylesheets/spree/backend/plugins/_jquery_ui.scss
177
278
  - app/assets/stylesheets/spree/backend/plugins/_select2.scss
178
279
  - app/assets/stylesheets/spree/backend/shared/_base.scss
179
280
  - app/assets/stylesheets/spree/backend/shared/_forms.scss
180
281
  - app/assets/stylesheets/spree/backend/shared/_glyphicons_urls_fix.scss
181
282
  - app/assets/stylesheets/spree/backend/spree_admin.css.scss
283
+ - app/assets/stylesheets/spree/backend/views/_order_payments.scss
284
+ - app/assets/stylesheets/spree/backend/views/_product_properties.scss
285
+ - app/assets/stylesheets/spree/backend/views/prototypes.scss
182
286
  - app/assets/stylesheets/spree/frontend/backend.css
183
287
  - app/controllers/spree/admin/adjustments_controller.rb
184
288
  - app/controllers/spree/admin/base_controller.rb
@@ -193,6 +297,7 @@ files:
193
297
  - app/controllers/spree/admin/orders_controller.rb
194
298
  - app/controllers/spree/admin/payment_methods_controller.rb
195
299
  - app/controllers/spree/admin/payments_controller.rb
300
+ - app/controllers/spree/admin/prices_controller.rb
196
301
  - app/controllers/spree/admin/product_properties_controller.rb
197
302
  - app/controllers/spree/admin/products_controller.rb
198
303
  - app/controllers/spree/admin/promotion_actions_controller.rb
@@ -247,13 +352,13 @@ files:
247
352
  - app/helpers/spree/admin/taxons_helper.rb
248
353
  - app/models/spree/admin/resource.rb
249
354
  - app/models/spree/backend_configuration.rb
250
- - app/views/kaminari/twitter-bootstrap-4/_first_page.html.erb
251
- - app/views/kaminari/twitter-bootstrap-4/_gap.html.erb
252
- - app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb
253
- - app/views/kaminari/twitter-bootstrap-4/_next_page.html.erb
254
- - app/views/kaminari/twitter-bootstrap-4/_page.html.erb
255
- - app/views/kaminari/twitter-bootstrap-4/_paginator.html.erb
256
- - app/views/kaminari/twitter-bootstrap-4/_prev_page.html.erb
355
+ - app/views/kaminari/admin-twitter-bootstrap-4/_first_page.html.erb
356
+ - app/views/kaminari/admin-twitter-bootstrap-4/_gap.html.erb
357
+ - app/views/kaminari/admin-twitter-bootstrap-4/_last_page.html.erb
358
+ - app/views/kaminari/admin-twitter-bootstrap-4/_next_page.html.erb
359
+ - app/views/kaminari/admin-twitter-bootstrap-4/_page.html.erb
360
+ - app/views/kaminari/admin-twitter-bootstrap-4/_paginator.html.erb
361
+ - app/views/kaminari/admin-twitter-bootstrap-4/_prev_page.html.erb
257
362
  - app/views/spree/admin/adjustments/_adjustment.html.erb
258
363
  - app/views/spree/admin/adjustments/_adjustments_table.html.erb
259
364
  - app/views/spree/admin/adjustments/_form.html.erb
@@ -270,6 +375,7 @@ files:
270
375
  - app/views/spree/admin/customer_returns/edit.html.erb
271
376
  - app/views/spree/admin/customer_returns/index.html.erb
272
377
  - app/views/spree/admin/customer_returns/new.html.erb
378
+ - app/views/spree/admin/general_settings/_form.html.erb
273
379
  - app/views/spree/admin/general_settings/edit.html.erb
274
380
  - app/views/spree/admin/images/_form.html.erb
275
381
  - app/views/spree/admin/images/edit.html.erb
@@ -315,6 +421,8 @@ files:
315
421
  - app/views/spree/admin/payments/source_views/_check.html.erb
316
422
  - app/views/spree/admin/payments/source_views/_gateway.html.erb
317
423
  - app/views/spree/admin/payments/source_views/_storecredit.html.erb
424
+ - app/views/spree/admin/prices/_variant_prices.html.erb
425
+ - app/views/spree/admin/prices/index.html.erb
318
426
  - app/views/spree/admin/product_properties/_product_property_fields.html.erb
319
427
  - app/views/spree/admin/product_properties/index.html.erb
320
428
  - app/views/spree/admin/products/_add_stock_form.html.erb
@@ -398,6 +506,7 @@ files:
398
506
  - app/views/spree/admin/shared/_account_nav.html.erb
399
507
  - app/views/spree/admin/shared/_address.html.erb
400
508
  - app/views/spree/admin/shared/_address_form.html.erb
509
+ - app/views/spree/admin/shared/_cal_close.html.erb
401
510
  - app/views/spree/admin/shared/_calculator_fields.html.erb
402
511
  - app/views/spree/admin/shared/_content_header.html.erb
403
512
  - app/views/spree/admin/shared/_destroy.js.erb
@@ -516,6 +625,7 @@ files:
516
625
  - app/views/spree/layouts/admin.html.erb
517
626
  - config/initializers/assets.rb
518
627
  - config/initializers/form_builder.rb
628
+ - config/initializers/ransack.rb
519
629
  - config/routes.rb
520
630
  - lib/generators/spree/backend/copy_views/copy_views_generator.rb
521
631
  - lib/spree/backend.rb
@@ -524,24 +634,27 @@ files:
524
634
  - lib/spree/backend/engine.rb
525
635
  - lib/spree_backend.rb
526
636
  - script/rails
637
+ - spec/fixtures/thinking-cat.jpg
527
638
  - spree_backend.gemspec
528
639
  - vendor/assets/javascripts/handlebars.js
529
640
  - vendor/assets/javascripts/jquery.jstree/jquery.jstree.js
530
641
  - vendor/assets/javascripts/js.cookie.js
531
642
  - vendor/assets/javascripts/modernizr.js
643
+ - vendor/assets/javascripts/purify.js
644
+ - vendor/assets/javascripts/sortable.js
532
645
  - vendor/assets/javascripts/underscore-min.js
533
646
  - vendor/assets/stylesheets/animate.css
534
647
  - vendor/assets/stylesheets/jquery.jstree/themes/spree/style.scss
535
648
  - vendor/assets/stylesheets/jquery.jstree/themes/spree/throbber.gif
536
- homepage: http://spreecommerce.org
649
+ homepage: https://spreecommerce.org
537
650
  licenses:
538
651
  - BSD-3-Clause
539
652
  metadata:
540
653
  bug_tracker_uri: https://github.com/spree/spree/issues
541
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.1.15
654
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0.beta
542
655
  documentation_uri: https://guides.spreecommerce.org/
543
- source_code_uri: https://github.com/spree/spree/tree/v4.1.15
544
- post_install_message:
656
+ source_code_uri: https://github.com/spree/spree/tree/v4.2.0.beta
657
+ post_install_message:
545
658
  rdoc_options: []
546
659
  require_paths:
547
660
  - lib
@@ -552,13 +665,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
552
665
  version: 2.5.0
553
666
  required_rubygems_version: !ruby/object:Gem::Requirement
554
667
  requirements:
555
- - - ">="
668
+ - - ">"
556
669
  - !ruby/object:Gem::Version
557
- version: '0'
670
+ version: 1.3.1
558
671
  requirements:
559
672
  - none
560
- rubygems_version: 3.2.22
561
- signing_key:
673
+ rubygems_version: 3.1.2
674
+ signing_key:
562
675
  specification_version: 4
563
676
  summary: backend e-commerce functionality for the Spree project.
564
677
  test_files: []