Commit Graph

31 Commits

Author SHA1 Message Date
Miles Gould
035946edcd "auth" helper method in Member 2013-05-08 15:55:32 +01:00
Skud
45935c6e38 connect to flickr 2013-04-30 23:01:18 +10:00
Miles Gould
a41c60b7de Be even more paranoid about params[:units]
And save a to_s call while we're at it.
2013-04-30 10:54:52 +01:00
Miles Gould
70fa93ab42 Replace tabs with spaces. 2013-04-26 14:27:35 +01:00
Miles Gould
a8fd75492a Units: be less trusting of user input. 2013-04-25 23:05:08 +01:00
Miles Gould
a16d07cfef Fix tests for units in Members#nearby 2013-04-25 22:53:07 +01:00
Cesy Avon
cebd49271a Finding nearby members by distance
Distance is now configurable
Units framework is there but it's not working yet
2013-04-23 10:13:21 -07:00
Skud
f05a8f9ce6 added twitter link to profile page 2013-04-19 00:00:56 +10:00
Skud
6ddc0a5e15 Minor tweaks, mostly to formatting
... because I'm picky ;)  I particularly wasn't keen on the search link
on the logged in homepage, which didn't really fit in there.  I also
made the link display on *all* profiles (not just your own), and changed
the way the headings/titles were formatted.

I also changed CanCan to not specify who can search nearby members, but
to skip it in the controller instead.  It just didn't really make sense
in ability.rb.
2013-04-03 15:28:11 +11:00
Miles Gould
fde8d163a9 Allow non-logged-in folk to search for members near a location. 2013-04-02 15:48:58 +01:00
Miles Gould
0f22fbf4aa Merge branch 'dev' into members_nearby
Conflicts:
	spec/factories/member.rb
2013-04-02 13:10:38 +01:00
Skud
05d1a8807a moved Member.confirmed to a scope 2013-03-31 20:28:29 +11:00
Miles Gould
afa5b7a72f Find nearby members back-end (hardcoded to 100mi). 2013-03-29 16:03:00 +00:00
Miles Gould
fed8ce2c17 Allow setting location in members/:id/nearby
It currently doesn't actually do anything, but the thought's there.
2013-03-28 12:40:18 +00:00
Miles Gould
9a3badea63 Skeleton "members near me". 2013-03-28 11:51:55 +00:00
gnattery
793b25e3dd Paginate and sort members.
We've decided to remove tests for pagination display because we trust will_paginate
2013-03-20 15:17:10 +11:00
Skud
1ccaab3085 Don't allow members to be accessible with JSON
One of the tests is failing and I can't for the life of me figure out
why. Everything looks fine when I try it with curl from the command
line. Hmm.
2013-02-02 23:37:24 +11:00
Skud
cd469264bd this seems to mostly work 2013-02-01 11:21:13 +11:00
Skud
fdb309cdd2 s/users/members/g -- controllers and their tests 2013-01-13 17:53:24 +11:00
Skud
48d8b39b0a s/update/post in members controller, plus tests 2013-01-13 16:40:07 +11:00
pozorvlak
42683d733b Merge pull request #72 from gnattery/unconfirmed
Unconfirmed
2012-12-28 07:26:43 -08:00
Miles Gould
5d4ba46ce4 Move "is user confirmed" checks into model. 2012-12-28 13:29:46 +00:00
Miles Gould
30fc533748 Document the need for @garden in MembersController#show 2012-12-21 14:07:00 +00:00
Gnat
20df5538ca No profile for unconfirmed members 2012-12-21 01:00:56 +00:00
Gnat
183dc71b76 Unconfirmed users don't show on members index page 2012-12-21 00:30:01 +00:00
Miles Gould
75eb0ab02f Fix garden tabs in profile; embed "new garden" form. 2012-12-20 12:13:58 +00: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
208553bf89 apparently we need to send just ONE local through 2012-11-13 20:43:56 +11:00
Skud
1d529f0783 oops, locals aren't required here 2012-11-13 20:37:03 +11:00
Skud
8006f75275 RSS feeds for each member, plus tests. 2012-11-12 16:15:13 +11:00
Maia Sauren
af47daa1a4 changed profile URL to members (#38934935) 2012-11-06 20:59:14 +11:00