Commit Graph

14496 Commits

Author SHA1 Message Date
Milos Brzakovic (E-Search) dee8cdfe07 matchTags- don't do locationsAt if locID is +Q2 2021-10-21 11:03:44 +02:00
Milos Brzakovic (E-Search) 599d2df19b matchTags - don't calculcate valid locations unless needed
mismatched_geometry - small optimization
2021-10-20 09:49:00 +02:00
John Firebaugh 49f5d03e55 Merge pull request #8711 from openstreetmap/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.0.5
Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.5
2021-10-17 14:58:43 -07:00
John Firebaugh 123ef940ef Merge pull request #8737 from openstreetmap/dependabot/npm_and_yarn/rollup/plugin-commonjs-21.0.0
Bump @rollup/plugin-commonjs from 17.1.0 to 21.0.0
2021-10-17 14:58:01 -07:00
John Firebaugh d5edd6f6c1 Merge pull request #8753 from openstreetmap/1ec5-follow-errors-8671
Copyedit error messages for Follow operation
2021-10-17 14:56:04 -07:00
John Firebaugh 19c9524870 Merge pull request #8741 from Georeactor/rtl-unfix
Turn off RTL text patch on Chromium >=96
2021-10-17 14:53:51 -07:00
Minh Nguyễn 3e42e6adfa Copyedited error messages for Follow operation 2021-10-14 15:29:47 -07:00
Milos Brzakovic 76990349bd Merge pull request #8708 from k-yle/keep-oldest-feature-in-merge
keep the oldest Way when merging
2021-10-13 12:10:29 +02:00
Milos Brzakovic 418dd661cc Merge pull request #8671 from k-yle/race-along-way
create a quick method of drawing ways
2021-10-13 12:07:33 +02:00
Nick Doiron 2d97f8414d turn off svg text path patch on Chromium >=96 2021-10-08 00:36:18 -04:00
Kyle Hensel c9faf072e6 create 'follow' feature for drawing ways 2021-10-05 13:42:42 +13:00
dependabot[bot] 28b3091eb2 Bump @rollup/plugin-commonjs from 17.1.0 to 21.0.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 17.1.0 to 21.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v21.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 09:15:05 +00:00
Kyle Hensel 3f12dd5107 keep the oldest Way when merging 2021-10-01 10:31:21 +13:00
Milos Brzakovic a018d276eb Merge pull request #8701 from openstreetmap/check_china_source
Add warning for some commercial mapservice in China
2021-09-30 12:06:36 +02:00
Milos Brzakovic 021107cb81 Merge pull request #8642 from openstreetmap/testing_data
Test improvements
2021-09-28 11:08:31 +02:00
Milos Brzakovic 9bce3b3aac Merge pull request #8628 from openstreetmap/tag_as_not
Add a validator fix option to tag as `not:` a matched item
2021-09-27 19:12:10 +02:00
Milos Brzakovic a00a9162e7 Merge branch 'develop' into tag_as_not 2021-09-27 19:03:46 +02:00
dependabot[bot] 02e1f10c25 Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.5
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 11.2.1 to 13.0.5.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.0.5/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 09:08:33 +00:00
Bryan Housel 73f8737d17 Adjust the regex for matching Chinese map providers 2021-09-17 12:54:49 -04:00
Bryan Housel defc87e455 Add warning for some commercial mapservice in China
(closes #8700)
2021-09-17 11:36:48 -04:00
Milos Brzakovic fa5e7bca20 Merge pull request #8689 from openstreetmap/issue_key_8647
Removing Maxar standard imagery
2021-09-15 15:01:06 +02:00
Milos Brzakovic bc75430528 Merge pull request #8288 from jleedev/preset-debounce
Debounce input events in the preset list.
2021-09-15 11:49:40 +02:00
Milos Brzakovic (E-Search) 45c5d99d35 Removing Maxar standard imagery 2021-09-14 12:00:06 +02:00
Milos Brzakovic e495c99102 Merge pull request #8685 from openstreetmap/mapControl-scroll
MapControl scroll
2021-09-14 11:35:42 +02:00
Milos Brzakovic f08b89f4c3 Merge pull request #8663 from openstreetmap/issue_key_8655
More validator fixes
2021-09-14 11:34:58 +02:00
Milos Brzakovic 7e31120ec6 added scrol to mapControl 2021-09-10 15:26:37 +02:00
John Firebaugh 9a26ae3e9e Merge pull request #8675 from openstreetmap/jfirebaugh/join-conflicting-relations
Disable merge operation when it would damage relations
2021-09-09 19:38:02 -07:00
John Firebaugh 1457759994 Add support for connectivity relations 2021-09-08 20:30:38 -07:00
John Firebaugh a14cf49710 Disable merge operation when it would damage relations
The operation is disabled when attempting to join ways which don't belong to identical sets of relations. Restriction relations are excluded, because they are already handled with slightly different logic.

Fixes #8674
Fixes #8645
Fixes #3825
Fixes #1512
2021-09-04 15:42:07 -07:00
Milos Brzakovic 73e5cf0142 Merge pull request #8650 from k-yle/website-tag
add link button next to website tag
2021-09-01 13:12:45 +02:00
Kyle Hensel 7525f9545b commit changes to dist/.../en.min.json 2021-09-01 09:55:14 +12:00
Bryan Housel 78961072a7 We do need to actually validate the head entities, can't skip them
re: the fix for #8632 - we can't actually skip validation on these.
The better solution is to move the check to getIssues() so the user isn't
credited for causing the issues unless it's something they actually touched
2021-08-27 17:43:49 -04:00
Bryan Housel 113f079449 Uncache the entity before starting the work
This fixes a situation where several entities in the queue are involved in a
disconnected crossing, and the first one detects the disconnection, but a
later one clears out that first detection from the cache.  Now we clear
caches one time before starting the validation work.
2021-08-27 17:24:45 -04:00
Bryan Housel b94151396d Expand set of entities to validate to include _related_ to issues
This will catch the situation where an edit or undo affects something related without
actually touching the item - for example an undo can cause a connected way to disconnect
from the main graph.
2021-08-27 17:20:32 -04:00
Bryan Housel 1b5bd4d9c3 Actions performed (e.g. adding midpoint) must trigger validation
(re: #8655)
2021-08-27 17:14:06 -04:00
Bryan Housel 9e3df2c4aa Create an issue key property that changes when data needs refresh
(closes #8655)
2021-08-27 17:13:36 -04:00
Kyle Hensel 416c1af372 add link button next to website tag 2021-08-19 15:17:45 +12:00
Bryan Housel 08c765236f Force tests to use mouse events instead of pointer events
The pointer events use a different mechanism for counting clicks that doesn't
work when the tests are run in a real browser like Chrome. This change forces
iD to always use mouse events during testing, even in a real browser.
2021-08-18 18:58:30 -04:00
Bryan Housel b2d18d1ebe Fix hash tests in Chrome, avoid loading imagery tiles 2021-08-18 12:51:13 -04:00
Milos Brzakovic (E-Search) 81b7e282c3 Set development version number 2021-08-17 17:14:48 +02:00
Milos Brzakovic (E-Search) fc5d790b0e v2.20.1 2021-08-17 16:52:28 +02:00
Milos Brzakovic (E-Search) a974a62cb5 npm run translations 2021-08-17 12:57:23 +02:00
Milos Brzakovic (E-Search) 63dfd90335 npm run imagery 2021-08-17 11:05:03 +02:00
Bryan Housel 003628d6b0 Try not to load imagery when running tests
By default, the `rendererBackground` code will choose an initial imagery based on what
sources are available at the given map location. It looks like this code will fallback
to "custom" _before_ "none", and I noticed that in some cases it was trying to fetch
whatever source happened to be stored in the "custom" template in localStorage.

This commit adds an explicit window.location.hash in a few places to encourage the
background layer to be "none". Some tests do change the hash, so this isn't perfect.
2021-08-16 22:51:39 -04:00
Bryan Housel 33fab5580b Before calling init() make sure the assetPath is set
init kicks off building the ui, which can fetch spritesheets for the <defs>
The assetPath needs to be set otherwise these files will not be found
2021-08-16 22:06:42 -04:00
Milos Brzakovic 8eb2de93be Merge pull request #8637 from openstreetmap/validation_8632_etc
More validator fixes
2021-08-16 23:44:43 +02:00
Bryan Housel 4f1d5f0851 Similar to e7ad3845f, avoid using finally(done) as it swallows errors 2021-08-16 15:34:26 -04:00
Bryan Housel e7ad3845f9 Fix file fetcher tests that touch the intro_graph
- Before it wasn't actually loading the intro graph because assetPath not set
- The test for Three Rivers City Hall was using the wrong nodeid
- All these test errors were being ignored because of the use of .finally(done)
- To actually make an error happen, we can call `done(err)` with the Error
2021-08-16 15:23:31 -04:00
Bryan Housel 1282d3b059 Don't use a util function for a thing that exists 1x in the code 2021-08-16 14:23:24 -04:00
Bryan Housel 746417e1f4 Fix coreLocations tests access of locationSetID property 2021-08-16 14:11:36 -04:00