Commit graph

247 commits

Author SHA1 Message Date
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
Richard Fairhurst
d7c17fb0b5 more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip 2007-06-24 16:23:12 +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
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
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
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
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
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
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
Tom Hughes
8c8d55736f Tell users if the reason they can't login is because they haven't activated
their account yet.
2007-06-18 07:27:39 +00:00
Tom Hughes
0e66875ace Make it clear that new accounts need to be actived by clicking on the
confirm link in the email before they can be used.
2007-06-18 07:20:08 +00:00
Dan Karran
3a84324222 Starting to tidy up user profiles, adding nearby user list to profile page. 2007-06-17 22:33:14 +00:00
Dan Karran
7eec8de2a6 Setting correct XML content-type for trace RSS feeds. 2007-06-16 21:32:41 +00:00
Dan Karran
072b0717e4 Adding titles to some more pages, adding a redirect after sent messages and setting correct XML content-type header for RSS feeds. 2007-06-16 20:38:14 +00:00
Tom Hughes
cbf2dea611 Allow access to all zoom levels again. 2007-06-15 13:47:08 +00:00
Tom Hughes
af5fa9e0ca Upgrade OpenLayers to the 2.4 release. 2007-06-15 13:11:05 +00:00
Tom Hughes
874c4f367f Don't load pngfix.js on IE7 as it isn't needed. 2007-06-15 13:03:30 +00:00
Tom Hughes
7ecc1c4f21 Fix rm call to actually work... 2007-06-15 11:28:58 +00:00
Tom Hughes
235999b835 When a new user confirms their email address, log them automatically and
redirect them to their account page so they can set their home location
and description if they want.
2007-06-14 23:55:26 +00:00
Tom Hughes
7b9272ffa6 Make sure we always put a valid URL on the edit tab, and allow switching
to the editor to work from z11 instead of z14 as that is what Potlatch
supports.

Also fix default zooms for Potlatch when no position is given.
2007-06-13 10:02:37 +00:00
Tom Hughes
f7f2b7482d Add the search boxes to the edit page. 2007-06-12 16:51:12 +00:00
Tom Hughes
c99992f85f Be a bit more intelligent when trying to update the arguments on a link. 2007-06-12 16:16:49 +00:00
Tom Hughes
945e4ddcc8 Set the lat and long on the view and edit tabs when the map is loaded. 2007-06-12 10:13:15 +00:00