Commit graph

150 commits

Author SHA1 Message Date
Shaun McDonald
9985b9cb94 Reverting earlier change that means that zoom isn't set in certain code paths. 2009-05-21 23:20:46 +00:00
Shaun McDonald
961020a5dc allow the user to pass in a gpx and a zoom 2009-05-21 17:25:39 +00:00
Thomas Wood
600d5b3a46 Further clarify descriptive texts regarding public editing. 2009-04-27 18:23:43 +00:00
Richard Fairhurst
64d076847b fix another way-node/Way-Node problem in amf_controller; add WinIE JS compatibility via ExternalInterface (we can use this later to alert for a commit message if none is provided) 2009-04-23 17:54:17 +00:00
Harry Wood
1c93d482d2 change updatelinks params so that Potlatch can pass in the view bbox. Also check if it's missing. closes #1738 2009-04-23 14:38:40 +00:00
Thomas Wood
c29c7cd56c Fix map in IE by deferring Vector layer addition to page load (note that deferred script running is _not_ the same as onload), also only add the Vector layer as required, so to save some overhead.
I've trimmed down the unrequired options on the layer, they're defaulted from the map.
Thanks firefishy for the report.
2009-04-19 21:03:41 +00:00
Tom Hughes
5449cf4adc Merge 14394:14533 from trunk. 2009-04-16 21:11:12 +00:00
Tom Hughes
09fdee5493 Add a "database readonly" state that allows all writes to the database
to be suppressed.
2009-04-14 14:27:30 +00:00
Harry Wood
fdd5d2d779 new support for box=yes param on the homepage, and then link to this from various changeset display 2009-04-08 16:55:22 +00:00
Tom Hughes
1f8a68371a Merge 14059:14394 from trunk. 2009-04-08 13:53:09 +00:00
Harry Wood
c321c026f2 tweak lat lon decision logic for the edit tab. made it more similar to logic in index, including using cookie 2009-04-02 18:08:46 +00:00
Harry Wood
bf0d8b3a5e lose the unnecessary <% embed syntax %> 2009-04-02 17:19:33 +00:00
Tom Hughes
72dfc2e55e Use correct key for z15 and greater. 2009-03-29 16:23:07 +00:00
Harry Wood
afe8dd51ec Add 'history' tab + Move 'recent changes' changeset list to re-use the same _changeset.rhtml partial 2009-03-23 16:39:59 +00:00
Harry Wood
231bdf66cd lose the unneeded <% syntax %> 2009-03-20 12:05:00 +00:00
Tom Hughes
8c8bb42cf6 Put the escapes back again. 2009-02-13 12:33:54 +00:00
Tom Hughes
faa1a48250 Removed bogus backslash escape. 2009-02-11 00:18:10 +00:00
Tom Hughes
a2d8f51827 Remove bogus backslash escape. 2009-02-11 00:10:36 +00:00
Tom Hughes
56065cd154 Remove excessive indenting - tabs are bad people! 2009-02-11 00:09:58 +00:00
Paul Gillard
3f30bc53f5 Ensure homepage source validates. 2009-02-10 22:42:45 +00:00
Richard Fairhurst
97726826e1 Potlatch 0.10d 2008-10-05 00:21:35 +00:00
Tom Hughes
c2854a8056 Get rails to do asset tagging for the SWF file. 2008-09-25 03:58:18 +00:00
Richard Fairhurst
62a1ec4748 Potlatch 0.10 2008-07-09 22:19:48 +00:00
Tom Hughes
abb66fa808 Disable the data browswer when the database is not available. 2008-06-26 17:36:21 +00:00
Tom Hughes
960d13488a Merge 7922:8377 from trunk. 2008-06-22 12:23:43 +00:00
Tom Hughes
2cf15b549e Add support for putting the site in an offline mode where it operates
without a database but with most features disabled.
2008-06-22 12:10:32 +00:00
Tom Hughes
cdf12b7a33 Don't use comma to separate values in the location cookie, as rails 2.0.2 will
treat comma (as well as semicolon) as a cookie separate. Also change the name
of the location cookie to avoid problems parsing old ones.
2008-06-05 23:27:52 +00:00
Tom Hughes
2829bf79d0 Cope with not having a layer configuration at all. 2008-06-03 15:12:46 +00:00
Tom Hughes
c25a20ff13 Don't try and parse an empty string as a layer config, and cope a bit
better if we do hit the end of the string. Closes #942.
2008-06-02 12:45:24 +00:00
Tom Hughes
88105d9c64 Merge 7744:7922 from trunk. 2008-05-28 16:37:31 +00:00
Tom Hughes
a401b59242 Yet another at fixing the layout of the search box. Seems to work now
on FF2, IE7, Operand and Safari though we are giving space away on FF.
2008-05-16 10:42:51 +00:00
Tom Hughes
f08c9de073 Reword the noscript section a bit. 2008-05-16 10:09:55 +00:00
Tom Hughes
1ea1c62d15 Try and make browsers display the search box sanely. 2008-05-16 10:06:57 +00:00
Shaun McDonald
1f59ad76ef Showing a nice message for browsers with javascript disabled. closes #36 2008-05-16 09:44:50 +00:00
Tom Hughes
cf9f5ba933 Add maximiseMap() and minimiseMap() functions to the edit page to allow the
size of the editing area to be toggled.
2008-05-11 16:15:35 +00:00
Tom Hughes
4d8ea0eed0 Only add the data layer to the main map, and use the visibility changed
event to handle turning the data layer on and off.
2008-05-11 14:41:11 +00:00
Tom Hughes
801f02fdd9 Remove bogus apostrophe. 2008-05-07 11:05:17 +00:00
Tom Hughes
feb47bc739 Rework the new Go button on the search form so that it actually stands
some chance of rendering as intended.

It's still not really ideal to steal space from the seach box of course...

Closes #589.
2008-05-05 16:39:33 +00:00
Steve Coast
945df7f195 add a go button to the search form as in bug 589 2008-05-03 14:18:22 +00:00
Richard Fairhurst
9df6d2ac06 Potlatch 0.8b 2008-04-22 21:32:26 +00:00
Tom Hughes
66fcecab91 Make openSidebar() work with no argument. 2008-04-19 13:52:31 +00:00
Tom Hughes
45a77397f3 Make the /export URL work. 2008-04-17 17:47:15 +00:00
Tom Hughes
4cc400de43 Merged 7296:7388 from rails_port trunk. 2008-04-16 23:52:32 +00:00
Tom Hughes
599c48227a Ajaxify the export tab. 2008-04-16 23:45:16 +00:00
Tom Hughes
f4fa8ed40e Fix setPosition(). 2008-04-16 17:59:05 +00:00
Tom Hughes
b8c500cdbc Get rid of our reprojection code and use OpenLayers reprojection instead. 2008-04-16 17:18:45 +00:00
Tom Hughes
1df50231fa Commit initial work on export tab. 2008-04-07 23:23:15 +00:00
Richard Fairhurst
4ebf47b734 0.8a 2008-03-30 00:17:24 +00:00
Tom Hughes
a03c584a98 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.
2008-03-07 00:26:57 +00:00
Tom Hughes
a473b4ebd9 Use defer="defer" rather than onload to try and speed up page loading. 2008-03-04 18:18:59 +00:00