Tom Hughes
5a2ad3655b
Replace a couple calls to inject with more readble constructs.
2009-10-01 20:39:04 +00:00
Tom Hughes
8217c55523
Correct comment.
2009-10-01 20:24:53 +00:00
Matt Amos
77851bac7b
Added better messages and error handling in a couple of places. Added integration checks to ensure that the blocking is actually working. Tests FTW.
2009-09-30 17:39:42 +00:00
Matt Amos
ca06b3c7b1
New migration to add better auditing to user_roles and better column names there and on user_blocks. Added a helper for displaying block status messages.
2009-09-29 16:44:03 +00:00
Matt Amos
daa2496024
First version of blocking feature. Allows both time-based (for map protection) and notice-based (for education) blocks on users. Also introduces user roles and a simple UI for displaying and administering these.
2009-09-28 16:01:00 +00:00
Tom Hughes
63b399c9b2
Update to rails 2.3.4 for security fixes.
2009-09-04 08:45:38 +00:00
Tom Hughes
908a6ef409
Merge 16891:17044 from trunk.
2009-08-13 17:18:08 +00:00
Tom Hughes
565171486f
Add extra visibility options for GPS traces, and enhance the API call
...
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
2009-08-13 17:06:11 +00:00
Tom Hughes
cbbfdf3948
Merge 16743:16811 from trunk.
2009-08-03 23:50:47 +00:00
Tom Hughes
254ce1eca0
Exclude deleted messages from the new_messages relationship.
2009-08-03 14:33:53 +00:00
Matt Amos
05e2120273
Merged 16488:16743 from trunk.
2009-07-31 10:42:06 +00:00
Tom Hughes
70cf737626
Ignore deleted traces when returning a user's traces. Fixes #2093 .
2009-07-23 17:45:28 +00:00
Tom Hughes
581c243e0e
Allow messages to be deleted from the outbox as well as the inbox.
2009-07-23 17:41:50 +00:00
Tom Hughes
f3bf0c8b14
Add the ability for a recipient to (logically) delete a message from
...
their INBOX so they no longer see it.
2009-07-23 15:22:44 +00:00
Tom Hughes
f4571eeb7c
Revert r16046.
...
DO NOT COMMIT MAJOR ENHANCEMENTS TO TRUNK WITHOUT TALKING TO ME FIRST.
2009-06-23 02:48:38 +00:00
Matt Amos
b8f6dbd403
Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests.
2009-06-22 16:54:37 +00:00
Tom Hughes
5de81dc4b0
More work on optimisation the location of nearby users - it turns out
...
that getting the database to do the filtering is much better as it
avoids us constructing thousands of user objects only to then throw
most of them away again.
2009-06-05 09:30:31 +00:00
Tom Hughes
857eeae8b2
Optimise the finding of nearby users a bit.
2009-06-05 08:27:45 +00:00
Shaun McDonald
2875a2c4b3
more tranlations for validations. Bug fix for the missing translation of the gps upload
2009-06-01 18:09:24 +00:00
Tom Hughes
5294e4d989
Send notification messages in the target user's language.
2009-05-31 16:10:53 +00:00
Tom Hughes
0e96027a20
Sort out storage and use of user preferred languages.
2009-05-31 14:55:45 +00:00
Shaun McDonald
53b4d645d8
First stage of i18n. Some migrations and extra plugins.
2009-05-22 18:36:17 +00:00
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