]> git.openstreetmap.org Git - rails.git/log
rails.git
16 years agoBegan code for feature lookup: implemented code to respond to mouse click and latlon...
Nick Whitelegg [Mon, 7 Jan 2008 20:25:12 +0000 (20:25 +0000)]
Began code for feature lookup: implemented code to respond to mouse click and latlon to non spherical Mercator (for the postgis database)

16 years agoStop trying to report on the number of ways with tags because (a) almost all
Tom Hughes [Mon, 7 Jan 2008 00:33:54 +0000 (00:33 +0000)]
Stop trying to report on the number of ways with tags because (a) almost all
ways have tags so it isn't very interesting and (b) it locks up the API every
night as it involved a join to a MyISAM table.

16 years agoAdd migration to add an index on node_id to way_nodes. This index was added
Tom Hughes [Mon, 7 Jan 2008 00:30:44 +0000 (00:30 +0000)]
Add migration to add an index on node_id to way_nodes. This index was added
to the live database a month or so back to support rollback in Potlatch.

16 years agoMark mails as auto submitted. Closes #627.
Tom Hughes [Sun, 6 Jan 2008 13:21:50 +0000 (13:21 +0000)]
Mark mails as auto submitted. Closes #627.

16 years agoFix typo. Closes #628.
Tom Hughes [Sun, 6 Jan 2008 13:14:44 +0000 (13:14 +0000)]
Fix typo. Closes #628.

16 years agoMigrate web site to use rails 2.0.1.
Tom Hughes [Sun, 6 Jan 2008 12:17:58 +0000 (12:17 +0000)]
Migrate web site to use rails 2.0.1.

16 years agoUpdate GPX daemon control script to match current template from the
Tom Hughes [Sat, 5 Jan 2008 16:16:36 +0000 (16:16 +0000)]
Update GPX daemon control script to match current template from the
daemons plugin.

16 years agoFix picture generation to avoid truncating the sides of the image for
Tom Hughes [Sat, 5 Jan 2008 15:23:04 +0000 (15:23 +0000)]
Fix picture generation to avoid truncating the sides of the image for
a trace that is wider than it is tall.

16 years agoPotlatch 0.6a: small bugfixes, read GPX waypoints
Richard Fairhurst [Fri, 4 Jan 2008 00:26:46 +0000 (00:26 +0000)]
Potlatch 0.6a: small bugfixes, read GPX waypoints

16 years agoUpdate the links when the active layers change.
Tom Hughes [Wed, 2 Jan 2008 09:54:19 +0000 (09:54 +0000)]
Update the links when the active layers change.

Closes #622.

16 years agoMake the Maplint layer off by default.
Tom Hughes [Mon, 31 Dec 2007 11:33:21 +0000 (11:33 +0000)]
Make the Maplint layer off by default.

16 years agoDon't set the layers argument if the caller didn't specify it.
Tom Hughes [Mon, 31 Dec 2007 10:13:36 +0000 (10:13 +0000)]
Don't set the layers argument if the caller didn't specify it.

16 years agoAdd a maplint layer to the map. Note that the t@h server currently serves
Tom Hughes [Mon, 31 Dec 2007 09:08:30 +0000 (09:08 +0000)]
Add a maplint layer to the map. Note that the t@h server currently serves
solid grey tiles for tiles which are not in the database which limits the
utility of this.

Closes #484.

16 years agoAdd a Maplint layer (OpenLayers.Layer.OSM.Maplint) class. Note that the
Tom Hughes [Mon, 31 Dec 2007 09:06:22 +0000 (09:06 +0000)]
Add a Maplint layer (OpenLayers.Layer.OSM.Maplint) class. Note that the
t@h server currently serves solid grey tiles for tiles which are not in
the database which limits the utility of this.

Closes #612.

16 years agoDon't show the marker layer in the layer switcher.
Tom Hughes [Sun, 30 Dec 2007 17:27:47 +0000 (17:27 +0000)]
Don't show the marker layer in the layer switcher.

16 years agozoom level for Yahoo
Richard Fairhurst [Mon, 24 Dec 2007 21:32:55 +0000 (21:32 +0000)]
zoom level for Yahoo

16 years agodon't ignore outdated baselayer values; fix maximum zoom
Richard Fairhurst [Mon, 24 Dec 2007 21:18:59 +0000 (21:18 +0000)]
don't ignore outdated baselayer values; fix maximum zoom

16 years agoPotlatch 0.6: autocomplete keys/values
Richard Fairhurst [Sun, 23 Dec 2007 13:41:26 +0000 (13:41 +0000)]
Potlatch 0.6: autocomplete keys/values

16 years agoautocomplete (not compiled for now) and start of tile support
Richard Fairhurst [Sun, 23 Dec 2007 12:59:59 +0000 (12:59 +0000)]
autocomplete (not compiled for now) and start of tile support

16 years agoBan (for now at least) searching of nodes, and searching for a key
Tom Hughes [Sat, 22 Dec 2007 11:55:15 +0000 (11:55 +0000)]
Ban (for now at least) searching of nodes, and searching for a key
without giving a value as both of these will lock the server up for
a long time.

16 years agoThird time lucky - what it really wants is a hash of node IDs...
Tom Hughes [Thu, 20 Dec 2007 10:33:25 +0000 (10:33 +0000)]
Third time lucky - what it really wants is a hash of node IDs...

16 years agoThe to_xml_node method for a way wants a list of node IDs, not a list
Tom Hughes [Thu, 20 Dec 2007 10:23:46 +0000 (10:23 +0000)]
The to_xml_node method for a way wants a list of node IDs, not a list
of nodes...

16 years agoPass the node list to to_xml_node when outputting a way so that it
Tom Hughes [Thu, 20 Dec 2007 10:21:22 +0000 (10:21 +0000)]
Pass the node list to to_xml_node when outputting a way so that it
lists the nodes in the way properly.

16 years agoOptimise tag searching of ways and relations a bit more...
Tom Hughes [Thu, 20 Dec 2007 10:15:45 +0000 (10:15 +0000)]
Optimise tag searching of ways and relations a bit more...

16 years agoOptimise search queries for ways and relations to stand some chance
Tom Hughes [Thu, 20 Dec 2007 09:50:08 +0000 (09:50 +0000)]
Optimise search queries for ways and relations to stand some chance
of being efficient.

16 years agoattempt fix for anon users
Richard Fairhurst [Wed, 12 Dec 2007 20:17:12 +0000 (20:17 +0000)]
attempt fix for anon users

16 years agoenable revert
Richard Fairhurst [Sun, 9 Dec 2007 15:20:47 +0000 (15:20 +0000)]
enable revert

16 years agofix POI moving bug
Richard Fairhurst [Fri, 7 Dec 2007 17:30:20 +0000 (17:30 +0000)]
fix POI moving bug

16 years agoSet extent information for the marker layer.
Tom Hughes [Fri, 7 Dec 2007 00:15:21 +0000 (00:15 +0000)]
Set extent information for the marker layer.

16 years agoChange postcode searches to use z15 instead of z12.
Tom Hughes [Fri, 7 Dec 2007 00:12:49 +0000 (00:12 +0000)]
Change postcode searches to use z15 instead of z12.

16 years agoMake sure we load OpenLayers resources from the right place.
Tom Hughes [Thu, 6 Dec 2007 18:59:36 +0000 (18:59 +0000)]
Make sure we load OpenLayers resources from the right place.

16 years agoTry and make asset tagging actually work.
Tom Hughes [Thu, 6 Dec 2007 18:42:45 +0000 (18:42 +0000)]
Try and make asset tagging actually work.

16 years agoMove scale/resolution configuration to the base layers so that
Tom Hughes [Thu, 6 Dec 2007 14:18:30 +0000 (14:18 +0000)]
Move scale/resolution configuration to the base layers so that
people dragging in our customer layers don't need to worry about
setting the magic numbers.

16 years agoSet the number of zoom levels for the marker layer based on the
Tom Hughes [Thu, 6 Dec 2007 13:46:56 +0000 (13:46 +0000)]
Set the number of zoom levels for the marker layer based on the
maximum number of zoom levels of any of the base layers.

16 years agoUse the z13 key for z13 and over.
Tom Hughes [Wed, 5 Dec 2007 12:15:41 +0000 (12:15 +0000)]
Use the z13 key for z13 and over.

16 years agoSet number of zoom levels on a per layer basis. Closes #603.
Tom Hughes [Tue, 4 Dec 2007 00:42:08 +0000 (00:42 +0000)]
Set number of zoom levels on a per layer basis. Closes #603.

16 years agoDROP TEMPORARY TABLE so Tom can turn the privs down
Richard Fairhurst [Mon, 3 Dec 2007 17:15:07 +0000 (17:15 +0000)]
DROP TEMPORARY TABLE so Tom can turn the privs down

16 years agomove preset tags and colours into config files
Richard Fairhurst [Sat, 1 Dec 2007 10:32:35 +0000 (10:32 +0000)]
move preset tags and colours into config files

16 years agoReenable trace uploads.
Tom Hughes [Sat, 1 Dec 2007 00:34:55 +0000 (00:34 +0000)]
Reenable trace uploads.

16 years agofurther refinement to revert
Richard Fairhurst [Fri, 30 Nov 2007 20:52:38 +0000 (20:52 +0000)]
further refinement to revert

16 years agoDisable GPX uploads.
Tom Hughes [Fri, 30 Nov 2007 18:49:55 +0000 (18:49 +0000)]
Disable GPX uploads.

16 years agoslight revert changes
Richard Fairhurst [Fri, 30 Nov 2007 18:40:57 +0000 (18:40 +0000)]
slight revert changes

16 years agoRemove executable flag from Potlatch presets file.
Tom Hughes [Fri, 30 Nov 2007 18:22:36 +0000 (18:22 +0000)]
Remove executable flag from Potlatch presets file.

16 years agonew key for z13. revised keys to z8, z10, z11, z12
Steve Chilton [Fri, 30 Nov 2007 13:00:31 +0000 (13:00 +0000)]
new key for z13. revised keys to z8, z10, z11, z12

16 years agoSpecify display_name and tag explicitly when generating pagination links
Tom Hughes [Fri, 30 Nov 2007 01:27:14 +0000 (01:27 +0000)]
Specify display_name and tag explicitly when generating pagination links
as they don't always seem to be default correctly. Closes #561.

16 years agoHide the OpenLayers attribution control when printing - we print an
Tom Hughes [Wed, 28 Nov 2007 23:59:39 +0000 (23:59 +0000)]
Hide the OpenLayers attribution control when printing - we print an
attribution under the map anyway. Also add a border round the map when
printing.

16 years agoshow nearest 10 users (request by Blackadder)
Richard Fairhurst [Wed, 28 Nov 2007 22:07:24 +0000 (22:07 +0000)]
show nearest 10 users (request by Blackadder)

16 years agoMake attribution less cheesy.
Tom Hughes [Wed, 28 Nov 2007 19:25:46 +0000 (19:25 +0000)]
Make attribution less cheesy.

16 years agoUse the new OSM OpenLayers stuff.
Tom Hughes [Wed, 28 Nov 2007 19:24:58 +0000 (19:24 +0000)]
Use the new OSM OpenLayers stuff.

16 years agoAdd a javascript file to provide OSM layers for OpenStreetMap.
Tom Hughes [Wed, 28 Nov 2007 18:59:05 +0000 (18:59 +0000)]
Add a javascript file to provide OSM layers for OpenStreetMap.

17 years agoClear gotele and gotdate when we see the start of a trkpt element to
Tom Hughes [Mon, 26 Nov 2007 16:28:28 +0000 (16:28 +0000)]
Clear gotele and gotdate when we see the start of a trkpt element to
avoid inheriting previous data.

17 years agobugfix for non-intersecting intersections (trac #592)
Richard Fairhurst [Mon, 26 Nov 2007 14:29:31 +0000 (14:29 +0000)]
bugfix for non-intersecting intersections (trac #592)

17 years agoForce new users to enter their email address twice to try and avoid so
Tom Hughes [Sun, 25 Nov 2007 12:38:48 +0000 (12:38 +0000)]
Force new users to enter their email address twice to try and avoid so
many incorrect email addresses with typos in...

17 years agoWhen asked for ways which use a node, or relations which use some given
Tom Hughes [Sat, 24 Nov 2007 14:47:50 +0000 (14:47 +0000)]
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).

17 years agoWork round ruby's horribly broken URI.escape that deliberately doesn't
Tom Hughes [Sat, 24 Nov 2007 14:36:21 +0000 (14:36 +0000)]
Work round ruby's horribly broken URI.escape that deliberately doesn't
escape most characters which have special meaning in URIs...

17 years agoWrap evaluation of default values for parameters inside the HTML escaping
Tom Hughes [Sat, 24 Nov 2007 14:13:21 +0000 (14:13 +0000)]
Wrap evaluation of default values for parameters inside the HTML escaping
as that causes nil to become "" hence defeating the conditional default.

17 years agoFix tag splitting.
Tom Hughes [Sat, 24 Nov 2007 01:00:53 +0000 (01:00 +0000)]
Fix tag splitting.

17 years ago0.5d: drag Yahoo layer only
Richard Fairhurst [Fri, 23 Nov 2007 18:37:28 +0000 (18:37 +0000)]
0.5d: drag Yahoo layer only

17 years agoHTML escape substituted parameter values to avoid injection attacks.
Tom Hughes [Fri, 23 Nov 2007 00:49:55 +0000 (00:49 +0000)]
HTML escape substituted parameter values to avoid injection attacks.

17 years agoDon't indicate if a message has been read in the outbox view.
Tom Hughes [Wed, 21 Nov 2007 23:54:14 +0000 (23:54 +0000)]
Don't indicate if a message has been read in the outbox view.

17 years agomessage outbox
Mikel Maron [Wed, 21 Nov 2007 18:24:29 +0000 (18:24 +0000)]
message outbox

17 years ago0.5c: some refinements to casing
Richard Fairhurst [Wed, 21 Nov 2007 14:01:31 +0000 (14:01 +0000)]
0.5c: some refinements to casing

17 years agoAdd escaping of semicolon and equals in node tags.
Tom Hughes [Wed, 21 Nov 2007 13:30:55 +0000 (13:30 +0000)]
Add escaping of semicolon and equals in node tags.
Based on patch from Dave Stubbs.

17 years agoAdd keyboard shortcuts to the slippy map.
Tom Hughes [Wed, 21 Nov 2007 09:51:55 +0000 (09:51 +0000)]
Add keyboard shortcuts to the slippy map.

17 years agoRequire data to be public before editing
Richard Fairhurst [Tue, 20 Nov 2007 10:08:58 +0000 (10:08 +0000)]
Require data to be public before editing

17 years agopurge area layer when purging ways
Richard Fairhurst [Mon, 19 Nov 2007 14:00:18 +0000 (14:00 +0000)]
purge area layer when purging ways

17 years ago0.5b: look more pretty!
Richard Fairhurst [Mon, 19 Nov 2007 13:29:35 +0000 (13:29 +0000)]
0.5b: look more pretty!

17 years agowaterway=stream,natural=peak
Richard Fairhurst [Tue, 13 Nov 2007 15:49:22 +0000 (15:49 +0000)]
waterway=stream,natural=peak

17 years ago0.5a: further revisions to merged ways, API->SWF error handling
Richard Fairhurst [Tue, 13 Nov 2007 09:26:04 +0000 (09:26 +0000)]
0.5a: further revisions to merged ways, API->SWF error handling

17 years agofix branching way problem
Richard Fairhurst [Sun, 11 Nov 2007 13:08:59 +0000 (13:08 +0000)]
fix branching way problem

17 years ago0.5: NUNS! REVERT!!!
Richard Fairhurst [Sat, 10 Nov 2007 22:01:23 +0000 (22:01 +0000)]
0.5: NUNS! REVERT!!!

17 years agoSpread T@H over three host names.
Tom Hughes [Fri, 9 Nov 2007 15:29:30 +0000 (15:29 +0000)]
Spread T@H over three host names.

17 years agoAdd a stylesheet targeted at print media to get nice printouts.
Tom Hughes [Wed, 7 Nov 2007 22:26:10 +0000 (22:26 +0000)]
Add a stylesheet targeted at print media to get nice printouts.

17 years agoUse the tah.opstreetmap.org domain name for the T@H layer.
Tom Hughes [Wed, 7 Nov 2007 08:25:11 +0000 (08:25 +0000)]
Use the tah.opstreetmap.org domain name for the T@H layer.

17 years agoPotlatch 0.4c: bugfixes, history in progress
Richard Fairhurst [Fri, 2 Nov 2007 09:28:00 +0000 (09:28 +0000)]
Potlatch 0.4c: bugfixes, history in progress

17 years agoAllow objects to be resurrected.
Tom Hughes [Wed, 31 Oct 2007 15:52:36 +0000 (15:52 +0000)]
Allow objects to be resurrected.

17 years agoRework image generation to work in a fixed amount of memory. Closes #580.
Tom Hughes [Wed, 31 Oct 2007 13:46:36 +0000 (13:46 +0000)]
Rework image generation to work in a fixed amount of memory. Closes #580.

17 years agoDon't include any page numbers in links in the tag list.
Tom Hughes [Wed, 31 Oct 2007 00:35:27 +0000 (00:35 +0000)]
Don't include any page numbers in links in the tag list.

17 years agoTidy up mail notifiers and make them more rails style rather then
Tom Hughes [Tue, 30 Oct 2007 00:48:45 +0000 (00:48 +0000)]
Tidy up mail notifiers and make them more rails style rather then
relying on ActionMailer implementation details.

17 years agoAdd warnings not to reply to message notifications directly.
Tom Hughes [Tue, 30 Oct 2007 00:47:45 +0000 (00:47 +0000)]
Add warnings not to reply to message notifications directly.

17 years agopersistent preferences!
Richard Fairhurst [Sun, 28 Oct 2007 20:35:19 +0000 (20:35 +0000)]
persistent preferences!

17 years agoupdate view/edit tab links
Richard Fairhurst [Sun, 28 Oct 2007 17:47:43 +0000 (17:47 +0000)]
update view/edit tab links

17 years agoFix tab breakage and make key update as zoom level changes.
Tom Hughes [Sun, 28 Oct 2007 16:46:10 +0000 (16:46 +0000)]
Fix tab breakage and make key update as zoom level changes.

17 years agoPotlatch 0.4b: put POIs in ways; small SWF improvement; correct created_by for ways
Richard Fairhurst [Sun, 28 Oct 2007 16:07:23 +0000 (16:07 +0000)]
Potlatch 0.4b: put POIs in ways; small SWF improvement; correct created_by for ways

17 years agokeys change depending on zoom level; force 210px sidebar width for keys
Richard Fairhurst [Sun, 28 Oct 2007 15:22:15 +0000 (15:22 +0000)]
keys change depending on zoom level; force 210px sidebar width for keys

17 years agoPreparation for anon edit change
Richard Fairhurst [Sat, 27 Oct 2007 21:47:59 +0000 (21:47 +0000)]
Preparation for anon edit change

17 years agoway history needs to reference nodes with ref=... not id=...
Frederik Ramm [Fri, 26 Oct 2007 18:14:48 +0000 (18:14 +0000)]
way history needs to reference nodes with ref=... not id=...

17 years agofix the POI bugfix (sigh)
Richard Fairhurst [Thu, 25 Oct 2007 07:33:39 +0000 (07:33 +0000)]
fix the POI bugfix (sigh)

17 years agoStylesheet changes for permalink from crschmidt.
Tom Hughes [Tue, 23 Oct 2007 09:21:11 +0000 (09:21 +0000)]
Stylesheet changes for permalink from crschmidt.
Part of fix for case #566.

17 years agoRound latitude and longitude values in links to a sensible number of
Tom Hughes [Tue, 23 Oct 2007 09:19:29 +0000 (09:19 +0000)]
Round latitude and longitude values in links to a sensible number of
decimal places for the zoom level whilst still preserving accuracy
sufficient to position the map within a few pixels.

The relationship between zoom level, decimal places, and the accuracy
with which the map can then be positioned in pixels is as follows:

  Zoom  Decimals  Accuracy (pixels)

   1       0            1.42
   2       0            2.84
   3       1            0.57
   4       1            1.14
   5       1            2.28
   6       2            0.46
   7       2            0.91
   8       2            1.82
   9       3            0.36
   10      3            0.73
   11      3            1.46
   12      4            0.29
   13      4            0.58
   14      4            1.17
   15      5            0.23
   16      5            0.47
   17      5            0.93
   18      6            0.19

So the worse case is at zoom 2 where accuracy is still within 3 pixels.

Based on a patch by rjmunro.

17 years agoPatch from crschmidt to add an obvious permalink to the bottom right
Tom Hughes [Tue, 23 Oct 2007 08:45:23 +0000 (08:45 +0000)]
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.

17 years agorevised keymapnik11/12, new versions of keymapnik6-10
Steve Chilton [Sun, 21 Oct 2007 19:03:32 +0000 (19:03 +0000)]
revised keymapnik11/12, new versions of keymapnik6-10

17 years agoRender an empty text string instead of nothing (which actually generate a
Tom Hughes [Wed, 17 Oct 2007 23:22:51 +0000 (23:22 +0000)]
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.

17 years agoFix geolocation to actually work...
Tom Hughes [Fri, 12 Oct 2007 16:34:38 +0000 (16:34 +0000)]
Fix geolocation to actually work...

17 years agoDon't try and print the distance to a friend that has not set a
Tom Hughes [Fri, 12 Oct 2007 13:03:08 +0000 (13:03 +0000)]
Don't try and print the distance to a friend that has not set a
home location. Closes #560.

17 years agoActually showing the closest neighbours instead of a fixed number of people within...
Dan Karran [Thu, 11 Oct 2007 18:47:30 +0000 (18:47 +0000)]
Actually showing the closest neighbours instead of a fixed number of people within the search radius

17 years agoFactor out common code for models which deal with geographic points
Tom Hughes [Wed, 10 Oct 2007 23:00:25 +0000 (23:00 +0000)]
Factor out common code for models which deal with geographic points
into a base class.

17 years agoReduce number of nearby people listed to the closest 5 by default, and show friends...
Dan Karran [Wed, 10 Oct 2007 19:22:16 +0000 (19:22 +0000)]
Reduce number of nearby people listed to the closest 5 by default, and show friends ahead of nearby people.

17 years agoGet URL selection right...
Tom Hughes [Wed, 10 Oct 2007 15:00:13 +0000 (15:00 +0000)]
Get URL selection right...

17 years agoGive OpenLayers three different hosts (all really pointing at tile) to
Tom Hughes [Wed, 10 Oct 2007 14:45:44 +0000 (14:45 +0000)]
Give OpenLayers three different hosts (all really pointing at tile) to
get mapnik tiles from so it loads tiles more quickly.