Commit graph

72 commits

Author SHA1 Message Date
Gabriel Ebner
86b4d1bc2c api06: Move version-checking into the models, raising an exception on mismatch
(still not implemented for delete requests though.)
2008-05-12 21:05:11 +00:00
Gabriel Ebner
6c31dbaaec split_node_tags: Remove old unused files. 2008-05-04 09:04:40 +00:00
Gabriel Ebner
ba01b66242 split_node_tags: Implement key constraints. 2008-05-04 08:25:29 +00:00
Tom Hughes
7d0a281d5b Include tags in GPX success and failure mails. Closes #480. 2008-04-27 12:18:19 +00:00
Tom Hughes
d13ef1db02 More work on export tab. 2008-04-14 23:46:10 +00:00
Richard Fairhurst
ae142c554b Potlatch 0.8 - be afraid, be very, very afraid 2008-03-19 01:03:51 +00:00
Tom Hughes
8516ad87b3 Add missing sanitise_boundaries method that the API controller was
trying to call.
2008-02-03 15:38:02 +00:00
Nick Black
051e44c63a fixed bug in add version rake task 2008-01-25 17:02:43 +00:00
Steve Coast
bbd769304c dont eager load tags (false primary key fucks all sorts of things up) and move delete way logic to model so that amf_controller can use it (plan is to do this with all of the methods. sigh.) 2008-01-25 14:32:45 +00:00
Nick Black
2ce8177333 fixed null value bug in rake task 2008-01-25 14:26:39 +00:00
Steve Coast
63e0486ca1 Lots of documentation updates, plus split out potlatch libraries in to lib 2008-01-24 16:03:56 +00:00
Xin Zheng
a59b23a18d added module 2008-01-24 11:07:46 +00:00
Steve Coast
3bd92c1670 move potlatch presets to only be generated once, and allow pulling in way_tags in a way via a false primary key 2008-01-24 10:52:10 +00:00
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