Commit Graph

1970 Commits

Author SHA1 Message Date
Rohan Mitchell
b9229f9166 DB seeds create some default taxonomies, suppliers, distributors and products, and are now idempotent 2012-06-22 15:15:20 +10:00
Rohan Mitchell
4b118a26ff Show distributor-scoped product counts next to taxons 2012-06-22 13:40:43 +10:00
Rohan Mitchell
0c5162f9fb Move distributor lookup code into current_distributor helper 2012-06-22 11:48:39 +10:00
Rohan Mitchell
4911a06c9d Display current distributor in main nav bar 2012-06-22 11:46:40 +10:00
Rohan Mitchell
03b87225d0 Add spec for selecting a distributor, add distributor to order model, add controller method for selecting distributor 2012-06-22 11:25:32 +10:00
Rohan Mitchell
16ff9e9611 Set up spree controller testing environment 2012-06-22 11:00:44 +10:00
Rohan Mitchell
93e3f82392 Display product count next to taxons in sidebar 2012-06-21 16:15:40 +10:00
Rohan Mitchell
4c6486e66f Product requires a supplier 2012-06-21 14:59:22 +10:00
Rohan Mitchell
65d39e5867 Display supplier/distributor search results 2012-06-21 07:31:33 +10:00
Rohan Mitchell
412eb4365e Provide searching by supplier or distributor via spree searcher class 2012-06-20 17:44:58 +10:00
Rohan Mitchell
b0a8645738 Display suppliers and distributors in sidebar 2012-06-20 17:44:11 +10:00
Rohan Mitchell
d656898ecb Disable filtering distributors using spree filters 2012-06-20 17:43:14 +10:00
Rohan Mitchell
f9d290f00d Show product supplier and distributors on product details page 2012-06-20 16:28:09 +10:00
Rohan Mitchell
103aad467c Tweak override names 2012-06-20 16:00:39 +10:00
Rohan Mitchell
a445216e6c Add test for filtering by distributor 2012-06-20 15:19:26 +10:00
Rohan Mitchell
9adfe58086 Display distributor filter as links instead of checkboxes, style in the same way as taxonomy selectors 2012-06-20 15:05:54 +10:00
Rohan Mitchell
1207062f7c Filter products by distributor 2012-06-20 14:20:07 +10:00
Rohan Mitchell
423ab26a1a Show product filters in sidebar on all pages 2012-06-20 14:15:58 +10:00
Rohan Mitchell
b54cb00b29 Change database cleaner strategy to transaction, removing a 5 s per-test delay 2012-06-19 14:03:20 +10:00
Rohan Mitchell
f962db4288 Convert factories from machinist to factory girl 2012-06-19 13:54:34 +10:00
Rohan Mitchell
865f562dd0 Tidy up spec_helper.rb 2012-06-19 11:33:28 +10:00
Rohan Mitchell
5e9fa37f11 Add failing spec for viewing distributors in sidebar 2012-06-19 11:32:49 +10:00
Rohan Mitchell
b38692d8c0 Style product distributor check boxes 2012-06-19 10:51:17 +10:00
Rohan Mitchell
b89562823b Add distributors to admin product forms 2012-06-19 10:39:08 +10:00
Rohan Mitchell
44e33b2b69 Add default simple_form configuration, locales, scaffold 2012-06-19 10:29:26 +10:00
Rohan Mitchell
13569b5263 Switch to patched version of simple_form, which fixes collection_check_boxes when used within form_for block 2012-06-19 10:27:09 +10:00
Rohan Mitchell
eb095baf64 Installed spork 2012-06-19 07:08:27 +10:00
Rohan Mitchell
cb899575b7 Product requires at least one distributor 2012-06-18 19:53:53 +10:00
Rohan Mitchell
3b075a7c14 Change product-distributor relation to *..* 2012-06-18 19:43:30 +10:00
Rohan Mitchell
3d0f6a43b4 Add pry to Gemfile 2012-06-18 19:41:00 +10:00
Rohan Mitchell
cc45812764 Add failing test for product distributor selection 2012-06-18 17:50:14 +10:00
Rohan Mitchell
8f8f119295 Rename request to requests for consistency 2012-06-18 17:02:04 +10:00
Rohan Mitchell
82ca7112c2 Remove distributor association from orders and from the checkout process 2012-06-18 17:01:08 +10:00
Rohan Mitchell
d704f3aa68 Enable therubyracer JS env, reqd on linux 2012-06-18 16:58:06 +10:00
Rohan Mitchell
f8411cd5db Add db schema, remove from .gitignore 2012-06-18 09:23:06 +10:00
Andrew Spinks
93a5bddeb5 Added initial request spec for making a purchase. 2012-06-11 13:18:04 +10:00
Andrew Spinks
d089500a5e Added product request spec and fixed bug when setting supplier. 2012-06-10 16:54:38 +10:00
Andrew Spinks
92b55e6478 Added distributors request spec. 2012-06-10 13:31:07 +10:00
Andrew Spinks
1288760839 Added first working acceptance spec for supplier. 2012-06-09 14:41:09 +10:00
Andrew Spinks
3361d29146 fix defaulting of country to australia so that it doesn't stop db:reset from working. 2012-06-09 11:23:07 +10:00
Andrew Spinks
04e4523f6b upgrade to spree 1.1 2012-05-20 16:28:14 +10:00
Andrew Spinks
0f42ad07a7 fix s3 bucket. 2012-05-12 13:48:43 +10:00
Andrew Spinks
02f5d01ca1 try to get s3 to work. 2012-05-12 13:37:26 +10:00
Andrew Spinks
5088363c84 add supplier to product on admin views. 2012-04-29 18:35:14 +10:00
Andrew Spinks
3b2ae5bca1 add supplier validations 2012-04-29 17:39:30 +10:00
Andrew Spinks
c9effe5926 Add seperate address fields - don't become too attached to spree. 2012-04-29 17:31:47 +10:00
Andrew Spinks
e4fd20b807 Add default supplier view and relationship to address. 2012-04-29 16:32:38 +10:00
Andrew Spinks
7ea0f73398 begin adding suppliers 2012-04-22 14:51:24 +10:00
Andrew Spinks
4ad11c1faf delete and edit distributors 2012-04-22 13:01:56 +10:00
Andrew Spinks
147985b94d fix sorting of distributors by name 2012-04-22 12:58:40 +10:00