Luis Ramos
|
c15433af3f
|
Bring some strong parameters code from spree to our Spree controllers
This code comes from spree commit fbc2d150f6
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
244499a27d
|
Extract permitted atttributes to specific classes
|
2020-03-21 19:41:05 +00:00 |
|
Luis Ramos
|
58a2805bc9
|
Make resource controller raise error if permitted_resource_params is not overriden
|
2020-03-21 19:41:05 +00:00 |
|
Luis Ramos
|
49a2522305
|
Permit specific params in variants controller
|
2020-03-21 19:27:55 +00:00 |
|
Luis Ramos
|
527f6cb624
|
Add necessary attributes to admin/products_controller and handle empty params case
|
2020-03-21 19:14:26 +00:00 |
|
Luis Ramos
|
36389b7bed
|
Add missing permitted attributes to bulk_product_update controller
|
2020-03-21 19:14:26 +00:00 |
|
Luis Ramos
|
b5cdcdf8cb
|
Permit specific params in products controller
|
2020-03-21 19:14:26 +00:00 |
|
Luis Ramos
|
a261ae118d
|
Add missing permitted attributes to variant overrides controller
|
2020-03-21 19:14:26 +00:00 |
|
Luis Ramos
|
7320b38b93
|
Add missing attributes to variant override controller
|
2020-03-21 19:14:26 +00:00 |
|
Luis Ramos
|
0151b5ee9a
|
Permit extra needed params in variant overrides controller
|
2020-03-21 19:14:26 +00:00 |
|
Luis Ramos
|
5b37e89738
|
Handle strong params in variant_overrides_controller
We use a simpler way to permit on array within params here and change products_controller to the same style
|
2020-03-21 19:14:26 +00:00 |
|
Luis Ramos
|
c110f4832d
|
Handle strong params in spree/admin/products_controller
|
2020-03-21 19:14:26 +00:00 |
|
Luis Ramos
|
79b0867507
|
Extract permitted attributes to separate service
|
2020-03-21 19:08:37 +00:00 |
|
Luis Ramos
|
58c83d056d
|
Add missing permitted attributes to subscriptions controller
|
2020-03-21 18:57:37 +00:00 |
|
Luis Ramos
|
c3897b2f1c
|
Handle strong params in subscriptions controller
|
2020-03-21 18:57:37 +00:00 |
|
Luis Ramos
|
d7cfda8385
|
Handle strong params in subscription_line_items controller
|
2020-03-21 18:57:37 +00:00 |
|
Luis Ramos
|
aec7f12f5a
|
Extract common user permitted attributes to a separate class
|
2020-03-21 18:31:14 +00:00 |
|
Luis Ramos
|
6ed93da3f1
|
Fix case with empty spree_user in user_registrations controller
|
2020-03-21 18:00:04 +00:00 |
|
Luis Ramos
|
d0bd2818c2
|
Handle strong params on users_controller
|
2020-03-21 18:00:04 +00:00 |
|
Luis Ramos
|
431076fc6d
|
Add strong parameters permits to admin users_controller
|
2020-03-21 17:59:46 +00:00 |
|
Luis Ramos
|
2c453359c1
|
Extract permitted params into a specific service
|
2020-03-21 16:49:26 +00:00 |
|
Luis Ramos
|
1d9a6edefb
|
Permit params in checkout controller before we adapt them to bypass issues with permitting added attributes like source CreditCard
|
2020-03-21 16:30:20 +00:00 |
|
Luis Ramos
|
5ae2e6865c
|
Add one more needed permitted attribute to checkout controller
|
2020-03-21 16:30:20 +00:00 |
|
Luis Ramos
|
d7cccd4143
|
Add guard clause in checkout_controller for empty params[:order]
|
2020-03-21 16:30:20 +00:00 |
|
Luis Ramos
|
5af27bb14e
|
Make checkout controller handle strong parameters
|
2020-03-21 16:30:20 +00:00 |
|
Luis Ramos
|
fd2cf7295e
|
Extract permitted_attributes from order_cycle_controller into a specific service
|
2020-03-21 16:17:20 +00:00 |
|
Luis Ramos
|
57f8fa26ab
|
Fix strong params in order_cycles
|
2020-03-21 14:45:51 +00:00 |
|
Luis Ramos
|
1a46e7b7ee
|
Improve strong params implementation on order_cycle controller and fix corresponding specs
|
2020-03-21 14:45:51 +00:00 |
|
Luis Ramos
|
905811ccb3
|
Handle strong params in admin order_cycles controller
|
2020-03-21 14:45:51 +00:00 |
|
Luis Ramos
|
df799340df
|
Add missing permitted attributes to payment_methods controller
|
2020-03-21 14:21:52 +00:00 |
|
Luis Ramos
|
e5ebf45765
|
Improve strong params implementation on payment methods controller by specifying specific list of permitted attributes
|
2020-03-21 14:09:33 +00:00 |
|
Luis Ramos
|
38849f5589
|
Extract method in payments_method_controller to make it readable
|
2020-03-21 14:09:32 +00:00 |
|
Luis Ramos
|
86d09ff21e
|
Bring strong parameters code from spree to payment_methods_controller
This code comes from spree commit fbc2d150f6
|
2020-03-21 14:08:03 +00:00 |
|
Luis Ramos
|
1c628fac58
|
Merge branch 'master' into 3-0-stable-mar20
|
2020-03-20 11:28:06 +00:00 |
|
Luis Ramos
|
9994bc75ca
|
Adapt reports controller to handle routes of reports in the order_management engine differently
|
2020-03-20 11:07:23 +00:00 |
|
Luis Ramos
|
a8078b22f8
|
Move enterprise fees summaries controller and views to ordermanagement engine
|
2020-03-20 11:07:23 +00:00 |
|
Luis Ramos
|
0e62dc04bd
|
Improve comments to explain glitch on set_order_cycle and OrderCyclesList
|
2020-03-20 09:47:59 +00:00 |
|
Luis Ramos
|
1c1f066884
|
Extract Shop::OrderCyclesList from base_controller
|
2020-03-20 09:47:59 +00:00 |
|
Luis Ramos
|
d5cf355a11
|
Call fetch_order_cycles from reset_order_cycles so we dont repeat the calculation
BaseController#set_order_cycle cant be used in reset_order_cycle because it will empty the order if the OC is not defined previously
|
2020-03-20 09:47:59 +00:00 |
|
Luis Ramos
|
d2eee1dafd
|
Extract and fix reset_order_cycle logic from set_order_cycles: ActiveRecord.count will reload the relation and ignore the changes done by the TagRuleApplicator
|
2020-03-20 09:46:05 +00:00 |
|
Matt-Yorkley
|
7baa875a91
|
Fix big N+1 issues in enterprises#edit for superadmin
The page is usable now as superadmin. Roughly 10x faster...
|
2020-03-19 23:41:47 +01:00 |
|
Matt-Yorkley
|
3de887e1d8
|
Remove some N+1s relating to address (found with bullet gem)
|
2020-03-19 23:41:47 +01:00 |
|
Maikel
|
c4e4beb912
|
Revert "Inner join visible orders"
|
2020-03-19 12:01:00 +11:00 |
|
Luis Ramos
|
0308f1465d
|
Remove taxons/search action and respective rabl view
This is dead code
|
2020-03-17 15:51:26 +00:00 |
|
Luis Ramos
|
eccaaca907
|
Merge pull request #4930 from luisramos0/3-0-stable-mar6
Merge master into 3-0-stable
|
2020-03-17 14:49:30 +00:00 |
|
Luis Ramos
|
29377bbff9
|
Move 5 subscriptions services from app/services to the engines/order_management/app/services
|
2020-03-16 17:20:01 +00:00 |
|
Luis Ramos
|
3901c49af9
|
Fix rubocop issues
|
2020-03-16 17:20:01 +00:00 |
|
Luis Ramos
|
ae0ceb61a1
|
Move ProxyOrderSyncer to OrderManagement engine
|
2020-03-16 17:20:01 +00:00 |
|
Luis Ramos
|
5da47b3f19
|
Merge pull request #4757 from luisramos0/stripe_sca_extra
StripeSCA - Handle further SCA auth request when checking out
|
2020-03-16 16:45:28 +00:00 |
|
Luis Ramos
|
1049525e50
|
Merge pull request #4963 from luisramos0/variants_fix
Fix 2 broken buttons in the product variants list page
|
2020-03-12 23:48:50 +00:00 |
|