Commit Graph

12873 Commits

Author SHA1 Message Date
Bryan Housel 47aaec0db6 Sanitize personal tokens from custom background imagery
(closes #6801)
2020-03-14 10:30:46 -04:00
Quincy Morgan 94c9697ee4 Update temaki to v3.20.0 (re: #7068) 2020-03-13 16:17:08 -07:00
Quincy Morgan 625c322436 Fix frozen food store preset name 2020-03-13 15:04:31 -07:00
Quincy Morgan 5ab654ebdb Merge pull request #7363 from zengchu2/issue#7297
Enable using empty string as value for tags from text area
2020-03-13 14:14:00 -07:00
Quincy Morgan 7adaa2f753 Merge branch '2.x' into issue#7297 2020-03-13 14:13:44 -07:00
Quincy Morgan c16e03b9b3 Merge pull request #7428 from openstreetmap/imagery_index
Imagery index
2020-03-13 13:50:46 -07:00
Bryan Housel 2805c55ff3 Update the custom background instructions pane to include wms 2020-03-13 16:43:04 -04:00
Quincy Morgan 9eb694faec Remove radial menu 2020-03-13 13:29:46 -07:00
Quincy Morgan dd9c30beb1 Use pointer events instead of mouse events for lasso selection (re: #5505) 2020-03-13 13:23:06 -07:00
Bryan Housel 2a28a03ca1 Add template type detection for custom sources
(closes #4977)

Before custom sources were assumed tms, now we detect wms
and guess 'EPSG:3857' projection

This commit also delays selecting the custom source in background_list.js,
because creating the background sources is promisified now might not happen
until after the UI control is created
2020-03-13 15:56:13 -04:00
Quincy Morgan de1bfe624f Replace mouse and touch events with pointer events in popover.js (re: #5505) 2020-03-13 12:34:06 -07:00
Bryan Housel 5db95d8a89 Fix source filtering for 'custom' and 'none' 2020-03-13 14:57:40 -04:00
Bryan Housel b96eccc67c Fix the domain switch test 2020-03-13 13:11:56 -04:00
Bryan Housel bdd02e5943 Fix source filtering at low zooms to include global sources 2020-03-13 12:43:11 -04:00
greenkeeper[bot] 84b65bed9c chore(package): remove Greenkeeper section 2020-03-13 11:55:00 -04:00
greenkeeper[bot] 702d6326be chore(readme): remove Greenkeeper badge 2020-03-13 11:55:00 -04:00
Quincy Morgan 19bdabd889 Don't disable default hyperlinking 2020-03-12 20:31:15 -07:00
Quincy Morgan aa127740dd Update icon for military range 2020-03-12 20:25:30 -07:00
Quincy Morgan 43a2c94881 Add disused:shop preset (close #7407) 2020-03-12 17:05:05 -07:00
Quincy Morgan bd7c1c757c Fix code test failure 2020-03-12 16:49:57 -07:00
Quincy Morgan 1e820b6980 Convert OSM API tests to simulate JSON responses (re: #7188) 2020-03-12 16:45:08 -07:00
Bryan Housel 1aa5e89a38 Support {apikey} token replacement 2020-03-12 17:15:42 -04:00
Bryan Housel 50353cf596 Switch references from editor-layer-index -> imagery-index
- remove the update_imagery script and steps to run it
  (this happens at runtime now)
- update privacy policy, faq, release notes, readme
2020-03-12 15:25:56 -04:00
Bryan Housel dbe643aeac Switch from bundled editor-layer-index to fetched imagery-index 2020-03-12 14:27:49 -04:00
Quincy Morgan b5856e2415 Rewrite behaviorDrawWay to only always use one and only one temporary edit
Fix issues involving undoing while drawing ways
Prevent self-intersection when adding nodes to ways on touch devices (close #7423)
2020-03-11 17:48:09 -07:00
Quincy Morgan 65dddf90b8 Use US English spelling for man_made=groyne preset name 2020-03-11 09:41:19 -07:00
Quincy Morgan b86486c69f Flash error when cannot finish drawing self-intersecting area 2020-03-10 15:36:13 -07:00
Quincy Morgan d82936ff24 Fix issue where labels could not be clicked to change or focus inputs 2020-03-10 13:39:22 -07:00
Quincy Morgan 70380880db Properly end the gesture if unexpectedly moving a non-down pointer 2020-03-10 12:17:25 -07:00
Quincy Morgan 284ff28961 Fix issue where map could pan when moving the mouse without a down pointer 2020-03-10 11:52:48 -07:00
Quincy Morgan 73d68b7a65 Fix issue where browsers could page back or forward when swiping horizontally over the map with a trackpad (close #5552) 2020-03-10 11:15:15 -07:00
Quincy Morgan 8dcb50579f Replace D3 import of trivial function 2020-03-10 10:48:27 -07:00
Quincy Morgan 5d8600ff36 Remove unused zoom/pan functionality 2020-03-10 10:34:25 -07:00
Quincy Morgan 207badb1a0 Read object visible state when parsing JSON API response (re: #7188) 2020-03-10 09:35:33 -07:00
Quincy Morgan 41e58dc32e Fix issue where vertices wouldn't always disappear on deselection (close #7419) 2020-03-09 15:58:24 -07:00
Quincy Morgan ece7eb0850 Add self-intersection error message when dragging vertices 2020-03-09 14:52:17 -07:00
Quincy Morgan 99eddb35c3 Make unavailable location error punctuation consistent with other flashed errors 2020-03-09 13:21:50 -07:00
Quincy Morgan a4e8c95009 Prevent double-tap-to-zoom browser on mobile Safari (close #6049)
Limit scope of gesture event cancelation to iD's container
2020-03-09 13:16:13 -07:00
Quincy Morgan d6b723b869 Remove unused zoom/pan handler property 2020-03-09 13:12:55 -07:00
Quincy Morgan 10f7ef2704 Add error feedback text when attempting to draw self-intersecting ways 2020-03-06 15:36:48 -08:00
Quincy Morgan 6ed66fb3ce Make drawing modes usable on touch devices 2020-03-06 15:17:11 -08:00
Quincy Morgan f8f69a777a Replace inconsistently-supported dblclick events with custom handler on platforms supporting pointer events
Fix issue where double-tap-to-zoom would not be properly disabled when drawing on touch devices (close #2128)
Support adding nodes to ways with double-tap with on touch devices (close #2677)
Support double-tap-to-zoom with styluses on touch devices
Don't accept double click/tap events if the taps are far apart
Don't re-enter modeSelect when clicking the selected feature again
2020-03-06 12:46:26 -08:00
Quincy Morgan 83a51a4192 Use pointer events for node dragging and drawing (re: #5505)
Enable dragging nodes with touches and styluses (close #7415)
2020-03-05 15:18:39 -08:00
Quincy Morgan 1147438d12 Use pointer events for map zooming and panning where supported (close #6598, re: #5505) 2020-03-05 10:38:30 -08:00
Quincy Morgan 83d2656bbc Fix responsiveness issue when selecting features on iPad
Implement an alternative solution for #6028 that doesn't rely on timeouts
2020-03-04 13:10:15 -08:00
Quincy Morgan c41e0b9937 Use pointer events for hovering and selecting data on supported platforms (re: #5505)
Fix issue where Apple Pencil stylus could not select map data (close #7396)
Fix issue where features could not be selected in a single tap on iPad (close #7380)
2020-03-04 12:18:43 -08:00
Quincy Morgan 4a9f9bff34 Deprecate building:material=Brick 2020-03-04 10:11:20 -08:00
Quincy Morgan dcbb5ee03b Always show the unresolved issue count in the footer if any exist 2020-03-03 10:13:35 -08:00
Quincy Morgan d10245447e Add search terms for the border control preset 2020-03-03 09:46:45 -08:00
Quincy Morgan 19dd609cb4 Update to temaki v3.19.0 (close #7409, re: #7068) 2020-03-03 09:40:54 -08:00