Commit graph

159 commits

Author SHA1 Message Date
Nick Black
6f6e827702 added task to add version numbers to nodes table 2008-01-23 18:39:29 +00:00
Tom Hughes
07e8449625 Allow a GPX to be fetched in XML format by fetching data.xml instead
of data (the data method returns it in the format it is stored in).

Closes #534.
2008-01-23 13:40:47 +00:00
Nick Black
c93c841ed2 updated rake task to grab 1000 records at a time 2008-01-23 12:49:34 +00:00
Nick Black
e6fab03800 rake task to populate node_tags and current_node_tags tables with values from the nodes and current_nodes tables. migration 011 and 012 must be applied before this task. 2008-01-23 11:44:34 +00:00
Tom Hughes
7fc2dbecd5 Migrate web site to use rails 2.0.1. 2008-01-06 12:17:58 +00:00
Tom Hughes
dffd645c50 Update GPX daemon control script to match current template from the
daemons plugin.
2008-01-05 16:16:36 +00:00
Tom Hughes
5bf4ce35c0 Fix picture generation to avoid truncating the sides of the image for
a trace that is wider than it is tall.
2008-01-05 15:23:04 +00:00
Tom Hughes
2ba147e7fa Clear gotele and gotdate when we see the start of a trkpt element to
avoid inheriting previous data.
2007-11-26 16:28:28 +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
8d2f6da628 Rework image generation to work in a fixed amount of memory. Closes #580. 2007-10-31 13:46:36 +00:00
Tom Hughes
f82f362cea Fix geolocation to actually work... 2007-10-12 16:34:38 +00:00
Tom Hughes
b084685bba Force C99 mode. 2007-10-08 07:54:54 +00:00
Tom Hughes
68637a381c Process traces in order. 2007-09-24 22:59:34 +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
Tom Hughes
62dfa5ff45 Make the tile ID column unsigned as intended. 2007-09-18 23:06:40 +00:00
Tom Hughes
349413a520 Allow column names in area conditions to be qualified, and do so for
the SWF queries which sometimes reference more than one table with
columns named latitude and longitude.
2007-09-14 11:16:25 +00:00
Tom Hughes
33a65a90c9 QuadTile infrastructure. 2007-09-11 23:55:25 +00:00
Tom Hughes
22bcfb1240 Replace the old session cleanup daemon with a new script to be run from
cron periodically.
2007-08-25 09:53:07 +00:00
Tom Hughes
4f26daaa10 There's no point importing a trace that is scheduled for deletion. 2007-08-23 17:26:44 +00:00
Tom Hughes
d274c0e3d8 Put the option to delete GPS traces back. Fixes #405. 2007-08-22 18:01:23 +00:00
Tom Hughes
d45db3acc4 Fix image referred to in RSS feeds so that it actually exists. 2007-08-15 18:12:37 +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
deb3c74fc7 Add the author name to RSS feeds. 2007-08-14 09:22:29 +00:00
Tom Hughes
d77e5f9d4d Ignore timeouts doing IP geolocation. 2007-08-08 21:09:26 +00:00
Tom Hughes
6706ca3c50 Use IP GeoLocation to choose a default view for the slippy map if
we don't have any better ideas.
2007-08-08 12:37:16 +00:00
Tom Hughes
c166d03033 Fix exception handling in GPX importer. 2007-07-16 06:17:05 +00:00
Tom Hughes
dcac9dfeca Treat a timestamp that can't be parse as if it didn't exist. 2007-06-26 23:21:20 +00:00
Tom Hughes
69f364bb78 Enhacements to the migration library code. 2007-06-24 16:00:46 +00:00
Tom Hughes
a3ad9912d5 Primary keys can't have names so don't pretend otherwise. 2007-06-24 11:38:35 +00:00
Tom Hughes
f042a797c6 Move common support code from the base migration to a library file where
it can be used by other migrations.
2007-06-24 11:25:26 +00:00
Tom Hughes
b3d6d4291e Use a multi-pass approach to parsing GPX files to keep memory usage down. 2007-06-24 10:38:31 +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
7f2756fe20 Cope with the degenerate case of a GPX file with only a single point. 2007-06-19 13:58:44 +00:00
Tom Hughes
69e0457dea Use DateTime instead of Time for GPX timestamps as it can handle a
wider range of dates.
2007-06-18 23:30:06 +00:00
Dan Karran
3a375c4c6a Adding a guid element to feed items, replicates URL. 2007-06-17 19:25:35 +00:00
Dan Karran
1a1f600243 Using RFC-822 date for RSS feeds. 2007-06-17 19:17:55 +00:00
Tom Hughes
8dff7e86e5 Make as executable. 2007-06-14 23:09:07 +00:00
Tom Hughes
78dbdf61be Check for GPX files to import every five minutes. 2007-06-14 23:04:17 +00:00
Tom Hughes
f00d473537 Add a daemon to cleanup stale sessions. 2007-06-14 23:03:41 +00:00
Dan Karran
c43fac76df left a bit in previous commit that shouldn't have been there. 2007-06-11 21:23:03 +00:00
Dan Karran
eada120ffa #499: Making GeoRSS class more reusable and stopping geotags being added if there is no geodata to be represented. The only reference I can find to code using this class currently is the GPX GeoRSS generator which doesn't specify any parameters, so it shouldn't matter that I have added a title parameter before the description parameter. 2007-06-11 21:19:25 +00:00
Tom Hughes
a7d41f09eb Refactor GPX import code to make reimporting old traces easier. 2007-06-09 23:34:50 +00:00
Dan Karran
d95c17e4f7 #374: changing W3C geo tags to use 'long' instead of 'lon', per spec. 2007-06-09 21:41:48 +00:00
Steve Coast
a0e8c35c1b various things from TomH 2007-05-29 23:25:41 +00:00
Richard Fairhurst
4769eec5aa TomH's patches 2007-05-28 14:54:50 +00:00
Steve Coast
40c7e0f9aa apply patch from TomH for #477 and dont require http auth on GET to the API. 2007-05-24 11:20:16 +00:00
Steve Coast
e25cbb009a various gpx bits 2007-05-10 22:14:11 +00:00
Steve Coast
89e976c6e5 updates from hacking day 2007-05-06 10:08:00 +00:00
Steve Coast
9f8952b6ef fix import bug, make points commify 2007-04-07 16:56:45 +00:00