Maikel
|
2e31f234d6
|
Merge pull request #5196 from Matt-Yorkley/customers-performance
Admin Customers performance
|
2020-04-17 13:28:39 +10:00 |
|
Maikel
|
e29a81cacc
|
Merge pull request #5186 from oeoeaio/customer-totals-inventory-sku
Take sku overrides into account in customer totals report
|
2020-04-17 13:27:43 +10:00 |
|
Maikel
|
a672af1a79
|
Merge pull request #5237 from luisramos0/master_with_change
Clone of #5176
|
2020-04-17 13:27:14 +10:00 |
|
jeffrey s hill md
|
d8444dcf3c
|
Added placeholders
|
2020-04-16 14:59:41 -05:00 |
|
chrishil1
|
a9829ba5d9
|
Update _enterprise_relationship.html.haml
|
2020-04-15 17:01:22 -05:00 |
|
Luis Ramos
|
8532fa16cd
|
Merge pull request #5202 from luisramos0/improve_checkout_js
Improve Checkout error handling in JS
|
2020-04-15 22:25:05 +01:00 |
|
chrishil1
|
c3f01be580
|
Fixed display all required tag
|
2020-04-15 19:00:35 +01:00 |
|
Luis Ramos
|
8f7b3df9b5
|
Make payment controller authorize stripe_sca payments before processing them or advancing order workflow (that also calls payment.process)
|
2020-04-15 16:07:34 +01:00 |
|
jeffrey s hill md
|
5e1dea61a8
|
added missing translations to enterprise_relationship page
|
2020-04-14 11:20:56 -05:00 |
|
Luis Ramos
|
cedf1b26f2
|
If no flash is sent from the server, show the generic error
|
2020-04-14 14:31:34 +01:00 |
|
Luis Ramos
|
47a93568dc
|
Make code simpler by extracting methods
|
2020-04-14 13:55:20 +01:00 |
|
Luis Ramos
|
62471bf2ab
|
Clear Loading spinner when exception is caught
|
2020-04-14 13:50:38 +01:00 |
|
Luis Ramos
|
cdf5bcb7eb
|
Improve unexpected error handling and add test cases for it
|
2020-04-14 13:44:58 +01:00 |
|
Luis Ramos
|
7414047b92
|
Switch from old success/error to modern then/catch structure
Catch() will get a few more errors then errors()
Also, add try/catch inside catch to detect any errors parsing the
response error payload
|
2020-04-14 13:04:28 +01:00 |
|
Luis Ramos
|
357a88fa22
|
Merge pull request #4786 from luisramos0/stripe_sca_extra_subs_fix
Make StripeSCA (with new authorize/purchase workflow) work with Subscriptions again
|
2020-04-13 17:21:53 +01:00 |
|
Rob H
|
f71045b3f2
|
Improve naming of variables in VariantOverridesIndexed for readability
|
2020-04-13 22:24:25 +10:00 |
|
Rob H
|
dcdd3f2444
|
Modify interface of VariantOverridesIndexed#indexed
Stop using keyword args and accept variant_ids instead of line_items
|
2020-04-13 22:11:58 +10:00 |
|
Rob H
|
6820919552
|
Rename VariantOverrides class to VariantOverridesIndexed
|
2020-04-13 21:56:37 +10:00 |
|
Rob H
|
4a4173bdc0
|
Move VariantOverrides class to app/services
|
2020-04-13 21:54:10 +10:00 |
|
Matt-Yorkley
|
a6414b6dbe
|
Make sure taggable_type is 'Customer' when querying customer tags
|
2020-04-10 20:14:14 +02:00 |
|
Matt-Yorkley
|
b92e858448
|
Merge pull request #5197 from Matt-Yorkley/cart-populate-performance
Cart populate performance
|
2020-04-10 11:41:56 +02:00 |
|
Matt-Yorkley
|
4c41c84cc1
|
Refactor tag rules loading for customers
Fixes N+1 queries on customer tags
|
2020-04-10 10:12:32 +02:00 |
|
Matt-Yorkley
|
e53f733966
|
Eager-load addresses in customer serializer
|
2020-04-10 08:20:15 +02:00 |
|
Matt-Yorkley
|
2a8809e6e8
|
Eager-load default card in customer serializer
|
2020-04-10 08:20:15 +02:00 |
|
Matt-Yorkley
|
31a54e49c5
|
Allow User#default_card to work with eager-loading
|
2020-04-10 08:20:13 +02:00 |
|
Luis Ramos
|
b5ba2acb21
|
Merge pull request #5169 from jeduardo824/enhancement/5102-make-shop-names-links
make shop name a link on /account
|
2020-04-09 22:01:34 +01: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
|
57d87a8042
|
Eager-load variant stock items
Avoids another N+1
|
2020-04-09 19:55:08 +02:00 |
|
Matt-Yorkley
|
0ca87580e8
|
Load variants in cart in one query
Avoids an N+1
|
2020-04-09 19:55:06 +02:00 |
|
Luis Ramos
|
59f56cb0f6
|
Remove before delivery method in checkout controller, this differentiator is never used in OFN, only in Spree frontend code
|
2020-04-09 17:32:28 +01:00 |
|
Matt-Yorkley
|
cf712e9478
|
Select only enterprise id
|
2020-04-09 17:41:13 +02:00 |
|
Luis Ramos
|
2ff8356c63
|
Delete dead code from products helper
|
2020-04-09 16:33:17 +01:00 |
|
Luis Ramos
|
59e0f3d9f4
|
Merge pull request #5175 from Matt-Yorkley/memoize-scoper
Memoize ScopeProductToHub in product list
|
2020-04-09 14:45:57 +01:00 |
|
Luis Ramos
|
fc5aff8c79
|
Merge pull request #5145 from luisramos0/inv_perf
Performance improvements to Inventory page
|
2020-04-09 13:56:33 +01:00 |
|
Luis Ramos
|
dd717fe8ac
|
Merge pull request #5184 from Matt-Yorkley/inventory-loading
Inventory loading
|
2020-04-09 13:26:12 +01:00 |
|
Luis Ramos
|
4b23adca2d
|
Merge pull request #5157 from luisramos0/email_validation
[Spree 2.1] Add order.email regexp validation
|
2020-04-09 10:14:11 +01:00 |
|
Luis Ramos
|
6341c5fd80
|
Merge pull request #4964 from luisramos0/po_fix
Fix proxy orders controller in rails 4 by removing the use of responders
|
2020-04-09 10:12:33 +01:00 |
|
Matt-Yorkley
|
47ac6c1491
|
Remove unused methods from ProductSimpleSerializer
|
2020-04-09 09:51:32 +02: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
|
5bb2614f9d
|
Refactor PagedFetcher so it makes one request at a time
|
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
|
b0a7497f2a
|
Remove another N+1 in product serialization
|
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 |
|
Matt-Yorkley
|
ececbce596
|
Only select id in producers query
|
2020-04-09 09:16:44 +02:00 |
|
Matt-Yorkley
|
1b7ac1a252
|
Don't re-use fat serializers when thin ones are needed.
This cuts the pageload and query count in half, again.
|
2020-04-09 09:10:41 +02:00 |
|
Matt-Yorkley
|
3aff7f62e3
|
Don't query distributed properties on enterprises that aren't active distributors
Cuts page load on /shops by ~75% (with production data) and removes ~300 expensive and superfluous queries.
|
2020-04-08 20:08:12 +02:00 |
|
Matt-Yorkley
|
fc5e346a06
|
Merge pull request #5156 from Matt-Yorkley/closed-shops
Load closed shops in a separate request on /shops page
|
2020-04-08 20:05:26 +02:00 |
|
Matt-Yorkley
|
538e4e54d2
|
Set cart buttons to fixed width and expand when screen is too small
|
2020-04-08 11:19:14 +02:00 |
|