Rob Harrington
|
ab7bfd10c5
|
Revert "Renaming options_text to unit_text so that we can use method from included VariantAndLineItemNaming module"
This reverts commit e86e08b72e939fee61eddd41d56081395666a877.
Conflicts:
lib/open_food_network/order_and_distributor_report.rb
spec/features/admin/variants_spec.rb
spec/lib/open_food_network/order_and_distributor_report_spec.rb
|
2015-10-28 13:08:50 +11:00 |
|
Rob Harrington
|
795830d94d
|
Renaming options_text to unit_text so that we can use method from included VariantAndLineItemNaming module
|
2015-10-28 13:07:31 +11:00 |
|
Maikel Linke
|
e25805aa78
|
Restoring all changes of the last combined branch
This reverts commit 1e55e8a907.
|
2015-09-10 15:03:13 +10:00 |
|
Maikel Linke
|
1e55e8a907
|
Reverting all changes of the last combined branch
The production server hangs on certain requests. To rule out a code bug,
we revert to the last deployed version.
|
2015-09-10 12:50:40 +10:00 |
|
Maikel Linke
|
6a2af09006
|
rounding decimal quantities in shopfront
|
2015-09-04 16:15:02 +10:00 |
|
Maikel Linke
|
0895bd8647
|
Non-integer values cannot be entered into shop front quantities
|
2015-09-03 17:42:26 +10:00 |
|
Rohan Mitchell
|
faa1d0d1c5
|
When cart clear is declined, revert order cycle selection change
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
679531fe2a
|
Prompt for clear cart when order cycle changes
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
eb6dcba396
|
Clear localstorage in Cart.clear()
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
9c9051498b
|
Rename ofnEmptiesCart to ofnChangeHub
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
5688cfd1dd
|
WIP: Rename ofnEmptiesCart to ofnChangeHub
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
fc409c97bf
|
Decouple ofn-empties-cart directive from hub-choice navigation
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
09b4b3e659
|
When order cycle is changed, clear the cart
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
bf2bd403a4
|
Clear variants when order cycle changed, not when products are initially loaded
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
012a210782
|
Add method to clear cart
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
7caebb11e2
|
Clear variants registry before reloading products - fixes fees not updating when changing order cycle
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
ee65452de3
|
Add method to clear variants registry
|
2015-07-31 16:56:08 +10:00 |
|
Rohan Mitchell
|
3a9b13b55e
|
Reorder methods
|
2015-07-31 16:56:07 +10:00 |
|
Continuous Integration
|
858a613ba2
|
Auto-merge from CI [skip ci]
|
2015-07-17 11:48:16 +10:00 |
|
Rohan Mitchell
|
f3ae812f2b
|
Update cart when max_quantity value changes, not just quantity
|
2015-07-16 10:05:19 +10:00 |
|
Rohan Mitchell
|
904a3a5bd4
|
When add to cart fails, retry every 3 seconds, with no limit of the number of retries
|
2015-07-16 10:05:19 +10:00 |
|
Rohan Mitchell
|
28b8e0b0c8
|
Update distance matches when filter settings change
|
2015-07-10 17:45:17 +10:00 |
|
Rohan Mitchell
|
0ab75fe2ea
|
Take the first name match from the post-filter results to avoid matching off a result the user can't see
|
2015-07-10 17:45:17 +10:00 |
|
Rohan Mitchell
|
5b93ac2ae1
|
Remove unneeded injections, consistent spacing
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
7d340d5084
|
Update taxon search to only display taxons from enterprises on the page
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
d8dfb5b5ee
|
Move most filters back out into view - they now respond to filter preference changes
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
06c5ffb427
|
Wrap geocode callback in ., fixing inconsistent updates
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
64bc7404dc
|
Region-bias geocoder results
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
651afc34cb
|
Notify enterprise change by broadcast
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
5f8826533d
|
Limit distance matches to those within 50 km
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
f154a02c86
|
Add filter for enterprises within a radius
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
5b5c56064e
|
Hide distance matches when there are name matches. Show with a link.
|
2015-07-10 17:45:16 +10:00 |
|
Rohan Mitchell
|
eba0a12d29
|
Extract filtering into controller
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
7fd4815904
|
Split results into name matches and distance matches
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
7f2508eeaa
|
When a name match is found, calculate distances from that enterprise, rather than from the geocoded lookup
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
6e3ca3f90f
|
Make Geo.distanceBetween take either a LatLng or a locatable at either parameter
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
744beaa26a
|
Perform shops search by proximity instead of plain string match
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
d0d9e9e367
|
Flag enterprises whose name matches a query
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
befcc37456
|
Fix bug in distanceBetween, update docs, deal with null queries
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
9fb7c47c73
|
Enterprises can calculate their distances from a location via geocode lookup
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
80bb6c36e3
|
Rename file
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
a61e96c316
|
Generalise Geocoder service to Geo, add distanceBetween method
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
ddf1bb90ea
|
Add geocoder service
|
2015-07-10 17:45:15 +10:00 |
|
Rohan Mitchell
|
3527ae6ea2
|
Update comment
|
2015-07-10 15:51:57 +10:00 |
|
Rohan Mitchell
|
213242627e
|
Merge branch 'master' into redesign-phase-2
Conflicts:
app/views/home/_hubs.html.haml
|
2015-07-01 15:44:36 +10:00 |
|
Rohan Mitchell
|
9f8fa575b3
|
Scroll past header on shops page if user is logged in
|
2015-06-26 15:54:25 +10:00 |
|
Rohan Mitchell
|
6197dfe403
|
Make brand story animate slide down/up
|
2015-06-26 15:54:25 +10:00 |
|
Rohan Mitchell
|
2d79177bb5
|
When a registering an enterprise with a non-unique name, display an error message.
|
2015-06-24 10:08:34 +10:00 |
|
Rohan Mitchell
|
faee88c404
|
Merge branch 'master' into redesign
|
2015-06-16 16:57:09 +10:00 |
|
Rohan Mitchell
|
bf2a7f12e0
|
Fix interaction between alert and mobile menu. A bit hack-ish, needs some more love.
|
2015-06-16 16:28:45 +10:00 |
|