Commit graph

  • 76df341f66 Remove SOTM advert from site. Tom Hughes 2007-07-16 23:23:08 +00:00
  • 8afc6abb7e Allow the map centre and marker position to be set independently. Tom Hughes 2007-07-16 09:42:17 +00:00
  • c166d03033 Fix exception handling in GPX importer. Tom Hughes 2007-07-16 06:17:05 +00:00
  • fa1397e988 strip out any control characters before writing to the db Richard Fairhurst 2007-07-13 09:46:39 +00:00
  • 84b67e00a0 fix problematic merge Richard Fairhurst 2007-07-07 13:26:17 +00:00
  • 55d8bc5256 Disable asset tagging to get better caching of assets. Tom Hughes 2007-07-06 13:47:13 +00:00
  • 4bb7ed0291 Add OpenSearch search plugins from Jono to the site. Fixes #506. Tom Hughes 2007-07-05 18:00:30 +00:00
  • 60817dedf0 Restore favicon. Tom Hughes 2007-07-05 15:36:21 +00:00
  • 2788050685 Handle public flag for GPX creation properly. Tom Hughes 2007-07-02 23:38:13 +00:00
  • aacc7ae3e0 Refactor GPX creation routines to share common code. Tom Hughes 2007-07-02 23:33:28 +00:00
  • 743cb57e51 Remove scripts for old slippy map which are no longer used. Tom Hughes 2007-06-30 16:30:28 +00:00
  • 37e74fc5cb Make the slippy map work properly on IE7 at last! Tom Hughes 2007-06-30 15:47:35 +00:00
  • b92e1b0584 Fix some HTML validation issue. Tom Hughes 2007-06-30 12:09:28 +00:00
  • 48a3a317bc Use Math.PI instead of defining it ourselves (and sometimes forgetting). Tom Hughes 2007-06-30 11:25:53 +00:00
  • 4235bdf162 Bring some sort of sanity to sequence numbers for segments in a way - now everything starts counting at one again and nothing starts at zero. Tom Hughes 2007-06-29 23:00:27 +00:00
  • 2804e77cc3 With much assistance from kleptog, make the map wrap when zoomed right out. Tom Hughes 2007-06-29 15:43:14 +00:00
  • 4358a6adcb Only do mappam for www.openstreetmap.org and openstreetmap.org to stop the annoying "wrong API key" errors popping up all the time on my test environment. Tom Hughes 2007-06-29 14:54:55 +00:00
  • 344fced9a6 Remove require_user for the api_details method as that uses HTTP authentication. Also set the content type for API responses. Tom Hughes 2007-06-29 10:33:14 +00:00
  • 5a66dbf907 add mappam... also stuff in user controller that must have been done by TomH? Steve Coast 2007-06-29 10:18:08 +00:00
  • 7901811752 Make sure we clear the tags and segments for a way when it is deleted. Tom Hughes 2007-06-27 23:44:40 +00:00
  • 97d5d1d385 Make passwords with a colon in them work. Tom Hughes 2007-06-27 18:46:23 +00:00
  • fcc485725d Make negative caching of users work. Tom Hughes 2007-06-27 18:16:04 +00:00
  • 9b67da24c0 Fix deprecation warning. Tom Hughes 2007-06-27 18:09:31 +00:00
  • 67224fe828 More search fixes... Tom Hughes 2007-06-27 17:48:05 +00:00
  • cd72ee9a66 Fix way search. Tom Hughes 2007-06-27 17:45:00 +00:00
  • dcad29dad0 Split the rest action into sparate read, update and delete actions thus allowing authorization to be done on a per-action basis without worring about the method. This should make the user API work. Tom Hughes 2007-06-27 17:27:10 +00:00
  • 9d6ae5baae use render proc to write out results, see if that makes things faster Richard Fairhurst 2007-06-27 10:18:55 +00:00
  • 1845b54f66 Fix breakage. Tom Hughes 2007-06-27 07:54:09 +00:00
  • a424b6282f Add more logging... Tom Hughes 2007-06-27 07:52:58 +00:00
  • dcac9dfeca Treat a timestamp that can't be parse as if it didn't exist. Tom Hughes 2007-06-26 23:21:20 +00:00
  • d77fb110fb Enhance logging. Tom Hughes 2007-06-26 22:54:21 +00:00
  • be95e9c9db Create XML documents properly. Tom Hughes 2007-06-26 17:43:24 +00:00
  • e976a6df5a Restrict object IDs to numbers to make search methods route correctly. Tom Hughes 2007-06-26 17:39:00 +00:00
  • 2c5ffbaaaf Fix typo. Tom Hughes 2007-06-26 15:42:52 +00:00
  • b03a3f8889 Add some logging. Tom Hughes 2007-06-26 15:42:05 +00:00
  • 7ac774b00e fixing version problem for way_tags Richard Fairhurst 2007-06-26 12:42:28 +00:00
  • c4307c7f04 Set the log level correctly for the custom logger. Tom Hughes 2007-06-25 23:33:55 +00:00
  • 7cf62a982a Implement a custom log class to make the log more readable. Tom Hughes 2007-06-25 23:26:10 +00:00
  • d7c17fb0b5 more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip Richard Fairhurst 2007-06-24 16:23:12 +00:00
  • 69f364bb78 Enhacements to the migration library code. Tom Hughes 2007-06-24 16:00:46 +00:00
  • 9b5f875a15 better SQL in putway, plus trap any 0/1-length ways that Potlatch may try to upload Richard Fairhurst 2007-06-24 15:22:56 +00:00
  • a3ad9912d5 Primary keys can't have names so don't pretend otherwise. Tom Hughes 2007-06-24 11:38:35 +00:00
  • f042a797c6 Move common support code from the base migration to a library file where it can be used by other migrations. Tom Hughes 2007-06-24 11:25:26 +00:00
  • 18d40684ca Remove old create_database.sql script as it no longers matches the database and everything should be done with migrations now. Tom Hughes 2007-06-24 11:14:29 +00:00
  • 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. Tom Hughes 2007-06-24 11:12:52 +00:00
  • 91461927d4 Fix bogus SQL. Tom Hughes 2007-06-24 10:53:37 +00:00
  • 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. Tom Hughes 2007-06-24 10:51:29 +00:00
  • b3d6d4291e Use a multi-pass approach to parsing GPX files to keep memory usage down. Tom Hughes 2007-06-24 10:38:31 +00:00
  • b383517d2b Fix the segs and tags methods for old_ways so they work. Tom Hughes 2007-06-23 23:21:35 +00:00
  • c184b20f9f Make sure the associations with segments and old ways are properly ordered. Tom Hughes 2007-06-23 23:06:48 +00:00
  • 5fcedc1bf4 Unconfuse OpenLayer's base location detection. Tom Hughes 2007-06-23 18:35:04 +00:00
  • 9619dfdb4b Factor out javascript code to support OpenLayers maps into a common file that is shared by both the (current) pages that display maps. Tom Hughes 2007-06-23 18:29:01 +00:00
  • 9ec1b1bea5 Make sure the diary link in the LHS navigation goes to the global diary. Tom Hughes 2007-06-23 12:46:18 +00:00
  • a97522a3b3 Fix up routes for diary entry changes in r3302. Tom Hughes 2007-06-23 12:44:22 +00:00
  • 1017c4c39a Make per-user diary entry lists go through the diary_entry controller so that we aren't duplicating everything in the user controller. Tom Hughes 2007-06-23 12:41:58 +00:00
  • f0b5776389 Adding tag name to title if available. Dan Karran 2007-06-23 11:30:03 +00:00
  • 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. Dan Karran 2007-06-23 11:08:58 +00:00
  • c102580baa Adding trace link to logged in user's profile too. Dan Karran 2007-06-23 10:59:20 +00:00
  • 467990a45b Adding titles to trace lists Dan Karran 2007-06-23 10:52:34 +00:00
  • b2fa1c24d6 Link from user profile to view traces and to set home location if none is set. Dan Karran 2007-06-23 10:39:23 +00:00
  • cfa4f10a72 Show the most recent entries first when viewing a user's diary. Tom Hughes 2007-06-23 00:11:44 +00:00
  • 0c198107af Correctly record which user deleted an object. Tom Hughes 2007-06-22 15:37:57 +00:00
  • bb4b682d0b Fill in the visible flag correctly when updating the history for a way. Tom Hughes 2007-06-22 15:34:24 +00:00
  • 2dd9538183 Fixup the base migration so that it creates a database which matches the one on the live server. Tom Hughes 2007-06-22 11:10:10 +00:00
  • 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. Tom Hughes 2007-06-21 23:19:25 +00:00
  • 2c98558c86 Add support for segment/:id/ways and node/:id/segments API calls. Fixes #452. Tom Hughes 2007-06-21 22:52:40 +00:00
  • 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. Tom Hughes 2007-06-21 22:50:17 +00:00
  • 8284352436 Support tar archives of traces, with optional gzip or bzip2 compression. Tom Hughes 2007-06-21 10:50:18 +00:00
  • 4cce95ffe0 Set the map units to something OpenLayers? actually understands... Tom Hughes 2007-06-21 09:25:43 +00:00
  • 27532c3c3a Revert accidental commit. Tom Hughes 2007-06-21 09:24:05 +00:00
  • 8b79f7ff0f Set the map units to something OpenLayers actually understands... Tom Hughes 2007-06-21 08:16:50 +00:00
  • e6af088dda Seperating message receiving off into 'inbox' function. Dan Karran 2007-06-20 22:32:15 +00:00
  • b982bc6b19 Make "nearby users" show all those within 50km rather than all those within a degree of latitude and longitude. Tom Hughes 2007-06-20 17:04:29 +00:00
  • 788161010f Make the map on the user account page work. Tom Hughes 2007-06-20 09:51:37 +00:00
  • b609606740 Adding missing parentheses. Tom Hughes 2007-06-20 00:08:29 +00:00
  • b90f331497 Remove empty directories. Tom Hughes 2007-06-20 00:06:36 +00:00
  • e9d3d4d19b Add missing CSS and image resources from OpenLayers 2.4 release and reorganise things to keep OpenLayers stuff together. Tom Hughes 2007-06-20 00:06:02 +00:00
  • c11d961f62 Close a number of holes in the API by making it validate changes more carefully. Tom Hughes 2007-06-19 23:20:39 +00:00
  • 7f2756fe20 Cope with the degenerate case of a GPX file with only a single point. Tom Hughes 2007-06-19 13:58:44 +00:00
  • 7ab154a0ae Return usernames correctly. Tom Hughes 2007-06-19 11:23:12 +00:00
  • 69e0457dea Use DateTime instead of Time for GPX timestamps as it can handle a wider range of dates. Tom Hughes 2007-06-18 23:30:06 +00:00
  • 6464d84c62 Add support for bzip2 compressed trace files. Tom Hughes 2007-06-18 12:31:47 +00:00
  • 8c8d55736f Tell users if the reason they can't login is because they haven't activated their account yet. Tom Hughes 2007-06-18 07:27:39 +00:00
  • 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. Tom Hughes 2007-06-18 07:20:08 +00:00
  • 3a84324222 Starting to tidy up user profiles, adding nearby user list to profile page. Dan Karran 2007-06-17 22:33:14 +00:00
  • 3a375c4c6a Adding a guid element to feed items, replicates URL. Dan Karran 2007-06-17 19:25:35 +00:00
  • 1a1f600243 Using RFC-822 date for RSS feeds. Dan Karran 2007-06-17 19:17:55 +00:00
  • 7eec8de2a6 Setting correct XML content-type for trace RSS feeds. Dan Karran 2007-06-16 21:32:41 +00:00
  • 072b0717e4 Adding titles to some more pages, adding a redirect after sent messages and setting correct XML content-type header for RSS feeds. Dan Karran 2007-06-16 20:38:14 +00:00
  • cbf2dea611 Allow access to all zoom levels again. Tom Hughes 2007-06-15 13:47:08 +00:00
  • 9b446e75cb Don't try and apply pngfix to OpenLayers tile images. Tom Hughes 2007-06-15 13:36:28 +00:00
  • af5fa9e0ca Upgrade OpenLayers to the 2.4 release. Tom Hughes 2007-06-15 13:11:05 +00:00
  • 874c4f367f Don't load pngfix.js on IE7 as it isn't needed. Tom Hughes 2007-06-15 13:03:30 +00:00
  • 7ecc1c4f21 Fix rm call to actually work... Tom Hughes 2007-06-15 11:28:58 +00:00
  • 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. Tom Hughes 2007-06-14 23:55:26 +00:00
  • 8dff7e86e5 Make as executable. Tom Hughes 2007-06-14 23:09:07 +00:00
  • 78dbdf61be Check for GPX files to import every five minutes. Tom Hughes 2007-06-14 23:04:17 +00:00
  • f00d473537 Add a daemon to cleanup stale sessions. Tom Hughes 2007-06-14 23:03:41 +00:00
  • e0013130c2 Don't try and update links on nodes whose names match member functions of the JavaScript Array object... Tom Hughes 2007-06-14 09:29:32 +00:00
  • 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. Tom Hughes 2007-06-13 10:02:37 +00:00