Commit Graph

3804 Commits

Author SHA1 Message Date
Quincy Morgan 03ca12741f Make imageryBlocklists return regex objects instead of strings
Fix performance bug due to checking background source blocks too often
2020-09-04 10:09:47 -04:00
Quincy Morgan 969a4254fd Revert "added function to strip whitespace from searches" 2020-09-03 14:52:33 -04:00
Quincy Morgan 77c7fe6ec7 Merge pull request #7816 from NateGrobe/trim-search-features-whitespace
added function to strip whitespace from searches
2020-09-03 14:49:03 -04:00
Quincy Morgan 8708c13f87 Followup changes to #7932 2020-09-03 14:00:30 -04:00
Quincy Morgan 087122a731 Merge pull request #7932 from til-schneider/patch-1
Improve performance of raw tag editor
2020-09-03 13:45:46 -04:00
Quincy Morgan a72a2bb860 Hide background sources from the list if they're blocked (close #7905) 2020-09-03 12:30:59 -04:00
Quincy Morgan 7920f269c0 Fix issue where node could not be dragged after long-clicking if something else was already selected (close #7826) 2020-09-03 09:57:55 -04:00
Quincy Morgan 426af25ae4 Fix code tests re: #7890 2020-09-02 16:32:30 -04:00
Quincy Morgan 1bfc129327 Merge pull request #7893 from JeeZeh/note_links_new_tab
Open external links in OSM notes in a new tab
2020-09-02 16:15:08 -04:00
Jesse Ashmore 93c249fdd1 Open all links externally and preserve attrs 2020-09-02 21:13:53 +01:00
Quincy Morgan caf1343b62 Properly default the Wikipedia field language to iD's current language (close #7890) 2020-09-02 14:51:15 -04:00
Quincy Morgan 43f5386dad Ignore unaffected nodes when determining if Disconnect is disabled due to lack of visibility (close #7944) 2020-09-02 13:14:19 -04:00
Quincy Morgan 6d9167920a Fix issue where inspector may not properly update after dragging a node (close #7386) 2020-09-02 11:46:39 -04:00
Quincy Morgan 6521184cf3 Properly use the "Continued an area" annotation for the second vertex in an area instead of "Started an area" (re: #7772) 2020-09-02 11:08:06 -04:00
Quincy Morgan a1987e21d9 Fix issue where undoing the second-to-first vertex of a way when drawing would undo to the initial state of the way (close #7772) 2020-09-02 11:07:09 -04:00
Quincy Morgan e5d4fcfa44 Properly handle disambiguating tags on crossing multipolygons (close #7935) 2020-09-01 17:31:16 -04:00
Til Schneider 4dabd79702 Move relation type detection to osm_wikibase (#7932) 2020-08-29 11:05:07 +02:00
Til Schneider d3069a47ae Improve performance of raw tag editor
The detection whether `_entityIDs ` includes a relation is performed many times inside a loop. Instead this should be done only once (lazy).
2020-08-26 13:05:34 +02:00
Quincy Morgan 484f54f982 Don't copy building part or indoor tags to node when extracting point from a way or relation (close #7862) 2020-08-16 17:18:16 -04:00
Quincy Morgan 59aa79548e Use tram crossing tags when connecting crossing tram tracks with roads/paths (close #7902) 2020-08-15 13:25:26 -04:00
Quincy Morgan cbf6b151cf Merge pull request #7895 from til-schneider/patch-2
Fix geometries detection in preset_fields.js
2020-08-12 12:26:19 -04:00
Quincy Morgan 008eb22f4a Merge pull request #7894 from til-schneider/patch-1
Fix export of `geoVecLengthSquare`
2020-08-12 12:24:29 -04:00
Til Schneider cf1c5085d1 Fix geometries detection in preset_fields.js
`renderDisclosureContent` in `preset_fields.js` tries to detect the geometry types of the selected entities, but the result is always `[]`.

Reason: The handler of `_entityIDs.reduce` always returns `true`. So the result of the `reduce` call is `true` as well. `Object.keys(true)` results in `[]`.

Fix: The handler of `_entityIDs.reduce` should return the map which collects the geometry types, so `geometries` will be be something like `["line", "vertex"]`.
2020-08-11 16:09:51 +02:00
Til Schneider 09cab72cf2 Fix export of geoVecLengthSquare 2020-08-11 11:47:04 +02:00
Jesse Ashmore 519fca2e32 Open external links in OSM notes in a new tab 2020-08-10 20:47:36 +01:00
Peter Newman cafb8cdbd5 Revert some more complicated typo fixes 2020-08-10 17:41:39 +01:00
Peter Newman 4205ca1d07 Fix the seemingly safe spellings found by codespell
Untested, only checked by inspection.

(cherry picked from commit 2c47a11008)
2020-08-10 17:32:37 +01:00
Quincy Morgan 029f58f6e9 Set development version number 2020-07-31 10:34:28 -04:00
Quincy Morgan 1370160bc1 v2.18.4 2020-07-31 10:25:05 -04:00
Quincy Morgan 0e0148b8f2 Fix JS error caused by possible undefined uid of entities returned by OSM API (close #7858)
Add additional safety checks for undefined entity `version` or `changeset`
2020-07-30 15:45:56 -04:00
Quincy Morgan 171d867d92 Make sure the add note button label in the help matches the toolbar (close #7841) 2020-07-27 15:59:31 -04:00
Quincy Morgan bd9d4bce74 Fix issue with reversed bounding box coordinate order in WMS 1.3 for EPSG:4326 CRS (close #7557) 2020-07-24 17:43:52 -04:00
Nate Grobe 1de39ad9c6 changed stripWhitespace function to use string.prototype.replace per secan's suggestion 2020-07-24 10:31:42 -04:00
Quincy Morgan b3da3d3879 Set development version number 2020-07-22 11:42:27 -04:00
Quincy Morgan 3dec7b3f5e v2.18.3 2020-07-22 11:38:28 -04:00
Quincy Morgan 293971da34 Fix issue where inspector may not update correctly when switching between weak and fallback presets (close #7827) 2020-07-22 11:18:05 -04:00
Quincy Morgan 40e46aced1 Fix issue where following a node and then selecting another feature would auto-center the feature (close #7820) 2020-07-22 09:58:14 -04:00
Quincy Morgan 4643caaae8 Don't prevent default click events when clicking input elements (close #7828) 2020-07-22 09:48:00 -04:00
Quincy Morgan b3714fac66 Set development version number 2020-07-21 10:27:57 -04:00
Quincy Morgan b64f0b793c v2.18.2 2020-07-21 10:23:51 -04:00
Quincy Morgan 3d0590de87 Properly instantiate context.connection before init 2020-07-21 10:19:40 -04:00
Nate Grobe 4b4afb051c fixed indentation 2020-07-21 00:02:55 -04:00
Nate Grobe e425caeba8 added function to strip whitespace from searches 2020-07-20 17:16:35 -04:00
Quincy Morgan 1455eb3e3d Set development version number 2020-07-20 16:09:19 -04:00
Quincy Morgan d71e854489 v2.18.1 2020-07-20 16:05:34 -04:00
Quincy Morgan c2065dbd27 Re-add endpoint to set the preferred locale code programmatically 2020-07-20 15:58:47 -04:00
Quincy Morgan 51b676609b Don't show gift icon when switching development version numbers 2020-07-20 13:14:45 -04:00
Quincy Morgan 911244631c Set development version number 2020-07-20 13:08:42 -04:00
Quincy Morgan 8f4d26ed24 v2.18.0 2020-07-20 12:37:39 -04:00
Quincy Morgan 1f6a270535 Fix issue with toggling the locator overlay too quickly (close #7814) 2020-07-20 11:49:49 -04:00