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
Tom Hughes
dcad29dad0
Split the rest action into sparate read, update and delete actions thus
...
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.
Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Tom Hughes
71606b34f0
Make sure we get the list of tags and segments to save before we do the
...
corresponding delete, as otherwise we might not have read them from the
database yet.
2007-06-24 11:12:52 +00:00
Tom Hughes
b383517d2b
Fix the segs and tags methods for old_ways so they work.
2007-06-23 23:21:35 +00:00
Tom Hughes
c184b20f9f
Make sure the associations with segments and old ways are properly ordered.
2007-06-23 23:06:48 +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
bb4b682d0b
Fill in the visible flag correctly when updating the history for a way.
2007-06-22 15:34:24 +00:00
Tom Hughes
d781f42016
Avoid reading traces and trace images into memory when sending them to
...
the client, and make sure the MIME type is correct for trace files.
2007-06-21 23:19:25 +00:00
Tom Hughes
8284352436
Support tar archives of traces, with optional gzip or bzip2 compression.
2007-06-21 10:50:18 +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
c11d961f62
Close a number of holes in the API by making it validate changes
...
more carefully.
2007-06-19 23:20:39 +00:00
Tom Hughes
7ab154a0ae
Return usernames correctly.
2007-06-19 11:23:12 +00:00
Tom Hughes
6464d84c62
Add support for bzip2 compressed trace files.
2007-06-18 12:31:47 +00:00