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
Bryan Housel
3640e15fa2
Fix misspelling "coprorate" -> "corporate"
2021-01-27 11:54:39 -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
Bryan Housel
96298f2836
Preserve name value if this preset shows brand or operator field
...
This also fixes the logic for calculating whether the preset shows a
`brand` or `operator` field - it needs to use `fields()` to actually
resolve the fields, as these fields can be inherited from another preset.
This also includes a change to match "primary" names before
"alternate" names (aka the "Baby Gap" / "Gap" problem)
2021-01-19 13:15:16 -05:00
Bryan Housel
f61a3ef5e3
Don't replace flag:name tag - it's expected to be in local language
2021-01-18 21:44:27 -05:00
Bryan Housel
a32553595c
name:pronunciation is not namelike
2021-01-18 21:39:06 -05:00
Bryan Housel
74d28257c4
Fix teh misspellings
2021-01-18 19:48:35 -05:00
Bryan Housel
0b3795cde3
NSI match returns an object now
2021-01-15 17:25:24 -05:00
Bryan Housel
d3fb8c60f9
Upgrade validations outdated_tags, suspicious_names to NSI v5
2021-01-13 13:46:00 -05:00
Bryan Housel
0ad7de0f10
Move the location index and resolver into a global coreLocations
2021-01-08 11:29:51 -05:00
Quincy Morgan
2c2eabb145
Don't count tags under the name namespace as descriptive tags ( close #8273 )
...
Don't count `description`, `note`, `start_date`, or tags under those namespaces as descriptive tags
2021-01-05 09:56:19 -05:00
Quincy Morgan
0a0e2dcf75
Fix issue where extracting points could results in off placements ( close #8246 )
2020-12-11 12:50:32 -05:00
Quincy Morgan
32dcfcc08e
Fix spelling
2020-12-07 10:55:43 -05:00
Quincy Morgan
2dd6bce851
Add quick fix to convert areas to lines for mismatched geometry validation
2020-12-07 09:47:18 -05:00
Quincy Morgan
c43fac8d64
Ignore nodes on address lines for the mismatched geometry validation
2020-12-07 09:46:37 -05:00
Quincy Morgan
a7b3985237
Flag points as areas or lines, areas or lines as points, and lines as areas ( close #8231 )
2020-12-04 16:22:36 -05:00
Quincy Morgan
dc8fd13586
Enable array-callback-return eslint rule
2020-10-23 13:47:09 -04:00
Quincy Morgan
380473033b
Enable no-duplicate-imports eslint rule
2020-10-23 12:02:37 -04:00
Quincy Morgan
eaf6ff874e
Support the Relations editor for multiple selected features ( close #7753 )
2020-10-15 11:31:32 -04:00
Quincy Morgan
80eb197212
Merge pull request #7752 from peternewman/patch-6
...
Fix a lot of typos and initial codespell action run
2020-10-05 14:02:19 -04:00
Quincy Morgan
c940d827e6
Enable the Split operation for multiple selected nodes ( close #7990 )
2020-09-24 15:13:05 -04:00
Quincy Morgan
9effdf9724
Display the expected preset name for the mismatched geometry issue messages ( close #8018 )
2020-09-24 08:58:45 -04:00
Quincy Morgan
7b5df1bc40
Add lang attribute to issue fix labels (re: #7963 )
2020-09-22 17:48:35 -04:00
Quincy Morgan
aa9b44a0bf
Add the lang attribute to issue messages (re: #7963 )
2020-09-22 17:25:18 -04:00
Quincy Morgan
5435082d9c
Revert t function to returning the plain string by default
...
Add `t.html` function for getting the string with the `lang` attribute
2020-09-22 12:03:29 -04:00
Quincy Morgan
a3549f9a76
Merge branch 'develop' into lang-attributes
...
# Conflicts:
# modules/ui/commit_warnings.js
# modules/ui/field.js
# modules/ui/fields/wikidata.js
# modules/ui/fields/wikipedia.js
# modules/ui/full_screen.js
# modules/ui/panels/history.js
# modules/ui/sections/entity_issues.js
# modules/ui/sections/map_features.js
# modules/ui/sections/raw_member_editor.js
# modules/ui/sections/validation_rules.js
# modules/ui/tag_reference.js
2020-09-22 10:55:07 -04:00
Quincy Morgan
b1a2e11a6b
Fix extract fix annotation
2020-09-22 09:42:03 -04:00
Quincy Morgan
79688ce2d9
Show count and use plural forms for more operation strings (re: #8014 )
2020-09-22 09:10:49 -04:00
Quincy Morgan
32f8274929
Make t function return a span element with a lang attribute unless html: false is specified in the options (re: #7963 )
...
Update `text` functions to `html` to support inserting the `span` elements
Specify `html: false` for various instances where a `span` is not desired, e.g. `placeholder` and `title` attributes
2020-09-15 21:56:22 -04:00
Quincy Morgan
a1c2b7f73d
Support language-specific pluralization (re: #597 , #4964 )
2020-09-14 17:21:00 -04:00
Quincy Morgan
e5d4fcfa44
Properly handle disambiguating tags on crossing multipolygons ( close #7935 )
2020-09-01 17:31: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
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
Peter Newman
2c47a11008
Fix the seemingly safe spellings found by codespell
...
Untested, only checked by inspection.
2020-06-28 23:06:44 +01:00
Quincy Morgan
9d70ad4119
Improve performance by only checking nearby segments for almost_junction validation connections
2020-06-22 17:17:45 -04:00
Quincy Morgan
d179f791a9
Significantly improve the performance of the crossing_ways validation in areas with long ways ( close #7656 )
2020-06-22 16:49:32 -04:00
Quincy Morgan
bea1fdc692
Check feature names against additional generic tag keys/values
2020-06-16 17:08:35 -04:00
Quincy Morgan
6128c6514f
Enable the Extract operation for multiple selected extractable features ( close #7600 )
...
Allow extracting vertices that are `via` or `location_hint` relation members
2020-06-04 16:35:25 -04:00
Quincy Morgan
02f57eb23a
Don't add default field values when upgrading to a replacement preset ( close #7613 )
2020-05-19 10:26:53 -04:00
Quincy Morgan
db9eed2434
Move the edit menu logic to uiInit
...
Make context the first argument of operation objects
Add Paste operation to edit menu when opening the context menu on a blank area of the map (close #2508 )
2020-05-14 15:49:35 -04:00
Quincy Morgan
04bdc4da1c
Make the extract operation a single step instead of immediately entering modeMove ( close #6674 )
2020-05-13 10:58:53 -04:00
Quincy Morgan
9a13c6810b
Don't flag google drive as an incompatible source ( close #7545 )
2020-04-28 11:10:26 -07:00
Quincy Morgan
ef48fb0c50
Fix potential error in crossing ways validation
2020-04-14 15:52:05 -07:00
Quincy Morgan
3a933de876
Don't add tags to connection node when connecting crossing line/area
2020-04-13 18:57:26 -07:00
Quincy Morgan
513b344012
Fix code tests
2020-04-03 13:33:54 -07:00
Quincy Morgan
ca1e2031e7
Flag issues with crossing highway areas ( close #7455 )
...
Don't show add bridge/tunnel fixes for highway areas (close #7472 )
2020-04-03 12:30:07 -07:00
Quincy Morgan
0120b009fa
Take a graph parameter in utilDisplayLabel instead of the context
2020-04-01 13:29:17 -07:00
Quincy Morgan
60f7dc7c0b
Replace presets property of context with singleton
...
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan
a58abe3c6f
Move localStorage interface from a property of coreContext to a corePreferences function
2020-04-01 11:00:48 -07:00