Commit graph

223 commits

Author SHA1 Message Date
Tom Hughes
e15916ad5b Let exceptions propagate to the default handler for ways so they are logged. 2007-08-31 18:10:44 +00:00
Tom Hughes
18453600aa Split the createuniquenodes query in two as MySQL was choosing a very
bad execution plan for it with the OR condition.
2007-08-31 11:14:40 +00:00
Tom Hughes
0975858cdb Allow exceptions processing node and segment requests to propagate and
be handled by the default handler so they are logged.
2007-08-31 10:11:15 +00:00
Tom Hughes
a7f00eefc4 Correct calculation of reciprocal angles. 2007-08-25 22:33:46 +00:00
Tom Hughes
e376f3c009 Include a general location from GeoNames in the reverse geocode description. 2007-08-24 22:50:34 +00:00
Tom Hughes
d2bd78627e More search improvements - a "Where am I?" link that does a reverse
search, and various cleanups to the previous changes.
2007-08-24 18:53:30 +00:00
Tom Hughes
034982a12f If a search only finds one result then jump straight to it instead of
opening a list of results.
2007-08-24 17:38:36 +00:00
Tom Hughes
d274c0e3d8 Put the option to delete GPS traces back. Fixes #405. 2007-08-22 18:01:23 +00:00
Tom Hughes
30c20855e3 Fix thinko. 2007-08-22 07:40:23 +00:00
Tom Hughes
8b62df8b9c Only allow users to read their own messages. 2007-08-22 07:38:50 +00:00
Tom Hughes
dc3edbe7c1 Add a capabilities API call. Fixes #410. 2007-08-21 23:27:42 +00:00
Tom Hughes
9738e3f648 Handle errors a bit better. 2007-08-20 14:22:51 +00:00
Tom Hughes
755a2c596c Add additional validation to the user model and tidy up a few things on
the account options page.
2007-08-19 12:27:23 +00:00
Tom Hughes
9f58d17242 Handle files uploaded via the API properly. 2007-08-18 20:49:15 +00:00
Dan Karran
3c79240a6a Showing all messages in inbox, but sorting by date DESC and highlighting new ones. Adding link from message reading page back to inbox. Mark as read/unread. 2007-08-17 18:05:09 +00:00
Tom Hughes
44051f30d8 Make the gpx/id/data API call work, and make gpx/create a POST method
so arguments can be handled more robustly.
2007-08-16 23:04:18 +00:00
Tom Hughes
6ba4e831a7 Ignore exceptions looking up a user from a session. 2007-08-16 13:07:24 +00:00
Tom Hughes
08b71b48e1 Tidy up trace handling a bit, and add support for per-user and per-tag feeds. 2007-08-15 18:10:18 +00:00
Tom Hughes
0a8c26e596 Various updates to the user management, including the creation of a
preferences table and moving tokens into a tokens table so that a user
can have more than one.
2007-08-14 23:07:38 +00:00
Tom Hughes
e70d94c54a Don't create sessions for API calls. 2007-08-14 13:59:07 +00:00
Tom Hughes
deb3c74fc7 Add the author name to RSS feeds. 2007-08-14 09:22:29 +00:00
Tom Hughes
289eac6bcd Remove bogus setting of title attribute. 2007-08-14 00:00:35 +00:00
Tom Hughes
0a18deef09 Fix title and tidy up a few things. 2007-08-09 22:02:03 +00:00
Tom Hughes
9b04fb5789 Enable compression for object history API calls. 2007-08-09 11:41:38 +00:00
Tom Hughes
183841d10e Return "404 Not Found" for users and traces which don't exist. 2007-08-09 07:45:04 +00:00
Tom Hughes
07ad4a36ea Use the rails paginator to paginate the trace list, and abstract some
common template code into a partial.
2007-08-08 23:58:37 +00:00
Tom Hughes
4ac48d2cb5 Cope with results from the OSM Namefinder that have no name. 2007-08-08 17:05:28 +00:00
Tom Hughes
bb43a46bab Only use the actual name that matched as the link, which helps to highlight it. 2007-08-07 23:51:02 +00:00
Tom Hughes
1be46302e4 Recognise UK postcodes with a space in the middle. 2007-08-07 23:20:25 +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
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