Rob H
|
14cf168e3b
|
Take sku overrides into account in customer totals report
|
2020-04-11 16:05:15 +10:00 |
|
dependabot-preview[bot]
|
c3ee7b7c64
|
Bump ddtrace from 0.34.1 to 0.34.2
Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb) from 0.34.1 to 0.34.2.
- [Release notes](https://github.com/DataDog/dd-trace-rb/releases)
- [Changelog](https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/DataDog/dd-trace-rb/compare/v0.34.1...v0.34.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-04-10 19:19:13 +00:00 |
|
Matt-Yorkley
|
a6414b6dbe
|
Make sure taggable_type is 'Customer' when querying customer tags
|
2020-04-10 20:14:14 +02:00 |
|
Luis Ramos
|
eafffa2c23
|
Update all locales with the latest Transifex translations
v2.9.2
|
2020-04-10 13:08:11 +01:00 |
|
Luis Ramos
|
82a4753eec
|
Merge pull request #5191 from openfoodfoundation/transifex
Transifex
|
2020-04-10 13:05:30 +01: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 |
|
dependabot-preview[bot]
|
0fabde8849
|
Bump rubocop-rails from 2.5.1 to 2.5.2
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.5.1...v2.5.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-04-09 19:21:30 +00:00 |
|
Transifex-Openfoodnetwork
|
e97a16cb40
|
Updating translations for config/locales/ca.yml
|
2020-04-10 04:14:21 +10: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
|
7d82c6a014
|
Update spre revision to a version that doesnt depend on deface, this allows us to upgrade nokogiri (done in another PR in the master branch)
|
2020-04-09 13:51:54 +01:00 |
|
Luis Ramos
|
4aad80c134
|
Update message for capybara with new upgrade blocker
|
2020-04-09 13:39:40 +01:00 |
|
Luis Ramos
|
71ffa6b178
|
Upgrade nokogiri as much as possible (it's not an explicit dependency of OFN and we dont need to control the version now, so I remove it from Gemfile)
|
2020-04-09 13:39:40 +01:00 |
|
Luis Ramos
|
e3de71668a
|
Depend on a spree version in which spree_core doesnt depend on deface AND remove deface from list of dependencies
|
2020-04-09 13:39:40 +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 |
|
Transifex-Openfoodnetwork
|
d31b24786a
|
Updating translations for config/locales/en_NZ.yml
|
2020-04-09 16:16:24 +10:00 |
|
Matt-Yorkley
|
374bf04118
|
Merge pull request #5142 from Matt-Yorkley/shops-firefighting
Don't load distributed properties on inactive distributors
|
2020-04-08 20:45:01 +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 |
|
Matt-Yorkley
|
1ddbabd841
|
Adjust colours of primary buttons to use (bright) orange instead of (warning) red
|
2020-04-08 10:57:33 +02:00 |
|
Matt-Yorkley
|
0414f4984d
|
Align buttons left and right on cart page
|
2020-04-08 10:55:55 +02:00 |
|
Matt-Yorkley
|
9c421e146e
|
Remove arrows from cart and checkout buttons
|
2020-04-08 10:23:18 +02:00 |
|
Luis Ramos
|
29bbf2fa74
|
Merge pull request #5088 from coopdevs/do-not-recreate-when-booting-docker
Do not reset the dev env when booting docker
|
2020-04-07 21:56:09 +01:00 |
|
Matt-Yorkley
|
64c66ddedc
|
Eager-load variant data for overridable products
Cuts query count and page load time in half for this endpoint.
|
2020-04-07 15:16:32 +02:00 |
|
Luis Ramos
|
e0e2c32d9f
|
Merge pull request #5177 from openfoodfoundation/dependabot/bundler/oj-3.10.6
Bump oj from 3.10.5 to 3.10.6
|
2020-04-07 11:44:09 +01:00 |
|
Luis Ramos
|
ff799b6e82
|
Avoid using update_attributes that save the order to the DB
|
2020-04-07 11:13:29 +01:00 |
|