Commit graph

305 commits

Author SHA1 Message Date
Tom Hughes
e976a6df5a Restrict object IDs to numbers to make search methods route correctly. 2007-06-26 17:39:00 +00:00
Tom Hughes
2c5ffbaaaf Fix typo. 2007-06-26 15:42:52 +00:00
Tom Hughes
b03a3f8889 Add some logging. 2007-06-26 15:42:05 +00:00
Richard Fairhurst
7ac774b00e fixing version problem for way_tags 2007-06-26 12:42:28 +00:00
Tom Hughes
c4307c7f04 Set the log level correctly for the custom logger. 2007-06-25 23:33:55 +00:00
Tom Hughes
7cf62a982a Implement a custom log class to make the log more readable. 2007-06-25 23:26:10 +00:00
Richard Fairhurst
d7c17fb0b5 more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip 2007-06-24 16:23:12 +00:00
Tom Hughes
69f364bb78 Enhacements to the migration library code. 2007-06-24 16:00:46 +00:00
Richard Fairhurst
9b5f875a15 better SQL in putway, plus trap any 0/1-length ways that Potlatch may try to upload 2007-06-24 15:22:56 +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
18d40684ca Remove old create_database.sql script as it no longers matches the
database and everything should be done with migrations now.
2007-06-24 11:14:29 +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
91461927d4 Fix bogus SQL. 2007-06-24 10:53:37 +00:00
Tom Hughes
a4647430aa Allow all trackpoints to be fetched, not just those from public traces and
the user's own traces. Also restore the 0.3 API functionality that eliminate
duplicate points.
2007-06-24 10:51:29 +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
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
5fcedc1bf4 Unconfuse OpenLayer's base location detection. 2007-06-23 18:35:04 +00:00
Tom Hughes
9619dfdb4b Factor out javascript code to support OpenLayers maps into a common file
that is shared by both the (current) pages that display maps.
2007-06-23 18:29:01 +00:00
Tom Hughes
9ec1b1bea5 Make sure the diary link in the LHS navigation goes to the global diary. 2007-06-23 12:46:18 +00:00
Tom Hughes
a97522a3b3 Fix up routes for diary entry changes in r3302. 2007-06-23 12:44:22 +00:00
Tom Hughes
1017c4c39a Make per-user diary entry lists go through the diary_entry controller so
that we aren't duplicating everything in the user controller.

This also makes per-user RSS feeds work, and makes links to specific posts
work properly so that the RSS feeds behave sensibly.
2007-06-23 12:41:58 +00:00
Dan Karran
f0b5776389 Adding tag name to title if available. 2007-06-23 11:30:03 +00:00
Dan Karran
0cf6df6d3a Removing list of nearby users from account page (now duplicated publicly on user profile page), changing 'Name' label to 'Email' and moving the description textbox further up the page. 2007-06-23 11:08:58 +00:00
Dan Karran
c102580baa Adding trace link to logged in user's profile too. 2007-06-23 10:59:20 +00:00
Dan Karran
467990a45b Adding titles to trace lists 2007-06-23 10:52:34 +00:00
Dan Karran
b2fa1c24d6 Link from user profile to view traces and to set home location if none is set. 2007-06-23 10:39:23 +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
0c198107af Correctly record which user deleted an object. 2007-06-22 15:37:57 +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
2dd9538183 Fixup the base migration so that it creates a database which matches the
one on the live server.
2007-06-22 11:10:10 +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
2c98558c86 Add support for segment/:id/ways and node/:id/segments API calls. Fixes #452. 2007-06-21 22:52:40 +00:00
Tom Hughes
6020e0519e Only treat a user as logged in if the user object has an id value - this
avoids problem when creating an account fails and leaves an unsaved user
object with no id value.
2007-06-21 22:50:17 +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
4cce95ffe0 Set the map units to something OpenLayers? actually understands... 2007-06-21 09:25:43 +00:00
Tom Hughes
27532c3c3a Revert accidental commit. 2007-06-21 09:24:05 +00:00
Tom Hughes
8b79f7ff0f Set the map units to something OpenLayers actually understands... 2007-06-21 08:16:50 +00:00
Dan Karran
e6af088dda Seperating message receiving off into 'inbox' function. 2007-06-20 22:32:15 +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
788161010f Make the map on the user account page work. 2007-06-20 09:51:37 +00:00
Tom Hughes
b609606740 Adding missing parentheses. 2007-06-20 00:08:29 +00:00
Tom Hughes
b90f331497 Remove empty directories. 2007-06-20 00:06:36 +00:00
Tom Hughes
e9d3d4d19b Add missing CSS and image resources from OpenLayers 2.4 release and
reorganise things to keep OpenLayers stuff together.
2007-06-20 00:06:02 +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
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
7ab154a0ae Return usernames correctly. 2007-06-19 11:23:12 +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
Tom Hughes
6464d84c62 Add support for bzip2 compressed trace files. 2007-06-18 12:31:47 +00:00