Commit Graph

14859 Commits

Author SHA1 Message Date
Bryan Housel bbed217625 For some names, consider splitting name into name and branch.. 2021-03-05 09:54:47 -05:00
Quincy Morgan 72d56e54e8 Merge pull request #8375 from openstreetmap/dependabot/npm_and_yarn/uglify-js-3.13.0
Bump uglify-js from 3.12.8 to 3.13.0
2021-03-03 14:32:04 -05:00
Bryan Housel dc2267866e Unsquish the issue messages by adding more side padding 2021-03-03 13:26:35 -05:00
Bryan Housel 42dccbf123 When displaying a preset image, use display:none for siblings
visibility:hidden still preserves space, which would uncenter the image in some cases
2021-03-03 13:18:56 -05:00
Bryan Housel 1f6a2121c4 Move all of NSI into a service, rewrite matcher code 2021-03-03 12:04:37 -05:00
dependabot[bot] 849cc825b2 Bump uglify-js from 3.12.8 to 3.13.0
Bumps [uglify-js](https://github.com/mishoo/UglifyJS) from 3.12.8 to 3.13.0.
- [Release notes](https://github.com/mishoo/UglifyJS/releases)
- [Commits](https://github.com/mishoo/UglifyJS/compare/v3.12.8...v3.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 05:21:50 +00:00
Quincy Morgan 8a9b4d5321 Merge pull request #8371 from openstreetmap/dependabot/npm_and_yarn/rollup-2.40.0
Bump rollup from 2.39.1 to 2.40.0
2021-03-01 10:18:27 -05:00
Nikola Pleša 6cd17713fa Use Mapillary vector tiles for images, sequences and map features 2021-03-01 10:19:41 +01:00
dependabot[bot] 8dd3fe230f Bump rollup from 2.39.1 to 2.40.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.39.1 to 2.40.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.39.1...v2.40.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:07:55 +00:00
Josh Lee ac6251cf9e Fix centroid calculation in measurement panel.
Copy/paste of 0a0e2dcf75
2021-02-23 18:11:02 +00:00
Quincy Morgan 4ae7bc9bd5 Update Mapillary.Viewer call for mapillary-js v3 (re: #8245) 2021-02-23 12:27:32 -05:00
Quincy Morgan 8ec754ab54 Merge pull request #8329 from openstreetmap/dependabot/npm_and_yarn/mapillary-js-3.1.0
Bump mapillary-js from 3.0.0 to 3.1.0
2021-02-23 12:14:47 -05:00
dependabot[bot] f2da1de2af Bump mapillary-js from 3.0.0 to 3.1.0
Bumps [mapillary-js](https://github.com/mapillary/mapillary-js) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/mapillary/mapillary-js/releases)
- [Changelog](https://github.com/mapillary/mapillary-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mapillary/mapillary-js/compare/v3.0.0...v3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 17:10:10 +00:00
Quincy Morgan 5fa69938cd Merge pull request #8361 from openstreetmap/dependabot/npm_and_yarn/json-stringify-pretty-compact-3.0.0
Bump json-stringify-pretty-compact from 2.0.0 to 3.0.0
2021-02-23 12:08:44 -05:00
Quincy Morgan 5f276a4bc5 Merge pull request #8346 from openstreetmap/dependabot/npm_and_yarn/marked-2.0.0
Bump marked from 1.2.9 to 2.0.0
2021-02-23 12:08:09 -05:00
dependabot[bot] 3b481874dd Bump json-stringify-pretty-compact from 2.0.0 to 3.0.0
Bumps [json-stringify-pretty-compact](https://github.com/lydell/json-stringify-pretty-compact) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/lydell/json-stringify-pretty-compact/releases)
- [Changelog](https://github.com/lydell/json-stringify-pretty-compact/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lydell/json-stringify-pretty-compact/compare/v2.0.0...v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 17:03:26 +00:00
dependabot[bot] 8534d16015 Bump marked from 1.2.9 to 2.0.0
Bumps [marked](https://github.com/markedjs/marked) from 1.2.9 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.9...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 17:02:38 +00:00
Quincy Morgan c1a63065ee Merge pull request #8355 from openstreetmap/dependabot/npm_and_yarn/rollup/plugin-node-resolve-11.2.0
Bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0
2021-02-23 12:02:31 -05:00
Quincy Morgan 056a8ca525 Update en.min.json 2021-02-23 11:50:53 -05:00
Quincy Morgan 9423f61adf Improve some variable names in core/localizer 2021-02-23 11:50:42 -05:00
Quincy Morgan 13ddeecfa7 Fix code tests for #8276 for real this time
Add utilFetchJson to get around some quirks of d3.json and use it for coreFileFetcher
Load real general English locale strings at the beginning of code tests
2021-02-23 11:50:00 -05:00
dependabot[bot] 34e7be2796 Bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.1.1 to 11.2.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v11.1.1...node-resolve-v11.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-19 05:10:07 +00:00
Quincy Morgan 997b453b98 Fix code tests for #8276 2021-02-15 12:56:46 -05:00
Quincy Morgan 61d04104c1 Prefer latest phantomjs 2021-02-15 11:58:08 -05:00
Quincy Morgan 9b667f5d9e Fix running of tests in browser 2021-02-15 11:55:28 -05:00
Quincy Morgan d0754a9256 Trim whitespace from localized string ids 2021-02-15 11:09:26 -05:00
Quincy Morgan 6f66032237 Fix issue with replacing number tokens in strings when toLocaleString is unavailable, such as when running tests (re: #8276) 2021-02-15 10:59:44 -05:00
Quincy Morgan e09af9a575 Merge pull request #8322 from rbuffat/fix_wms_axis_ordering_detection
Fix wms detection to determine axis ordering
2021-02-15 10:26:56 -05:00
Quincy Morgan ef18d6ea34 Merge pull request #8354 from openstreetmap/dependabot/npm_and_yarn/rollup-2.39.0
Bump rollup from 2.38.5 to 2.39.0
2021-02-15 10:25:09 -05:00
dependabot[bot] 5a12a5259d Bump rollup from 2.38.5 to 2.39.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.38.5 to 2.39.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.38.5...v2.39.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-15 05:42:51 +00:00
Bryan Housel 4d9336b1c7 Checkin en.min.json 2021-02-12 18:15:30 -05:00
Bryan Housel 76943351ca Better handling of headGraph, separate head and base queues
This involves a few things to make the validator less weird
- _headGraph shouldn't be allowed to change while validation is happening..
- So we don't allow that to happen anymore, and keep track of _headPromise and _headIsCurrent
- If head graph falls behind, kick off another validation to catch it up
- Separate head and base work queues, so we aren't waiting for the base entities to validate
  before providing feedback to the user about what they are editing
  (the base queue can get quite large around metropolitan areas)
2021-02-12 18:07:36 -05:00
Bryan Housel 90bbe38fe8 Remove the brand combo from the name field
This has caused problems going back a long time, and now that we have a validator
and very visible brand presets with logos, it's not necessary anymore.
(re: #5558, closes #8271, closes #8304)
2021-02-12 10:41:47 -05:00
Quincy Morgan 9ed36281ba Merge pull request #8348 from openstreetmap/dependabot/npm_and_yarn/osm-community-index-3.1.1
Bump osm-community-index from 3.1.0 to 3.1.1
2021-02-10 10:57:16 -05:00
dependabot[bot] a95d1c3e1b Bump osm-community-index from 3.1.0 to 3.1.1
Bumps [osm-community-index](https://github.com/osmlab/osm-community-index) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/osmlab/osm-community-index/releases)
- [Changelog](https://github.com/osmlab/osm-community-index/blob/main/CHANGELOG.md)
- [Commits](https://github.com/osmlab/osm-community-index/compare/v3.1.0...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-10 05:28:46 +00:00
Quincy Morgan ca8a61cd36 Merge pull request #8318 from openstreetmap/dependabot/npm_and_yarn/d3-6.5.0
Bump d3 from 6.3.1 to 6.5.0
2021-02-05 11:46:43 -05:00
Quincy Morgan 3fade479af Merge pull request #8310 from openstreetmap/fix_notes
Fix a few errors in note processing
2021-02-05 11:46:06 -05:00
Quincy Morgan 8245822e60 Merge pull request #8337 from openstreetmap/dependabot/npm_and_yarn/rollup-2.38.3
Bump rollup from 2.36.2 to 2.38.3
2021-02-01 10:05:43 -05:00
dependabot[bot] 4bfa7dd157 Bump rollup from 2.36.2 to 2.38.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.36.2 to 2.38.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.36.2...v2.38.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 15:03:22 +00:00
Quincy Morgan a55d99a2db Merge pull request #8335 from openstreetmap/dependabot/npm_and_yarn/rollup/plugin-node-resolve-11.1.1
Bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.1
2021-02-01 09:55:19 -05:00
dependabot[bot] a282ce3194 Bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.1
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.0.1 to 11.1.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.1...node-resolve-v11.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 05:24:07 +00:00
Bryan Housel 3665f80d46 Also include operator:wikidata as a wikidata tag
osmEntity#hasWikipedia was only used by the suspicious_name validator
2021-01-29 11:11:59 -05:00
Bryan Housel b032cd9f01 Adust NSI matching validation code:
- don't try matching semicolon-separated lists to NSI
- better matching for flagpoles with a `country` tag
- better lists of namelike keys (don't match flag operator)

see: https://github.com/openstreetmap/iD/pull/8305#issuecomment-769174070
2021-01-28 17:17:49 -05:00
Marc-marc-marc 6fa4bdf88a Fix contributing document typo (#8331)
fix typo data/core/yaml -> data/core.yaml
2021-01-28 13:01:06 +00:00
Bryan Housel 4c1d51348d Don't repurpose a node with interesting tags in crossing_ways fix
(closes #8326)
2021-01-27 14:38:11 -05:00
Bryan Housel 3640e15fa2 Fix misspelling "coprorate" -> "corporate" 2021-01-27 11:54:39 -05:00
Bryan Housel 16f2f07300 Merge pull request #8319 from openstreetmap/promisify_validation
Promisify validation
2021-01-27 11:49:27 -05:00
Bryan Housel f87c2d9357 Allow validators to return provisional results, revalidate after delay
Also add a ton of commments to validator.js
2021-01-27 10:38:48 -05:00
René Buffat c721c1ebb5 fix wms detection 2021-01-26 20:30:36 +01:00
Bryan Housel 11201eb822 Rewrite the validator in ES6/Promises, several improvements here:
- implements a validation work queue, jobs are run during browser idle callbacks
- when merging base entities, don't run validations 2x on both base and head graphs (this was wasteful)
- keep track of resolved issues in a separate set (it's not a simple compare of base/head anymore)
  this happens after validation queue is empty and avoids race conditions and inaccurate resolved counts
2021-01-25 12:50:11 -05:00