luisramos0
|
46d0023018
|
Adapt OC spec to new page flow with 3 steps
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
43cf249184
|
Make NoDistributors warning only appear on simple_create and simple_edit and outgoing settings
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
537dbd3dc0
|
Fix angular specs by moving specs to the same place as the code was moved previously
Quite a few copy pasted specs were also removed
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
7c54781d90
|
Restructure OC page controllers so that methods related to exchanges are only loaded on the incoming and outgoing settings pages
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
3b4241c70d
|
Remove more copy pasted code by adding new AdminOrderCycleCtrl with common code from create and edit OC controllers
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
a290e83501
|
Move more copy pasted code to basic OC controller
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
6e0019227b
|
Remove some serious copy/paste party of the past... by extending from new AdminOrderCycleBasicCtrl where we put all the basic methods for the OC create/edit/simple_create/simple_edit controllers
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
7845b6c6fb
|
Use only AdminOrderCycleIncomingCtrl in incoming view and make AdminOrderCycleIncomingCtrl extend AdminEditOrderCycleCtrl
Same for AdminOrderCycleOutgoingCtrl
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
e03e3ae50a
|
Fix the simple edit OC and the new OC page flows
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
305d7b1125
|
Adapted navigation between OC edit pages by adding new previous and next buttons
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
5ef751d409
|
Add wizard to OC new and edit pages
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
683232dd10
|
Improve page titles and fix broken translation
|
2019-11-12 12:00:48 +00:00 |
|
luisramos0
|
5f1360e226
|
Move incoming and outgoing parts of the (not simple) OC new and edit pages to separate routes and views to make this page a multi step page
|
2019-11-12 12:00:48 +00:00 |
|
Matt-Yorkley
|
1a5eea3303
|
Refactor #all_incoming_editable_variants
|
2019-11-12 11:59:39 +00:00 |
|
Matt-Yorkley
|
a1146aed1b
|
Refactor #sort_by_supplier_id
|
2019-11-12 11:59:39 +00:00 |
|
Matt-Yorkley
|
ab30307b1a
|
Simplify #active_outgoing_variants
|
2019-11-12 11:59:39 +00:00 |
|
Matt-Yorkley
|
35b68239b0
|
Tidy up AR query syntax
|
2019-11-12 11:59:39 +00:00 |
|
Matt-Yorkley
|
9e09a3b379
|
Memoize #active_outgoing_variants result
|
2019-11-12 11:59:39 +00:00 |
|
Matt-Yorkley
|
77105e265e
|
Memoize more repeated queries in #managed_enterprises
|
2019-11-12 11:59:38 +00:00 |
|
Matt-Yorkley
|
e73f2d682c
|
Remove N+1 in editable_variants_for_incoming_exchanges
|
2019-11-12 11:59:13 +00:00 |
|
Matt-Yorkley
|
f4d71ae352
|
Fix order_cycle_permissions tests not running locally
|
2019-11-12 11:59:13 +00:00 |
|
Matt-Yorkley
|
c2823b3ffe
|
Memoize #user_manages_coordinator_or result
|
2019-11-12 11:59:13 +00:00 |
|
Matt-Yorkley
|
c1366fced5
|
DRY some more variant queries
|
2019-11-12 11:59:13 +00:00 |
|
Matt-Yorkley
|
170bc94d92
|
Refactor order_cycle_serializer
|
2019-11-12 11:59:13 +00:00 |
|
Matt-Yorkley
|
2a5403e23f
|
Clean up "visible and editable" variants
|
2019-11-12 11:59:13 +00:00 |
|
Matt-Yorkley
|
dc540444a2
|
Remove pointless code
|
2019-11-12 11:59:13 +00:00 |
|
Matt-Yorkley
|
ca5ecc4696
|
Refactor "active outgoing variants"
|
2019-11-12 11:59:13 +00:00 |
|
Matt-Yorkley
|
5082a133a1
|
Refactor adjustment fetching into new service and module
|
2019-11-12 11:57:54 +00:00 |
|
Matt-Yorkley
|
1f8e0ae637
|
Improve SupplierTotalsByDistributorReport
|
2019-11-12 11:57:19 +00:00 |
|
Matt-Yorkley
|
24e66b635b
|
Improve DistributorTotalsBySupplierReport
|
2019-11-12 11:57:19 +00:00 |
|
Matt-Yorkley
|
891db4b81b
|
Move methods to helper
|
2019-11-12 11:57:19 +00:00 |
|
Matt-Yorkley
|
8a57977b44
|
Increase eager-loading and adjustment calculations
|
2019-11-12 11:57:19 +00:00 |
|
Matt-Yorkley
|
77e70fd7d3
|
Eager-load adjustments and calculate in place
|
2019-11-12 11:57:19 +00:00 |
|
Matt-Yorkley
|
7b5e5f4039
|
Clean up OpenFoodNetwork::Permissions
|
2019-11-12 11:57:19 +00:00 |
|
Pau Pérez Fabregat
|
ed15bc422e
|
Merge pull request #4453 from luisramos0/rubo
run rubocop --auto-correct
|
2019-11-12 10:30:21 +01:00 |
|
dependabot-preview[bot]
|
030747cff8
|
Bump i18n-js from 3.4.1 to 3.4.2
Bumps [i18n-js](https://github.com/fnando/i18n-js) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/fnando/i18n-js/releases)
- [Changelog](https://github.com/fnando/i18n-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fnando/i18n-js/compare/v3.4.1...v3.4.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2019-11-11 19:15:49 +00:00 |
|
Luis Ramos
|
3e318e5c4e
|
Merge pull request #4425 from Matt-Yorkley/admin_eager_loading
Eager-load variant associations in admin ProductsController
|
2019-11-11 15:29:45 +00:00 |
|
Luis Ramos
|
3eb4caeb3e
|
Merge pull request #4408 from luisramos0/poc_oc
Remove dead code from OC edit page code
|
2019-11-11 14:55:37 +00:00 |
|
luisramos0
|
555ae12b35
|
Add exceptions to some unresolved rubocop issues
|
2019-11-10 19:40:41 +00:00 |
|
luisramos0
|
553d4ebaa0
|
Fix a few rubocop issues in reports code
|
2019-11-10 19:27:41 +00:00 |
|
luisramos0
|
73ee14cc7c
|
Fix long line in injection helper
|
2019-11-10 19:21:08 +00:00 |
|
luisramos0
|
c9177feb19
|
Fix a few more rubocop issues manually
|
2019-11-10 19:14:12 +00:00 |
|
luisramos0
|
71ea281424
|
Regenerate rubocop todo files after last large fix of issues
|
2019-11-10 19:07:16 +00:00 |
|
luisramos0
|
9404aacfb2
|
run rubocop --auto-correct
|
2019-11-10 18:42:43 +00:00 |
|
Matt-Yorkley
|
5e99ecd9cc
|
Merge pull request #4446 from luisramos0/remove_listen
Remove unused dependency listen
|
2019-11-10 10:03:19 +00:00 |
|
Matt-Yorkley
|
c94713c1ef
|
Merge pull request #4451 from openfoodfoundation/dependabot/bundler/rack-mini-profiler-1.0.0
Bump rack-mini-profiler from 0.10.7 to 1.0.0
|
2019-11-09 19:28:54 +00:00 |
|
Maikel
|
6864c0d3c3
|
Merge pull request #4448 from luisramos0/rubo_kanp
Update rubocop todo lists and regenrate knapsack report
|
2019-11-09 10:59:14 +11:00 |
|
Maikel
|
5591525160
|
Merge pull request #4445 from openfoodfoundation/dependabot/bundler/test-unit-3.3.4
Bump test-unit from 3.3.3 to 3.3.4
|
2019-11-09 10:40:41 +11:00 |
|
luisramos0
|
4d00b79d8d
|
Add new knapsack report so build jobs are more balanced
|
2019-11-08 20:43:49 +00:00 |
|
dependabot-preview[bot]
|
e3007db324
|
Bump rack-mini-profiler from 0.10.7 to 1.0.0
Bumps [rack-mini-profiler](https://github.com/MiniProfiler/rack-mini-profiler) from 0.10.7 to 1.0.0.
- [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/v0.10.7...v1.0.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2019-11-08 19:18:25 +00:00 |
|