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 |
|
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 |
|
Pau Pérez Fabregat
|
4ef5dfe430
|
Merge pull request #5199 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.5.2
Bump rubocop-rails from 2.5.1 to 2.5.2
|
2020-04-14 10:17:59 +02:00 |
|
Pau Pérez Fabregat
|
e58a1d080f
|
Merge pull request #5205 from openfoodfoundation/dependabot/bundler/ddtrace-0.34.2
Bump ddtrace from 0.34.1 to 0.34.2
|
2020-04-14 10:17:06 +02: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 |
|
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 |
|
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 |
|
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 |
|
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
|
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
|
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 |
|
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 |
|
Matt-Yorkley
|
003341ef7a
|
Add loading indicator when showing closed shops
|
2020-04-07 10:40:49 +02:00 |
|
Matt-Yorkley
|
94f8ea2f93
|
Fix flicker effect showing 3 buttons when clicking "Show Closed Shops" button
|
2020-04-07 10:31:56 +02:00 |
|
Maikel
|
eb64112b22
|
Merge pull request #5144 from openfoodfoundation/transifex
Transifex
|
2020-04-07 16:23:35 +10:00 |
|
Maikel
|
3e14b62b46
|
Merge pull request #5136 from openfoodfoundation/dependabot/bundler/ddtrace-0.34.1
Bump ddtrace from 0.34.0 to 0.34.1
|
2020-04-07 16:05:53 +10:00 |
|
Maikel
|
3244650932
|
Merge pull request #5135 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.5.1
Bump rubocop-rails from 2.5.0 to 2.5.1
|
2020-04-07 16:05:18 +10:00 |
|
Transifex-Openfoodnetwork
|
b6753a2593
|
Updating translations for config/locales/fil_PH.yml
|
2020-04-07 16:03:57 +10:00 |
|
Transifex-Openfoodnetwork
|
1b119805b4
|
Updating translations for config/locales/fil_PH.yml
|
2020-04-07 15:15:12 +10:00 |
|
Transifex-Openfoodnetwork
|
edde7689a9
|
Updating translations for config/locales/de_DE.yml
|
2020-04-07 13:57:54 +10:00 |
|
Transifex-Openfoodnetwork
|
8060977786
|
Updating translations for config/locales/en_GB.yml
|
2020-04-07 13:54:53 +10:00 |
|
Transifex-Openfoodnetwork
|
837a345958
|
Updating translations for config/locales/en_FR.yml
|
2020-04-07 13:54:46 +10:00 |
|
dependabot-preview[bot]
|
7c5e511fde
|
Bump oj from 3.10.5 to 3.10.6
Bumps [oj](https://github.com/ohler55/oj) from 3.10.5 to 3.10.6.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.10.5...v3.10.6)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-04-06 19:24:48 +00:00 |
|
Luis Ramos
|
d18a06a0f7
|
Merge pull request #4783 from luisramos0/stripe_sca_extra_subs
Move all subscriptions services to the OrderManagement engine
|
2020-04-06 20:20:02 +01:00 |
|