Commit graph

1161 commits

Author SHA1 Message Date
Tom Hughes
1be46302e4 Recognise UK postcodes with a space in the middle. 2007-08-07 23:20:25 +00:00
Tom Hughes
2408dd333f Add a marker to the map when clicking on a search result. 2007-08-07 23:17:13 +00:00
Tom Hughes
bac37f29d2 Cope with the OSM NameFinder returning a result with no nearby places. 2007-08-07 17:29:27 +00:00
Tom Hughes
3bae3e6881 Remove old geocoder views and add new one. 2007-08-07 17:14:27 +00:00
Tom Hughes
6c02cd4b5f Commit SteveC's removal of the mappam ads. 2007-08-07 17:12:29 +00:00
Tom Hughes
397db07d65 New improved geocoder with extra added AJAX and OSM Namefinder support. 2007-08-07 17:09:37 +00:00
Richard Fairhurst
57aeccccc8 various bugfixes, new natural presets 2007-08-03 12:09:24 +00:00
Tom Hughes
8b0e3c1515 Removed unused preferences method from the user controller - the field
no longer exists anyway so it was not at all useful.
2007-07-31 08:21:16 +00:00
Tom Hughes
7f92d533d0 Give up after reporting that the query found too many nodes. 2007-07-30 21:09:58 +00:00
Tom Hughes
1ff72de318 Bloomin Americans that can't spell... 2007-07-29 16:26:57 +00:00
Tom Hughes
7e6a315104 Fix typo. 2007-07-29 16:25:13 +00:00
Tom Hughes
cbb7d97405 Add support for displaying a map covering a specified bounding box. 2007-07-29 14:26:42 +00:00
Tom Hughes
9634ab8fc1 Remember which layers are active in the cookie and URLs. 2007-07-29 14:06:04 +00:00
Tom Hughes
04488fec2c Back out previous change, and use the name in the "Posted by" line to
link to the user details instead.
2007-07-28 19:08:52 +00:00
Tom Hughes
52e58e77c8 Link to a user's details from their diary page. 2007-07-28 19:06:07 +00:00
Tom Hughes
c9f52b3726 Fix links to users' diaries. 2007-07-28 19:02:49 +00:00
Tom Hughes
c409bc5a7d Show an edit link on the trace details page, and use the same zoom level
as the trace list.
2007-07-28 16:49:46 +00:00
Tom Hughes
05f7261763 Add missing quote. 2007-07-28 16:47:22 +00:00
Tom Hughes
da950bbfb4 Add a link to a user's home location if they have one. 2007-07-28 16:39:44 +00:00
Tom Hughes
997aaf1f1a Provide separate map and edit links for each trace. 2007-07-28 16:35:23 +00:00
Tom Hughes
10e13b8fea Use a cookie to remember the last location viewed on the slippy map. 2007-07-28 00:07:31 +00:00
Tom Hughes
985047f18d User null to indicate the the user's home location is not set. 2007-07-27 17:46:01 +00:00
Tom Hughes
3b751f79b8 Handle segments which do not exist correctly and indicate that the
preconditions for the way are not met.
2007-07-27 08:16:12 +00:00
Tom Hughes
9dbe1a497a Add a flag to allow the API to be placed in read-only mode. 2007-07-26 17:15:23 +00:00
Tom Hughes
bd07221de5 Make the search calls a bit more efficient and add some limits on the
number of result objects we are prepared to return.
2007-07-26 14:30:54 +00:00
Steve Coast
48a3ee4d24 move zoom in one level by default 2007-07-25 08:34:37 +00:00
Richard Fairhurst
b598ce68ef ways from unwayed segments now automatically fix segment direction 2007-07-22 22:52:46 +00:00
Tom Hughes
db0e3b8cda Don't include deleted segments when converting unwayed segments to ways. 2007-07-22 11:33:01 +00:00
Tom Hughes
28a706849f Log calls to the makeway method. 2007-07-22 11:30:43 +00:00
Richard Fairhurst
30ac98deef experimental 'make ways out of unwayed segments' feature 2007-07-21 21:07:40 +00:00
Tom Hughes
9866a7ec45 Don't fill in from_display_name for messages - it can be got by
joining to the user table using from_user_id so is going to be
dropped.
2007-07-20 08:07:09 +00:00
Tom Hughes
9e0226113c Don't bother setting user_id for each tracepoint - it is redundant as
the same information can be found by joining to gpx_files. It is also
never used, so the column is going to be removed.
2007-07-20 07:51:46 +00:00
Tom Hughes
7379b4638c Escape names passed to ws.geonames.org as part of the URL. 2007-07-19 15:14:34 +00:00
Tom Hughes
77d2fcf9dd Fixed error handling in the name search and tidied things up a bit. 2007-07-19 13:22:15 +00:00
Tom Hughes
4d1633585f Don't include passwords in the request log. 2007-07-19 08:57:03 +00:00
Tom Hughes
30f740178f Use a full path to find the file command. 2007-07-18 08:37:46 +00:00
Tom Hughes
16358a1d39 Improve MIME type determination for trace files. 2007-07-17 14:45:04 +00:00
Tom Hughes
bce2c88336 Provide a more sensible suggested filename when downloading traces. 2007-07-17 14:34:22 +00:00
Tom Hughes
76df341f66 Remove SOTM advert from site. 2007-07-16 23:23:08 +00:00
Tom Hughes
8afc6abb7e Allow the map centre and marker position to be set independently. 2007-07-16 09:42:17 +00:00
Richard Fairhurst
fa1397e988 strip out any control characters before writing to the db 2007-07-13 09:46:39 +00:00
Richard Fairhurst
84b67e00a0 fix problematic merge 2007-07-07 13:26:17 +00:00
Tom Hughes
4bb7ed0291 Add OpenSearch search plugins from Jono to the site. Fixes #506. 2007-07-05 18:00:30 +00:00
Tom Hughes
2788050685 Handle public flag for GPX creation properly. 2007-07-02 23:38:13 +00:00
Tom Hughes
aacc7ae3e0 Refactor GPX creation routines to share common code. 2007-07-02 23:33:28 +00:00
Tom Hughes
37e74fc5cb Make the slippy map work properly on IE7 at last! 2007-06-30 15:47:35 +00:00
Tom Hughes
b92e1b0584 Fix some HTML validation issue. 2007-06-30 12:09:28 +00:00
Tom Hughes
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.
2007-06-29 23:00:27 +00:00
Tom Hughes
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.
2007-06-29 14:54:55 +00:00
Tom Hughes
344fced9a6 Remove require_user for the api_details method as that uses HTTP authentication.
Also set the content type for API responses.
2007-06-29 10:33:14 +00:00