Commit graph

1161 commits

Author SHA1 Message Date
Tom Hughes
b331823b5d Make export tab work from non-view pages. 2008-04-19 13:29:24 +00:00
Tom Hughes
ddb003f0f2 Headers is an array not a function... 2008-04-19 13:29:10 +00:00
Tom Hughes
7ebb29d195 Don't call formatChanged() when disabling XML output as it has side effects. 2008-04-19 10:48:48 +00:00
Tom Hughes
9bae22aacb Validate the mapnik scale on a zoom change. 2008-04-19 10:45:28 +00:00
Tom Hughes
7fa1041340 Display the size of the image mapnik will produce. 2008-04-19 10:40:37 +00:00
Tom Hughes
cb75e0bdd0 Add export helper. 2008-04-18 22:56:52 +00:00
Tom Hughes
8815700a77 Rework AJAX stuff to work on IE. 2008-04-18 22:12:50 +00:00
Tom Hughes
2f925b9197 Remove spurious comma that was breaking Safari. 2008-04-18 17:33:09 +00:00
Tom Hughes
836f46f9f7 Fix broken close tag that was breaking Opera. 2008-04-18 17:32:47 +00:00
Tom Hughes
016e43e596 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.
2008-04-17 23:30:30 +00:00
Tom Hughes
b7d8360a27 Default export format based on selected base layer. 2008-04-17 23:10:35 +00:00
Tom Hughes
083cb994d7 Fill in license details. 2008-04-17 23:05:57 +00:00
Tom Hughes
b4791598ea Remove unused method. 2008-04-17 17:47:35 +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
d13ef1db02 More work on export tab. 2008-04-14 23:46:10 +00:00
Tom Hughes
0f28e0581e Tweak the namefinder results a bit more. 2008-04-10 08:07:09 +00:00
Tom Hughes
373a3b0577 Provide extra context for namefinder results where the nearest place
is small (a hamlet, village or suburb). Closes #794.
2008-04-09 23:43:38 +00:00
Tom Hughes
2c66491e00 Reflect any changes made to the bounds in the map. 2008-04-09 18:14:30 +00:00
Tom Hughes
f1c0834c5c Disable OSM export when the area is too large. 2008-04-08 18:38:43 +00:00
Tom Hughes
1df50231fa Commit initial work on export tab. 2008-04-07 23:23:15 +00:00
Tom Hughes
f7d2bf9e39 Remove export controller from branches where it isn't needed yet. 2008-04-07 23:11:25 +00:00
Tom Hughes
f8adbf080a Remove export controller from branches where it isn't needed yet. 2008-04-07 23:11:25 +00:00
Richard Fairhurst
1878369474 permit uninserted tracks to be edited 2008-03-30 00:27:29 +00:00
Richard Fairhurst
4ebf47b734 0.8a 2008-03-30 00:17:24 +00:00
Tom Hughes
400340b138 Enable the namefinder again. 2008-03-25 18:01:10 +00:00
Steve Coast
ec264a935e nicer fix I think for nil / [] issue 2008-03-21 20:30:16 +00:00
Steve Coast
1f857565a6 more madness 2008-03-21 20:21:49 +00:00
Richard Fairhurst
740511066f fix problem with blank areas throwing a 500 2008-03-21 20:17:56 +00:00
Richard Fairhurst
d2c9ea6cf0 fix problem with blank areas throwing a 500 2008-03-21 19:49:09 +00:00
Richard Fairhurst
112950ca3a various relations fixes 2008-03-21 19:00:39 +00:00
Richard Fairhurst
4a5fb3b46e restore Steve's deleteway stuff 2008-03-19 10:39:50 +00:00
Richard Fairhurst
ae142c554b Potlatch 0.8 - be afraid, be very, very afraid 2008-03-19 01:03:51 +00:00
Frederik Ramm
d0aa199e92 - add old_relation_controller and stuff so that relation history works. fixes #557.
- minor testing fixes.
2008-03-16 23:16:18 +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
c0d2ad40c3 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.
2008-03-06 12:43:10 +00:00
Tom Hughes
58082d128a Fix typo. 2008-03-04 21:24:14 +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
Tom Hughes
789c6343d9 Yet more escaping. 2008-03-04 17:57:51 +00:00
Tom Hughes
c5f93e3ea0 More escaping. 2008-03-04 17:53:36 +00:00
Tom Hughes
2a061fb5a9 Escape page title. 2008-03-04 17:51:42 +00:00
Tom Hughes
a6089e5355 More display name escaping. 2008-03-04 16:53:08 +00:00
Tom Hughes
0d70728fe2 Escape user display names. 2008-03-04 16:51:13 +00:00
Tom Hughes
cf8bd08a66 Escape user names in diary views. 2008-03-04 16:49:12 +00:00
Tom Hughes
6c15eb7251 Disable the NameFinder and fix cut'n'paste error. 2008-02-26 21:50:53 +00:00
Tom Hughes
3acada409a Get the user image right this time... 2008-02-25 18:55:25 +00:00
Tom Hughes
ebe13d2849 Close tag properly. 2008-02-24 17:39:55 +00:00