potlatch2.git
10 years agosupport GPX 1.1 too
Richard Fairhurst [Sun, 5 Dec 2010 16:44:58 +0000 (16:44 +0000)]
support GPX 1.1 too

10 years agopass the URL of a GPX in the gpx_url parameter, as requested by Nop. There's a fair...
Richard Fairhurst [Sun, 5 Dec 2010 00:05:00 +0000 (00:05 +0000)]
pass the URL of a GPX in the gpx_url parameter, as requested by Nop. There's a fair amount of refactoring one could do, but this'll do for now

10 years agopersonally I think using regexes to nuke the fuck out of XML is a greatly underrated...
Richard Fairhurst [Sat, 4 Dec 2010 22:27:58 +0000 (22:27 +0000)]
personally I think using regexes to nuke the fuck out of XML is a greatly underrated pastime

10 years agoautomatically select comment TextField on clicking 'save'
Richard Fairhurst [Sat, 4 Dec 2010 22:05:26 +0000 (22:05 +0000)]
automatically select comment TextField on clicking 'save'

10 years agomake layers work again
Richard Fairhurst [Sat, 4 Dec 2010 22:02:18 +0000 (22:02 +0000)]
make layers work again

10 years agofix issue with creating new relations
Richard Fairhurst [Sat, 4 Dec 2010 21:47:48 +0000 (21:47 +0000)]
fix issue with creating new relations

10 years agooops
Andy Allan [Fri, 3 Dec 2010 18:21:22 +0000 (18:21 +0000)]
oops

10 years agoAdd missing American speed limit presets
Andy Allan [Fri, 3 Dec 2010 18:08:01 +0000 (18:08 +0000)]
Add missing American speed limit presets

10 years agoFixup embankment, cutting to be more regular and smaller, administrative to be long...
Andy Allan [Fri, 3 Dec 2010 18:00:25 +0000 (18:00 +0000)]
Fixup embankment, cutting to be more regular and smaller, administrative to be long thin dashes, and remove the hazard tape

10 years agoAdd more things to map features. Rework the source field.
Andy Allan [Fri, 3 Dec 2010 18:00:23 +0000 (18:00 +0000)]
Add more things to map features. Rework the source field.

10 years agoAllow a javascript function to be called when the map is moved
Tom Hughes [Fri, 3 Dec 2010 14:58:58 +0000 (14:58 +0000)]
Allow a javascript function to be called when the map is moved

10 years agoa few waterway icons
Richard Fairhurst [Fri, 3 Dec 2010 13:02:16 +0000 (13:02 +0000)]
a few waterway icons

10 years agopath icons
Richard Fairhurst [Fri, 3 Dec 2010 11:59:46 +0000 (11:59 +0000)]
path icons

10 years agoAdjust the width (and height) of the dropdown lists based on the size of their contents
Andy Allan [Fri, 3 Dec 2010 11:08:04 +0000 (11:08 +0000)]
Adjust the width (and height) of the dropdown lists based on the size of their contents

10 years agoImprove the XML parsing used for the Bing imagery attribution file
Tom Hughes [Thu, 2 Dec 2010 21:25:32 +0000 (21:25 +0000)]
Improve the XML parsing used for the Bing imagery attribution file

10 years agoDon't bother trying to strip namespaces from OSM files as they don't have them
Tom Hughes [Thu, 2 Dec 2010 21:14:42 +0000 (21:14 +0000)]
Don't bother trying to strip namespaces from OSM files as they don't have them

10 years agoMake the various GPX parsers a bit less mad
Tom Hughes [Thu, 2 Dec 2010 19:24:41 +0000 (19:24 +0000)]
Make the various GPX parsers a bit less mad

10 years agomake sure attribution moves around when you resize the window
Richard Fairhurst [Thu, 2 Dec 2010 19:23:19 +0000 (19:23 +0000)]
make sure attribution moves around when you resize the window

10 years agofix bug with ways not being redrawn on panning back; and be a bit less silly about...
Richard Fairhurst [Thu, 2 Dec 2010 18:45:52 +0000 (18:45 +0000)]
fix bug with ways not being redrawn on panning back; and be a bit less silly about purging when there's a relation with lots of off-screen ways

10 years agoHave a disabled icon for when the save button is disabled
Andy Allan [Thu, 2 Dec 2010 17:32:29 +0000 (17:32 +0000)]
Have a disabled icon for when the save button is disabled

10 years agoAlternative upload symbols
Andy Allan [Thu, 2 Dec 2010 17:32:28 +0000 (17:32 +0000)]
Alternative upload symbols

10 years agoAdd a styleName to the toolbox
Andy Allan [Thu, 2 Dec 2010 17:32:27 +0000 (17:32 +0000)]
Add a styleName to the toolbox

10 years agoAdd styleName hooks for styling. Improve arrangement at the top of the Simple panel...
Andy Allan [Thu, 2 Dec 2010 17:32:25 +0000 (17:32 +0000)]
Add styleName hooks for styling. Improve arrangement at the top of the Simple panel. Remove the dropdown from the tab navigator

10 years agonew highway icons
Richard Fairhurst [Thu, 2 Dec 2010 10:26:15 +0000 (10:26 +0000)]
new highway icons

10 years agoConvert k/v to string before storing them. Fixes #3357
Andy Allan [Wed, 1 Dec 2010 16:14:37 +0000 (16:14 +0000)]
Convert k/v to string before storing them. Fixes #3357

10 years agoDon't copy blank tags to clipboard for nodes either. Don't copy them at all for markers.
Andy Allan [Wed, 1 Dec 2010 14:52:00 +0000 (14:52 +0000)]
Don't copy blank tags to clipboard for nodes either. Don't copy them at all for markers.

10 years agoDon't copy blank tags to the clipboard. This happens when DrawWay.exitState() calls...
Andy Allan [Wed, 1 Dec 2010 14:51:58 +0000 (14:51 +0000)]
Don't copy blank tags to the clipboard. This happens when DrawWay.exitState() calls super(), but is generally not what people would want anyway.

10 years agoFix up the 'everything is a place' bug - you can't have a feature without any tags...
Andy Allan [Wed, 1 Dec 2010 12:45:21 +0000 (12:45 +0000)]
Fix up the 'everything is a place' bug - you can't have a feature without any tags otherwise it acts as a catchall. Introduce some more places with tags, but every other type of place is now unrecognised

10 years agoDon't add the end node if you click on it again, slowly. Closes #3355
Andy Allan [Wed, 1 Dec 2010 11:32:00 +0000 (11:32 +0000)]
Don't add the end node if you click on it again, slowly. Closes #3355

10 years agostop erroring every time a category is selected for an untagged way
Richard Fairhurst [Wed, 1 Dec 2010 10:29:01 +0000 (10:29 +0000)]
stop erroring every time a category is selected for an untagged way

10 years agoRemember dimming/sharpening preferences
Richard Fairhurst [Tue, 30 Nov 2010 21:35:59 +0000 (21:35 +0000)]
Remember dimming/sharpening preferences

10 years agokill stupid tab bug
Richard Fairhurst [Tue, 30 Nov 2010 21:07:16 +0000 (21:07 +0000)]
kill stupid tab bug

10 years agoRemove v='*' entries from map_features. I'd rather have missing functionality than...
Andy Allan [Tue, 30 Nov 2010 19:18:36 +0000 (19:18 +0000)]
Remove v='*' entries from map_features. I'd rather have missing functionality than bogus data

10 years agodon't break when you ctrl-click the background
Richard Fairhurst [Tue, 30 Nov 2010 19:02:40 +0000 (19:02 +0000)]
don't break when you ctrl-click the background

10 years agomove vector background handling to collection, and use singleton method. Now matches...
Andy Allan [Tue, 30 Nov 2010 18:41:35 +0000 (18:41 +0000)]
move vector background handling to collection, and use singleton method. Now matches imagery and stylesheets

10 years agoAdd descriptions for all the packages
Andy Allan [Tue, 30 Nov 2010 18:07:48 +0000 (18:07 +0000)]
Add descriptions for all the packages

10 years agochange Bing terms link to OSM-specific one
Richard Fairhurst [Tue, 30 Nov 2010 17:50:29 +0000 (17:50 +0000)]
change Bing terms link to OSM-specific one

10 years agoread default from imagery.xml rather than using yahoodefault
Richard Fairhurst [Tue, 30 Nov 2010 17:44:11 +0000 (17:44 +0000)]
read default from imagery.xml rather than using yahoodefault

10 years agosuperstar DJs / here we go
Richard Fairhurst [Tue, 30 Nov 2010 17:38:02 +0000 (17:38 +0000)]
superstar DJs / here we go

10 years agoProvide a link to the website, if the <details> parameter is filled out for bug layers.
Andy Allan [Tue, 30 Nov 2010 15:52:43 +0000 (15:52 +0000)]
Provide a link to the website, if the <details> parameter is filled out for bug layers.

10 years agoWrap ExternalInterface call in test - not all players support it
Andy Allan [Tue, 30 Nov 2010 15:52:41 +0000 (15:52 +0000)]
Wrap ExternalInterface call in test - not all players support it

10 years agoSupport loading 1+ GPX files via imagery.xml
Andy Allan [Tue, 30 Nov 2010 15:23:51 +0000 (15:23 +0000)]
Support loading 1+ GPX files via imagery.xml

10 years agohm, shouldn't have committed that quite yet
Richard Fairhurst [Tue, 30 Nov 2010 15:05:59 +0000 (15:05 +0000)]
hm, shouldn't have committed that quite yet

10 years agosupport Potlatch legacy tile scheme; don't support Google
Richard Fairhurst [Tue, 30 Nov 2010 15:05:11 +0000 (15:05 +0000)]
support Potlatch legacy tile scheme; don't support Google

10 years agoRegister a setPosition function that can be used from javascript to
Tom Hughes [Tue, 30 Nov 2010 12:59:53 +0000 (12:59 +0000)]
Register a setPosition function that can be used from javascript to
adjust the map view.

10 years agoMake it much less likely to trigger bugClosed errors, but errors still aren't handled...
Andy Allan [Tue, 30 Nov 2010 12:51:38 +0000 (12:51 +0000)]
Make it much less likely to trigger bugClosed errors, but errors still aren't handled in any way

10 years agoAllow a GPX trace specified by the "gpx" parameter to be loaded at startup.
Tom Hughes [Tue, 30 Nov 2010 12:19:09 +0000 (12:19 +0000)]
Allow a GPX trace specified by the "gpx" parameter to be loaded at startup.

10 years agoAdd shauns suggestion of ordering the relation select panel more usefully - more...
Andy Allan [Tue, 30 Nov 2010 12:02:31 +0000 (12:02 +0000)]
Add shauns suggestion of ordering the relation select panel more usefully - more difficult than it first seemed

10 years agoImproved handling of blank nickname/comment fields (i.e. this is what I meant the...
Andy Allan [Tue, 30 Nov 2010 12:02:30 +0000 (12:02 +0000)]
Improved handling of blank nickname/comment fields (i.e. this is what I meant the first time)

10 years agoAllow two javascript functions to be specified which will maximise and
Tom Hughes [Tue, 30 Nov 2010 10:48:56 +0000 (10:48 +0000)]
Allow two javascript functions to be specified which will maximise and
minimise the editing area and make the M key toggle between states.

10 years agomove attribution to bottom right, and support a 'Terms of use' URL (add <terms_url...
Richard Fairhurst [Tue, 30 Nov 2010 10:23:26 +0000 (10:23 +0000)]
move attribution to bottom right, and support a 'Terms of use' URL (add <terms_url>microsoft.com/maps/product/terms.html</terms_url> to the <set>)

10 years agomake logo clickable
Richard Fairhurst [Tue, 30 Nov 2010 01:03:19 +0000 (01:03 +0000)]
make logo clickable

10 years agoadd support for provider attribution and logo, as required by Bing. Add an entry...
Richard Fairhurst [Tue, 30 Nov 2010 00:48:21 +0000 (00:48 +0000)]
add support for provider attribution and logo, as required by Bing. Add an entry to imagery.xml like this:
  <set>
<name>Bing</name>
<url>http://ecn.t0.tiles.virtualearth.net/tiles/a$quadkey.jpeg?g=587&mkt=en-gb&n=z</url>
<scheme>microsoft</scheme>
<sourcetag>Bing</sourcetag>
<attribution_url>http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Aerial/0,0?zl=1&mapVersion=v1&key=Arzdiw4nlOJzRwOz__qailc8NiR31Tt51dN2D7cm57NrnceZnCpgOkmJhNpGoppU&include=ImageryProviders&output=xml</attribution_url>
<logo>bing_maps.png</logo>
<logo_url>http://www.bing.com/maps</logo_url>
</set>

10 years agoUse the name supplied in the config file for the vector layer
Andy Allan [Mon, 29 Nov 2010 17:27:46 +0000 (17:27 +0000)]
Use the name supplied in the config file for the vector layer

10 years agoTag release 0.5 0.5
Andy Allan [Mon, 29 Nov 2010 12:16:00 +0000 (12:16 +0000)]
Tag release 0.5

10 years agoBoog fix with switching styles
Andy Allan [Mon, 29 Nov 2010 11:55:31 +0000 (11:55 +0000)]
Boog fix with switching styles

10 years agomove imagery and stylesheet collection-handling code out of the Application
Richard Fairhurst [Sun, 28 Nov 2010 23:49:41 +0000 (23:49 +0000)]
move imagery and stylesheet collection-handling code out of the Application

10 years agoon a scale of 0 to awesome, I count this as AWESOME
Richard Fairhurst [Sun, 28 Nov 2010 20:00:45 +0000 (20:00 +0000)]
on a scale of 0 to awesome, I count this as AWESOME

10 years agodon't break if trying to cycle ways when there's only one anyway
Richard Fairhurst [Sun, 28 Nov 2010 19:00:53 +0000 (19:00 +0000)]
don't break if trying to cycle ways when there's only one anyway

10 years agouser-definable function keys for background imagery and stylesheets
Richard Fairhurst [Sun, 28 Nov 2010 17:38:13 +0000 (17:38 +0000)]
user-definable function keys for background imagery and stylesheets

10 years agofix problem if user preference was set to Yahoo (I'm so much looking forward to getti...
Richard Fairhurst [Sat, 27 Nov 2010 17:21:47 +0000 (17:21 +0000)]
fix problem if user preference was set to Yahoo (I'm so much looking forward to getting shot of the Yahoo API...)

10 years agopress '/' to cycle through overlapping ways
Richard Fairhurst [Sat, 27 Nov 2010 16:42:35 +0000 (16:42 +0000)]
press '/' to cycle through overlapping ways

10 years agoUpdate ignores.
Tom Hughes [Sat, 27 Nov 2010 11:42:48 +0000 (11:42 +0000)]
Update ignores.

10 years agoadd the ability to lock entities against purging
Richard Fairhurst [Fri, 26 Nov 2010 16:40:25 +0000 (16:40 +0000)]
add the ability to lock entities against purging

10 years agoAdd BikeShopLoader to the autovectorbackground. Also remove the bugs and bike shops...
Andy Allan [Fri, 26 Nov 2010 15:43:54 +0000 (15:43 +0000)]
Add BikeShopLoader to the autovectorbackground. Also remove the bugs and bike shops buttons, since they should now be loaded via config if required.

10 years agoboog spotted
Richard Fairhurst [Fri, 26 Nov 2010 15:33:40 +0000 (15:33 +0000)]
boog spotted

10 years agoLoad policy files only when the layer is created - often the loader can be created...
Andy Allan [Fri, 26 Nov 2010 14:49:26 +0000 (14:49 +0000)]
Load policy files only when the layer is created - often the loader can be created without ever being loaded

10 years agoAutoVectorBackground - load VectorBackground layers from a config file
Andy Allan [Fri, 26 Nov 2010 14:41:48 +0000 (14:41 +0000)]
AutoVectorBackground - load VectorBackground layers from a config file

10 years agoDispatch an event when the map sprites etc have been initialized
Andy Allan [Fri, 26 Nov 2010 14:41:46 +0000 (14:41 +0000)]
Dispatch an event when the map sprites etc have been initialized

10 years agoand remove it from the todo
Richard Fairhurst [Fri, 26 Nov 2010 12:31:59 +0000 (12:31 +0000)]
and remove it from the todo

10 years agomake imagery menu adapt to where you are. I guess it might need to be bindable so...
Richard Fairhurst [Fri, 26 Nov 2010 12:30:53 +0000 (12:30 +0000)]
make imagery menu adapt to where you are. I guess it might need to be bindable so it changes as you pan around, but the whole binding thing still confuses me a bit

10 years agoFix the null reference bug. In the end, the simplist thing was to make the code match...
Andy Allan [Thu, 25 Nov 2010 15:24:40 +0000 (15:24 +0000)]
Fix the null reference bug. In the end, the simplist thing was to make the code match the comment!

10 years agoAllow simplify to work on areas now that the algorithm has been
Tom Hughes [Wed, 24 Nov 2010 22:59:00 +0000 (22:59 +0000)]
Allow simplify to work on areas now that the algorithm has been
fixed to work when there are multiple nodes in the same place.

10 years agoWhen importing a polygon from KML make the start and end points use
Tom Hughes [Wed, 24 Nov 2010 22:27:22 +0000 (22:27 +0000)]
When importing a polygon from KML make the start and end points use
the same node so it is a proper OSM polygon.

10 years agoAvoid division by zero in simplication algorithm when two end points
Tom Hughes [Wed, 24 Nov 2010 21:41:50 +0000 (21:41 +0000)]
Avoid division by zero in simplication algorithm when two end points
we are considering are in the same place.

10 years agoOnly add a new vector layer to the map once we know we have loaded
Tom Hughes [Wed, 24 Nov 2010 21:14:21 +0000 (21:14 +0000)]
Only add a new vector layer to the map once we know we have loaded
it successfully or it will keep reappearing in the dialog.

10 years agoReformat dates. Surprisingly limited options for parsing and displaying dates.
Andy Allan [Wed, 24 Nov 2010 18:25:51 +0000 (18:25 +0000)]
Reformat dates. Surprisingly limited options for parsing and displaying dates.

10 years agoDon't duplicate bugs. The complete reimplementation of Connection in VectorLayer...
Andy Allan [Wed, 24 Nov 2010 17:44:21 +0000 (17:44 +0000)]
Don't duplicate bugs. The complete reimplementation of Connection in VectorLayer draws ever closer...

10 years agobuglayer todos
Andy Allan [Wed, 24 Nov 2010 16:04:43 +0000 (16:04 +0000)]
buglayer todos

10 years agoClose bug as either fixed or invalid
Andy Allan [Wed, 24 Nov 2010 16:04:41 +0000 (16:04 +0000)]
Close bug as either fixed or invalid

10 years agoMore layout work, and set the flow properly between the different states
Andy Allan [Wed, 24 Nov 2010 14:59:33 +0000 (14:59 +0000)]
More layout work, and set the flow properly between the different states

10 years agoRemove the tag grid, and start laying out the details properly
Andy Allan [Wed, 24 Nov 2010 14:06:52 +0000 (14:06 +0000)]
Remove the tag grid, and start laying out the details properly

10 years agoAdd nickname (with character restrictions) and comment fields when closing bug
Andy Allan [Wed, 24 Nov 2010 14:06:51 +0000 (14:06 +0000)]
Add nickname (with character restrictions) and comment fields when closing bug

10 years agoRemove bug stuff from marker panel
Andy Allan [Wed, 24 Nov 2010 14:06:47 +0000 (14:06 +0000)]
Remove bug stuff from marker panel

10 years agodon't barf on old saved data
Richard Fairhurst [Tue, 23 Nov 2010 19:22:17 +0000 (19:22 +0000)]
don't barf on old saved data

10 years agoBing support. Add a <scheme>microsoft</scheme> parameter to imagery.xml for this...
Richard Fairhurst [Tue, 23 Nov 2010 18:31:33 +0000 (18:31 +0000)]
Bing support. Add a <scheme>microsoft</scheme> parameter to imagery.xml for this, and a URL such as <url>ecn.t0.tiles.virtualearth.net/tiles/a$quadkey.jpeg?g=587&mkt=en-gb&n=z</url>

10 years agoCreate a separate BugPanel, and move the panels into a subfolder - perhaps do this...
Andy Allan [Tue, 23 Nov 2010 14:51:10 +0000 (14:51 +0000)]
Create a separate BugPanel, and move the panels into a subfolder - perhaps do this for all the panel variations?

10 years agoupdate todo - new bug involving advancedTagGrid
Andy Allan [Tue, 23 Nov 2010 12:01:46 +0000 (12:01 +0000)]
update todo - new bug involving advancedTagGrid

10 years agoUpdate bug when it has been closed, using the closure approach
Andy Allan [Tue, 23 Nov 2010 12:01:44 +0000 (12:01 +0000)]
Update bug when it has been closed, using the closure approach

10 years agoAdd KML importer as a vector source.
Tom Hughes [Tue, 23 Nov 2010 11:40:10 +0000 (11:40 +0000)]
Add KML importer as a vector source.

10 years agoreport boog of sorts
Richard Fairhurst [Mon, 22 Nov 2010 19:50:40 +0000 (19:50 +0000)]
report boog of sorts

10 years agouse a closure rather than ExtendedURLLoader for Importer (should eventually do this...
Richard Fairhurst [Mon, 22 Nov 2010 19:49:18 +0000 (19:49 +0000)]
use a closure rather than ExtendedURLLoader for Importer (should eventually do this for everything)

10 years agoForgot to update the todo
Andy Allan [Mon, 22 Nov 2010 19:16:09 +0000 (19:16 +0000)]
Forgot to update the todo

10 years agothe bug layer should autmatically download when panning. Move the loading/parsing...
Andy Allan [Mon, 22 Nov 2010 19:15:22 +0000 (19:15 +0000)]
the bug layer should autmatically download when panning. Move the loading/parsing code out of the Loader and into the BugLayer to support this

10 years agoWhen downloading from the Connection, also download from the VectorLayers
Andy Allan [Mon, 22 Nov 2010 19:15:20 +0000 (19:15 +0000)]
When downloading from the Connection, also download from the VectorLayers

10 years agofix dupe nodes stuff
Richard Fairhurst [Mon, 22 Nov 2010 18:38:51 +0000 (18:38 +0000)]
fix dupe nodes stuff

10 years agoBugfix: Parallelise adding too many nodes to way. Thanks to Rafał Rudzik for patch
Andy Allan [Mon, 22 Nov 2010 17:01:13 +0000 (17:01 +0000)]
Bugfix: Parallelise adding too many nodes to way. Thanks to Rafał Rudzik for patch

10 years agoAdd todos regarding the bug layer
Andy Allan [Mon, 22 Nov 2010 16:41:47 +0000 (16:41 +0000)]
Add todos regarding the bug layer

10 years agoProtect against 204 responses; the JSON parser doesn't like empty strings
Andy Allan [Mon, 22 Nov 2010 15:26:12 +0000 (15:26 +0000)]
Protect against 204 responses; the JSON parser doesn't like empty strings

10 years agoDifferent bug symbols for fixed/invalid bugs
Andy Allan [Mon, 22 Nov 2010 15:26:08 +0000 (15:26 +0000)]
Different bug symbols for fixed/invalid bugs