Commit graph

5883 commits

Author SHA1 Message Date
Tom Hughes
5400a938a8 Optimise tag searching of ways and relations a bit more... 2007-12-20 10:15:45 +00:00
Tom Hughes
a617159352 Optimise search queries for ways and relations to stand some chance
of being efficient.
2007-12-20 09:50:08 +00:00
Richard Fairhurst
3461b7a699 attempt fix for anon users 2007-12-12 20:17:12 +00:00
Richard Fairhurst
df3db35c96 enable revert 2007-12-09 15:20:47 +00:00
Tom Hughes
0c549650eb Change postcode searches to use z15 instead of z12. 2007-12-07 00:12:49 +00:00
Tom Hughes
15c492ebfe Try and make asset tagging actually work. 2007-12-06 18:42:45 +00:00
Tom Hughes
c1299fbb35 Use the z13 key for z13 and over. 2007-12-05 12:15:41 +00:00
Richard Fairhurst
ede76d8dc5 DROP TEMPORARY TABLE so Tom can turn the privs down 2007-12-03 17:15:07 +00:00
Richard Fairhurst
0ab2db3979 move preset tags and colours into config files 2007-12-01 10:32:35 +00:00
Tom Hughes
8225f0a6ea Reenable trace uploads. 2007-12-01 00:34:55 +00:00
Richard Fairhurst
5fd514fee3 further refinement to revert 2007-11-30 20:52:38 +00:00
Tom Hughes
52276be4a9 Disable GPX uploads. 2007-11-30 18:49:55 +00:00
Richard Fairhurst
e0c9a8c6d5 slight revert changes 2007-11-30 18:40:57 +00:00
Tom Hughes
6d6c9ddc8c Specify display_name and tag explicitly when generating pagination links
as they don't always seem to be default correctly. Closes #561.
2007-11-30 01:27:14 +00:00
Richard Fairhurst
914cad0aa2 show nearest 10 users (request by Blackadder) 2007-11-28 22:07:24 +00:00
Tom Hughes
f5c9a41e87 Use the new OSM OpenLayers stuff. 2007-11-28 19:24:58 +00:00
Richard Fairhurst
58e50383f9 bugfix for non-intersecting intersections (trac #592) 2007-11-26 14:29:31 +00:00
Tom Hughes
cb330ffd7a Force new users to enter their email address twice to try and avoid so
many incorrect email addresses with typos in...
2007-11-25 12:38:48 +00:00
Tom Hughes
f09b16cade When asked for ways which use a node, or relations which use some given
object, return 200 OK with an empty document if not matches are found
rather than 400 Bad Request (for ways) or 404 Not Found (for relations).
2007-11-24 14:47:50 +00:00
Tom Hughes
300c3b4ed4 Work round ruby's horribly broken URI.escape that deliberately doesn't
escape most characters which have special meaning in URIs...
2007-11-24 14:36:21 +00:00
Tom Hughes
7de4cb19b8 Wrap evaluation of default values for parameters inside the HTML escaping
as that causes nil to become "" hence defeating the conditional default.
2007-11-24 14:13:21 +00:00
Tom Hughes
144640c9ed Fix tag splitting. 2007-11-24 01:00:53 +00:00
Tom Hughes
2cbcabb3f6 HTML escape substituted parameter values to avoid injection attacks. 2007-11-23 00:49:55 +00:00
Tom Hughes
7b172efeb6 Don't indicate if a message has been read in the outbox view. 2007-11-21 23:54:14 +00:00
Mikel Maron
d736a158be message outbox 2007-11-21 18:24:29 +00:00
Tom Hughes
9ec8ef0220 Add escaping of semicolon and equals in node tags.
Based on patch from Dave Stubbs.
2007-11-21 13:30:55 +00:00
Richard Fairhurst
a8333a38a2 Require data to be public before editing 2007-11-20 10:08:58 +00:00
Richard Fairhurst
19965b2a5d waterway=stream,natural=peak 2007-11-13 15:49:22 +00:00
Richard Fairhurst
849397a336 0.5a: further revisions to merged ways, API->SWF error handling 2007-11-13 09:26:04 +00:00
Richard Fairhurst
d9d625f651 0.5: NUNS! REVERT!!! 2007-11-10 22:01:23 +00:00
Tom Hughes
0c90905495 Add a stylesheet targeted at print media to get nice printouts. 2007-11-07 22:26:10 +00:00
Richard Fairhurst
4b1a3dff29 Potlatch 0.4c: bugfixes, history in progress 2007-11-02 09:28:00 +00:00
Tom Hughes
e4df9a8219 Allow objects to be resurrected. 2007-10-31 15:52:36 +00:00
Tom Hughes
714fc42d8e Don't include any page numbers in links in the tag list. 2007-10-31 00:35:27 +00:00
Tom Hughes
3aa8ffbcb8 Tidy up mail notifiers and make them more rails style rather then
relying on ActionMailer implementation details.
2007-10-30 00:48:45 +00:00
Tom Hughes
c3424e9cfb Add warnings not to reply to message notifications directly. 2007-10-30 00:47:45 +00:00
Tom Hughes
877724813c Fix tab breakage and make key update as zoom level changes. 2007-10-28 16:46:10 +00:00
Richard Fairhurst
d469b91e7e Potlatch 0.4b: put POIs in ways; small SWF improvement; correct created_by for ways 2007-10-28 16:07:23 +00:00
Richard Fairhurst
a39ed81cd2 keys change depending on zoom level; force 210px sidebar width for keys 2007-10-28 15:22:15 +00:00
Richard Fairhurst
78e6578daa Preparation for anon edit change 2007-10-27 21:47:59 +00:00
Frederik Ramm
8a69ef115a way history needs to reference nodes with ref=... not id=... 2007-10-26 18:14:48 +00:00
Tom Hughes
f2be4b9449 Patch from crschmidt to add an obvious permalink to the bottom right
corner of the slippy map. Tested on FF2, IE7, Opera and Safari.

Closes #566.
2007-10-23 08:45:23 +00:00
Tom Hughes
0fd29dc003 Render an empty text string instead of nothing (which actually generate a
single space character) for 410 and 412 responses as there is a bug in
lighttpd (http://trac.lighttpd.net/trac/ticket/1055) that prevents it
passing on the response body for these codes, leading to the client blocking
waiting for the data until it times out. Closes #537.
2007-10-17 23:22:51 +00:00
Tom Hughes
b74477a57c Don't try and print the distance to a friend that has not set a
home location. Closes #560.
2007-10-12 13:03:08 +00:00
Dan Karran
eeeb13e4e4 Actually showing the closest neighbours instead of a fixed number of people within the search radius 2007-10-11 18:47:30 +00:00
Tom Hughes
dd33fc633c Factor out common code for models which deal with geographic points
into a base class.
2007-10-10 23:00:25 +00:00
Dan Karran
60d8673e30 Reduce number of nearby people listed to the closest 5 by default, and show friends ahead of nearby people. 2007-10-10 19:22:16 +00:00
Tom Hughes
d29a319ab0 Add an API call to find the map tiles which have changed in a given period. 2007-10-09 23:41:26 +00:00
Tom Hughes
516aef5d07 Split out sidebar code from the search code so it can be reused for the
map key more cleanly.
2007-10-08 23:32:58 +00:00
Dan Karran
d320673cc7 Improving friend capabilities so you can now add and remove friends as you wish. Friends will be notified when you add them. You can view a list of friends on your profile page (which has been reorganised a little). 2007-10-08 22:21:15 +00:00