Commit graph

177 commits

Author SHA1 Message Date
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
Richard Fairhurst
da76d64e93 Potlatch 0.7 2008-02-01 17:19:11 +00:00
Richard Fairhurst
b387800234 maybe this will work 2008-01-18 16:39:10 +00:00
Richard Fairhurst
3eecc3ee5b 0.6c: bunch of minor improvements and bugfixes 2008-01-17 22:28:21 +00:00
Tom Hughes
a31e61169c Back out attempt to commit partial support for POIs as this is not at
all ready for prime time yet.
2008-01-08 18:23:56 +00:00
Nick Whitelegg
1c7998009f began callback code for feature lookup 2008-01-07 20:44:16 +00:00
Nick Whitelegg
2e03861300 Began code for feature lookup: implemented code to respond to mouse click and latlon to non spherical Mercator (for the postgis database) 2008-01-07 20:25:12 +00:00
Tom Hughes
7fc2dbecd5 Migrate web site to use rails 2.0.1. 2008-01-06 12:17:58 +00:00
Tom Hughes
26f28764dc Update the links when the active layers change.
Closes #622.
2008-01-02 09:54:19 +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
Tom Hughes
f5c9a41e87 Use the new OSM OpenLayers stuff. 2007-11-28 19:24:58 +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
2cbcabb3f6 HTML escape substituted parameter values to avoid injection attacks. 2007-11-23 00:49:55 +00:00
Richard Fairhurst
a8333a38a2 Require data to be public before editing 2007-11-20 10:08:58 +00:00
Tom Hughes
0c90905495 Add a stylesheet targeted at print media to get nice printouts. 2007-11-07 22:26:10 +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
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
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
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
Richard Fairhurst
822e48850d experimental pop-out map key 2007-10-08 22:10:26 +00:00
Tom Hughes
5cd05017a3 Improve alert messages when database is offline. 2007-09-21 09:49:28 +00:00
Tom Hughes
734697ebb6 Check API status correctly. 2007-09-21 08:13:17 +00:00