luisramos0
|
2c59b522de
|
Reorganize admin/all.js in meaningful groups
|
2020-01-23 14:45:35 +00:00 |
|
luisramos0
|
337fbf1be9
|
Remove unused JS dependency timeago, we use momentjs now
|
2020-01-23 14:45:35 +00:00 |
|
luisramos0
|
1548eaeb7e
|
Add frozen_string_literal magic comment
|
2020-01-23 14:42:19 +00:00 |
|
luisramos0
|
ee3c9563d8
|
Add all submenus entries to the main tabs list so that the main menu keeps selected when user selects the submenus
|
2020-01-23 14:31:25 +00:00 |
|
luisramos0
|
4b0ddcda01
|
Add require to fix loading issue. Some other Permissions module was being loaded
|
2020-01-23 11:42:10 +00:00 |
|
Luis Ramos
|
43d7609b81
|
Merge pull request #4707 from Matt-Yorkley/mobile-checkout-tabs
Remove tabs from cart and checkout
|
2020-01-23 10:19:50 +00:00 |
|
Maikel Linke
|
bd67d63b63
|
Restore payment error feedback
|
2020-01-23 16:20:07 +11:00 |
|
Maikel Linke
|
6763012ee9
|
Rescue unknown checkout errors
|
2020-01-23 16:20:07 +11:00 |
|
Luis Ramos
|
494cb00774
|
Merge pull request #4585 from luisramos0/backend_partial_calc_fields
Bring spree_backend calculator fields partial to OFN
|
2020-01-22 20:27:10 +00:00 |
|
Luis Ramos
|
d782bea458
|
Merge pull request #4633 from luisramos0/fix_prod_link_bug
Fix bug in frontoffice order details where the product image was a broken link
|
2020-01-22 20:25:24 +00:00 |
|
luisramos0
|
766303b332
|
Add required payment_helper from spree_backend
|
2020-01-22 20:22:28 +00:00 |
|
luisramos0
|
74226fbdf8
|
Fix one rubocop issue and update rubocop todo manual for the new controller
|
2020-01-22 20:22:28 +00:00 |
|
luisramos0
|
dc5374e284
|
Merge filter_payment_methods and load_data
|
2020-01-22 20:21:21 +00:00 |
|
luisramos0
|
f6ecf57737
|
Make before filters easier to understand using the fact that there are only index, create, new and fire actions in this controller
|
2020-01-22 20:21:21 +00:00 |
|
luisramos0
|
61ce849546
|
Merge spree/admin/payments_controller with its decorator and fix a few rubocop issues
|
2020-01-22 20:21:21 +00:00 |
|
luisramos0
|
afddaed9fc
|
Add empty but needed payments templates for check payment method
|
2020-01-22 20:21:21 +00:00 |
|
luisramos0
|
12158d73fa
|
Add payments_controller from spree_backend so that we can now merge it with the OFN's decorator
|
2020-01-22 20:21:21 +00:00 |
|
Matt-Yorkley
|
5f3abbf00e
|
Refactor BaseController
|
2020-01-22 12:17:23 +01:00 |
|
Matt-Yorkley
|
a02c58e231
|
Add join_table to enterprise groups relation
has_and_belongs_to_many relationships now require a join_table
|
2020-01-22 12:17:23 +01:00 |
|
Matt-Yorkley
|
59ebfb9bd4
|
Fix subquery errors triggered by #warn_invalid_order_cycles
|
2020-01-22 12:17:23 +01:00 |
|
Matt-Yorkley
|
57ca1d54bb
|
Fix issue with each_serializer not being called in some cases in Rails 4.
|
2020-01-22 12:17:23 +01:00 |
|
Matt-Yorkley
|
444747c8b2
|
Split shopping_shared/details partial into header and tabs partials and only include tabs in shop page (not cart and checkout).
|
2020-01-22 11:30:43 +01:00 |
|
luisramos0
|
cccff6b500
|
Remove unused methods from navigation helper
|
2020-01-21 22:51:23 +00:00 |
|
luisramos0
|
b4e6c5307e
|
Convert orders submenu partial to haml
|
2020-01-21 22:51:23 +00:00 |
|
luisramos0
|
fb4f96eb4a
|
Remove unused submenu entries from _tabs partial and convert hash syntax
|
2020-01-21 22:51:23 +00:00 |
|
luisramos0
|
27572cbe68
|
Remove alias_method klass_for_with_sym_fallback
|
2020-01-21 22:49:55 +00:00 |
|
luisramos0
|
8a912d6f02
|
Remove redundant method tab_with_cancan_check
This was introduced to work with previous versions of spree
|
2020-01-21 22:49:55 +00:00 |
|
luisramos0
|
cd7f97b01d
|
Fix rubocop issues in nav helper
|
2020-01-21 22:49:55 +00:00 |
|
luisramos0
|
1b18595d94
|
Merge navigator_helper with decorator
|
2020-01-21 22:49:55 +00:00 |
|
luisramos0
|
8987121058
|
Add navigation helper from spree_backend
|
2020-01-21 22:48:44 +00:00 |
|
Luis Ramos
|
6bb4f2477c
|
Merge pull request #4586 from luisramos0/states_erb
Make states/new.js template depend on the states/new.haml template in OFN (not the states/new.erb in spree)
|
2020-01-21 22:47:28 +00:00 |
|
Luis Ramos
|
1c3fd26eef
|
Merge pull request #4655 from Matt-Yorkley/mobile-shoptabs
Mobile: shop tabs
|
2020-01-20 08:51:59 +00:00 |
|
Matt-Yorkley
|
f8145f8429
|
Update shop tab button styling in mobile
|
2020-01-19 15:59:37 +01:00 |
|
Matt-Yorkley
|
a1256f9aeb
|
Remove old green box styling from shopfront messages
|
2020-01-19 15:57:01 +01:00 |
|
luisramos0
|
1e203ae419
|
Remove destroy with js format in variants controller, we dont use this endpoint in OFN and it avoids having to bring additional code from spree_backend
|
2020-01-16 11:59:36 +00:00 |
|
luisramos0
|
70a24b25e2
|
Update rubocop manual todo and Remove some unnecessary comments
|
2020-01-16 11:59:36 +00:00 |
|
luisramos0
|
f7490ae28b
|
Remove unused stock and destroy actions and bring product routes from spree_backend
|
2020-01-16 11:58:59 +00:00 |
|
luisramos0
|
836abbec92
|
Fix rubocop issues in variant controller
|
2020-01-16 11:58:59 +00:00 |
|
luisramos0
|
d153237b69
|
Merge variants decorator with controller
|
2020-01-16 11:58:59 +00:00 |
|
luisramos0
|
56b6bf82bb
|
Fix some rubocop issues
|
2020-01-16 11:58:59 +00:00 |
|
luisramos0
|
0d44f298fe
|
Merge spree/admin/products_controller with its decorator
|
2020-01-16 11:58:59 +00:00 |
|
luisramos0
|
ff3611f52a
|
Add variants_controller from spree_backend so that we can now merge it with the OFN's decorator
|
2020-01-16 11:58:59 +00:00 |
|
luisramos0
|
7fa9b4699c
|
Add products_controller from spree_backend so that we can now merge it with the OFN's decorator
|
2020-01-16 11:58:59 +00:00 |
|
Maikel
|
0da6275d41
|
Merge pull request #4675 from Matt-Yorkley/rails-4-prep-3
Rails 4 prep continued
|
2020-01-16 15:08:11 +11:00 |
|
Maikel
|
52d2d1d23c
|
Merge pull request #4668 from Matt-Yorkley/rails-4-prep-2
Rails 4 prep: admin dashboard route
|
2020-01-16 14:16:32 +11:00 |
|
Luis Ramos
|
0432c73f19
|
Merge pull request #4510 from luisramos0/backend_ctrl_resource
Bring spree_backend resource controller to OFN
|
2020-01-15 22:22:24 +00:00 |
|
Matt-Yorkley
|
103902c006
|
Replace deprecated arguments in #find_by
Failure/Error: enterprise = Enterprise.find_by(name: enterprise_name, select: 'id, is_primary_producer')
ActiveRecord::StatementInvalid:
PG::UndefinedColumn: ERROR: column enterprises.select does not exist
LINE 1: ...HERE "enterprises"."name" = 'User Enterprise' AND "enterpris...
: SELECT "enterprises".* FROM "enterprises" WHERE "enterprises"."name" = 'User Enterprise' AND "enterprises"."select" = 'id, is_primary_producer' LIMIT 1
# ./app/models/product_import/spreadsheet_data.rb:48:in `block in create_enterprises_index'
# ./app/models/product_import/spreadsheet_data.rb:43:in `each'
|
2020-01-15 16:39:33 +01:00 |
|
Matt-Yorkley
|
d2933e35f1
|
Explicitly require Spree::Admin::BaseHelper
NameError: undefined method `preference_field_tag' for module `Spree::Admin::BaseHelper'
/home/runner/openfoodnetwork/vendor/bundle/ruby/2.3.0/gems/activesupport-4.0.13/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method'
/home/runner/openfoodnetwork/vendor/bundle/ruby/2.3.0/gems/activesupport-4.0.13/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method_chain'
/home/runner/openfoodnetwork/app/helpers/spree/admin/base_helper_decorator.rb:11:in `<module:BaseHelper>'
/home/runner/openfoodnetwork/app/helpers/spree/admin/base_helper_decorator.rb:3:in `<module:Admin>'
|
2020-01-15 13:07:50 +01:00 |
|
Matt-Yorkley
|
0b5e341ae7
|
Explicitly require Spree::Admin::NavigationHelper
NameError: undefined method `klass_for' for module `Spree::Admin::NavigationHelper'
/home/runner/openfoodnetwork/vendor/bundle/ruby/2.3.0/gems/activesupport-4.0.13/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method'
/home/runner/openfoodnetwork/vendor/bundle/ruby/2.3.0/gems/activesupport-4.0.13/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method_chain'
/home/runner/openfoodnetwork/app/helpers/spree/admin/navigation_helper_decorator.rb:18:in `<module:NavigationHelper>'
|
2020-01-15 13:07:46 +01:00 |
|
Matt-Yorkley
|
d511763733
|
Replace deprecated #in? method
|
2020-01-15 12:57:38 +01:00 |
|