16273 Commits

Author SHA1 Message Date
Bryan Housel 901cab57da Remove _disabled caches for operations
(re: #6296, reverts 81127d7)
see https://github.com/openstreetmap/iD/issues/6296#issuecomment-489259027
(I'll find another way to deal with the menu not matching the tooltip)
2019-05-07 10:32:12 -04:00
Bryan Housel d3a53309b7 Allow uppercase taginfo results for _ref tags
(closes #6324)
2019-05-07 09:32:13 -04:00
Bryan Housel 966f5c3586 Add explicit validation calls to each operation
This is cleaner than adding hooks to transitionable actions, or performing validation
on every history change.  We want validation to run after each operation, but not
while the user is drawing lines or typing in fields.
2019-05-06 14:49:46 -04:00
Bryan Housel 7551dd9093 fix typo 2019-05-06 13:04:00 -04:00
Bryan Housel e3ea4b8484 Additional improvements to unsquare_way validation
(re: #6288)

- use default params for actionOrthogonalize, not relaxed epsilon
- only allow autofix if there are no extra tags on the building (e.g. source)
2019-05-06 12:58:40 -04:00
Quincy Morgan faf86d961a Add initial 2.15.0 changelog based mostly on issues in the milestone 2019-05-06 11:06:36 -05:00
Bryan Housel 4608e9598c Adjust thresholds for unsquare_way detection
(re: #6288)

I'd like to keep the angle threshold the same as what the action does
for UI consistency, but use a larger epsilon, so that fewer nearly-orthogonal
errors are reported.

With previous constants, it was strange that very orthogonal buildings
were being flagged, and very not-orthogonal buildings were not.
2019-05-06 11:42:57 -04:00
Bryan Housel 59c34e2537 Perform orthagonalization fixes without a transition
We can just set `action.transitionable = false` to make the action instant.
Also removes the `onCompletion` handlers. They shouldn't really be needed,
because the validator will run after the fix is applied (and at other times).
2019-05-06 10:23:30 -04:00
Bryan Housel 26db518dcc Add icon for natural=glacier, use tractor icon for landuse=farmland 2019-05-05 23:46:04 -04:00
Bryan Housel 4c53c5a72c npm run build for new presets 2019-05-05 23:11:52 -04:00
Bryan Housel 5f9bea67da Render more areas in dark grey (rocks, cave entrances, cliffs, etc) 2019-05-05 23:11:33 -04:00
Bryan Housel c320e9f9de Remove extra "cave entrance" from natural catetory 2019-05-05 23:11:12 -04:00
Bryan Housel 02f837ccb4 Add more search terms for the "Road Surface" preset
(closes #6309)
2019-05-05 23:10:30 -04:00
Bryan Housel 77801a3ecd Merge pull request #6284 from Bonkles/id-5869
Improve validation for disconnected highways #5869
2019-05-05 22:17:12 -04:00
Bryan Housel 4d7bc54eb4 Upgrage to rollup 1.11.3
(closes #6303)
2019-05-05 19:08:10 -04:00
Bryan Housel 6d1e546607 Fix "Summit Cross" capitalization, npm run build for new presets 2019-05-05 18:43:06 -04:00
Bryan Housel 0647ef9aac Merge pull request #6321 from westnordost/presets-castles
add castle-related presets
2019-05-05 18:38:11 -04:00
Tobias Zwick 60bdaef999 add castle-related presets 2019-05-05 23:52:01 +02:00
Bryan Housel 659240d9fa Disclosure should unhide before rendering content
(closes #6312)

In case something in the content can't cope with `display: none`
2019-05-05 15:56:56 -04:00
Bryan Housel 66e4564ae7 Adjust zoo type icons 2019-05-05 00:07:43 -04:00
Bryan Housel 1a820e48da Adjust preset names for natural=rock natural=stone 2019-05-04 23:48:10 -04:00
Bryan Housel a266a4d0ec Merge pull request #6311 from westnordost/presets-rock-stone
Add preset for natural=rock
2019-05-04 23:24:34 -04:00
Bryan Housel a5a93e1740 Merge pull request #6313 from westnordost/presets-wastewater-pool
add preset for water=wastewater
2019-05-04 23:20:56 -04:00
Bryan Housel 8ed3715993 Merge pull request #6314 from westnordost/presets-fire-hose
add preset for fire hose
2019-05-04 23:20:06 -04:00
Bryan Housel bde5b24fcf Merge pull request #6315 from westnordost/presets-ambulatory_care
add ambulatory_care preset
2019-05-04 23:19:44 -04:00
Bryan Housel 8a3b2daf96 Merge pull request #6316 from westnordost/presets-crafts
add joiner, floorer, agricultural engine mechanic and parquet layer crafts
2019-05-04 23:19:25 -04:00
Bryan Housel 6b64ed15fe Merge pull request #6317 from westnordost/presets-zoo
add some zoo types presets
2019-05-04 23:18:41 -04:00
Tobias Zwick 54f9a6d860 add some zoo types presets 2019-05-05 00:04:19 +02:00
Tobias Zwick 3ab68e55d8 mechanic -> Mechanic 2019-05-04 22:56:36 +02:00
Tobias Zwick 7272ee7c36 add joiner, floorer, agricultural engine mechanic and parquet layer crafts 2019-05-04 22:04:15 +02:00
Tobias Zwick 5fd493b09a add preset for fire hose 2019-05-04 19:47:29 +02:00
Bryan Housel 8f9dc7afb4 Improve localization of "Thank you for editing the map around.."
(closes #6269)
2019-05-04 13:24:46 -04:00
Tobias Zwick c859707c76 add preset for water=wastewater 2019-05-04 19:17:31 +02:00
Tobias Zwick b41fef1eaf actually, a boulder may be mapped as an area as well 2019-05-04 19:01:44 +02:00
Bryan Housel 8b083b46d5 Update uglify-js to ~3.5.10
(closes #6281)
2019-05-04 12:51:17 -04:00
Tobias Zwick 1e1e44f9df Add rock preset 2019-05-04 18:24:20 +02:00
Quincy Morgan e71470acf6 Remove disabled state cacheing for the delete operation 2019-05-03 13:31:28 -07:00
Quincy Morgan a772808e04 Remove cacheing of disabled state for certain operations to avoid stale state (close #6296) 2019-05-03 13:23:24 -07:00
Quincy Morgan 4afd071a00 Add "Connect this feature" fix to disconnected ways if continuing drawing isn't possible 2019-05-03 12:59:18 -07:00
Quincy Morgan dbc3978d71 Add non-actionable fix recommendation to move very close points apart 2019-05-03 12:15:26 -07:00
Quincy Morgan f786056503 Update missed swimmer icon 2019-05-03 12:12:31 -07:00
Quincy Morgan 313f647a47 User fontawesome swimmer icon instead of maki swimmer icon (close #6307) 2019-05-03 12:05:08 -07:00
Quincy Morgan a7e792fcda Deprecate generator:source=photovoltaic 2019-05-03 11:57:02 -07:00
Bryan Housel ddc9d16b62 Merge pull request #6302 from openstreetmap/text-raw-tag-editor
Text raw tag editor / Copy-paste tags
2019-05-03 14:53:08 -04:00
Bryan Housel 16ec25753d Support escaping of tricky characters, support quoted strings
keys or values can be quoted or unquoted:
- leisure=park
- leisure="park"
- "leisure"=park
- "leisure"="park"
2019-05-03 14:42:35 -04:00
Quincy Morgan c99ddf8cd4 Update fields and name for bicycle_parking=building preset (re: #6259)
Add derived data for prior merge
2019-05-03 11:17:17 -07:00
Quincy Morgan 659176a34e Merge pull request #6259 from westnordost/presets-bicycle-parking
Add presets for bicycle parkings...
2019-05-03 11:12:36 -07:00
Quincy Morgan 1e30519b5d Add scrollbar to long text area fields (close #6306) 2019-05-03 11:10:20 -07:00
Quincy Morgan cc85897348 Fix map pane animation on RTL layout (close #6290) 2019-05-03 11:05:10 -07:00
Quincy Morgan b1d00db874 Show very close node issues on the parent way as well as on the points themselves (close #6304) 2019-05-03 10:40:12 -07:00