Commit graph

388 commits

Author SHA1 Message Date
Tom Hughes
397db07d65 New improved geocoder with extra added AJAX and OSM Namefinder support. 2007-08-07 17:09:37 +00:00
Tom Hughes
e8809a10f5 Ran "rake rails:update" to update resources to latest rails 1.2.3 ones. 2007-08-06 07:53:41 +00:00
Richard Fairhurst
57aeccccc8 various bugfixes, new natural presets 2007-08-03 12:09:24 +00:00
Tom Hughes
0eee4fecbe Fix counting of tagged ways, and handle having more users in the days
columns than the other columns.
2007-08-01 16:05:13 +00:00
Tom Hughes
d34bc8cb52 Fix the "number of users editing..." table. 2007-08-01 15:19:45 +00:00
Tom Hughes
500e6e687f Some statistics improvements:
- Show top 50 GPX uploaders, not just top 10
  - Show counts for editors again
  - Show all editors for the last day, not just top 60
2007-08-01 15:15:06 +00:00
Tom Hughes
dc09bde7f7 Only count visible objects. 2007-08-01 14:42:58 +00:00
Tom Hughes
21c21ccd9c Add a statistics script to replace the horrid (and not in the
repository) one we're using at the moment.
2007-08-01 12:38:53 +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
9f5e4b2b5a Removed unused HTTP status code definitions - we now use the Rails ones. 2007-07-30 23:16:13 +00:00
Tom Hughes
f66f1441ae Switch to storing sessions in the database. 2007-07-30 23:06:31 +00:00
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