luisramos0
|
9df9061ec1
|
Bring missing translation from spree and use root namespace for translations instead of the spre namespace
|
2019-12-15 21:39:26 +00:00 |
|
luisramos0
|
67526df420
|
Convert calculator fields partial to haml
|
2019-12-15 21:32:31 +00:00 |
|
luisramos0
|
766f8ab407
|
Add partial needed in payment and shipping methods
|
2019-12-15 21:24:50 +00:00 |
|
luisramos0
|
f587bbb7d5
|
Remove unnecessary helper
|
2019-12-15 21:03:53 +00:00 |
|
luisramos0
|
2793693a7c
|
Improve if clause readability
|
2019-12-15 21:03:53 +00:00 |
|
luisramos0
|
07e2317369
|
Replace deprecated URI.unescape with CGI.unescape
|
2019-12-15 21:03:53 +00:00 |
|
luisramos0
|
042162eda8
|
Delete unused method
|
2019-12-15 21:03:53 +00:00 |
|
luisramos0
|
795f13d73a
|
Remove spree alerts feature that would check spree website for security alerts
This is not something we need running such an old version of spree
|
2019-12-15 21:03:53 +00:00 |
|
luisramos0
|
f1814f1b67
|
Fix most rubocop issues in spree/admin/base_controller
|
2019-12-15 21:03:53 +00:00 |
|
luisramos0
|
4ab7b78cb8
|
Merge base_controller with its decorator
|
2019-12-15 21:03:53 +00:00 |
|
luisramos0
|
11631c3a33
|
Add base_controller from spree_backend so that we can now merge it with the OFN's decorator
|
2019-12-15 21:03:53 +00:00 |
|
Konstantin Shlyk
|
0212381362
|
fix for api/variants_controller_spec
|
2019-12-14 21:43:38 +03:00 |
|
Konstantin Shlyk
|
e6ca6bacac
|
soft_delete api method deleted for products and variants
|
2019-12-14 01:05:35 +03:00 |
|
dependabot-preview[bot]
|
59df45b8cf
|
Bump oj from 3.7.12 to 3.10.0
Bumps [oj](https://github.com/ohler55/oj) from 3.7.12 to 3.10.0.
- [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.7.12...v3.10.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2019-12-13 19:17:46 +00:00 |
|
Luis Ramos
|
5892e85869
|
Merge pull request #4559 from openfoodfoundation/dependabot/bundler/selenium-webdriver-3.142.6
Bump selenium-webdriver from 3.141.0 to 3.142.6
|
2019-12-13 18:05:03 +00:00 |
|
luisramos0
|
c59326743b
|
Remove sales total report
|
2019-12-13 16:44:46 +00:00 |
|
luisramos0
|
cb3397fd1a
|
Convert reports index and sales_total views from erb to haml
|
2019-12-13 16:44:46 +00:00 |
|
luisramos0
|
2bd4de3e29
|
Add sales total report view
|
2019-12-13 16:44:46 +00:00 |
|
luisramos0
|
b2c5be775e
|
Fix some rubocop issues
|
2019-12-13 16:44:46 +00:00 |
|
luisramos0
|
d22212ccfa
|
Merge spree/admin/reports_controller with its decorator
|
2019-12-13 16:44:44 +00:00 |
|
luisramos0
|
dd600cd163
|
Add reports_controller from spree_backend so that we can now merge it with the OFN's decorator
|
2019-12-13 15:20:03 +00:00 |
|
Matt-Yorkley
|
f189ca8004
|
Fix route on "continue" button on admin adjustments page
|
2019-12-13 13:51:41 +01:00 |
|
Luis Ramos
|
db7146014c
|
Rename exchange products file names to increase clarity
|
2019-12-13 12:24:19 +00:00 |
|
Luis Ramos
|
c6af55d9ae
|
Restructure exchange products panels so that OC simple form does not include header and footer (product count and pagination) of the non-simple OC form
|
2019-12-13 12:24:16 +00:00 |
|
Maikel
|
0f588dbe0b
|
Merge pull request #4561 from openfoodfoundation/transifex
Transifex
|
2019-12-13 17:02:32 +11:00 |
|
dependabot-preview[bot]
|
9c14d8ff36
|
Bump rack-mini-profiler from 1.0.0 to 1.1.4
Bumps [rack-mini-profiler](https://github.com/MiniProfiler/rack-mini-profiler) from 1.0.0 to 1.1.4.
- [Release notes](https://github.com/MiniProfiler/rack-mini-profiler/releases)
- [Changelog](https://github.com/MiniProfiler/rack-mini-profiler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MiniProfiler/rack-mini-profiler/compare/v1.0.0...v1.1.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2019-12-12 19:14:17 +00:00 |
|
luisramos0
|
a104bf8efd
|
Add feature spec to validate load all and select all exchange products
|
2019-12-12 18:49:11 +00:00 |
|
luisramos0
|
a039ef13f4
|
Add spec for exchange products controller pagination
|
2019-12-12 18:49:11 +00:00 |
|
luisramos0
|
7ad8951375
|
DRY exchange products templates by extracting header and footer content to partial templates
|
2019-12-12 18:49:11 +00:00 |
|
luisramos0
|
99e59595b4
|
Add spinner when loading all products in an exchange
|
2019-12-12 18:48:36 +00:00 |
|
luisramos0
|
3264355f12
|
Add some basic test coverage to exchange_products_controller and exchange_products_renderer
|
2019-12-12 18:48:36 +00:00 |
|
luisramos0
|
7e3b6e2b5d
|
Fix select all checkbox state in both incoming and outgoing exchanges by using the total count of variants to see if all variants are selected or not, even if not all variants are loaded
|
2019-12-12 18:48:36 +00:00 |
|
luisramos0
|
a9598c5d97
|
Only show load more and load all if not all products are loaded already
|
2019-12-12 18:48:36 +00:00 |
|
luisramos0
|
3e5b7ebbf1
|
Show exchange products list only after first page of products is loaded
|
2019-12-12 18:48:36 +00:00 |
|
luisramos0
|
1a9c3007b0
|
Make select all work again in incoming exchanges by loading alll products before triggering the select all process
|
2019-12-12 18:48:35 +00:00 |
|
luisramos0
|
2f7fd1482a
|
Add link to load all products at the top of the list of products and include summary of number of products loaded already
|
2019-12-12 18:48:35 +00:00 |
|
luisramos0
|
0416521772
|
Add load all prouducts button to list of exchange products
|
2019-12-12 18:48:35 +00:00 |
|
luisramos0
|
cfe3f72d0e
|
Add load more button to list of exchange products
|
2019-12-12 18:48:35 +00:00 |
|
luisramos0
|
00478cc57c
|
Add count variants endpoint and use it instead of loading exchange products
|
2019-12-12 18:48:35 +00:00 |
|
luisramos0
|
d5e42ee1e5
|
Paginate exchange products results
This commit breaks the OC page when there are more than 100 products in an exchange
|
2019-12-12 18:48:35 +00:00 |
|
luisramos0
|
9451f1b66d
|
Remove funky panel open listener code and initialize the panel data with a ng-init in the panel template
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
ff584f9be9
|
Adapt exchange products routes to make api/exchanges/products (without exchange_id) also go to exchange_products#index
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
a589ba38da
|
Rename exchanges_products_controller to better exchange_products_controller
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
a4a2f98b6e
|
Rename Product service to more appropriate ExchangeProduct
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
f5ddbfbac3
|
Make Product service more simple, there's no need to keep the data structure, that is already kept in the controller
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
a66a4c3edb
|
Remove unnecessary passing of scopes around in controllers
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
8179252924
|
Replace the use of this with
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
0bec492208
|
Fix some rubocop issues
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
5cf50f0adf
|
Convert the manipulation of arrays into active record relations: let the DB do the matching job
|
2019-12-12 18:44:45 +00:00 |
|
luisramos0
|
197fb36524
|
Extract ExchangeProductsRenderer from ExchangesProductsController
|
2019-12-12 18:44:45 +00:00 |
|