Taylor Griffin
2c50c3b703
merge in a bunch of (mostly bootstrap 3) changes
2014-08-29 07:14:44 +10:00
Marlena Compton
38b9207122
remove extra method
2014-08-21 20:11:10 -07:00
Marlena Compton
ec25f2ab91
created list of crop wranglers on the crop wranglers page
2014-08-21 20:11:10 -07:00
Taylor Griffin
e0d81f5693
improve and abstract auto_suggest api
2014-08-02 22:14:10 +10:00
Taylor Griffin
8a1dd9d171
implement autocomplete for crop name on new planting form
2014-07-26 20:16:22 +10:00
Skud
d558353e4c
Merge branch 'scinames' of github.com:Skud/growstuff into Skud-scinames
...
Conflicts:
CONTRIBUTORS.md
2014-07-22 11:23:08 +10:00
Skud
a0fc8802b2
Allow selection of crop display order (popularity or alphabetical)
...
Had some trouble with tests; apparently the counter_cache behaves
differently when it starts counting from 0, which meant that some tests
started failing unless you do @crop.reload to refresh the
plantings_count. Weird, but oh well.
2014-07-18 18:37:47 +10:00
Skud
8223025d35
Set default plantings_count to 0 not nil
2014-07-18 18:06:43 +10:00
Skud
573e555bcf
Added unpopular scope to crop
2014-07-18 17:52:11 +10:00
Taylor Griffin
ded464ad4c
removed call to for debugging
2014-07-13 18:00:46 +10:00
Taylor Griffin
8b45a1759c
got scientific names working on the crop page but view tests are failing
2014-07-13 17:57:55 +10:00
Skud
3abaca3136
Tweak what's emitted as JSON
...
(let's just emit plantings for now, as that's all we're using)
2014-06-30 11:48:58 -07:00
Skud
2f8e060b49
added plantings, seeds, and harvests to the crops JSON
2014-06-30 10:56:58 -07:00
Skud
4ce071a0df
Fixed a bug that was deleting crops from the database!
...
Best bug of the night. TIL: don't call delete on an activerecord
collection expecting it to act like an array. D'oh!
2014-01-03 22:47:18 +11:00
Skud
0a3ecdc5ad
Added crop search controller and views
2014-01-03 22:29:44 +11:00
Skud
9cf770a200
Adjusted crops.rss to show most recent
2013-09-25 16:59:28 +10:00
Skud
92ebf1a43c
Added harvest CSV
2013-09-25 16:02:40 +10:00
Skud
24255411c9
added dates created/modified to crops csv
2013-09-16 17:04:39 +10:00
Skud
d014343667
A basic implementation of a CSV dump for crops
2013-09-16 15:33:34 +10:00
Skud
995f9b2d60
Display crop hierarchy (recursively!)
2013-09-02 12:01:58 +10:00
Skud
772eec77a7
added routes and controller stuff for crop hierarchy
2013-09-02 11:13:02 +10:00
Skud
4cdb571e27
Merge pull request #284 from Skud/wrangler-homepage
...
added a basic crop wrangler homepage
2013-08-21 21:54:04 -07:00
Skud
656edefb5f
Eager loading for frequently-accessed/database-heavy pages
2013-08-22 10:18:33 +10:00
Skud
8f7becfa78
added a basic crop wrangler homepage
2013-08-21 21:24:22 +10:00
martyhines
098595721b
Added crop creator to crop edit form
2013-08-20 21:46:22 -04:00
Skud
5d3a44ae0c
cache stats and member thumbnails on homepage
2013-08-14 11:47:09 +10:00
Craig Read
d563f0ceae
Converting crops RSS to HAML
...
Added spec for crops RSS
Removed redundant @new_crops instance variable (not needed as we now
have pagination).
2013-05-24 12:22:41 +10:00
gnattery
be1034a50d
paginate crops
2013-03-20 14:50:16 +11:00
Skud
cd469264bd
this seems to mostly work
2013-02-01 11:21:13 +11:00
Skud
ed2e73832d
sorta kinda works, but login/homepage are b0rked
2013-02-01 11:10:12 +11:00
Miles Gould
aac4839968
Update comments in controller classes.
...
They referred to (now nonexistent) .erb files - I've changed them to
refer to the corresponding .haml files.
2012-12-07 12:01:03 +00:00
Skud
1d3df3cba9
Added an feed for crops, too (PT #37282795 )
2012-11-12 17:29:37 +11:00
Miles Gould
1d9c1b14fc
Generate scaffold for Crops; refactor tests
...
Add link to Crops page from index
Refactored index/application tests to better reflect where things are.
2012-10-02 11:32:56 +01:00