Commit Graph

3220 Commits

Author SHA1 Message Date
Quincy Morgan 45d22261fc Don't leave an extra junction segment when the end node of the crossing edge is only the endpoint of two lines (re: #7202)
Make the length of added crossing structures much closer to the intended spherical length
2020-01-16 17:55:13 -05:00
Quincy Morgan 9376fa1870 Merge branch '2.x' of https://github.com/openstreetmap/iD into 2.x 2020-01-16 11:03:19 -05:00
Quincy Morgan 145d6aef4f Add class to operation button icons 2020-01-16 10:58:04 -05:00
Bryan Housel a45b4133c5 indent 2020-01-16 10:37:24 -05:00
Quincy Morgan 2495aa8041 Add additional safety check to uiAccount 2020-01-16 10:34:47 -05:00
Quincy Morgan 51a3fce4eb Account for instances where icon has multiple classes 2020-01-16 10:33:59 -05:00
Quincy Morgan 544dd1a742 Use the icon class when selecting icons 2020-01-16 10:31:25 -05:00
Quincy Morgan d6419ca791 Move OSM tile fetch callback to a named function 2020-01-16 10:29:17 -05:00
Quincy Morgan 37351e0f50 Include the number of active blocks in the OSM user object 2020-01-16 10:19:59 -05:00
Bryan Housel 1c998d186a Correctly gather the community index resources
- old code assumed that each resource had a link back to a single geojson featureId
- this isn't the case anymore so we need to link them in data/index.js
2020-01-16 10:06:35 -05:00
Bryan Housel 7391266aa7 ES6-ify success.js 2020-01-15 18:27:45 -05:00
Quincy Morgan 41355bf2a0 Rename "visible" property of presets to "addable" (re: a06ec59514b30a52601e3614ef69006d2dc1bc91) 2020-01-15 14:29:45 -05:00
Quincy Morgan f270c475ea Add timestamp to saved histories (re: b4ef0862978ae79a5cb741ac49370ed678857b1f) 2020-01-15 13:11:08 -05:00
Quincy Morgan ab278a84df Add method to get stored JSON history from outside coreHistory object (re: b4ef0862978ae79a5cb741ac49370ed678857b1f) 2020-01-15 13:08:32 -05:00
Quincy Morgan 186aec68ac Improve endpoint for checking if restorable changes exist (re: b4ef0862978ae79a5cb741ac49370ed678857b1f) 2020-01-15 12:57:53 -05:00
Quincy Morgan 361358392f Don't show yes as a suggestion for typeCombo fields 2020-01-15 10:30:38 -05:00
Quincy Morgan 3340d05502 Add Solar Farm and Wind Farm presets 2020-01-14 20:50:00 -05:00
Quincy Morgan 0eb9912e01 Don't flag empty name tag as mistaken (close #7153) 2020-01-13 14:47:05 -05:00
Quincy Morgan fd3d158273 Fix javascript error in raw text tag editor when entering blank field values 2020-01-13 12:38:41 -05:00
Quincy Morgan 40b6fe7ff9 Fix semicombo drag-and-drop issues with stale data and target positioning (re: #7024) 2020-01-10 13:59:50 -05:00
Quincy Morgan e624106b7d Add Speed Limit Enforcement relation preset (close #7234)
Remove Name field from Enforcement preset
2020-01-10 12:19:53 -05:00
Quincy Morgan 20fd66630b Update semicombo reordering (re: #7024):
Don't try reordering multiCombo fields
Fix offset behavior for full-width semicombos
Use grab/grabbing cursor style
Keep dragged chip above others
2020-01-09 14:43:18 -05:00
Quincy Morgan e2e0ad347b Merge pull request #7024 from TAQ2/patch-1
Drag and drop of semicombos
2020-01-09 13:38:28 -05:00
Quincy Morgan 6c30ae2664 Where possible, leave a segment between structures and intersections when applying the "add a bridge/tunnel" fix (close #7202) 2020-01-09 11:36:19 -05:00
Quincy Morgan 5011039087 Clarify some variable names in osmEntity.deprecatedTags and add more code tests 2020-01-09 09:49:31 -05:00
Quincy Morgan 4adecbb6ac Account for the angle of the crossing in the length of structures when applying "add a bridge/tunnel" fixes 2020-01-08 14:11:27 -05:00
Quincy Morgan 09ad21a26f Improve "add a bridge/tunnel" fixes by basing the structure length on the crossed feature type, not a fixed constant (re: #7202) 2020-01-08 12:03:30 -05:00
Quincy Morgan 9345ec7a82 Update reload unsquare issues function name 2020-01-07 11:41:04 -05:00
Quincy Morgan 1049c338c6 Add waterway=tidal_channel preset (close #7232) 2020-01-07 10:14:43 -05:00
Bryan Housel c65b0a5784 Merge pull request #7188 from mmd-osm/feature/osmapijson
OSM API /map call: support Overpass JSON format
2020-01-06 22:51:11 -05:00
Bryan Housel bafd763e19 Add a trailing space to the custom imagery url
(closes #7207)
2020-01-06 22:42:43 -05:00
Quincy Morgan 08f8bce4a7 Fix some code tests 2020-01-06 15:46:02 -05:00
Quincy Morgan 5468b66eda Fix issue with searching features with a deleted feature in history 2020-01-06 13:44:41 -05:00
Quincy Morgan c3512fc9d6 Correctly filter moreFields by allowed field geometry 2020-01-06 12:32:54 -05:00
Bryan Housel a54561ce75 Remove the code to autofocus raw tag editor in text mode
(closes #6685)
2020-01-06 12:01:13 -05:00
Arjun ba00334f2b drag and drop of semicombos 2020-01-06 16:00:48 +00:00
SilentSpike 820e86ad6c Fix ImproveOSM request payload
- Seems that the expected payload has changed so now all error types use
key "targetIds"
- Also includes minor fix so that comments display in the UI immediately
2020-01-03 19:52:13 +00:00
Quincy Morgan 0a3b3df80c Filter out values with fewer 10 or fewer uses from combo field suggestions (close #7203) 2020-01-03 11:49:43 -05:00
Quincy Morgan 31941e9389 Fix JavaScript error that could cause validation warnings to appear unexpectedly (close #7166)
Add code test to account for deprecated tags with no replacement
2019-12-31 12:03:57 -05:00
mmd-osm b7ca22f41d OSM API /map call - Overpass JSON format parser 2019-12-27 20:50:47 +01:00
Quincy Morgan 1546b31121 Fix eslint error (re: #7182) 2019-12-26 17:26:07 -05:00
Nick Doiron 345ee6b5c2 numerals fix 2019-12-26 13:16:36 -05:00
Nick Doiron e2001b02f4 Arabic + Latin Bidi labels 2019-12-26 12:53:29 -05:00
Bryan Housel 96b2b42ba7 Make link to privacy notice in splash screen translatable
(closes #7171)
2019-12-25 16:54:14 -05:00
Quincy Morgan 7b7a42cf76 v2.17.0 2019-12-23 14:04:11 -05:00
Quincy Morgan 6f7f2ab77f Revert "vA.B.C"
This reverts commit 1e9021265c.
2019-12-23 14:03:43 -05:00
Quincy Morgan 1e9021265c vA.B.C 2019-12-23 14:02:55 -05:00
Quincy Morgan ae7eadb89c Properly update undo/redo button tooltips when undoing/redoing (close #6872) 2019-12-23 11:06:23 -05:00
Quincy Morgan ba59bdf23b Disable operations, copy, and paste during low-zoom selection 2019-12-23 10:33:16 -05:00
Bryan Housel 96250be04a Skip loading gravatars if user has third party icons deselected 2019-12-20 14:16:54 -05:00