Skud
3d19772515
Fixed some broken tests for displaying member location
2013-08-19 17:59:40 +10:00
Skud
b2ab29397e
Cache interesting seeds fragment for homepage.
...
(refresh cache if any of them are deleted)
2013-08-19 17:59:10 +10:00
Skud
46cc7b3984
Fixing cache problems (really this time!?!?)
...
It seems that the .shuffle was causing all kinds of weirdness. So, for
now, let's just get used to the fact that we won't have such a mixed set
of crops on the homepage.
2013-08-18 20:53:46 +10:00
Skud
ed0739d56c
no need to return interesting_crops twice
2013-08-18 20:42:02 +10:00
Skud
b793762dc1
rearranged interesting methods a bit
2013-08-18 20:06:10 +10:00
Skud
48313007f9
removed redundant check for photos
2013-08-14 13:58:26 +10:00
Skud
9409fc6507
and another try and making caching work
2013-08-14 13:52:53 +10:00
Skud
a04c93f843
fixed caching errors (we weren't caching what we thought we were)
2013-08-14 13:38:05 +10:00
Skud
ebe36438ba
Cache recent crops on homepage
2013-08-14 12:38:52 +10:00
Skud
f0d4ec2690
cache crop image with popover
2013-08-14 12:15:53 +10:00
Skud
7e98981c0a
standardise on _id for caching
2013-08-14 12:09:11 +10:00
Skud
f6fea51ac3
cache planting snippets on homepage
2013-08-14 12:08:27 +10:00
Skud
e8cb5e89b6
Changed interesting methods to always return 12
...
... because it makes the caching more effective. Use .first(n) to get a
smaller number if you want it.
2013-08-14 11:58:54 +10:00
Skud
5d3a44ae0c
cache stats and member thumbnails on homepage
2013-08-14 11:47:09 +10:00
Skud
46aa6ec758
added caching to the Blah.interesting methods
2013-08-14 11:06:18 +10:00
Skud
533529fa08
Got rid of old, unused recent plantings partial
2013-08-14 11:03:00 +10:00
Skud
e54697189f
look up nominatim directly
2013-08-13 12:31:19 +10:00
Skud
afc57db8d3
Added links to places pages
...
Committing with broken tests and pushing to github just so people can
take a look at what we're doing.
2013-08-12 13:38:20 +10:00
Skud
5cc1ab2ab5
switched geocoding from google to openstreetmaps
2013-08-12 13:00:54 +10:00
Skud
d30f8e443e
added popovers, added map on places/show page
2013-08-12 12:36:09 +10:00
Skud
be9bc4ba4d
added 'Places' to top nav
2013-08-12 10:48:06 +10:00
Skud
32f2830df5
changed located scope to ignore blank lat/long
2013-08-12 10:46:35 +10:00
Skud
e1d6c6bf70
fixed member thumbnails on homepage and changed member index to match
2013-08-09 14:58:36 +10:00
Skud
5f1b3274ce
tightened up sidebar text
2013-08-09 14:45:38 +10:00
Skud
1a764877a7
added signin link to green call to action box
2013-08-09 14:36:51 +10:00
Skud
0d4b2946e9
Fixed up all home/partials tests, now passing
2013-08-09 14:29:17 +10:00
Skud
0eafaf6311
Added tests for home/stats partial
2013-08-09 13:26:32 +10:00
Skud
c69221cc7b
Wrote tests for crops partial
2013-08-09 13:06:59 +10:00
Skud
12c9ee67d8
Made h3 smaller (so it's smaller than h2)
2013-08-09 12:58:34 +10:00
martyhines
07efe0dc8d
Added bio to the member profile
2013-08-08 22:18:18 -04:00
martyhines
0d5b2bbcce
Added bio to member model
2013-08-08 21:38:01 -04:00
martyhines
80b628ed89
Add autocomplete=off to location field
2013-08-08 20:58:00 -04:00
Skud
7d56cf57a1
got tests passing again, post homepage redesign
2013-08-09 10:18:21 +10:00
Amy
547476e8fd
Remove a border and extra padding that looked out of place in the mobile view.
2013-08-07 21:46:52 -04:00
Skud
f9f929e508
Fixed locatable scope for pgsql (needs single quotes)
2013-08-07 16:46:21 +10:00
Skud
d5d004306b
randomise crops on homepage
2013-08-07 16:33:39 +10:00
Skud
0e401c907e
Only interesting (locatable) seeds are shown on homepage
2013-08-07 16:26:51 +10:00
Skud
937ef36b6d
don't count empty strings as interesting locations
2013-08-07 16:26:41 +10:00
Skud
7ebdfd5692
fixed some weird formatting fo members
2013-08-07 16:26:33 +10:00
Skud
0c3c9c7694
fixed up some bootstrap formatting (rows/spans)
2013-08-07 15:51:49 +10:00
Skud
c6af9a7bbd
Fixed missing heading from messed up merge
2013-08-07 15:28:10 +10:00
Skud
f34afae097
merging/rebasing/i'm confused to be honest
2013-08-07 14:03:35 +10:00
Skud
18405de849
tweaked hero unit/blurb/etc on homepage
2013-08-07 13:58:48 +10:00
Skud
1c7a81cd2b
added some nicer wording to signup form
2013-08-07 13:21:27 +10:00
Skud
c4e9683fe1
CSS tweaks and some tests
2013-08-07 13:21:27 +10:00
Skud
749a9b8fdc
Added seeds and people to homepage
2013-08-07 13:21:27 +10:00
Skud
56e7b8392f
refactored interesting crops
2013-08-07 13:21:27 +10:00
Skud
2cd298fbde
refactored 'interesting plantings'
2013-08-07 13:21:26 +10:00
Skud
4d0f63bf74
Added a popover for planting images too.
2013-08-07 13:21:26 +10:00
Skud
ed0b48bf7d
style tweaking
2013-08-07 13:21:26 +10:00