blainebillings
|
427dc54945
|
Change Result of PriceSack Calculation from Integers to Floats
|
2020-04-17 14:43:28 +01:00 |
|
Maikel
|
2e31f234d6
|
Merge pull request #5196 from Matt-Yorkley/customers-performance
Admin Customers performance
|
2020-04-17 13:28:39 +10:00 |
|
Matt-Yorkley
|
31a54e49c5
|
Allow User#default_card to work with eager-loading
|
2020-04-10 08:20:13 +02:00 |
|
Luis Ramos
|
314fed063d
|
Merge property with property_decorator both in our codebase
|
2020-04-09 19:09:22 +01:00 |
|
Luis Ramos
|
0d5c08c363
|
Remove dead code, there's no Spree::Money in app/models/spree and the Spree::Money in lib/spree already has a class_eval with this function
|
2020-04-09 19:06:05 +01:00 |
|
Matt-Yorkley
|
6afda141a1
|
Remove track_inventory_levels conditional
This value is always true in OFN
|
2020-04-09 09:19:37 +02:00 |
|
Matt-Yorkley
|
b3c968856b
|
Fix some rubocop issues
|
2020-04-09 09:19:37 +02:00 |
|
Matt-Yorkley
|
f959e632ea
|
Modify Spree::Stock::Quantifier to not re-fetch stock items if they are already eager-loaded
This helps to remove a big N+1 here, and will also be very helpful elsewhere in the app
|
2020-04-09 09:19:37 +02:00 |
|
Matt-Yorkley
|
f9cf826f1c
|
Bring Spree::Stock::Quantifier in to OFN
This is the original unmodified Class from Spree. Modifications added in subsequent commits.
|
2020-04-09 09:19:36 +02:00 |
|
Luis Ramos
|
4ceaebf098
|
Add order.email regexp validation and add some tests for it
|
2020-04-04 16:13:23 +01:00 |
|
Luis Ramos
|
1364a5e367
|
Merge pull request #4916 from luisramos0/adj_eli
[Spree 2.1] Make Spree::OrderUpdater update all adjustments, not just promotions and shipment adjustments
|
2020-04-04 11:28:13 +01:00 |
|
Luis Ramos
|
b8f8db0341
|
Merge pull request #5147 from luisramos0/3-0-stable-apr3
[Spree 2.1] Merge master into 3-0-stable
|
2020-04-04 11:03:14 +01:00 |
|
Luis Ramos
|
384ca310a3
|
Merge branch 'master' into 3-0-stable-apr3
|
2020-04-03 18:26:26 +01:00 |
|
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
|
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 |
|
Luis Ramos
|
635ea9c505
|
Fix some long lines on variant_decorator
|
2020-03-30 11:21:47 +01:00 |
|
Luis Ramos
|
fbbe586996
|
Avoid rails 3 bug where the first where clause is overriden by a second where clause
Co-Authored-By: Maikel <maikel@email.org.au>
|
2020-03-30 11:21:47 +01:00 |
|
Luis Ramos
|
a5184cce9d
|
Make method a bit more readable and add comment with details
|
2020-03-30 11:21:47 +01:00 |
|
Luis Ramos
|
69b57544f1
|
Bring Spree::Variant#active so that we can make it return just variants without includes
This makes the variants returned not readonly in rails 4 and thus fixes a spec in Spree::VariantsController#destroy
|
2020-03-30 11:21:47 +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 |
|
Luis Ramos
|
b801bffcd9
|
Merge pull request #5030 from Matt-Yorkley/reports-loading
Improve reports performance
|
2020-03-25 12:54:34 +00:00 |
|
Luis Ramos
|
f1b64e90e0
|
Add comment to explain unusual fix
|
2020-03-25 11:49:14 +00:00 |
|
Luis Ramos
|
2de550eac1
|
Make OrderUpdate update all adjustments again as in v2.0.4 otherwise adjustments that are not shipment adjustments will not be calculated correctly
|
2020-03-22 20:08:11 +00:00 |
|
Matt-Yorkley
|
0b878dd0a2
|
Use named scope for finding line_items in a set of orders
|
2020-03-21 09:45:35 +01:00 |
|
Luis Ramos
|
17c2f7b138
|
Merge pull request #4889 from luisramos0/3-0-prod-set
[Spree 2.1] Fix ProductSet spec (1 broken spec)
|
2020-03-20 19:33:19 +00:00 |
|
Luis Ramos
|
03cdaf589e
|
Remove newly added attr_accessible from stripe_sca
This is not needed, in rails 4 the params are permitted at controller level
|
2020-03-20 15:08:29 +00:00 |
|
Luis Ramos
|
1c628fac58
|
Merge branch 'master' into 3-0-stable-mar20
|
2020-03-20 11:28:06 +00:00 |
|
Maikel
|
c4e4beb912
|
Revert "Inner join visible orders"
|
2020-03-19 12:01:00 +11: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 |
|
Pau Pérez Fabregat
|
42d5b5d8a3
|
Merge pull request #4974 from luisramos0/payment_rollback
[Spree 2.1] Bypass broken payment rollback callback
|
2020-03-17 15:37:28 +01: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 |
|
Pau Perez
|
71576fd7db
|
Refactor PerItem calculator to ease readability
|
2020-03-14 11:04:16 +01:00 |
|
Matt-Yorkley
|
1cba129432
|
Ensure line_item.variant succeeds when variant is soft-deleted
|
2020-03-12 19:13:15 +01:00 |
|
Luis Ramos
|
32a4355f09
|
Merge branch 'master' into 3-0-stable-mar6
|
2020-03-12 16:54:09 +00:00 |
|
Pau Pérez Fabregat
|
568cba9d58
|
Merge pull request #4941 from luisramos0/devise
[Spree 2.1] Delete unnecessary code related to spree_auth_devise
|
2020-03-12 12:48:59 +01:00 |
|
Luis Ramos
|
5506cc86d2
|
Bypass after_rollback callback in payment
This is causing several specs to fail on rollback and, according to some manual testing (and all the auto tests we have), we dont need this fix in OFN
|
2020-03-11 14:33:54 +00:00 |
|
Pau Pérez Fabregat
|
802ac647e3
|
Merge pull request #4879 from coopdevs/inner-join-visible-orders
Inner join visible orders
|
2020-03-10 22:54:03 +01:00 |
|
Pau Pérez Fabregat
|
50cdda7c63
|
Merge pull request #4802 from luisramos0/too_many
Last batch to fix error "subquery with too many columns" in rails 4 branch
|
2020-03-10 09:20:44 +01:00 |
|
Luis Ramos
|
e4d307fe5e
|
Remove dead code related to user management
|
2020-03-07 18:14:07 +00:00 |
|
Luis Ramos
|
0815068050
|
Merge branch 'master' into 3-0-stable-mar6
|
2020-03-06 09:20:03 +00:00 |
|
Pau Perez
|
0042ab2f28
|
Rewrite INNER JOIN in ActiveRecord's DSL
|
2020-03-05 17:45:06 +01:00 |
|
Pau Perez
|
53a63775fe
|
Replace LEFT JOIN with INNER JOIN
I see no reason why a LEFT might be needed and its the root cause of the
awful performance.
|
2020-03-05 17:45:06 +01:00 |
|
Luis Ramos
|
3b37fa8872
|
Move variant scoping from alias method into manifest method
|
2020-03-03 16:40:31 +00:00 |
|
Luis Ramos
|
5688de4936
|
Make Shipment#manifest work with deleted variants again
This makes the default variant scope in inventory_unit being used which includes deleted variants
|
2020-03-03 16:38:03 +00:00 |
|
Luis Ramos
|
d8a92eec4b
|
Bring Shipment#manifest from spree as is
|
2020-03-03 16:37:00 +00:00 |
|
Pau Pérez Fabregat
|
9980723060
|
Merge pull request #4880 from Matt-Yorkley/3-0-duplicate-validations
[Spree 2.1] Fix duplicate validations in payment methods and shipping methods
|
2020-03-03 10:44:40 +01:00 |
|