rails.git
11 years agoAdd missing OpenLayers 2.6 images.
Tom Hughes [Wed, 16 Apr 2008 17:17:39 +0000 (17:17 +0000)]
Add missing OpenLayers 2.6 images.

11 years agoUse OL 2.6 auto sizing for popups instead of doing it ourselves.
Tom Hughes [Wed, 16 Apr 2008 08:49:55 +0000 (08:49 +0000)]
Use OL 2.6 auto sizing for popups instead of doing it ourselves.

11 years agoAdd a scale control to the map. Closes #51.
Tom Hughes [Wed, 16 Apr 2008 08:04:44 +0000 (08:04 +0000)]
Add a scale control to the map. Closes #51.

11 years agoUpdate OpenLayers to 2.6 release.
Tom Hughes [Wed, 16 Apr 2008 07:27:29 +0000 (07:27 +0000)]
Update OpenLayers to 2.6 release.

11 years agoReally remove it this time...
Tom Hughes [Fri, 11 Apr 2008 19:56:56 +0000 (19:56 +0000)]
Really remove it this time...

11 years agoRemove accidental commit of my local mapnik layer.
Tom Hughes [Fri, 11 Apr 2008 19:56:29 +0000 (19:56 +0000)]
Remove accidental commit of my local mapnik layer.

11 years agoFix IE breakage.
Tom Hughes [Fri, 11 Apr 2008 19:40:32 +0000 (19:40 +0000)]
Fix IE breakage.

11 years agoTurn on wrapDateLine for all layers.
Tom Hughes [Fri, 11 Apr 2008 17:54:51 +0000 (17:54 +0000)]
Turn on wrapDateLine for all layers.
Also correct the declared projection for the markers layer.

11 years agoTweak the namefinder results a bit more.
Tom Hughes [Thu, 10 Apr 2008 08:07:09 +0000 (08:07 +0000)]
Tweak the namefinder results a bit more.

11 years agoProvide extra context for namefinder results where the nearest place
Tom Hughes [Wed, 9 Apr 2008 23:43:38 +0000 (23:43 +0000)]
Provide extra context for namefinder results where the nearest place
is small (a hamlet, village or suburb). Closes #794.

12 years agoRemove export controller from branches where it isn't needed yet.
Tom Hughes [Mon, 7 Apr 2008 23:11:25 +0000 (23:11 +0000)]
Remove export controller from branches where it isn't needed yet.

12 years agoMake a copy of the rails code for the node tag splitting project, and remove
Tom Hughes [Mon, 7 Apr 2008 23:09:56 +0000 (23:09 +0000)]
Make a copy of the rails code for the node tag splitting project, and remove
the associated migrations from the other branches.

12 years agoSet a transitionEffect of resize on the OSM layers, ready for OL 2.6.
Tom Hughes [Mon, 31 Mar 2008 17:10:20 +0000 (17:10 +0000)]
Set a transitionEffect of resize on the OSM layers, ready for OL 2.6.

12 years agopermit uninserted tracks to be edited
Richard Fairhurst [Sun, 30 Mar 2008 00:27:29 +0000 (00:27 +0000)]
permit uninserted tracks to be edited

12 years ago0.8a
Richard Fairhurst [Sun, 30 Mar 2008 00:17:24 +0000 (00:17 +0000)]
0.8a

12 years agofix disappearing welcome panel
Richard Fairhurst [Wed, 26 Mar 2008 10:06:53 +0000 (10:06 +0000)]
fix disappearing welcome panel

12 years agoEnable the namefinder again.
Tom Hughes [Tue, 25 Mar 2008 18:01:10 +0000 (18:01 +0000)]
Enable the namefinder again.

12 years agonew versions of keys to mapnik z8-z13
Steve Chilton [Sun, 23 Mar 2008 16:15:48 +0000 (16:15 +0000)]
new versions of keys to mapnik z8-z13

12 years agotone colours down very slightly so you can still see the points
Richard Fairhurst [Fri, 21 Mar 2008 23:50:52 +0000 (23:50 +0000)]
tone colours down very slightly so you can still see the points

12 years agoEdgemaster's patch to colour routes depending on network
Richard Fairhurst [Fri, 21 Mar 2008 21:33:38 +0000 (21:33 +0000)]
Edgemaster's patch to colour routes depending on network

12 years agonicer fix I think for nil / [] issue
Steve Coast [Fri, 21 Mar 2008 20:30:16 +0000 (20:30 +0000)]
nicer fix I think for nil / [] issue

12 years agomore madness
Steve Coast [Fri, 21 Mar 2008 20:21:49 +0000 (20:21 +0000)]
more madness

12 years agofix problem with blank areas throwing a 500
Richard Fairhurst [Fri, 21 Mar 2008 20:17:56 +0000 (20:17 +0000)]
fix problem with blank areas throwing a 500

12 years agofix problem with blank areas throwing a 500
Richard Fairhurst [Fri, 21 Mar 2008 19:49:09 +0000 (19:49 +0000)]
fix problem with blank areas throwing a 500

12 years agofixes #766
Richard Fairhurst [Fri, 21 Mar 2008 19:10:57 +0000 (19:10 +0000)]
fixes #766

12 years agovarious relations fixes
Richard Fairhurst [Fri, 21 Mar 2008 19:00:39 +0000 (19:00 +0000)]
various relations fixes

12 years agocolon2bar no longer needed
Richard Fairhurst [Wed, 19 Mar 2008 10:50:33 +0000 (10:50 +0000)]
colon2bar no longer needed

12 years agorestore Steve's deleteway stuff
Richard Fairhurst [Wed, 19 Mar 2008 10:39:50 +0000 (10:39 +0000)]
restore Steve's deleteway stuff

12 years agoPotlatch 0.8 - be afraid, be very, very afraid
Richard Fairhurst [Wed, 19 Mar 2008 01:03:51 +0000 (01:03 +0000)]
Potlatch 0.8 - be afraid, be very, very afraid

12 years ago- add old_relation_controller and stuff so that relation history works. fixes #557.
Frederik Ramm [Sun, 16 Mar 2008 23:16:18 +0000 (23:16 +0000)]
- add old_relation_controller and stuff so that relation history works. fixes #557.
- minor testing fixes.

12 years agoResize the map div when the page load is complete (via onload) in case the
Tom Hughes [Fri, 7 Mar 2008 00:26:57 +0000 (00:26 +0000)]
Resize the map div when the page load is complete (via onload) in case the
page layout has changed since the initial sizing by the deferred script.

12 years agoWork round ruby's half assed Tempfile class which, because for some
Tom Hughes [Thu, 6 Mar 2008 12:43:10 +0000 (12:43 +0000)]
Work round ruby's half assed Tempfile class which, because for some
reason it is implemented by delegating to File (by inheriting from
DelegateClass(File)) rather than by inheriting from it, does not
actually look like a File, and hence does not look like an IO (in
that it does not respond to kind_of? IO calls).

In ruby 1.8.5 this doesn't matter as REXML checks that the source
it has been given responds to the methods it wants (using respond_to?
which is handled properly by DelegateClass) but in 1.8.4 which we
are running on rails2 REXML uses kind_of? to see if the source is
one it can use.

12 years agoFix typo.
Tom Hughes [Tue, 4 Mar 2008 21:24:14 +0000 (21:24 +0000)]
Fix typo.

12 years agoUse defer="defer" rather than onload to try and speed up page loading.
Tom Hughes [Tue, 4 Mar 2008 18:18:59 +0000 (18:18 +0000)]
Use defer="defer" rather than onload to try and speed up page loading.

12 years agoYet more escaping.
Tom Hughes [Tue, 4 Mar 2008 17:57:51 +0000 (17:57 +0000)]
Yet more escaping.

12 years agoMore escaping.
Tom Hughes [Tue, 4 Mar 2008 17:53:36 +0000 (17:53 +0000)]
More escaping.

12 years agoEscape page title.
Tom Hughes [Tue, 4 Mar 2008 17:51:42 +0000 (17:51 +0000)]
Escape page title.

12 years agoMore display name escaping.
Tom Hughes [Tue, 4 Mar 2008 16:53:08 +0000 (16:53 +0000)]
More display name escaping.

12 years agoEscape user display names.
Tom Hughes [Tue, 4 Mar 2008 16:51:13 +0000 (16:51 +0000)]
Escape user display names.

12 years agoEscape user names in diary views.
Tom Hughes [Tue, 4 Mar 2008 16:49:12 +0000 (16:49 +0000)]
Escape user names in diary views.

12 years agoDisable the NameFinder and fix cut'n'paste error.
Tom Hughes [Tue, 26 Feb 2008 21:50:53 +0000 (21:50 +0000)]
Disable the NameFinder and fix cut'n'paste error.

12 years agoGet the user image right this time...
Tom Hughes [Mon, 25 Feb 2008 18:55:25 +0000 (18:55 +0000)]
Get the user image right this time...

12 years agoClose tag properly.
Tom Hughes [Sun, 24 Feb 2008 17:39:55 +0000 (17:39 +0000)]
Close tag properly.

12 years agoDisplay the image of the user who made the diary entry, not that of
Tom Hughes [Sun, 24 Feb 2008 17:38:50 +0000 (17:38 +0000)]
Display the image of the user who made the diary entry, not that of
the currently logged in user...

12 years agoFix stupid breakage. Closes #708.
Tom Hughes [Sun, 24 Feb 2008 13:43:42 +0000 (13:43 +0000)]
Fix stupid breakage. Closes #708.

12 years agoencourage people to set location
Steve Coast [Sat, 23 Feb 2008 16:49:08 +0000 (16:49 +0000)]
encourage people to set location

12 years agoremove deleteway logic from amf_controller (yay!) TomH: check with RichardF this...
Steve Coast [Sat, 23 Feb 2008 16:05:45 +0000 (16:05 +0000)]
remove deleteway logic from amf_controller (yay!) TomH: check with RichardF this is sane before deploying. worksforme.

12 years agoRestore add_user_image migration.
Tom Hughes [Sat, 23 Feb 2008 16:01:12 +0000 (16:01 +0000)]
Restore add_user_image migration.

12 years agoOnly check out the trunk of the image column plugin.
Tom Hughes [Sat, 23 Feb 2008 15:57:36 +0000 (15:57 +0000)]
Only check out the trunk of the image column plugin.

12 years agoRemove image migration as it isn't needed.
Tom Hughes [Sat, 23 Feb 2008 15:41:52 +0000 (15:41 +0000)]
Remove image migration as it isn't needed.

12 years agoUse named constants for HTTP response codes.
Tom Hughes [Sat, 23 Feb 2008 15:35:49 +0000 (15:35 +0000)]
Use named constants for HTTP response codes.

12 years agoUse named constants for HTTP response codes.
Tom Hughes [Sat, 23 Feb 2008 15:35:14 +0000 (15:35 +0000)]
Use named constants for HTTP response codes.

12 years agouser images
Steve Coast [Sat, 23 Feb 2008 15:18:59 +0000 (15:18 +0000)]
user images

12 years agoUser prference system basically done
Steve Coast [Sat, 23 Feb 2008 13:37:36 +0000 (13:37 +0000)]
User prference system basically done

12 years agoMake maps deeper to allow the pan/zoom bar visible.
Tom Hughes [Sat, 23 Feb 2008 12:52:57 +0000 (12:52 +0000)]
Make maps deeper to allow the pan/zoom bar visible.

12 years agoMake the slippy map on the user page deper so that the whole of the
Tom Hughes [Sat, 23 Feb 2008 12:49:29 +0000 (12:49 +0000)]
Make the slippy map on the user page deper so that the whole of the
pan/zoom bar is visible. Closes #705.

12 years agopreference stuff
Steve Coast [Sat, 23 Feb 2008 11:12:42 +0000 (11:12 +0000)]
preference stuff

12 years agomove migrations around
Steve Coast [Sat, 23 Feb 2008 10:51:33 +0000 (10:51 +0000)]
move migrations around

12 years agoReject 0/1-length ways.
Richard Fairhurst [Tue, 19 Feb 2008 18:06:26 +0000 (18:06 +0000)]
Reject 0/1-length ways.

12 years agostop accidental cities :)
Richard Fairhurst [Fri, 15 Feb 2008 13:03:14 +0000 (13:03 +0000)]
stop accidental cities :)

12 years agoPotlatch 0.7b: small bugfixes
Richard Fairhurst [Fri, 15 Feb 2008 12:52:54 +0000 (12:52 +0000)]
Potlatch 0.7b: small bugfixes

12 years agoUse PanZoomBar instead of PanZoom.
Tom Hughes [Thu, 14 Feb 2008 18:51:52 +0000 (18:51 +0000)]
Use PanZoomBar instead of PanZoom.

12 years agoAdd cycle map
Richard Fairhurst [Tue, 12 Feb 2008 11:23:11 +0000 (11:23 +0000)]
Add cycle map

12 years agoremove tile debug code
Richard Fairhurst [Mon, 11 Feb 2008 22:38:20 +0000 (22:38 +0000)]
remove tile debug code

12 years ago0.7a
Richard Fairhurst [Mon, 11 Feb 2008 22:29:59 +0000 (22:29 +0000)]
0.7a

12 years agoadd school to presets
Richard Fairhurst [Sun, 10 Feb 2008 17:33:15 +0000 (17:33 +0000)]
add school to presets

12 years agoUse FileUtils.mv instead of File.rename as it will do a copy+delete when
Tom Hughes [Thu, 7 Feb 2008 23:53:20 +0000 (23:53 +0000)]
Use FileUtils.mv instead of File.rename as it will do a copy+delete when
the source and target are not on the same filesystem. Closes #670.

12 years agounbreak undelete
Richard Fairhurst [Wed, 6 Feb 2008 22:43:14 +0000 (22:43 +0000)]
unbreak undelete

12 years agosmall padlock fix, disable right-click menu
Richard Fairhurst [Wed, 6 Feb 2008 21:30:09 +0000 (21:30 +0000)]
small padlock fix, disable right-click menu

12 years agoUse a lower zoom level for partial postcode matches.
Tom Hughes [Tue, 5 Feb 2008 19:14:33 +0000 (19:14 +0000)]
Use a lower zoom level for partial postcode matches.

12 years agoSend email notifications when people comment on diary entries. Closes #655.
Tom Hughes [Mon, 4 Feb 2008 00:15:28 +0000 (00:15 +0000)]
Send email notifications when people comment on diary entries. Closes #655.

12 years agoDisable keyboard control of the map as it causes problems by catching
Tom Hughes [Sun, 3 Feb 2008 23:57:37 +0000 (23:57 +0000)]
Disable keyboard control of the map as it causes problems by catching
keypresses in other parts of the page. Closes #659.

12 years agosome Yahoo improvements, still more to do...
Richard Fairhurst [Sun, 3 Feb 2008 19:23:29 +0000 (19:23 +0000)]
some Yahoo improvements, still more to do...

12 years agoExplain why we don't include the nodes in the way load.
Tom Hughes [Sun, 3 Feb 2008 16:31:50 +0000 (16:31 +0000)]
Explain why we don't include the nodes in the way load.

12 years agoDon't preload nodes as it seem to break ways with duplicate nodes.
Tom Hughes [Sun, 3 Feb 2008 16:28:02 +0000 (16:28 +0000)]
Don't preload nodes as it seem to break ways with duplicate nodes.

12 years agofix for resizable Potlatch
Richard Fairhurst [Sun, 3 Feb 2008 16:11:24 +0000 (16:11 +0000)]
fix for resizable Potlatch

12 years agoRemove pointless return statement.
Tom Hughes [Sun, 3 Feb 2008 15:55:19 +0000 (15:55 +0000)]
Remove pointless return statement.

12 years agoFix indentation.
Tom Hughes [Sun, 3 Feb 2008 15:38:53 +0000 (15:38 +0000)]
Fix indentation.

12 years agoMove in_world? to GeoRecord model and correct comment.
Tom Hughes [Sun, 3 Feb 2008 15:38:44 +0000 (15:38 +0000)]
Move in_world? to GeoRecord model and correct comment.

12 years agoAdd missing sanitise_boundaries method that the API controller was
Tom Hughes [Sun, 3 Feb 2008 15:38:02 +0000 (15:38 +0000)]
Add missing sanitise_boundaries method that the API controller was
trying to call.

12 years agoOptimise the Potlatch whichways and getway calls a bit.
Tom Hughes [Sun, 3 Feb 2008 12:56:25 +0000 (12:56 +0000)]
Optimise the Potlatch whichways and getway calls a bit.

12 years agoThe OSM layers use the 900913 projection, not 41001.
Tom Hughes [Fri, 1 Feb 2008 19:54:20 +0000 (19:54 +0000)]
The OSM layers use the 900913 projection, not 41001.

12 years agoPotlatch 0.7
Richard Fairhurst [Fri, 1 Feb 2008 17:19:11 +0000 (17:19 +0000)]
Potlatch 0.7

12 years agoMake ways_for_node work with the multipart primary key stuff.
Tom Hughes [Mon, 28 Jan 2008 08:54:45 +0000 (08:54 +0000)]
Make ways_for_node work with the multipart primary key stuff.

12 years agoFix typo.
Tom Hughes [Mon, 28 Jan 2008 08:44:03 +0000 (08:44 +0000)]
Fix typo.

12 years agofixed bug in add version rake task
Nick Black [Fri, 25 Jan 2008 17:02:43 +0000 (17:02 +0000)]
fixed bug in add version rake task

12 years agopatched controller section of #648
Xin Zheng [Fri, 25 Jan 2008 16:32:24 +0000 (16:32 +0000)]
patched controller section of #648

12 years agoMost of a method to delete a way and all its nodes - but I'm waiting on splitting...
Steve Coast [Fri, 25 Jan 2008 15:24:04 +0000 (15:24 +0000)]
Most of a method to delete a way and all its nodes - but I'm waiting on splitting node tags out to their own table before finishing it.

12 years agodont eager load tags (false primary key fucks all sorts of things up) and move delete...
Steve Coast [Fri, 25 Jan 2008 14:32:45 +0000 (14:32 +0000)]
dont eager load tags (false primary key fucks all sorts of things up) and move delete way logic to model so that amf_controller can use it (plan is to do this with all of the methods. sigh.)

12 years agofixed null value bug in rake task
Nick Black [Fri, 25 Jan 2008 14:26:39 +0000 (14:26 +0000)]
fixed null value bug in rake task

12 years agominor changes
Xin Zheng [Fri, 25 Jan 2008 13:57:42 +0000 (13:57 +0000)]
minor changes

12 years agoadded experimental xml template which is not yet used due to performance issues
Xin Zheng [Thu, 24 Jan 2008 18:21:59 +0000 (18:21 +0000)]
added experimental xml template which is not yet used due to performance issues

12 years agoLots of documentation updates, plus split out potlatch libraries in to lib
Steve Coast [Thu, 24 Jan 2008 16:03:56 +0000 (16:03 +0000)]
Lots of documentation updates, plus split out potlatch libraries in to lib

12 years agoSome node documentation
Steve Coast [Thu, 24 Jan 2008 13:04:04 +0000 (13:04 +0000)]
Some node documentation

12 years agobegin rdoc documentation
Steve Coast [Thu, 24 Jan 2008 12:53:21 +0000 (12:53 +0000)]
begin rdoc documentation

12 years agocommented out migration which deletes the ways column nodes
Nick Black [Thu, 24 Jan 2008 11:24:32 +0000 (11:24 +0000)]
commented out migration which deletes the ways column nodes

12 years agofixes syntax error
Nick Black [Thu, 24 Jan 2008 11:09:06 +0000 (11:09 +0000)]
fixes syntax error

12 years agoadded module
Xin Zheng [Thu, 24 Jan 2008 11:07:46 +0000 (11:07 +0000)]
added module

12 years agomove potlatch presets to only be generated once, and allow pulling in way_tags in...
Steve Coast [Thu, 24 Jan 2008 10:52:10 +0000 (10:52 +0000)]
move potlatch presets to only be generated once, and allow pulling in way_tags in a way via a false primary key

12 years ago- Add missing null constraints.
Tom Hughes [Wed, 23 Jan 2008 19:25:37 +0000 (19:25 +0000)]
- Add missing null constraints.
- Drop pointless index on current_node_tags and order primary key correctly.
- Make version column of node history table auto increment.