Commit graph

9 commits

Author SHA1 Message Date
Andy Allan
c819bec8b7 Use a current_user helper for accessing the logged in user in all views. 2017-07-27 10:07:51 +01:00
Andy Allan
38e12759ea Rubocop autofixes. 2016-09-07 11:07:42 +01:00
Andy Allan
6cc4f4506b Use .present? instead of double negative to check if terms_agreed timestamp is set. 2016-09-07 11:02:20 +01:00
Andy Allan
924f9fa083 User.consider_pd is boolean, so no need for double negation. 2016-09-07 10:59:00 +01:00
Simon Poole
fc78f3c4a2 Add messages count to API response for logged in user details
Allows external editors to alert the user to the fact that they
have unread messages on the OSM site.
2013-08-16 21:09:04 +01:00
Paweł Paprota
ad43499205 Implemented Gravatar support 2012-10-18 18:59:38 +01:00
Tom Hughes
f47edb1446 Don't report the PD flag in the user API call 2012-09-24 18:44:12 +01:00
Tom Hughes
8857fe3624 Add some extra information to user API responses 2012-09-24 18:44:11 +01:00
Tom Hughes
3ce4de1295 Add a /api/0.6/user/NNNN call to the API 2012-09-24 18:44:11 +01:00