Luis Ramos
|
80b9800b36
|
Replace SQL with equivalent AR code
|
2020-04-01 10:00:07 +01:00 |
|
Luis Ramos
|
6e095bdb68
|
Fix bug in line_item_decorator, should be inner join not left outer join
|
2020-04-01 10:00:07 +01:00 |
|
Luis Ramos
|
a4c7dbc329
|
Add comment to better explain why this scope is not simply using joins(:product)
|
2020-04-01 10:00:07 +01:00 |
|
Luis Ramos
|
8909238682
|
Fix one rubocop issue
|
2020-04-01 10:00:07 +01:00 |
|
Luis Ramos
|
7c367da904
|
Adapt LineItem#supplied_by_any scope to include deleted variants and deleted products (both not included in the respective default scopes) and use it in Permissions::Order so that variants of deleted products are seen in reports
|
2020-04-01 10:00:07 +01:00 |
|
Luis Ramos
|
0c8635403a
|
Delete dead scope in line_items
This is not used anywhere in the code
|
2020-04-01 10:00:07 +01:00 |
|
Pau Pérez Fabregat
|
a218eab67b
|
Merge pull request #4987 from Matt-Yorkley/3-0-packing
[Spree 2.1] Packing report deleted variants
|
2020-03-26 17:37:51 +01:00 |
|
Pau Pérez Fabregat
|
9daa40ce9c
|
Merge pull request #5028 from luisramos0/remove_attr_accessible
[Spree 2.1] Remove new attr_accessible entries
|
2020-03-26 11:20:08 +01:00 |
|
Matt-Yorkley
|
0cc5cbd1d2
|
Merge pull request #5038 from luisramos0/strong_params_prod
[Spree 2.1] Implement strong params in products, variants, variant_overrides and resource controllers
|
2020-03-25 18:35:58 +01:00 |
|
Luis Ramos
|
f1b64e90e0
|
Add comment to explain unusual fix
|
2020-03-25 11:49:14 +00:00 |
|
Luis Ramos
|
b7cb95ae3e
|
Fix problem in PermittedAttributes::Address namespace
|
2020-03-25 10:52:23 +00:00 |
|
Luis Ramos
|
6b62c8aafd
|
Extract permitted attributes to separate service
|
2020-03-25 10:52:23 +00:00 |
|
Luis Ramos
|
e5f56c19c0
|
Switch to using PermittedAttributes::Address instead of spree version of it that will be removed later
|
2020-03-25 10:52:23 +00:00 |
|
Luis Ramos
|
22a005df47
|
Add needed permitted attributes to admin/customers_controller
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
9b0d7b9604
|
Ammend customers_controller to include ship address attributes permit and also permit #update with specific attributes
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
4fd3026bd8
|
Add strong parameters permits to some controllers
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
a9a92e11e2
|
Bring some strong parameters code from spree to our Spree controllers
This code comes from spree commit fbc2d150f6
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
fec5e1d84e
|
Add needed param to enterprises controller
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
ad9e5d979a
|
Permit extra needed params in enterprises controller
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
29a457575b
|
Permit specific params in enterprise_groups controller
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
5c179a0932
|
Ammend strong params on enterprise controller to cover create action
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
34488e5f63
|
Handle strong params in enterprise_roles controller
|
2020-03-25 10:51:55 +00:00 |
|
Luis Ramos
|
6ba3a3c373
|
Handle strong params in admin/enterprises_controller
|
2020-03-25 10:51:55 +00:00 |
|
Pau Pérez Fabregat
|
a72957e3c3
|
Merge pull request #4827 from luisramos0/strong_params
[Spree 2.1] Implement Strong Parameters in various controllers
|
2020-03-25 10:07:14 +01:00 |
|
Pau Pérez Fabregat
|
2c487c2592
|
Merge pull request #5037 from luisramos0/strong_params_subs
[Spree 2.1] Implement strong params in subscriptions controller
|
2020-03-25 09:50:47 +01:00 |
|
Pau Pérez Fabregat
|
d4d72c6c6c
|
Merge pull request #5036 from luisramos0/strong_params_users
[Spree 2.1] Implement strong params in user related controllers
|
2020-03-25 09:48:52 +01:00 |
|
Pau Pérez Fabregat
|
b323364661
|
Merge pull request #5035 from luisramos0/strong_params_checkout
[Spree 2.1] Implement strong params in checkout controller
|
2020-03-25 09:46:53 +01:00 |
|
Pau Pérez Fabregat
|
e70daf53ce
|
Merge pull request #4876 from luisramos0/strong_params_oc
[Spree 2.1] Implement strong params in admin Order cycles controller
|
2020-03-25 09:44:13 +01:00 |
|
Pau Pérez Fabregat
|
c5621b7740
|
Merge pull request #5034 from luisramos0/strong_params_payment_methods
[Spree 2.1] Implement strong params in admin payment methods controller
|
2020-03-25 09:39:34 +01:00 |
|
Luis Ramos
|
85f6be756e
|
Merge pull request #5027 from luisramos0/3-0-stable-mar20
[Spree 2.1] Merge master into 3-0-stable - 20 March 2020
|
2020-03-22 13:20:54 +00:00 |
|
Luis Ramos
|
478f885b26
|
Fix problem in PermittedAttributes::Variant namespace
|
2020-03-21 22:36:31 +00:00 |
|
Luis Ramos
|
5e6a210632
|
Fix problem in PermittedAttributes::User namespace
|
2020-03-21 22:36:03 +00:00 |
|
Luis Ramos
|
4e43535512
|
Add missing permitted attribute
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
3ccd58d50b
|
Fix a problem in the permit list to allow a list to be taken
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
5a0319213f
|
Fix schedules controller permitted attributes
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
b7c0caf883
|
Add needed permitted attributes to orders_controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
8c5dfea92f
|
Fix strong params in order_cycles and schedules controllers
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
2a426d29b6
|
Permit specific params in zones controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
47505b6225
|
Permit specific params in shipping methods controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
6fa1ed03dc
|
Permit specific params in adjustments controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
d73d851095
|
Permit specific params in tax_rates controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
495c3a3810
|
Permit specific params in images controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
9681437fba
|
Permit specific params in tax_categories controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
b99d4ab627
|
Permit specific params in schedules controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
423d5a5a61
|
Permit specific params in taxonomies controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
e5a214da78
|
Permit specific params in states controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
46025915d5
|
Make taxons_controller strong_params method consistent with all other controllers
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
e23267156d
|
Improve inventory_items_controller strong params by not using permit!
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
6bd72f44de
|
Handle strong params in credit card controllers
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
913ea5b883
|
Handle strong parameters in bulk_line_items controller
|
2020-03-21 20:30:34 +00:00 |
|