Commit graph

193 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
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
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
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
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
bce2c88336 Provide a more sensible suggested filename when downloading traces. 2007-07-17 14:34:22 +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
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
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
Steve Coast
5a66dbf907 add mappam... also stuff in user controller that must have been done by TomH? 2007-06-29 10:18:08 +00:00
Tom Hughes
7901811752 Make sure we clear the tags and segments for a way when it is deleted.
Also remove some redundant setting of timestamps that will be overwritten
by the model when saving.
2007-06-27 23:44:40 +00:00
Tom Hughes
97d5d1d385 Make passwords with a colon in them work. 2007-06-27 18:46:23 +00:00
Tom Hughes
9b67da24c0 Fix deprecation warning. 2007-06-27 18:09:31 +00:00
Tom Hughes
67224fe828 More search fixes... 2007-06-27 17:48:05 +00:00
Tom Hughes
cd72ee9a66 Fix way search. 2007-06-27 17:45:00 +00:00
Tom Hughes
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.

Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Richard Fairhurst
9d6ae5baae use render proc to write out results, see if that makes things faster 2007-06-27 10:18:55 +00:00
Tom Hughes
1845b54f66 Fix breakage. 2007-06-27 07:54:09 +00:00
Tom Hughes
a424b6282f Add more logging... 2007-06-27 07:52:58 +00:00
Tom Hughes
d77fb110fb Enhance logging. 2007-06-26 22:54:21 +00:00
Tom Hughes
be95e9c9db Create XML documents properly. 2007-06-26 17:43:24 +00:00
Tom Hughes
2c5ffbaaaf Fix typo. 2007-06-26 15:42:52 +00:00
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
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
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
467990a45b Adding titles to trace lists 2007-06-23 10:52:34 +00:00
Tom Hughes
0c198107af Correctly record which user deleted an object. 2007-06-22 15:37:57 +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
Dan Karran
e6af088dda Seperating message receiving off into 'inbox' function. 2007-06-20 22:32:15 +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
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
7eec8de2a6 Setting correct XML content-type for trace RSS feeds. 2007-06-16 21:32:41 +00:00