Hugo Daniel
|
3fa5ca7eae
|
Use accessible_by method instead of involving_managed_distributors method to fetch all order cycles
|
2018-02-21 17:33:28 +11:00 |
|
Hugo Daniel
|
65fea6291e
|
CodeClimate requested changes
|
2018-02-21 17:33:28 +11:00 |
|
Hugo Daniel
|
64c2bdda1c
|
Added loading of all active or complete order cycles concerned by the current user to the reports form collection
User will see all order cycles he is concerned by as producer, distributor or coordinator
|
2018-02-21 17:33:28 +11:00 |
|
Pau Pérez Fabregat
|
183621f90b
|
Merge pull request #2080 from coopdevs/add-skylight-staging
Enable Skylight in staging
|
2018-02-15 11:26:16 +01:00 |
|
Pau Perez
|
a7dcaf15fa
|
Enable Skylight in staging
This is a follow-up of
https://github.com/openfoodfoundation/openfoodnetwork/pull/2070.
When running the production API key in staging, the `log/skylight.log`
showed:
```
[SKYLIGHT] [1.5.0] You are running in the staging environment but
haven't added it to config.skylight.environments, so no data will be
sent to skylight.io.
```
According to
https://www.skylight.io/support/advanced-setup#setting-up-multiple-environments
it turns out we need to create a new app for staging and use its API
key.
|
2018-02-14 14:46:10 +01:00 |
|
Pau Pérez Fabregat
|
23d36e3898
|
Merge pull request #2058 from coopdevs/improve-order-cycle-notification
Improve code style and docs of job
|
2018-02-09 13:19:32 +01:00 |
|
Pau Perez
|
c79641c77c
|
Fix typos in documentation
|
2018-02-09 09:53:40 +01:00 |
|
Pau Perez
|
aa4bd7f397
|
Improve code style and docs of job
|
2018-02-09 09:53:39 +01:00 |
|
Pau Pérez Fabregat
|
be07996656
|
Merge pull request #2070 from chancancode/skylight
Add Skylight instrumentation
|
2018-02-09 08:55:30 +01:00 |
|
Rob Harrington
|
e12207f3de
|
Use shop contact email and contact name for subscription emails
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
09b800672d
|
Fix specs to handle non-deterministic ordering
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
c59b172348
|
Fix typo
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
7017c8540c
|
Replace references to 'standing line item' with 'subscription line item'
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
ae4420d9ba
|
Rename standing line item files
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
eb53df8238
|
Rename 'standing_line_items' table to 'subscription_line_items'
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
71370e0bce
|
Replace references to 'standing order' with 'subscription' (cleanup)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
ba66c0e862
|
Replace references to 'standing order' with 'subscription' (schedule)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
c605742671
|
Replace references to 'standing order' with 'subscription' (routes)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
720628e49e
|
Replace references to 'standing order' with 'subscription' (translations)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
501fa4c901
|
Replace references to 'standing order' with 'subscription' (erb)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
532f998b24
|
Replace references to 'standing order' with 'subscription' (js: spec)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
b7876ebfbf
|
Replace references to 'standing order' with 'subscription' (spec)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
04e48989c9
|
Replace references to 'standing order' with 'subscription' (lib)
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
094c3e70f7
|
Replace references to 'standing order' with 'subscription' (HAML)
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
b3eaa30f3d
|
Replace references to 'standing order' with 'subscription' (JS)
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
672f96b85b
|
Replace references to 'standing order' with 'subscription'
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
902802594f
|
Renaming standing order files (lib, spec)
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
a9b5fd69d8
|
Renaming standing order files
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
b258c032cc
|
Rename 'standing_orders' table to 'subscriptions'
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
fe7b86ff60
|
Fix broken call to log_order which should have been record_order
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
17950ba498
|
Lazy load summarizers for standing order jobs outside of initializer
The enqueue script seems to causes delayed job to skip initialization of the job class, meaning that the summarizers were missing
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
ccbe33001f
|
Add missing interpolation for shop name
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
c5f3249172
|
Fix rubocop issues
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
e7eb02dfe3
|
Reduce cognitive complexity of VariantsController#search
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
17a0b18e50
|
Reduce cognitive complexity of StandingLineItemsController#build
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
2012c23956
|
Reduce cognitive complexity of ProxyOrder#state
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
88a5d4be47
|
Reduce cognitive complexity of LineItemSyncer#update_item_quantities
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
224249d66b
|
Reduce cognitive complexity of OrderSyncer
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
ceab1fe16a
|
Reduce cognitive complexity of StandingOrderPaymentUpdater
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
c1f0a0b514
|
Reduce congnitive complexity of AddressFinder
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
ce09a8dad6
|
Reduce cognitive complexity of StandingOrder#state
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
99db6f8e14
|
Fix translation key for StandingOrderValidator errors
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
d6924d2866
|
Add comment to OrderUpdateIssues
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
3e68973812
|
Rename StandingOrderUpdater to OrderSyncer
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
bbc3cad67d
|
Refactor large StandingOrderUpdater#update! method
Note: extracted line items logic into separate class
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
50d3522b2c
|
Extract logic for recording issues with updating orders to separate class
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
2c5bfab29f
|
Refactoring price estimation logic for StandingOrderForm
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
844cd79270
|
Clean-up of standing order form and spec
|
2018-02-09 14:44:10 +11:00 |
|
Rob Harrington
|
8ae4307a69
|
Move logic for updating orders to dedicated class
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
2c40252edb
|
Extract validation logic for standing orders into service object
|
2018-02-09 14:44:09 +11:00 |
|