Commit Graph

  • cbeffaced1 Configure Travis, remove spork, add simplecov, add turbo sprokets. Rohan Mitchell 2013-02-24 17:36:19 +11:00
  • 1e94f88c5e Ensure order decorator is required, fix test fragility Rohan Mitchell 2013-06-07 15:40:03 +10:00
  • 1e0491e90f Add spec for OrderPopulator#check_variant_available_under_distributor Rohan Mitchell 2013-06-05 16:00:17 +10:00
  • e90077bb09 Add spec for OrderPopulator#order_cycle_required_for Rohan Mitchell 2013-06-05 15:54:45 +10:00
  • 4bcae29553 Add specs for OrderPopulator#check_distribution_provided_for and distribution_provided_for Rohan Mitchell 2013-06-05 15:50:20 +10:00
  • f4df69765d Add spec for OrderPopulator#distributor_can_supply_products_in_cart Rohan Mitchell 2013-06-05 15:09:11 +10:00
  • 3724a67d16 Add spec for OrderPopulator#set_cart_distributor_and_order_cycle Rohan Mitchell 2013-06-05 15:04:42 +10:00
  • bfc300a3c2 Add spec for OrderPopulator#load_distributor_and_order_cycle Rohan Mitchell 2013-06-05 15:01:52 +10:00
  • 437da7425c Add spec for OrderPopulator#attempt_cart_add Rohan Mitchell 2013-06-05 14:55:56 +10:00
  • fb4f533976 Refactor OrderPopulator, add outside level spec Rohan Mitchell 2013-06-05 14:44:57 +10:00
  • 98f3197c08 WIP Move orders#populate logic to OrderPopulator class Rohan Mitchell 2013-06-05 11:47:47 +10:00
  • 6670c9543b Remove spork Rohan Mitchell 2013-04-05 15:16:54 +11:00
  • f91e1144e0 Name blank order cycle option Rohan Mitchell 2013-06-04 11:11:13 +10:00
  • 661ce4e597 Add to cart page does not allow the user to add a product from an order cycle that cannot supply the cart's products Rohan Mitchell 2013-06-04 10:26:13 +10:00
  • 249e1e013f Slight wording change to confirmation email Rohan Mitchell 2013-06-04 09:11:49 +10:00
  • ed067be530 Do not set site name and logo URLs in initializer, so that they can be set through admin interface Rohan Mitchell 2013-06-04 08:43:35 +10:00
  • cb703c2a66 Do not give order cycle choice when there is only one option Rohan Mitchell 2013-05-28 16:35:39 +10:00
  • 54fe63e7f3 User can add subsequent order cycles product to cart, show order cycle selection in page header along with distributor Rohan Mitchell 2013-05-28 16:04:05 +10:00
  • 1f9f5efb79 Add first product to cart with order cycle choice Rohan Mitchell 2013-05-28 14:06:52 +10:00
  • 9ef7da1339 Add OrderCycle#distributed_variants Rohan Mitchell 2013-05-28 14:01:04 +10:00
  • fbac41b060 Add DistributionChangeValidator#available_order_cycles, analagous to available_distributors Rohan Mitchell 2013-05-28 13:51:52 +10:00
  • fb5c050b48 Refactor DistributionChangeValidator#available_distributors specs Rohan Mitchell 2013-05-28 13:44:17 +10:00
  • 11755346ce DistributionChangeValidator finds available order cycles for a product Rohan Mitchell 2013-05-28 13:40:13 +10:00
  • 3bedfc3d1d Add OrderCycle distributing_product scope Rohan Mitchell 2013-05-28 13:27:52 +10:00
  • 46fd94eded Fix minor test fail Rohan Mitchell 2013-05-28 13:01:48 +10:00
  • 1b25364160 Cherry-pick c3b2f52: Cache DistributorChangeValidator#all_available_distributors, move Enterprise#available_variants into SQLland - massive render speed improvement Rohan Mitchell 2013-05-20 21:16:43 +10:00
  • 0e08829a29 Rename DistributorChangeValidator to DistributionChangeValidator in preparation for expansion to include order cycles Rohan Mitchell 2013-05-28 12:32:52 +10:00
  • 02561ee252 With order cycle distribution, show error message when adding a product to cart with no distribution chosen Rohan Mitchell 2013-05-28 11:54:46 +10:00
  • 881bceb4d1 Fill in some missing / incorrect test cases for add to cart Rohan Mitchell 2013-05-27 18:40:06 +10:00
  • 7b332d0f53 Re-group add to cart specs Rohan Mitchell 2013-05-27 18:12:59 +10:00
  • a2abcaf7bd Push product_compatible_with_current_order and available_distributors_for down to DistributorChangeValidator, add tests Rohan Mitchell 2013-05-27 13:50:33 +10:00
  • 612e6aed2c Include order cycle distributions in distributor choice when adding product to cart Rohan Mitchell 2013-05-27 13:12:29 +10:00
  • a21783c814 Allow changing distributor when there are alternate distributors available that can service the cart's order Rohan Mitchell 2013-05-27 13:11:30 +10:00
  • e3a419993c Work around order cycles not having fees / shipping methods yet - notify bugsnag and provide an undefined shipping method Rohan Mitchell 2013-05-27 12:59:47 +10:00
  • 796be2ee6d Refactor add to cart form into partials and helpers Rohan Mitchell 2013-05-27 11:25:09 +10:00
  • 0f8cd4705a Regenerate favicon.ico from higher quality image David Cook 2013-05-24 10:14:40 +10:00
  • 731cf33f86 Add new favicon.ico file with size 16, 32 and 64 David Cook 2013-05-22 16:21:13 +10:00
  • 423bd52fd6 rename _count vars to _total David Cook 2013-05-22 14:03:51 +10:00
  • 4e7f966429 add suppliers scope, limit by 5, test vagrant 2013-05-22 13:07:30 +10:00
  • aa85d20173 add suppliers scope, limit by 5, test vagrant 2013-05-22 13:06:24 +10:00
  • 6fd13212f5 Remove HTML entities from order confirmation email Rohan Mitchell 2013-05-21 17:44:34 +10:00
  • c3b2f52b7a Cache DistributorChangeValidator#all_available_distributors, move Enterprise#available_variants into SQLland - massive render speed improvement Rohan Mitchell 2013-05-20 21:16:43 +10:00
  • f19ef4ed07 Move save button back within form, fix failing test Rohan Mitchell 2013-05-20 16:05:25 +10:00
  • 3b2508dad3 On local organics checkout, remove distributor change, move save button to top right Rohan Mitchell 2013-05-20 15:29:06 +10:00
  • cc2e8694f0 Move LineItem update to source of change (order update). On empty cart, re-instanciate shipping method adjustment, fixing no shipping fees after empty cart bug. Rohan Mitchell 2013-05-20 15:01:04 +10:00
  • 571dfd9e9f Regroup OrderController methods - actions / callbacks / utils Rohan Mitchell 2013-05-20 14:56:39 +10:00
  • b7f7766893 On order confirmation page and email, display distributor details instead of misc fields. HACK - this should be in the engine, not in the main app. FIXME Rohan Mitchell 2013-05-18 19:54:27 +10:00
  • d65dda4dc5 When order distributor changes, update line item shipping method Rohan Mitchell 2013-05-18 19:21:01 +10:00
  • 174d7fac6f Increase unicorn timeout so that reports can run over long date range. Andrew Spinks 2013-05-05 18:42:42 +10:00
  • df7dd557b5 Update CMS configuration take S3 details from the spree config. 3.1.2 Andrew Spinks 2013-05-05 14:10:11 +10:00
  • 88508c254b Install db2fog for S3 database backups Andrew Spinks 2013-05-05 14:19:56 +10:00
  • 6777a3ce58 Update CMS configuration take S3 details from the spree config. Andrew Spinks 2013-05-05 14:10:11 +10:00
  • a1f189627b Only show UserVoice feedback button on Eaterprises deployment Rohan Mitchell 2013-04-29 16:34:19 +10:00
  • da3267a302 Add OpenFoodWeb logo to footer Rohan Mitchell 2013-04-29 16:20:26 +10:00
  • 234b2d26e9 Add MiGS payment gateway Rohan Mitchell 2013-04-29 15:37:48 +10:00
  • e20e4950bb Install db2fog for S3 database backups Rohan Mitchell 2013-04-29 11:31:01 +10:00
  • 06c285689e Order confirmation email contains distributor info Rohan Mitchell 2013-04-29 11:14:00 +10:00
  • 50f3455523 Fix gemspec Rohan Mitchell 2013-04-26 16:55:30 +10:00
  • 89b749fe95 Add terms and conditions to footer Rohan Mitchell 2013-04-26 16:31:33 +10:00
  • 92a7f19ff1 Add specs for enterprises distributor info as rich text feature Rohan Mitchell 2013-04-26 15:43:13 +10:00
  • 63768df3d7 Replace distributor info box on product details and checkout pages with rich text field Rohan Mitchell 2013-04-26 13:30:21 +10:00
  • fb999732ee Rename enterprises admin extended description to profile info, add distributor info field Rohan Mitchell 2013-04-26 13:10:32 +10:00
  • 08161ece61 Remove sample defaces Rohan Mitchell 2013-04-26 13:09:32 +10:00
  • 1b6bf6ca2b Add distributor info field to enterprises Rohan Mitchell 2013-04-26 12:31:19 +10:00
  • 4900129511 Enable feature for local organics only Rohan Mitchell 2013-04-26 12:31:11 +10:00
  • 953fe22d4c Add new feature for rich text distributor info for enterprises Rohan Mitchell 2013-04-26 12:27:15 +10:00
  • 2379861c92 Shrink local organics local/remote product heading Rohan Mitchell 2013-04-26 10:16:51 +10:00
  • f17907e06f Style local organics product details distributor heading Rohan Mitchell 2013-04-26 09:56:16 +10:00
  • 7911adab6a Update local organics product listing style Rohan Mitchell 2013-04-26 09:47:20 +10:00
  • 06364ec759 Increase local organics font size, change local products background colour Rohan Mitchell 2013-04-26 09:42:50 +10:00
  • ea0df511cc Enlarge local organics sidebar font Rohan Mitchell 2013-04-26 09:23:42 +10:00
  • 9909261c8c Update local organics logo Rohan Mitchell 2013-04-26 09:18:47 +10:00
  • 4730ba0734 Restore display of admin top-right menu Rohan Mitchell 2013-04-25 21:52:10 +10:00
  • 9f6d1a2f18 Order cycle reports are precise to time of day, not just date Rohan Mitchell 2013-04-25 21:22:26 +10:00
  • cea2089768 Add empty admin.js, fixes asset not precompiled error Rohan Mitchell 2013-04-25 15:50:41 +10:00
  • bea247e64d Only configure sass load paths if sass defined. Fixes production init. Rohan Mitchell 2013-04-25 15:31:32 +10:00
  • 0da57f1d6c Remove spree_heroku - S3 support is now built into Spree Rohan Mitchell 2013-04-23 07:32:23 +10:00
  • 8f6cc361cc Precompile all engine-specific assets Rohan Mitchell 2013-04-22 18:34:11 +10:00
  • 9e60e6269e Remove unneeded variables override file Rohan Mitchell 2013-04-22 18:33:53 +10:00
  • 139188e021 Turn on asset init on precompile - now precompile can find assets stored in engines (lib/chili/...), but this breaks Heroku deployment Rohan Mitchell 2013-04-22 17:37:02 +10:00
  • 3df2207664 Remove non-present files from gemspecs Rohan Mitchell 2013-04-22 17:36:18 +10:00
  • 7bee04e5f6 Update selenium-webdriver, test with eaterprises deployment settings by default Rohan Mitchell 2013-04-22 16:48:49 +10:00
  • 3db23393d2 Scope admin css to admin section, add simple styling for front-end Rohan Mitchell 2013-04-22 16:23:30 +10:00
  • 27d7a2c6c2 Remove example deface, update README with licence Rohan Mitchell 2013-04-22 16:14:52 +10:00
  • 3dd4e074fc Split spree variable changes into per-feature files, add an eaterprises feature for default layout Rohan Mitchell 2013-04-22 16:12:50 +10:00
  • a90f060b28 Add local organics logo Rohan Mitchell 2013-04-22 10:49:37 +10:00
  • 3bd766eab9 Update local organics feature readme Rohan Mitchell 2013-04-22 10:32:23 +10:00
  • 3d8d8ecd49 Move assets deface to correct directory Rohan Mitchell 2013-04-22 10:32:09 +10:00
  • a4bdea4d5c Add chili feature for local organics Rohan Mitchell 2013-04-22 10:29:05 +10:00
  • cbef31f619 Install chili for feature toggles Rohan Mitchell 2013-04-22 10:24:17 +10:00
  • dc54be992b Require spree support file that provides a default shipping method for ProductDistributions when building from factory - fixes product seeds Rohan Mitchell 2013-04-21 08:54:32 +10:00
  • 8f682a6d07 Unicorn handle forked db connections - fixes PG::Error SSL SYSCALL error: EOF detected Rohan Mitchell 2013-04-19 09:52:16 +10:00
  • c5e8ac6fd1 Newrelic unicorn compatibility Rohan Mitchell 2013-04-19 09:39:54 +10:00
  • 3e2d31d432 spree-last-address repo deleted - use mirror Rohan Mitchell 2013-02-24 17:51:46 +11:00
  • 4ce7525748 Configure newrelic for performance monitoring Rohan Mitchell 2013-04-19 09:20:59 +10:00
  • ff9200ebb8 Display order cycle distributors on product details page Rohan Mitchell 2013-04-12 13:18:40 +10:00
  • 6e7ee6481d Fetch enterprises that are distributing a product via a product or order cycle distribution Rohan Mitchell 2013-04-12 10:13:04 +10:00
  • 32629a27e7 Remove explicit class specification Rohan Mitchell 2013-04-05 16:57:53 +11:00
  • f66ff0f8b1 Rename Enterprise#available_variants to distributed_variants to remove ambiguity between supplied/distributed variants Rohan Mitchell 2013-04-05 16:51:51 +11:00
  • 5649a50e28 Add tests around Enterprise#available_variants, make it also show variants distributed via an order cycle Rohan Mitchell 2013-04-05 16:49:27 +11:00