Commit graph

187 commits

Author SHA1 Message Date
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
Tom Hughes
144640c9ed Fix tag splitting. 2007-11-24 01:00:53 +00:00
Mikel Maron
d736a158be message outbox 2007-11-21 18:24:29 +00:00
Tom Hughes
9ec8ef0220 Add escaping of semicolon and equals in node tags.
Based on patch from Dave Stubbs.
2007-11-21 13:30:55 +00:00
Tom Hughes
3aa8ffbcb8 Tidy up mail notifiers and make them more rails style rather then
relying on ActionMailer implementation details.
2007-10-30 00:48:45 +00:00
Frederik Ramm
8a69ef115a way history needs to reference nodes with ref=... not id=... 2007-10-26 18:14:48 +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
Tom Hughes
dd33fc633c Factor out common code for models which deal with geographic points
into a base class.
2007-10-10 23:00:25 +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
Gabriel Ebner
26fb51c86e rails_port_0.5: Merge rails_port. 2007-09-29 17:44:17 +00:00
Tom Hughes
6595f97c53 Make the name of the lon/lng virtual attribute on trace points consistent. 2007-09-28 23:19:19 +00:00
Gabriel Ebner
e03ea17a22 rails_port_0.5: Merge rails_port r4643 2007-09-22 19:55:33 +00:00
Tom Hughes
df31fe13a5 Use quadtiling for the node tables. 2007-09-21 13:43:43 +00:00
Gabriel Ebner
cfbdd3f7e1 Merge rails_port as of r4613 & fix tests. 2007-09-20 14:37:29 +00:00
Tom Hughes
27d8f2ef63 Include a reply link in email notifications of messages. 2007-09-19 10:37:32 +00:00
Tom Hughes
9afb35449b Change the gps_points table to store latitude and longitude values to
seven decimal places to given a worse case precision of about 1cm.
2007-09-18 23:29:47 +00:00
Dan Karran
78ef65aff7 Include message body in notification emails for convenience. 2007-09-16 14:52:50 +00:00
Tom Hughes
d19ca7c44b Fill in the tile ID before saving a trace point. Also add appropriate
validation to the tracepoint model.
2007-09-12 14:33:37 +00:00
Tom Hughes
0423884184 Use QuadTiling in GPS point queries. 2007-09-12 12:14:45 +00:00
Dan Karran
285d61bf4c Send an email notification out when a new message is waiting on the site for you. 2007-09-05 22:27:22 +00:00
Tom Hughes
4954f65061 Don't bother deleting points which don't exist before importing a
trace - this avoids locking the table in the common case where there
are no points to delete.
2007-09-04 16:22:03 +00:00
Tom Hughes
d3b42fef34 Add extra validation to messages and diary entries. 2007-09-04 14:05:13 +00:00
Tom Hughes
603d1be4bd Get the timestamp outside the transactionso everything can see it. 2007-09-01 06:48:59 +00:00
Tom Hughes
b948dd6d52 Fix typo. 2007-09-01 06:39:10 +00:00
Tom Hughes
5fe7a5bbbc Split the transaction used for ways so that we recover more cleanly
without leaving rubbish in the database.
2007-08-31 23:10:33 +00:00
Frederik Ramm
6d07f5661a changed from nd id=... to nd ref=... 2007-08-31 22:33:27 +00:00
Tom Hughes
e15916ad5b Let exceptions propagate to the default handler for ways so they are logged. 2007-08-31 18:10:44 +00:00
Tom Hughes
0975858cdb Allow exceptions processing node and segment requests to propagate and
be handled by the default handler so they are logged.
2007-08-31 10:11:15 +00:00
Frederik Ramm
78b440ffc1 preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
Frederik Ramm
02451061ce segment stuff removed 2007-08-29 21:38:38 +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
Tom Hughes
9861ca8001 Move tag validation to the right place. 2007-08-19 09:16:33 +00:00
Tom Hughes
7dbb746fde Throw an exception if saving the imported trace fails. 2007-08-19 09:11:59 +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
44051f30d8 Make the gpx/id/data API call work, and make gpx/create a POST method
so arguments can be handled more robustly.
2007-08-16 23:04:18 +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
c9370930ea Add a model for sessions. 2007-08-09 23:21:17 +00:00
Tom Hughes
3b751f79b8 Handle segments which do not exist correctly and indicate that the
preconditions for the way are not met.
2007-07-27 08:16:12 +00:00
Tom Hughes
9e0226113c Don't bother setting user_id for each tracepoint - it is redundant as
the same information can be found by joining to gpx_files. It is also
never used, so the column is going to be removed.
2007-07-20 07:51:46 +00:00
Tom Hughes
30f740178f Use a full path to find the file command. 2007-07-18 08:37:46 +00:00
Tom Hughes
16358a1d39 Improve MIME type determination for trace files. 2007-07-17 14:45:04 +00:00
Tom Hughes
bce2c88336 Provide a more sensible suggested filename when downloading traces. 2007-07-17 14:34:22 +00:00
Tom Hughes
4235bdf162 Bring some sort of sanity to sequence numbers for segments in a
way - now everything starts counting at one again and nothing starts
at zero.
2007-06-29 23:00:27 +00:00
Tom Hughes
fcc485725d Make negative caching of users work. 2007-06-27 18:16:04 +00:00