Commit graph

53 commits

Author SHA1 Message Date
Tom Hughes
83aa2655f5 Null descriptions are not allowed. 2009-04-25 22:26:56 +00:00
Tom Hughes
77a34278ca Backout broken attempt at making case insensitive authentication work
on Postgres. As implemented this forces a table scan to authenticate
users which is ridiculous to save people pressing the shift key.
2009-04-23 23:46:45 +00:00
Shaun McDonald
f1a0331081 Hack a way to make the email and display name case insensitive for logging in, based on a suggestion by firefishy to use ILIKE. Changes requested from users on mailing list. Includes some tests to check the case insensitivity of the username, and and e-mail address on login. 2009-04-23 19:20:08 +00:00
Matt Amos
afcb345014 Moved a bunch of time functions into UTC. Fixes bugs which we only see for 4 hours a year. 2009-03-29 01:31:04 +00:00
Shaun McDonald
721dd9c27d resync from rails_port 11795:12304 2008-12-12 19:29:27 +00:00
Tom Hughes
2a121cfc41 Add a delete method for the user model. 2008-11-25 23:53:21 +00:00
Shaun McDonald
55d511bf21 Remember whether the user set the public checkbox on GPX upload as a user preference. Closes #827 2008-11-18 20:22:09 +00:00
Shaun McDonald
b7b2b502cf Relation Tag testing. Also sort the belong_to/has_many for user/changeset/old_way. 2008-11-18 18:50:24 +00:00
Andy Allan
7058d836f7 use boolean flags when using boolean columns 2008-11-07 13:24:18 +00:00
Andy Allan
1140237cae Booleans should be true/false - coding style comments welcome 2008-11-07 11:36:34 +00:00
Shaun McDonald
a5e5cbc739 Adding a lower and upper length on various web site varchar fields. Fixes one test. 2008-10-15 16:20:43 +00:00
Tom Hughes
34189cf761 Add basic support for logically deleting a user. 2008-08-24 16:53:42 +00:00
Steve Coast
cacf1879c3 user images 2008-02-23 15:18:59 +00:00
Richard Fairhurst
914cad0aa2 show nearest 10 users (request by Blackadder) 2007-11-28 22:07:24 +00:00
Tom Hughes
cb330ffd7a Force new users to enter their email address twice to try and avoid so
many incorrect email addresses with typos in...
2007-11-25 12:38:48 +00:00
Mikel Maron
d736a158be message outbox 2007-11-21 18:24:29 +00:00
Dan Karran
eeeb13e4e4 Actually showing the closest neighbours instead of a fixed number of people within the search radius 2007-10-11 18:47:30 +00:00
Dan Karran
60d8673e30 Reduce number of nearby people listed to the closest 5 by default, and show friends ahead of nearby people. 2007-10-10 19:22:16 +00:00
Dan Karran
d320673cc7 Improving friend capabilities so you can now add and remove friends as you wish. Friends will be notified when you add them. You can view a list of friends on your profile page (which has been reorganised a little). 2007-10-08 22:21:15 +00:00
Tom Hughes
755a2c596c Add additional validation to the user model and tidy up a few things on
the account options page.
2007-08-19 12:27:23 +00:00
Tom Hughes
4b71f8aacd Include the home location in API user details response. 2007-08-19 09:43:01 +00:00
Dan Karran
3c79240a6a Showing all messages in inbox, but sorting by date DESC and highlighting new ones. Adding link from message reading page back to inbox. Mark as read/unread. 2007-08-17 18:05:09 +00:00
Tom Hughes
6adf8fe384 Only initialize creation_time if it isn't already set. 2007-08-15 07:26:33 +00:00
Tom Hughes
4fd689b035 Fix exception when username is not known. 2007-08-14 23:38:52 +00:00
Tom Hughes
c2b377efac Salt passwords so that two users with the same password will have
different password hashes in the database.
2007-08-14 23:25:58 +00:00
Tom Hughes
0a8c26e596 Various updates to the user management, including the creation of a
preferences table and moving tokens into a tokens table so that a user
can have more than one.
2007-08-14 23:07:38 +00:00
Tom Hughes
b61e4f77e8 Improve handling of user to user messages. 2007-08-14 17:29:27 +00:00
Tom Hughes
cfa4f10a72 Show the most recent entries first when viewing a user's diary. 2007-06-23 00:11:44 +00:00
Tom Hughes
b982bc6b19 Make "nearby users" show all those within 50km rather than all those
within a degree of latitude and longitude.
2007-06-20 17:04:29 +00:00
Tom Hughes
8c8d55736f Tell users if the reason they can't login is because they haven't activated
their account yet.
2007-06-18 07:27:39 +00:00
Tom Hughes
2afcb4b222 Allow users to change their password from the account page, and get rid
of the separate edit page that (partially) duplicated the account page.
2007-06-12 00:28:53 +00:00
Tom Hughes
0d597c1771 Don't allow [/;.,?] to be used in display names, as those are used as
separator characters by rails when routing, which means a display name
containing them will not work as part of a URL.
2007-06-11 08:43:47 +00:00
Tom Hughes
a187c759b7 Validate passwords properly when creating an account. Fixes #419. 2007-06-09 22:56:18 +00:00
Steve Coast
f01f820f6c patch from Martijn van Oosterhout 2007-05-19 21:20:53 +00:00
Steve Coast
89e976c6e5 updates from hacking day 2007-05-06 10:08:00 +00:00
Nick Black
20e02f42dc messaging stuff and home location selection 2007-05-05 16:05:00 +00:00
John McKerrell
ce37f1ab65 Don't list yourself in the nearby mappers 2007-05-05 15:00:16 +00:00
Nick Black
7bcda2794f resolved user.rb conflict 2007-05-05 14:24:08 +00:00
John McKerrell
bfdef8dc68 Made nearest method work with nil home lat/lon. 2007-05-05 13:37:13 +00:00
Nick Black
078301a780 messaging stuff 2007-05-05 12:29:44 +00:00
Nick Black
8bd09c0828 map view defaults to a home lat and lon 2007-04-30 09:57:54 +00:00
Nick Black
60a294c40e Added user home lat and lon 2007-04-26 09:01:03 +00:00
Steve Coast
f498a9287a various diary bits 2007-04-07 20:12:35 +00:00
Steve Coast
668f8020cc simplify grabbing of a xml base doc 2007-04-07 12:43:48 +00:00
Dan Moore
2709027882 API 0.4: User rename, view trace links, tag filter summary / see all link, traces testing 2007-03-29 22:14:39 +00:00
Dan Moore
d07277efba API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
* traces - added some routes, replicated data access / pagination, but presentation and pending file control not complete
* edit - setup so that applet can be loaded + token authorisation enabled
* API - tests out ok against applet, but had to change segment-node associations
* misc - gems version required upgraded to 1.2.3 (latest stable rails version), changed some find_first to find(:first... calls
2007-03-23 23:13:19 +00:00
Steve Coast
f864203056 First half of a password reset function 2006-11-17 13:31:15 +00:00
Steve Coast
97978ceeb9 more rails front end bits 2006-08-26 17:53:43 +00:00
Steve Coast
c8f9387420 various fixes 2006-08-18 17:54:41 +00:00
Steve Coast
37bd2971b4 more rails updates 2006-08-01 17:50:10 +00:00