potlatch2.git
8 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

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

8 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

8 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.

8 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.

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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.

8 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

8 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

8 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

8 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

8 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.

8 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

8 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.

8 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

8 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)

8 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.

8 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>)

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

8 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>

8 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

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

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

8 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

8 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

8 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

8 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

8 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...)

8 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

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

8 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

8 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.

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

8 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

8 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

8 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

8 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

8 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

8 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!

8 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.

8 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.

8 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.

8 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.

8 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.

8 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...

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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>

8 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?

8 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

8 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

8 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.

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

8 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)

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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 years agofix vector background dialogue to cope with changed stylesheets object
Richard Fairhurst [Mon, 22 Nov 2010 15:19:31 +0000 (15:19 +0000)]
fix vector background dialogue to cope with changed stylesheets object

8 years agoThe BikeShopLoader developed during WhereCampUK, but with the button permanently...
Andy Allan [Mon, 22 Nov 2010 12:41:34 +0000 (12:41 +0000)]
The BikeShopLoader developed during WhereCampUK, but with the button permanently hidden for now.

See the BikeShopLoader.as file for documentation.

8 years agoMake the bug layer work with remote server - use POST, crossdomain.xml
Andy Allan [Mon, 22 Nov 2010 12:41:31 +0000 (12:41 +0000)]
Make the bug layer work with remote server - use POST, crossdomain.xml

8 years agofix the "ways no longer seem to belong to a relation" bug
Richard Fairhurst [Thu, 18 Nov 2010 17:16:07 +0000 (17:16 +0000)]
fix the "ways no longer seem to belong to a relation" bug

8 years agowe like dupes, but not _that_ much
Richard Fairhurst [Thu, 18 Nov 2010 13:06:58 +0000 (13:06 +0000)]
we like dupes, but not _that_ much

8 years agoFigure out the layer a Marker is on, and bounce it all the way to the MarkerPanel...
Andy Allan [Wed, 17 Nov 2010 13:03:40 +0000 (13:03 +0000)]
Figure out the layer a Marker is on, and bounce it all the way to the MarkerPanel. Show buttons if the marker is on a BugLayer

8 years agoAdd potlatch2.BugLayer to extend VectorLayer and have added functions for storing...
Andy Allan [Wed, 17 Nov 2010 13:03:38 +0000 (13:03 +0000)]
Add potlatch2.BugLayer to extend VectorLayer and have added functions for storing connection parameters (for closing bugs etc)

8 years agoFix the '+ keypress not adding a second tag' bug by adding event listener to Add...
Andy Allan [Wed, 17 Nov 2010 11:33:46 +0000 (11:33 +0000)]
Fix the '+ keypress not adding a second tag' bug by adding event listener to Add button

9 years agoFix stale tags on AdvancedTagGrid when tags are changed
Andy Allan [Tue, 16 Nov 2010 18:39:21 +0000 (18:39 +0000)]
Fix stale tags on AdvancedTagGrid when tags are changed

9 years agoRemove the tagDataProvider from TagViewer, since I think it's no longer used. TagGrid...
Andy Allan [Tue, 16 Nov 2010 18:39:19 +0000 (18:39 +0000)]
Remove the tagDataProvider from TagViewer, since I think it's no longer used. TagGrid.mxml uses a different variable with the same name.

9 years agoBugFix - Traces now draw immediately when loaded, now that I've learned (and document...
Andy Allan [Tue, 16 Nov 2010 17:50:33 +0000 (17:50 +0000)]
BugFix - Traces now draw immediately when loaded, now that I've learned (and documented) the intracacies of VectorLayer

9 years agoupdate todo, removing some and adding one
Andy Allan [Tue, 16 Nov 2010 17:50:31 +0000 (17:50 +0000)]
update todo, removing some and adding one

9 years agoset the initial NoSelection state before constructing the toolbox, so the icons are...
Andy Allan [Tue, 16 Nov 2010 17:50:28 +0000 (17:50 +0000)]
set the initial NoSelection state before constructing the toolbox, so the icons are initially disabled

9 years agoTweak the path text-offset
Andy Allan [Tue, 16 Nov 2010 17:50:27 +0000 (17:50 +0000)]
Tweak the path text-offset

9 years agoSupport icon opacity in fill (casing-opacity already supported. Makes the dupe nodes...
Andy Allan [Tue, 16 Nov 2010 16:33:12 +0000 (16:33 +0000)]
Support icon opacity in fill (casing-opacity already supported. Makes the dupe nodes look nicer

9 years agoReduce the number of redraws by around a bazillion when dragging nodes around
Andy Allan [Tue, 16 Nov 2010 16:25:45 +0000 (16:25 +0000)]
Reduce the number of redraws by around a bazillion when dragging nodes around

9 years agoMove the area and tiger stateClass assignment to use EntityUI.setStateClass, and...
Andy Allan [Tue, 16 Nov 2010 16:07:21 +0000 (16:07 +0000)]
Move the area and tiger stateClass assignment to use EntityUI.setStateClass, and add some documentation

9 years agoMake the reference to the Potlatch2 Primer a link.
Tom Hughes [Tue, 16 Nov 2010 15:23:57 +0000 (15:23 +0000)]
Make the reference to the Potlatch2 Primer a link.

9 years agoMake bugs button conditional on having appropriate loader parameters
Andy Allan [Tue, 16 Nov 2010 15:01:21 +0000 (15:01 +0000)]
Make bugs button conditional on having appropriate loader parameters

9 years agoMake marker tags grid full height
Andy Allan [Tue, 16 Nov 2010 15:01:19 +0000 (15:01 +0000)]
Make marker tags grid full height

9 years agoCleanup bugloader traces, and add more tags
Andy Allan [Tue, 16 Nov 2010 15:01:17 +0000 (15:01 +0000)]
Cleanup bugloader traces, and add more tags

9 years agoBugfix - remove dataprovider since it's set via script
Andy Allan [Tue, 16 Nov 2010 15:01:15 +0000 (15:01 +0000)]
Bugfix - remove dataprovider since it's set via script