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
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