Taylor Griffin
007f7112a7
replaced caching using observers with a key-based (and simplified) caching system
2014-12-19 21:17:43 +11:00
Yoong Kang Lim
5de6759917
Moved number of follows/followers under activity and added pagination.
2014-11-21 00:29:45 +11:00
Yoong Kang Lim
b5e1b6bc22
Delete unused views, add feature tests
2014-11-13 00:46:34 +11:00
Yoong Kang Lim
cacc002a01
Added follow/unfollow buttons
2014-11-12 01:47:26 +11:00
Skud
41566d39f3
Added map to member profile page
2014-10-19 13:50:43 +01:00
Skud
57fe663675
Merge branch 'dev' of https://github.com/Growstuff/growstuff into places2
...
Conflicts:
app/controllers/members_controller.rb
app/models/member.rb
app/views/members/_popover.html.haml
spec/models/member_spec.rb
2013-08-21 17:35:31 +10:00
Skud
5d3a44ae0c
cache stats and member thumbnails on homepage
2013-08-14 11:47:09 +10:00
Skud
a3b7822268
Review and cleanup of JSON API
...
Removed JSON from classes that shouldn't have it.
(PT: https://www.pivotaltracker.com/story/show/54570954 )
Also found a couple of controllers with broken authorization (i.e. not
checking CanCan). Incidentally, this also fixes the comment form bug at
https://www.pivotaltracker.com/story/show/54328716 .
2013-08-05 13:29:07 +10:00
Joseph Caudle
a43d3a1ce7
Add places pages
...
This commit builds off of @Skud's spike on locations and largely takes
off from the `nearby_members` feature which previously existed on
members.
One thing to note is that we needed to add a search route and action to
`PlacesController` to account for requests of new places as they could
not be redirected to properly from within `PlacesController#show`.
[Story #53848631 ]
2013-08-02 00:15:51 -04:00
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