Rohan Mitchell
|
da9a3ce9f3
|
Refresh products cache when product is deleted (cf. destroyed)
|
2016-11-25 14:14:42 +11:00 |
|
Rohan Mitchell
|
dabac50128
|
Replace Enterprise.distributing_product and Enterprise.distributing_any_product_of with Enterprise.distributing_products
|
2016-11-25 14:14:42 +11:00 |
|
Rohan Mitchell
|
a0b740f52d
|
Generalise fix for missing EnterpriseFee::Calculator to any use of calculated_adjustments
|
2016-11-04 09:39:17 +11:00 |
|
Rohan Mitchell
|
24d0e4fcf8
|
Update specs for calculator change
|
2016-08-26 09:29:09 +10:00 |
|
Bing Xie
|
78b22c4a82
|
Fix incorrectly aligned columns
|
2016-06-30 21:38:10 +10:00 |
|
Rohan Mitchell
|
58379a5e28
|
Extract property merging to lib class
|
2016-06-24 07:57:06 +10:00 |
|
Rob Harrington
|
1e142aa628
|
Refactoring OrderCycleFormApplicator logic for improved update speed
|
2016-06-17 16:44:02 +10:00 |
|
Rob Harrington
|
a1c7a44fa0
|
Tag Rules can be rearranged in UI to set priority
|
2016-05-27 16:25:10 +10:00 |
|
Rob Harrington
|
607b674c57
|
Refactoring tag rule logic, placing in TagRuleApplicator lib class
|
2016-05-27 16:25:10 +10:00 |
|
Rob Harrington
|
9dc1294ec5
|
Outgoing exchanges can be tagged
Using panels infrastructure to display tags and products interfaces
|
2016-05-27 16:25:10 +10:00 |
|
Rob Harrington
|
cc6ef7b8f5
|
Load uncached products json into shop when in testing or development environment
|
2016-05-27 16:23:26 +10:00 |
|
Maikel Linke
|
ddc7e86e6c
|
Update xero report spec
|
2016-05-27 15:00:54 +10:00 |
|
Maikel Linke
|
ef0d6bd4d6
|
Merge branch 'master' of github.com:openfoodfoundation/openfoodnetwork into state_translation_override
Conflicts:
spec/lib/open_food_network/order_cycle_management_report_spec.rb
|
2016-04-15 08:27:09 +10:00 |
|
Rohan Mitchell
|
53e6d391e3
|
Fix intermittent fail on insignificant result ordering
|
2016-04-14 09:40:55 +10:00 |
|
Maikel Linke
|
a2c58c7ca1
|
Match array without order in ocm spec
That spec was randomly failing.
|
2016-04-13 16:59:54 +10:00 |
|
Rob Harrington
|
9b5bfdeb00
|
Allowing Order Management Report to filter by multiple payment / shipping methods at once
Also switched to using id rather than name to filter
|
2016-04-02 01:04:09 +11:00 |
|
Lynne Davis
|
f8e3f29d1a
|
More bug fixes. Spec updated to reflect changes
|
2016-04-02 01:04:09 +11:00 |
|
Rohan Mitchell
|
9645ec727b
|
Refresh products cache when inventory items are changed
|
2016-03-09 14:07:04 +11:00 |
|
Rohan Mitchell
|
6f29a8b642
|
Refresh cache when inventory setting product_selection_from_inventory_only is changed
|
2016-03-09 13:29:33 +11:00 |
|
Rohan Mitchell
|
422061f137
|
Merge branch 'master' into products-caching
Conflicts:
app/controllers/shop_controller.rb
app/models/enterprise_fee.rb
app/models/order_cycle.rb
app/models/variant_override.rb
db/schema.rb
lib/open_food_network/products_renderer.rb
spec/lib/open_food_network/products_renderer_spec.rb
|
2016-03-03 09:42:52 +11:00 |
|
Rob Harrington
|
465649475d
|
Revoke ability to overide variants based on shared management/ownership (ie. only explicit permissions)
|
2016-03-02 12:10:49 +11:00 |
|
Rob Harrington
|
186d1c1f26
|
Revoking ability to create variant overrides via OC permission
|
2016-03-02 12:10:49 +11:00 |
|
Rob Harrington
|
ed40ebace6
|
Existing Exchange Variants must be explicitly set to true by form data to remain in an exchange when an order cycle is updated
|
2016-03-02 12:10:22 +11:00 |
|
Rob Harrington
|
f280b96215
|
Hiding a variant from inventory prevents it being available on the shopfront
User preferences around inventory-only product selection immediately affect the shopfront
|
2016-03-02 12:10:22 +11:00 |
|
Rohan Mitchell
|
e16ca82e76
|
Extract product JSON rendering to lib class. Fix HTML stripping that never actually worked.
|
2016-03-02 12:10:22 +11:00 |
|
Rob Harrington
|
69ee1a98a7
|
EnterpriseFeeCalculator return empty list when retrieving applicators without distributor or order_cycle being present
|
2016-03-02 11:56:46 +11:00 |
|
Rohan Mitchell
|
71862e00a7
|
Perform products cache refresh when producer property changed or destroyed
|
2016-02-24 16:11:59 +11:00 |
|
Rohan Mitchell
|
687fb6f0aa
|
Enqueue RefreshProductsCacheJob with lower than default priority
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
8af6866ae4
|
Refresh products cache when exchange is changed or destroyed
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
a64a501dbb
|
Smarter job queuing: Do not enqueue a RefreshProductsCacheJob if there's already one waiting to run
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
fa543fed63
|
Deal with unset distribution
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
235c463849
|
Hide wrapped exception, too
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
ff493c21d4
|
Log a warning on cache MISS
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
d0b7b4ee50
|
Add CachedProductsRenderer - wraps ProductsRenderer using Rails cache
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
3bcd3257a1
|
Perform refresh of products cache when supplier fee is changed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
fbedff4eca
|
Perform refresh of products cache when distributor fee is changed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
af7e3380d3
|
Perform refresh of products cache when coordinator fee is changed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
fe41430d1e
|
Rerefesh products cache when an order cycle is changed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
1ec329284c
|
Refresh products cache when a variant override is destroyed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
b7a88fd03b
|
Perform refresh of products cache for variant override change
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
c98e44c5a1
|
Perform refresh of products cache on product change
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
6d39cc39c6
|
When a variant is destroyed, update product cache
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
a0a61b65cb
|
Refresh the appropriate product caches when a variant is changed
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
6df8f73bb0
|
Make method naming more explanatory
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
b0207f2b49
|
Clean up specs
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
0d5d015d88
|
Extract product JSON rendering to lib class. Fix HTML stripping that never actually worked.
|
2016-02-24 15:05:01 +11:00 |
|
Rob Harrington
|
521f227f74
|
Adding sku and on_demand to VariantOverride
|
2016-01-13 18:49:33 +11:00 |
|
Rob Harrington
|
e67e22ee73
|
Merge remote-tracking branch 'Em-AK/682-xero-report-defaults' into customer-name-security
Conflicts:
lib/open_food_network/xero_invoices_report.rb
|
2015-12-17 14:22:16 +11:00 |
|
Rob Harrington
|
7a23f671a2
|
Restricting access to orders within Sales Tax Report
Managers of suppliers should not be able to generate sales tax reports for orders they only supply products for
|
2015-12-17 14:21:30 +11:00 |
|
Rob Harrington
|
d115eb816e
|
Restricting access to orders within Xero Invoices Report
Managers of suppliers should not be able to generate xero invoices for orders they supply products for
|
2015-12-17 14:21:30 +11:00 |
|