Tom Hughes
e7cd90f4b4
Merge branch 'master' into openstreetbugs
2011-05-06 22:56:47 +01:00
Tom Hughes
1635c16560
Tidy up code for adding a map to the changeset list page
2011-05-02 15:30:10 +01:00
Mikel Maron
48929e8781
Add a map to the changeset list page
...
Add a map to the changeset list page, with a bounding box for each
changeset and highighting when the mouse is placed over either a box
on the map or a row of the table.
2011-05-01 22:55:28 +01:00
Kai Krueger
6476388222
Don't require a second click to create an OpenStreetBug
2011-04-29 23:15:57 -06:00
Kai Krueger
1ac7f20263
Make the bug popups look a little nicer
2011-04-29 20:37:51 -06:00
Kai Krueger
3b55494c8c
Add a note that the OSB client side js library has been adapted from the original
2011-04-22 11:20:10 -06:00
Kai Krueger
ad75dd1f06
Update OSB internationalisation to match the rails_port way
2011-04-22 11:17:32 -06:00
Kai Krueger
8cb83adf84
Deactivate OSB controller immediately after clicking a new bug
2011-04-22 10:07:36 -06:00
Kai Krueger
f414d3cb3e
Remove references to old server location
2011-04-22 09:47:25 -06:00
Kai Krueger
5e335b6a55
Link the openstreetbugs browse pages
2011-04-22 09:41:10 -06:00
Kai Krueger
4a23ee8baf
Grey out username text field for bugs when logged in.
2011-04-21 09:05:44 -06:00
Kai Krueger
85984128b1
Change bug comment to a textarea to make it easier to input longer comments
2011-04-21 08:16:53 -06:00
Kai Krueger
001ff5764b
Merge branch 'master' into openstreetbugs2
2011-04-19 22:00:30 -06:00
Tom Hughes
3c2e3ecb8f
Close the editor menu as soon as a choice is made
2010-12-22 18:29:50 +00:00
Matt Amos
42ef10ba80
Avoid integer overflow when computing shortcodes
...
Although javascript's numbers are double precision floating point
number which support 52 bits of precision the bitwise operations are
only guaranteed to work at 32 bits of precision so we need to avoid
relying on them doing more than that.
2010-12-05 11:00:57 +00:00
Tom Hughes
46af060a37
Don't display the menu when the anchor is disabled
2010-11-29 12:20:24 +00:00
Tom Hughes
918dd5679f
Use prototype to capture events so the menus work on IE
2010-11-29 12:20:24 +00:00
Tom Hughes
04a6c41be9
Show a popup listing available editors when hovering over the edit tab
2010-11-29 12:20:22 +00:00
Andy Allan
624453948e
Add a scale bar that changes with latitude (from OpenLayers 2.10)
2010-11-09 14:18:16 +00:00
Tom Hughes
6fb8570200
Merge branch 'master' into openstreetbugs
...
Conflicts:
config/environment.rb
config/routes.rb
2010-09-06 12:51:50 +01:00
Tom Hughes
2def7c187e
Don't process overlay layers in old-style layer configurations
...
There are no overlay layers that we actually want to be persistent, and
the removal of the maplint layer means that old configurations generally
open the wrong overlays now anyway.
2010-08-13 15:13:30 +01:00
Tom Hughes
52395b3cdf
Merge branch 'master' into openstreetbugs
2010-07-28 21:30:55 +01:00
Tom Hughes
d87ea6863a
Fix short links to drop the layers param for the default layer
2010-07-21 14:49:09 +01:00
Tom Hughes
ad116b2431
Don't change the visibility of layers with no code
...
When parsing a layer state ignore any layers with no code
attached rather than turning them off - this ensures that
the marker layer remains enabled and any markers can be
displayed.
2010-07-21 09:07:38 +01:00
Tom Hughes
53b0ace4c0
Remove maplint layer fron the map
...
Remove the maplint layer from the map and change the way layers are
encoded in URLs to make links more robust when the available layers
are changed.
2010-07-20 18:21:54 +01:00
Tom Hughes
acbc99ac16
Merge branch 'master' into openstreetbugs
2010-04-19 21:30:42 +01:00
Tom Hughes
fdbdc9f471
Fix typo.
2010-04-19 14:28:02 +01:00
Tom Hughes
79df86023c
Add a keyid attribute to each layer and use it when requesting the
...
key instead of trying to use the layer name, which can be translated
which will stop it working. Closes #2876 .
2010-04-19 14:28:02 +01:00
Kai Krueger
aa61dfb1ae
Convert openstreetbugs javascript to new style api
2010-03-20 12:34:59 +00:00
Kai Krueger
03f733c4f4
Merge -r 20198:20540 from trunc into openstreetbugs branch
2010-03-18 12:42:23 +00:00
Tom Hughes
89cf0dbe9d
Use Prototype methods to find the anchor nodes to make sure they get
...
extended with the Prototype extensions on all browsers.
2010-03-14 08:48:48 +00:00
Tom Hughes
dcbc807526
Improve user popups on friend/nearby mapper maps.
2010-03-11 18:23:22 +00:00
Tom Hughes
910937ae4b
Use CSS to style the disabled tabs.
2010-03-11 08:58:48 +00:00
Kai Krueger
42822a8b89
An initial (incomplete) "proof of concept" integration of an OpenStreetBugs interface into the rails port
...
This is a (start of a) reimplementation of the api at http://github.com/emka/openstreetbugs/tree/master/api/0.1/
into rails
The client side code is taken from http://wiki.openstreetmap.org/wiki/OpenStreetBugs/New_Client
This is ment as a mockup to perhaps use as a basis to further discuss how best to integrate a map bug reporting system
It currently uses (more or less) the openstreetbugs api specification. But this api feels rather inconsistent with the
rest of the rails_port api, so depending on discussions might still need some significant changes.
2010-02-28 09:30:40 +00:00
Tom Hughes
c6077fd124
Make the tooltips for the tabs a bit more consistent and make the edit
...
and history tooltips change when those tabs are disabled to explain that
the user needs to zoom in to use them.
2010-02-26 18:49:22 +00:00
Tom Hughes
639a994c9b
Experimental support for reverse geocoding using the new geocoder.
2009-10-30 11:12:55 +00:00
Tom Hughes
78d4944caa
Use a PanZoom control on small screens instead of a PanZoomBar control.
2009-10-23 23:31:19 +00:00
Tom Hughes
1466ab3492
Remove hack that was needed to cope with our old asset tagging but
...
which now does nothing except break installation in subdirectories.
2009-10-06 17:26:51 +00:00
Tom Hughes
f4dba81b64
Modify the existing i18n() javascript function to lookup strings in
...
the javascript i18n array as well as expanding arguments, and make all
lookups go through it.
2009-10-02 23:41:19 +00:00
Tom Hughes
596ab82461
Move javascript translations to a separate key based on the path to
...
the javascript file that uses them and amend the layout to automatically
find and output all javascript strings.
2009-10-02 23:33:17 +00:00
Tom Hughes
52126dc3c1
There is no need to translate the names of layers which are not shown
...
in the layer switcher.
2009-10-02 23:03:42 +00:00
Ævar Arnfjörð Bjarmason
4c84709c80
Follow up to [17948]: Make the layer switcher translatable too!
2009-10-02 20:39:47 +00:00
Ævar Arnfjörð Bjarmason
b0e1560875
Some of our JavaScript files have UI messages but we don't want to
...
make them dynamic.
So I'm creating a globally scoped JavaScript array called rails_i18n
which holds some of these messages. It's loaded in <head> before any
of the JavaScript files so it should always be available.
2009-10-02 20:19:28 +00:00
Tom Hughes
3d06c902f6
Remove scale bar. Closes #1704 .
2009-09-15 16:01:50 +00:00
Tom Hughes
7a7c567436
Remove layers argument from the shortlink if we change to mapnik from
...
a non-mapnik layer.
2009-08-13 14:02:49 +00:00
Tom Hughes
7b07b8ccbf
Set a pointRadius on the object style so nodes are visible. Fixes #2070 .
2009-07-16 14:32:42 +00:00
Richard Fairhurst
369202787b
Potlatch 1.1 (server code)
2009-07-08 20:52:02 +00:00
Matt Amos
57e571d241
Changed shortlink zoom level correction char to '-', as this seems to fare better with twitter et al.'s URL highlighting. Decoder is backwards-compatible with the old system.
2009-07-02 16:40:29 +00:00
Ævar Arnfjörð Bjarmason
85f317b46e
Add B000FTFT (as well as B000FTF) to the list of layers we should
...
ignore when constructing the shortlink.
The shortlink was also broken for the new /?{node,way,relation}=id
construct since the code assumed that all URL parameters that weren't
lat/lon/zoom/layers could be safely ignored. I've added
node/way/relation to that list but for future-proofness it might be
better to simply check if there's anything left in ''args'' that we
don't know how to encode, rather than checking on values we know about
now.
2009-06-29 09:47:35 +00:00
Ævar Arnfjörð Bjarmason
b06f4750e1
I forgot to set fillColor/fillOpacity in commit [16214]. Without it
...
any area being rendered by OpenLayers would turn into a black hole
since the default fillOpacity is 100%.
2009-06-29 02:17:02 +00:00