Commit graph

42 commits

Author SHA1 Message Date
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
Steve Coast
668f8020cc simplify grabbing of a xml base doc 2007-04-07 12:43:48 +00:00
Dan Moore
d07277efba API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
* traces - added some routes, replicated data access / pagination, but presentation and pending file control not complete
* edit - setup so that applet can be loaded + token authorisation enabled
* API - tests out ok against applet, but had to change segment-node associations
* misc - gems version required upgraded to 1.2.3 (latest stable rails version), changed some find_first to find(:first... calls
2007-03-23 23:13:19 +00:00
Steve Coast
e5f292cf21 gpx rss and gpx cleanups 2006-12-08 17:25:23 +00:00
Steve Coast
dd1f94e341 trace bits and a georss class 2006-12-08 15:31:04 +00:00
Steve Coast
6559db51df various gpx rails things 2006-12-06 17:55:22 +00:00
Steve Coast
93dab8a127 lots of rails gpx stuff 2006-12-01 20:38:29 +00:00
Steve Coast
92418b7954 gpx insert now works 2006-12-01 17:56:13 +00:00
Steve Coast
fac305e87b various gpx bits 2006-12-01 15:59:13 +00:00
Steve Coast
fcd37587f2 add daemons 2006-12-01 12:06:38 +00:00