Commit Graph

3474 Commits

Author SHA1 Message Date
Quincy Morgan
da882c1e80 Don't reselect trivial points after merging 2020-03-23 13:23:40 -07:00
Quincy Morgan
6b096eda64 Check to remove just area=yes after merging, not any area value 2020-03-23 12:54:14 -07:00
Quincy Morgan
5125c04a58 Fix issue where merging a point matching a fallback preset into an area could discard tag values (close #7446) 2020-03-23 12:47:14 -07:00
Quincy Morgan
e340111a2a Fix issue where field geometry restrictions were not obeyed 2020-03-23 12:01:29 -07:00
Quincy Morgan
d669bbef2a Update various files for removal of master branch 2020-03-23 10:43:52 -07:00
Quincy Morgan
a7cba6a694 Don't show the tunnel fix for features crossing waterways (re: #7447) 2020-03-23 10:13:21 -07:00
Quincy Morgan
36082a8119 Use ideditor as the container class instead of id-container
Scope all CSS to iD's container (close #7437)
Don't style html or body elements unless running standalone iD
2020-03-22 16:54:12 -07:00
Quincy Morgan
ecba6ce48d Remove d3_selectAll from osmose_details.js 2020-03-22 15:14:37 -07:00
Quincy Morgan
e391edcc5c Namespace various internal SVG ids under ideditor (re: #7445) 2020-03-22 14:39:40 -07:00
Quincy Morgan
68c5f87adc Clarify variable name 2020-03-22 12:57:56 -07:00
Quincy Morgan
8c31b99919 Focus wikidata field input when clicking its label
Remove for/id for readonly fields
2020-03-22 12:57:38 -07:00
Quincy Morgan
eed7944a1a Replace various uses of d3_select and d3_selectAll with selection on the container 2020-03-22 12:34:06 -07:00
Quincy Morgan
ebc3a2c322 Remove coreContext.changes passthrough function 2020-03-22 11:06:58 -07:00
Quincy Morgan
6087aae21f Remove map convenience functions of context 2020-03-22 10:57:17 -07:00
Quincy Morgan
73d8a7f4b0 Fix code test 2020-03-21 14:32:46 -07:00
Quincy Morgan
3c0b926ec7 Replace coreContext.geometry function with a more explicit coreGraph.geometry function 2020-03-21 14:23:44 -07:00
Quincy Morgan
8439795b58 Fix lint warning 2020-03-21 13:57:17 -07:00
Quincy Morgan
fac613e1dc Remove context.childNodes function 2020-03-21 13:56:11 -07:00
Quincy Morgan
5fd25601fe Convert map surface and supersurface from ids to classes 2020-03-21 13:41:06 -07:00
Quincy Morgan
4872b06a28 Randomize form field ids to thwart browser memory and help with embedding iD (close #6444) 2020-03-21 13:16:40 -07:00
Quincy Morgan
f2a687f68b Convert container from id to class 2020-03-20 15:08:56 -07:00
Quincy Morgan
371bac0aa2 Convert photoviewer from id to class 2020-03-20 14:07:09 -07:00
Quincy Morgan
c893147e15 Convert some element ids to classes to avoid collisions when embedding iD 2020-03-20 13:53:17 -07:00
Quincy Morgan
f625406ccc Convert some element ids to classes to avoid collisions when embedding iD
Clarify some footer class names
2020-03-20 13:43:07 -07:00
Quincy Morgan
152d89fa22 Convert some element ids to classes to avoid collisions when embedding iD 2020-03-20 13:10:39 -07:00
Quincy Morgan
72a99673a0 Revert #7428 2020-03-20 09:59:30 -07:00
SilentSpike
6a58dabf42 Update Osmose API path
Should only change one more time after this (coming out of beta).
2020-03-19 21:05:44 +00:00
SilentSpike
81b2a2cd2a Update Osmose detail string access
Now supports localisation, which returns slightly different structure.
2020-03-17 12:40:38 +00:00
Quincy Morgan
1041f89716 Fix line continuing 2020-03-16 13:43:24 -07:00
Bryan Housel
47aaec0db6 Sanitize personal tokens from custom background imagery
(closes #6801)
2020-03-14 10:30:46 -04: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
bdd02e5943 Fix source filtering at low zooms to include global sources 2020-03-13 12:43:11 -04:00
Quincy Morgan
19bdabd889 Don't disable default hyperlinking 2020-03-12 20:31:15 -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
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