Commit graph

827 commits

Author SHA1 Message Date
Tom Hughes
87a673e74c Add migration to create session table in the database. 2007-07-30 22:59:20 +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
f601f014ca New database migration to cleanup lots of things. 2007-07-29 19:30:11 +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
79457cd43e Factor out loading of the various fixtures needed to test API calls
into a shared method.
2007-07-27 08:47:35 +00:00
Tom Hughes
c1089f6149 Load way fixtures so segment delete tests will fail when segments
are in use.
2007-07-27 08:29:13 +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
Frederik Ramm
efc4c6f85d added more tests 2007-07-26 22:05:51 +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
Tom Hughes
d52e391a0d Make the API consistent about whether object names are plural in
search calls.
2007-07-26 14:24:08 +00:00
Steve Coast
48a3ee4d24 move zoom in one level by default 2007-07-25 08:34:37 +00:00
Tom Hughes
b13eb8824e Add some basic tests for nodes. 2007-07-24 22:58:16 +00:00
Tom Hughes
7d6c662296 Use SQL schemas, as ruby can't cope with the things we do... 2007-07-24 22:57:59 +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
Richard Fairhurst
837e58711c drag newly created points 2007-07-21 14:05:20 +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
Richard Fairhurst
95d9ae83ab smarter whichways behaviour, couple of small bugfixes 2007-07-19 20:37:05 +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
Tom Hughes
c166d03033 Fix exception handling in GPX importer. 2007-07-16 06:17:05 +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
55d8bc5256 Disable asset tagging to get better caching of assets. 2007-07-06 13:47:13 +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
60817dedf0 Restore favicon. 2007-07-05 15:36:21 +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