* 2-0-stable: (208 commits) Re implement orders ctrl update method so we can change redirection logic and add specs for it Improve readability in admin/orders_spec Add line items adjustments (order.price_adjustments) to the order edit page so that user is aware of adjustments included in the price like for example tax rates Adapt variants auto complete to spree v2 code with shipments Adapt customer search override to spree v2 and fix customer details spec in admin orders spec Fix distributor change spec in admin orders spec Fix admin orders spec non tax adjustments by adapting to new view Fix failing specs due to Spree 2's new order admin page Add missing form tag and OC and shops injectors on order form to make the OC field, the distributor field and the update button work Use Spree routes Fix shop accidentally becoming order coordinator Match date format in spec with import date filter Make in_stock? work for both variants and overrides by moving it from VariantStock to variant_decorator. Add unit test for VariantStock.can_supply? Remove rescue from products_reset_strategy in product import: if setting count_on_hand fails the import will raise a RuntimeError Change product import's product_reset_strategy from depending on the inexistent variant.count_on_hand DB field and instead make individual calls to variant.count_on_hand= defined in VariantStock. Also, added spec to test return value of the reset method: it should return number of updated records. Upgrade views to Spree 2 and apply overrides Updating translations for config/locales/en_US.yml Update name spaces for rake tasks to shorter 'ofn'. Refactor checking no preview image in specs Refactor checking of preview image path in specs ...
Open Food Network
The Open Food Network is an online marketplace for local food. It enables a network of independent online food stores that connect farmers and food hubs (including coops, online farmers' markets, independent food businesses etc); with individuals and local businesses. It gives farmers and food hubs an easier and fairer way to distribute their food.
Supported by the Open Food Foundation and a network of global affiliates, we are proudly open source and not-for-profit - we're trying to seriously disrupt the concentration of power in global agri-food systems, and we need as many smart people working together on this as possible.
We're part of global movement - get involved!
- Fill in this short survey to tell us who you are and what you want to do with OFN.
- Join the conversation on Slack. Make sure you introduce yourself in the #general channel
- Head to https://openfoodnetwork.org for more information about the global OFN project.
- Check out the User Guide for a list of features and tutorials.
- Join our discussion forum.
Contributing
If you are interested in contributing to the OFN in any capacity, please introducing yourself on Slack, and have a look through our Contributor Guide
Our GETTING_STARTED and CONTRIBUTING guides are the best place to start for developers looking to set up a development environment and make contributions to the codebase.
Provisioning
If you're interested in provisioning a server, see ofn-install for the project's Ansible playbooks.
We also have a Super Admin Guide to help with configuration of new servers.
Credits
- Andrew Spinks (http://github.com/andrewspinks)
- Rohan Mitchell (http://github.com/rohanm)
- Rob Harrington (http://github.com/oeoeaio)
- Alex Serdyuk (http://github.com/alexs333)
- David Cook (http://github.com/dacook)
- Will Marshall (http://soundcloud.com/willmarshall)
- Laura Summers (https://github.com/summerscope)
- Maikel Linke (https://github.com/mkllnk)
- Lynne Davis (https://github.com/lin-d-hop)
- Paul Mackay (https://github.com/pmackay)
- Steve Pettitt (https://github.com/stveep)
- Matt Yorkley (https://github.com/Matt-Yorkley)
- Pau Pérez (https://github.com/sauloperez)
- Enrico Stano (https://github.com/enricostano)
Licence
Copyright (c) 2012 - 2018 Open Food Foundation, released under the AGPL licence.
