rails.git
12 years agoAdd static embed-friendly html page.
Christopher Schmidt [Tue, 29 Apr 2008 13:08:26 +0000 (13:08 +0000)]
Add static embed-friendly html page.

12 years agoCreate branch for HTML export from export tab.
Christopher Schmidt [Tue, 29 Apr 2008 11:58:12 +0000 (11:58 +0000)]
Create branch for HTML export from export tab.

12 years agopreset typo
Richard Fairhurst [Tue, 29 Apr 2008 10:34:20 +0000 (10:34 +0000)]
preset typo

12 years agoIE was getting confused by having a div with an id of "map" and a
Tom Hughes [Mon, 28 Apr 2008 09:49:27 +0000 (09:49 +0000)]
IE was getting confused by having a div with an id of "map" and a
link anchor with a name of "map". Closes #865.

12 years agoadd turning_circle to autocomplete
Richard Fairhurst [Sun, 27 Apr 2008 22:00:48 +0000 (22:00 +0000)]
add turning_circle to autocomplete

12 years agoUnderline links in the SOTM box.
Tom Hughes [Sun, 27 Apr 2008 15:40:48 +0000 (15:40 +0000)]
Underline links in the SOTM box.

12 years agoMake sure the recorded first point for a trace really is the first
Tom Hughes [Sun, 27 Apr 2008 12:27:46 +0000 (12:27 +0000)]
Make sure the recorded first point for a trace really is the first
point and not the last. Closes #709.

12 years agoAdvise new users to signup on the wiki as well. Closes #738.
Tom Hughes [Sun, 27 Apr 2008 12:26:10 +0000 (12:26 +0000)]
Advise new users to signup on the wiki as well. Closes #738.

12 years agoReport a friendly error for attempts to reference a user that does
Tom Hughes [Sun, 27 Apr 2008 12:21:32 +0000 (12:21 +0000)]
Report a friendly error for attempts to reference a user that does
not exist. Closes #805.

12 years agoInclude tags in GPX success and failure mails. Closes #480.
Tom Hughes [Sun, 27 Apr 2008 12:18:19 +0000 (12:18 +0000)]
Include tags in GPX success and failure mails. Closes #480.

12 years agoattempted fix for access from osm.org (as opposed to www.osm.org)
Richard Fairhurst [Sun, 27 Apr 2008 11:47:19 +0000 (11:47 +0000)]
attempted fix for access from osm.org (as opposed to osm.org)

12 years agomight help if I committed the SWF...
Richard Fairhurst [Sat, 26 Apr 2008 12:43:40 +0000 (12:43 +0000)]
might help if I committed the SWF...

12 years agoUnbreak Richard's warning messages. Closes #864.
Tom Hughes [Fri, 25 Apr 2008 09:04:56 +0000 (09:04 +0000)]
Unbreak Richard's warning messages. Closes #864.

12 years agoavoid inducing despair in relations-related circumstances
Richard Fairhurst [Wed, 23 Apr 2008 23:44:01 +0000 (23:44 +0000)]
avoid inducing despair in relations-related circumstances

12 years agoTidy up RSS links a bit.
Tom Hughes [Wed, 23 Apr 2008 17:39:09 +0000 (17:39 +0000)]
Tidy up RSS links a bit.

12 years agoTidy up template.
Tom Hughes [Wed, 23 Apr 2008 13:15:04 +0000 (13:15 +0000)]
Tidy up template.

12 years agowarn if user tries to upload 8bn traces at once
Richard Fairhurst [Wed, 23 Apr 2008 11:57:01 +0000 (11:57 +0000)]
warn if user tries to upload 8bn traces at once

12 years agoRestore the appearance of input buttons.
Tom Hughes [Wed, 23 Apr 2008 09:06:06 +0000 (09:06 +0000)]
Restore the appearance of input buttons.

12 years agoPut back the SOTM advert on the front page, updated for SOTM2008.
Tom Hughes [Wed, 23 Apr 2008 08:17:52 +0000 (08:17 +0000)]
Put back the SOTM advert on the front page, updated for SOTM2008.

12 years agoFix typo.
Tom Hughes [Wed, 23 Apr 2008 07:43:33 +0000 (07:43 +0000)]
Fix typo.

12 years agoStyle password fields (and textareas) to match text input fields.
Tom Hughes [Wed, 23 Apr 2008 07:41:58 +0000 (07:41 +0000)]
Style password fields (and textareas) to match text input fields.

12 years agomust remember not to commit new version while Potlatch users are in IRC
Richard Fairhurst [Tue, 22 Apr 2008 21:59:52 +0000 (21:59 +0000)]
must remember not to commit new version while Potlatch users are in IRC

12 years agoPotlatch 0.8b
Richard Fairhurst [Tue, 22 Apr 2008 21:32:26 +0000 (21:32 +0000)]
Potlatch 0.8b

12 years agoTweak export startup to stop silly image sizes being reported.
Tom Hughes [Mon, 21 Apr 2008 08:14:15 +0000 (08:14 +0000)]
Tweak export startup to stop silly image sizes being reported.

12 years agoMake sure the export button is enabled if we switch away from mapnik
Tom Hughes [Sun, 20 Apr 2008 10:31:03 +0000 (10:31 +0000)]
Make sure the export button is enabled if we switch away from mapnik
export, and that the mapnik image size is updated correctly.

12 years agoClose down export properly when the sidebar is closed.
Tom Hughes [Sun, 20 Apr 2008 08:38:47 +0000 (08:38 +0000)]
Close down export properly when the sidebar is closed.

12 years agoSuppress the PanZoomBar control from printed output.
Tom Hughes [Sun, 20 Apr 2008 08:24:04 +0000 (08:24 +0000)]
Suppress the PanZoomBar control from printed output.

12 years agoRework export to not rely on ctrl+drag to select an area.
Tom Hughes [Sat, 19 Apr 2008 16:58:03 +0000 (16:58 +0000)]
Rework export to not rely on ctrl+drag to select an area.

12 years agoDo the transform the right way round.
Tom Hughes [Sat, 19 Apr 2008 14:32:40 +0000 (14:32 +0000)]
Do the transform the right way round.

12 years agoUse the right variable for the marker position.
Tom Hughes [Sat, 19 Apr 2008 14:29:18 +0000 (14:29 +0000)]
Use the right variable for the marker position.

12 years agoUse the right variable for the event.
Tom Hughes [Sat, 19 Apr 2008 14:27:57 +0000 (14:27 +0000)]
Use the right variable for the event.

12 years agoAdd numZoomLevels to the map.
Tom Hughes [Sat, 19 Apr 2008 14:00:11 +0000 (14:00 +0000)]
Add numZoomLevels to the map.

12 years agoMake openSidebar() work with no argument.
Tom Hughes [Sat, 19 Apr 2008 13:52:31 +0000 (13:52 +0000)]
Make openSidebar() work with no argument.

12 years agoMark map responses as attachments.
Tom Hughes [Sat, 19 Apr 2008 13:35:02 +0000 (13:35 +0000)]
Mark map responses as attachments.

12 years agoMake export tab work from non-view pages.
Tom Hughes [Sat, 19 Apr 2008 13:29:24 +0000 (13:29 +0000)]
Make export tab work from non-view pages.

12 years agoHeaders is an array not a function...
Tom Hughes [Sat, 19 Apr 2008 13:29:10 +0000 (13:29 +0000)]
Headers is an array not a function...

12 years agoMerge 7296:7427 from export branch to trunk.
Tom Hughes [Sat, 19 Apr 2008 13:14:30 +0000 (13:14 +0000)]
Merge 7296:7427 from export branch to trunk.

12 years agoRevert accidental commit.
Tom Hughes [Sat, 19 Apr 2008 10:49:54 +0000 (10:49 +0000)]
Revert accidental commit.

12 years agoDon't call formatChanged() when disabling XML output as it has side effects.
Tom Hughes [Sat, 19 Apr 2008 10:48:48 +0000 (10:48 +0000)]
Don't call formatChanged() when disabling XML output as it has side effects.

12 years agoValidate the mapnik scale on a zoom change.
Tom Hughes [Sat, 19 Apr 2008 10:45:28 +0000 (10:45 +0000)]
Validate the mapnik scale on a zoom change.

12 years agoDisplay the size of the image mapnik will produce.
Tom Hughes [Sat, 19 Apr 2008 10:40:37 +0000 (10:40 +0000)]
Display the size of the image mapnik will produce.

12 years agoOnly add a border to text input fields.
Tom Hughes [Sat, 19 Apr 2008 10:14:52 +0000 (10:14 +0000)]
Only add a border to text input fields.

12 years agoAdd export helper.
Tom Hughes [Fri, 18 Apr 2008 22:56:52 +0000 (22:56 +0000)]
Add export helper.

12 years agoRework AJAX stuff to work on IE.
Tom Hughes [Fri, 18 Apr 2008 22:12:50 +0000 (22:12 +0000)]
Rework AJAX stuff to work on IE.

12 years agoRemove spurious comma that was breaking Safari.
Tom Hughes [Fri, 18 Apr 2008 17:33:09 +0000 (17:33 +0000)]
Remove spurious comma that was breaking Safari.

12 years agoFix broken close tag that was breaking Opera.
Tom Hughes [Fri, 18 Apr 2008 17:32:47 +0000 (17:32 +0000)]
Fix broken close tag that was breaking Opera.

12 years agoMove user diaries link to the tab bar as it changes what is displayed
Tom Hughes [Thu, 17 Apr 2008 23:30:30 +0000 (23:30 +0000)]
Move user diaries link to the tab bar as it changes what is displayed
in the main frame, and everything else which does that is on the tab bar.

12 years agoDefault export format based on selected base layer.
Tom Hughes [Thu, 17 Apr 2008 23:10:35 +0000 (23:10 +0000)]
Default export format based on selected base layer.

12 years agoFill in license details.
Tom Hughes [Thu, 17 Apr 2008 23:05:57 +0000 (23:05 +0000)]
Fill in license details.

12 years agoRemove unused method.
Tom Hughes [Thu, 17 Apr 2008 17:47:35 +0000 (17:47 +0000)]
Remove unused method.

12 years agoMake the /export URL work.
Tom Hughes [Thu, 17 Apr 2008 17:47:15 +0000 (17:47 +0000)]
Make the /export URL work.

12 years agoSimplify URLs a bit.
Tom Hughes [Thu, 17 Apr 2008 17:38:48 +0000 (17:38 +0000)]
Simplify URLs a bit.

12 years agoMerged 7296:7388 from rails_port trunk.
Tom Hughes [Wed, 16 Apr 2008 23:52:32 +0000 (23:52 +0000)]
Merged 7296:7388 from rails_port trunk.

12 years agoAjaxify the export tab.
Tom Hughes [Wed, 16 Apr 2008 23:45:16 +0000 (23:45 +0000)]
Ajaxify the export tab.

12 years agoFix setPosition().
Tom Hughes [Wed, 16 Apr 2008 17:59:05 +0000 (17:59 +0000)]
Fix setPosition().

12 years agoGet rid of our reprojection code and use OpenLayers reprojection instead.
Tom Hughes [Wed, 16 Apr 2008 17:18:45 +0000 (17:18 +0000)]
Get rid of our reprojection code and use OpenLayers reprojection instead.

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

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

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

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

12 years agoMore work on export tab.
Tom Hughes [Mon, 14 Apr 2008 23:46:10 +0000 (23:46 +0000)]
More work on export tab.

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

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

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

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

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

12 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 agoReflect any changes made to the bounds in the map.
Tom Hughes [Wed, 9 Apr 2008 18:14:30 +0000 (18:14 +0000)]
Reflect any changes made to the bounds in the map.

12 years agoDisable OSM export when the area is too large.
Tom Hughes [Tue, 8 Apr 2008 18:38:43 +0000 (18:38 +0000)]
Disable OSM export when the area is too large.

12 years agoSwitch export branch to use OpenLayers 2.6-rc1 as we need irregular polygons.
Tom Hughes [Tue, 8 Apr 2008 17:09:15 +0000 (17:09 +0000)]
Switch export branch to use OpenLayers 2.6-rc1 as we need irregular polygons.

12 years agoCommit initial work on export tab.
Tom Hughes [Mon, 7 Apr 2008 23:23:15 +0000 (23:23 +0000)]
Commit initial work on export tab.

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 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 agoCreate a directory for branches of the main web site, and make a branch
Tom Hughes [Mon, 7 Apr 2008 23:05:52 +0000 (23:05 +0000)]
Create a directory for branches of the main web site, and make a branch
for working on the export tab.

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.