Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge iD v2.19.5 into main! #191

Merged
merged 604 commits into from Feb 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
604 commits
Select commit Hold shift + click to select a range
0c38363
Don't instantiate uiShortcuts or its keybinding multiple times
quincylvania Oct 5, 2020
80fbc72
Add another exception and only warn on typos
peternewman Oct 5, 2020
2c05566
Don't translate US words to British
peternewman Oct 5, 2020
abae599
Skip deprecated because it will be full of typos by definition
peternewman Oct 5, 2020
b7cbeda
Skip more typos we've deliberately left in
peternewman Oct 5, 2020
31cb41a
Ignore more deliberate typos, preemptively skip some others
peternewman Oct 5, 2020
acc0563
Skip even more words that aren't actually typos
peternewman Oct 5, 2020
80eb197
Merge pull request #7752 from peternewman/patch-6
quincylvania Oct 5, 2020
d53bdca
Add Tram & Bus Stop preset (close #7970)
quincylvania Oct 5, 2020
be21411
Add terms for #7970
quincylvania Oct 5, 2020
d9c966c
Add `ramp` field to Steps preset (close #7977)
quincylvania Oct 5, 2020
3919ec1
Fix a new typo which snuck in
peternewman Oct 5, 2020
1553973
Add another variant of a term given an earlier typo
peternewman Oct 5, 2020
89f1fcb
Skip the deliberate typo
peternewman Oct 5, 2020
c8069a5
Merge pull request #8054 from peternewman/patch-8
quincylvania Oct 6, 2020
3e3f56f
Merge pull request #8013 from TheAdventurer64/patch-1
quincylvania Oct 6, 2020
291f588
Followup to #8013
quincylvania Oct 6, 2020
8a40a5b
Update to marked 1.2.0 (close #8029)
quincylvania Oct 6, 2020
21a49bb
Initial support for D3 v6.2.0
quincylvania Oct 6, 2020
eddc55a
Bump rollup-plugin-visualizer from 4.0.4 to 4.1.1
dependabot[bot] Oct 7, 2020
b8eb6aa
Update fontawesome (close #8060)
quincylvania Oct 7, 2020
ebe2d04
Update various preset icons (re: #7068)
quincylvania Oct 7, 2020
e3ef658
Add terms to hardware and DIY store presets
quincylvania Oct 7, 2020
9d70015
Merge pull request #8059 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Oct 7, 2020
0dcf9ac
Merge branch 'develop' into d3-6
quincylvania Oct 7, 2020
baace6d
Update more code for D3 v6
quincylvania Oct 7, 2020
f47333b
Delete ROADMAP.md
quincylvania Oct 7, 2020
ecbed19
Use white for custom data label color (close #8055)
quincylvania Oct 7, 2020
5ca2253
Bump mapillary-js from 2.20.0 to 2.21.0
dependabot[bot] Oct 8, 2020
7203f15
Bump postcss from 7.0.35 to 8.1.1
dependabot[bot] Oct 8, 2020
8e85cee
Merge pull request #8064 from openstreetmap/dependabot/npm_and_yarn/p…
quincylvania Oct 8, 2020
7af4f7b
Merge pull request #8063 from openstreetmap/dependabot/npm_and_yarn/m…
quincylvania Oct 8, 2020
3ef36a8
Use the layer names instead of the IDs in the imagery_used tag (close…
quincylvania Oct 8, 2020
fcd1a31
Merge branch 'develop' into d3-6
quincylvania Oct 8, 2020
55fa1a6
Switch from buble to babel for ES5 transpilation (close #8065)
quincylvania Oct 8, 2020
242348f
Merge branch 'develop' into d3-6
quincylvania Oct 8, 2020
90a2b50
List some defaults explicitly
quincylvania Oct 8, 2020
f7db5df
Support IE11 explicitly
quincylvania Oct 8, 2020
153831b
Add some polyfills needed by D3
quincylvania Oct 8, 2020
e134cd7
Fix and simplify hover test
quincylvania Oct 8, 2020
c97b6b7
Bump autoprefixer from 9.8.6 to 10.0.1
dependabot[bot] Oct 9, 2020
b4ad2d8
Bump @ideditor/location-conflation from 0.3.0 to 0.5.0
dependabot[bot] Oct 9, 2020
82ca071
Merge pull request #8066 from openstreetmap/dependabot/npm_and_yarn/a…
quincylvania Oct 9, 2020
2996f1f
Bump @rollup/plugin-node-resolve from 8.1.0 to 9.0.0
dependabot[bot] Oct 9, 2020
f77b6ee
Merge pull request #8067 from openstreetmap/dependabot/npm_and_yarn/i…
quincylvania Oct 9, 2020
42fd0a8
Followup to #8067
quincylvania Oct 9, 2020
2657ed2
Run build:stats
quincylvania Oct 9, 2020
d43fc62
Divide up the `step_count` tag value proportionally when splitting wa…
quincylvania Oct 9, 2020
bebd7db
Fix potential JavaScript error
quincylvania Oct 9, 2020
bb56584
Add Cooling Tower preset
quincylvania Oct 9, 2020
b600889
Bump rollup from 2.23.1 to 2.29.0
dependabot[bot] Oct 12, 2020
b1b9b3f
Bump uglify-js from 3.10.4 to 3.11.2
dependabot[bot] Oct 12, 2020
f772765
Merge pull request #8073 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Oct 12, 2020
55d885d
Merge pull request #8074 from openstreetmap/dependabot/npm_and_yarn/u…
quincylvania Oct 12, 2020
147e63a
Make connection status links keyboard-navigable (re: #8004)
quincylvania Oct 12, 2020
e659fdb
Merge pull request #7847 from mapillary/photo-filtering
quincylvania Oct 12, 2020
a33ab44
Merge branch 'develop' into photo-filter-temp
quincylvania Oct 12, 2020
d4736ef
Update date field styling
quincylvania Oct 12, 2020
c1746ae
Persist photo layer filters in the URL
nickplesha Oct 13, 2020
7ee7403
Don't suggest tidal=yes on waterway=tidal_channel (close #8072)
quincylvania Oct 13, 2020
c214a6c
Add `increment` property for numeric fields (close #7867)
quincylvania Oct 13, 2020
0f716e9
Merge branch 'develop' into d3-6
quincylvania Oct 13, 2020
02dd7f1
Add extra note focus safety check
quincylvania Oct 13, 2020
e15aeda
Switch to core-js for polyfills
quincylvania Oct 13, 2020
474b345
Send keydown events when testing uiCombobox
quincylvania Oct 13, 2020
e092d27
Remove unneeded imports
quincylvania Oct 13, 2020
3f2e967
npm run build:stats
quincylvania Oct 13, 2020
a13f1f1
Merge pull request #8056 from openstreetmap/d3-6
quincylvania Oct 13, 2020
ca6c94e
Bump rollup from 2.29.0 to 2.30.0
dependabot[bot] Oct 14, 2020
80dac10
Merge pull request #8080 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Oct 14, 2020
7cc969c
Merge pull request #7899 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Oct 14, 2020
6b8384f
Merge pull request #7727 from openstreetmap/dependabot/npm_and_yarn/o…
quincylvania Oct 14, 2020
90d3f59
Remove some unneeded variables.
teymour-aldridge Oct 14, 2020
371a5dd
Make a variable inline
teymour-aldridge Oct 14, 2020
f11eee3
Remove some more unused variable assignments
teymour-aldridge Oct 14, 2020
b966ac3
Add back (and fix) an assignment.
teymour-aldridge Oct 14, 2020
eaf6ff8
Support the Relations editor for multiple selected features (close #7…
quincylvania Oct 15, 2020
ca7e44d
Fix merge conflicts
nickplesha Oct 15, 2020
c1def4c
Fix unexpected tag removal on upgrade (close #8089)
quincylvania Oct 15, 2020
a48c693
Merge branch 'develop' into photo-filter-temp
quincylvania Oct 15, 2020
8daa8fd
Merge pull request #8077 from mapillary/photo-filtering-url
quincylvania Oct 15, 2020
058a6b0
Fix change event for d3 6
quincylvania Oct 15, 2020
b2b97c5
Don't show username filter for streetside
quincylvania Oct 15, 2020
17d8735
Read photo filters from hash before reading enabled overlays/photos
quincylvania Oct 15, 2020
a4e2b80
Validate filter date values from hash/input
quincylvania Oct 15, 2020
1c08922
Use HTML translated string endpoints for photo option labels
quincylvania Oct 15, 2020
730e16c
Use localized placeholder for expected date filter format
quincylvania Oct 15, 2020
88b6d4a
Reload date filter values after input change
quincylvania Oct 15, 2020
c78294a
Bump rollup from 2.30.0 to 2.31.0
dependabot[bot] Oct 16, 2020
4779404
Add name field to park and ride preset
evansiroky Oct 16, 2020
832262b
Merge pull request #8092 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Oct 16, 2020
ce936a4
Merge pull request #8093 from evansiroky/park-and-ride-add-name-field…
quincylvania Oct 16, 2020
29b6ffd
Add `usage` field property to provide more info on how a field is used
quincylvania Oct 16, 2020
83df29c
Add warning about unused fields to build_data script
quincylvania Oct 16, 2020
1de9302
Add fields to Outdoor Seating Area preset, including Heating
quincylvania Oct 16, 2020
5371a00
Merge branch 'develop' into photo-filter-temp
quincylvania Oct 16, 2020
444c2c2
Apply further suggestions from code review.
teymour-aldridge Oct 16, 2020
c259b32
Undo unnecessary formatting change.
teymour-aldridge Oct 16, 2020
666b0f1
Bump rollup from 2.31.0 to 2.32.0
dependabot[bot] Oct 19, 2020
cfd1340
Bump @ideditor/country-coder from 3.2.0 to 4.0.0
dependabot[bot] Oct 19, 2020
c8e1b13
Merge pull request #8101 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Oct 19, 2020
5949325
Add man_made=windpump preset (close #7709)
quincylvania Oct 19, 2020
c6634fc
Merge pull request #8102 from openstreetmap/dependabot/npm_and_yarn/i…
quincylvania Oct 19, 2020
a3a9259
Support territories in preset and field country limiters (re: #8102)
quincylvania Oct 19, 2020
fb0ea5c
Merge branch 'develop' into photo-filter-temp
quincylvania Oct 19, 2020
893629d
Combine `fromDate` and `toDate` parameters into single `photo_dates` …
quincylvania Oct 19, 2020
c6fd22e
Disable auto features on photo filter inputs
quincylvania Oct 19, 2020
f5d53ca
Don't allow date separators that could be used in some date formats
quincylvania Oct 19, 2020
081db7c
Support filtering by multiple photo usernames
quincylvania Oct 19, 2020
f4903d6
Make sure photo filter controls are always shown in the same order
quincylvania Oct 19, 2020
515a7c2
Adjust photo filter input styling
quincylvania Oct 19, 2020
9696247
Merge pull request #8076 from openstreetmap/photo-filter-temp
quincylvania Oct 19, 2020
0b01fa8
Add reminder about iD's URL parameters to releasing doc
quincylvania Oct 19, 2020
de1b702
Remove unused `direction_cardinal` field (close #8096)
quincylvania Oct 20, 2020
9688356
Add the initial 2.19.0 changelog
quincylvania Oct 20, 2020
d610b47
Add missing link
quincylvania Oct 20, 2020
fde3edf
Update to temaki 4.3.0
quincylvania Oct 20, 2020
e198f6f
Update changelog
quincylvania Oct 20, 2020
1a6e1b9
Merge pull request #8083 from teymour-aldridge/develop
quincylvania Oct 21, 2020
b42dec7
Followup to #8083
quincylvania Oct 21, 2020
6b351a2
Update changelog
quincylvania Oct 21, 2020
5575a78
Use bold text for touchscreen edit menu again
quincylvania Oct 21, 2020
7ab7e4f
Don't warn about deprecated tags that would overwrite existing data w…
quincylvania Oct 21, 2020
99efc8b
Update changelog
quincylvania Oct 21, 2020
47ae71c
Revert "Support territories in preset and field country limiters (re:…
quincylvania Oct 21, 2020
5784553
Revert "Bump @ideditor/country-coder from 3.2.0 to 4.0.0"
quincylvania Oct 21, 2020
748ee27
Update osm-community-index to 2.1.2
quincylvania Oct 21, 2020
99689f6
Update missed d3 v6 endpoints (re: #8056)
quincylvania Oct 21, 2020
70619d3
Reset validator whenever reseting the history (close #8108)
quincylvania Oct 21, 2020
f006c2b
en.json modified
karmanya007 Oct 22, 2020
32ccf7f
Merge branch 'develop' of https://github.com/openstreetmap/iD into de…
karmanya007 Oct 22, 2020
98217e9
Added the missing units for water tank
karmanya007 Oct 22, 2020
6367fa3
Bump marked from 1.2.0 to 1.2.2
dependabot[bot] Oct 23, 2020
5dd4ab0
Merge pull request #8115 from openstreetmap/dependabot/npm_and_yarn/m…
quincylvania Oct 23, 2020
a928162
Fix styling of instructions in the walkthrough
quincylvania Oct 23, 2020
61170e7
Update changelog
quincylvania Oct 23, 2020
cb6ab14
Enable additional eslint rules, including no-unreachable-loop
quincylvania Oct 23, 2020
f8e4e43
Enable additional eslint rules, including no-constructor-return
quincylvania Oct 23, 2020
64ec642
Enable additional eslint rules, including no-useless-concat
quincylvania Oct 23, 2020
6549bcc
Enable no-eq-null eslint rule
quincylvania Oct 23, 2020
3f9ac91
Enable no-undef-init eslint rule
quincylvania Oct 23, 2020
06441e7
Add and sort eslint rules
quincylvania Oct 23, 2020
17ab0b8
Enable complexity eslint rule and simplify uiPresetIcon.render function
quincylvania Oct 23, 2020
3804730
Enable no-duplicate-imports eslint rule
quincylvania Oct 23, 2020
9464ec5
Enable arrow-spacing eslint rule
quincylvania Oct 23, 2020
5358eb2
Enable some eslint rules than are already in compliance
quincylvania Oct 23, 2020
04b3a78
Add lint:fix script
quincylvania Oct 23, 2020
b1fcebc
Enable some eslint rules than are already in compliance
quincylvania Oct 23, 2020
4059ee5
Enable block-scoped-var eslint rule
quincylvania Oct 23, 2020
dc8fd13
Enable array-callback-return eslint rule
quincylvania Oct 23, 2020
f2ef27f
Enable no-implicit-coercion eslint rule for strings
quincylvania Oct 23, 2020
15c8e06
Fix tests
quincylvania Oct 23, 2020
792a4e8
Fix background tile issues caused by the cache not properly updating …
quincylvania Oct 26, 2020
315ab27
Fix issue with context menu key
quincylvania Oct 26, 2020
6d7ec5d
Fix issue with snapping to ways/nodes when drawing
quincylvania Oct 26, 2020
b5f3324
Bump @rollup/plugin-node-resolve from 9.0.0 to 10.0.0
dependabot[bot] Oct 27, 2020
3095e76
Merge pull request #8124 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Oct 27, 2020
154c6ed
Fix issue where clicking some buttons would clear the URL hash
quincylvania Oct 27, 2020
66999cc
Clean up the imagery offset layout and make it usable via keyboard only
quincylvania Oct 27, 2020
6ef1f79
Update changelog
quincylvania Oct 27, 2020
2ee5367
Fix issue with mobile Safari showing the native selection menu when l…
quincylvania Oct 27, 2020
d0101c1
Add 2.19.0 release highlights to changelog
quincylvania Oct 27, 2020
3afc32a
npm run imagery
quincylvania Oct 27, 2020
300131a
npm run translations
quincylvania Oct 27, 2020
3e25e41
v2.19.0
quincylvania Oct 27, 2020
6cd79fc
Set development version number
quincylvania Oct 27, 2020
89693b1
Fix changelog typo
quincylvania Oct 27, 2020
37ec46b
Fix alignment issues with new version badge
quincylvania Oct 28, 2020
b2582dc
Fix critical issue with editing Bike Lanes and Allowed Access fields
quincylvania Oct 28, 2020
c7897e9
Fix issue with expanding the sidebar after drawing a generic feature
quincylvania Oct 28, 2020
4f7014b
Fix lint warnings and error
quincylvania Oct 28, 2020
5b13e32
npm run translations
quincylvania Oct 28, 2020
24ad7fc
v2.19.1
quincylvania Oct 28, 2020
5a7d92c
Update CHANGELOG.md
quincylvania Oct 28, 2020
4b43c1d
Set development version number
quincylvania Oct 28, 2020
0f87da6
Update line.js
ricloy Oct 28, 2020
9dd637d
Merge pull request #1 from ricloy/ricloy-patch-1
ricloy Oct 28, 2020
02ee518
Merge pull request #8128 from ricloy/develop
quincylvania Oct 28, 2020
e0434de
npm run translations
quincylvania Oct 28, 2020
ecd486f
npm run imagery
quincylvania Oct 28, 2020
612dfe4
v2.19.2
quincylvania Oct 28, 2020
d194027
Set development version number
quincylvania Oct 28, 2020
8b6ad03
Fix issue where switching between metric/imperial measurements wouldn…
quincylvania Oct 28, 2020
b2b10cc
Fix regression where hovering over items in the relation dropdown wou…
quincylvania Oct 29, 2020
e83235d
Fix regression where changing the Wikidata field wouldn't update the …
quincylvania Oct 29, 2020
d70f2e2
Update ui.checkOverflow to only apply to iD's subelements and to acco…
quincylvania Oct 29, 2020
3727f26
Fix issue where sidebar controls could be keyboard-navigated while th…
quincylvania Oct 29, 2020
d2989cf
Improve styling of new version badge
quincylvania Oct 29, 2020
981cdc6
Apply photo date and username filters to Mapillary sign and object de…
quincylvania Oct 29, 2020
791a3bf
Avoid error if detection images haven't been loaded yet
quincylvania Oct 29, 2020
5483a0f
Improve tab order of attribution links and zoom in to edit notice
quincylvania Oct 29, 2020
9500e8f
Make the warnings and errors lists in the issues pane navigable via k…
quincylvania Oct 29, 2020
353e37e
Add hover/focus/active styling for oneway reverser button
quincylvania Oct 29, 2020
6b8cbbd
Don't remove `source:*` tags when downgrading features (close #8097)
quincylvania Oct 29, 2020
ba4c1ef
Account for instances where d3.geoCentroid returns incorrect results
quincylvania Oct 29, 2020
4271d9d
npm run translations
quincylvania Oct 29, 2020
deb652a
v2.19.3
quincylvania Oct 29, 2020
047f2ef
Set development version number
quincylvania Oct 29, 2020
e21d16b
Bump @rollup/plugin-commonjs from 15.1.0 to 16.0.0
dependabot[bot] Oct 30, 2020
a77dbe9
fix error when custom background url is empty
willemarcel Oct 30, 2020
561e181
Merge pull request #8141 from hotosm/fix/undefined-custom-layer
quincylvania Oct 30, 2020
2a2bfca
Change implementation of #8141
quincylvania Oct 30, 2020
e40180d
Update data_layers.js to be consistent with 2a2bfca1744df5cb10c9f4894…
quincylvania Oct 30, 2020
e017073
Fix issue where the keyboard shortcuts screen would only display the …
quincylvania Oct 30, 2020
18ab7cb
Add missing links
quincylvania Oct 30, 2020
d4c4100
Update my username in the changelog file
kymckay Oct 31, 2020
ac4467a
Bump rollup from 2.32.1 to 2.33.0
dependabot[bot] Nov 2, 2020
17eb959
Merge pull request #8152 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Nov 2, 2020
9125e74
Update to cldr 37
quincylvania Nov 2, 2020
b018313
Merge pull request #8139 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Nov 2, 2020
f18697b
Add phone field to warehouse preset (close #8150)
quincylvania Nov 2, 2020
162f97b
Fix issue where items could not be deselected from the selection list…
quincylvania Nov 2, 2020
b6b1dcd
npm run translations
quincylvania Nov 2, 2020
a8d0826
npm run imagery
quincylvania Nov 2, 2020
ef2ec3a
v2.19.4
quincylvania Nov 2, 2020
b84f95b
Set development version number
quincylvania Nov 2, 2020
8769779
Merge pull request #8112 from karmanya007/missingCapacityUnitFix
quincylvania Nov 2, 2020
a51a493
Use volume capacity field for covered reservoirs (re: #8112)
quincylvania Nov 2, 2020
5f6a3d9
Bump rollup-plugin-visualizer from 4.1.2 to 4.2.0
dependabot[bot] Nov 4, 2020
8ecb983
Merge pull request #8162 from openstreetmap/dependabot/npm_and_yarn/r…
quincylvania Nov 4, 2020
eae0164
Update marked and don't worry about patches going forward (close #8166)
quincylvania Nov 6, 2020
cd1bf16
Download, select, and display the feature specified in the URL upon l…
quincylvania Nov 6, 2020
02add6e
Fix issue where existing multiCombo field values wouldn't appear (clo…
quincylvania Nov 6, 2020
1a43dbe
Use the actual dropdown label for the localized name language input l…
quincylvania Nov 6, 2020
8147fcf
Show multilingual values in the Name field even for keys with spaces …
quincylvania Nov 6, 2020
ea0e5a9
Write the languages.json file in build_data.js instead of update_loca…
quincylvania Nov 6, 2020
cc1e512
Include languages in the Multilingual Name field dropdown even if the…
quincylvania Nov 6, 2020
1ba83b8
npm run translations
quincylvania Nov 6, 2020
4bb24b8
Fix issue with dragging node in between editing its tags (close #7606)
quincylvania Nov 9, 2020
53d8295
npm run imagery
quincylvania Nov 9, 2020
6ff088f
npm run imagery
quincylvania Nov 9, 2020
bbf174c
v2.19.5
quincylvania Nov 9, 2020
b9dc749
Check in build
quincylvania Nov 9, 2020
6c290fd
Merge iD from 2.18.3 -> 2.19.5, also update version to 1.1.1 and upda…
Bonkles Dec 11, 2020
a054316
One bugfix and one test modification to accomodate a new mapillary la…
Bonkles Dec 11, 2020
40ab3db
Add more styling and a slight delay before we show RapiD feature info…
Bonkles Dec 14, 2020
2bc454e
Further plumbing fixes to onclick() methods that don't receive nodes[…
Bonkles Dec 14, 2020
b78a206
Fix a bug that caused the 'Log into OSM / No thanks' button options t…
Bonkles Dec 14, 2020
28ce091
Merge branch 'main' into iDv2.19.5merge
Bonkles Jan 14, 2021
c4db529
Merge branch 'blink_fix' into iDv2.19.5merge
Bonkles Jan 14, 2021
6cf2ce9
Fix color picker and rapid toggle buttons. These broke in the d3-v6 t…
Bonkles Jan 14, 2021
63d74e9
Merge branch 'main' into iDv2.19.5merge
Bonkles Jan 14, 2021
3ad4661
Fix bug that was preventing the introduction (walkthrough) from start…
Bonkles Jan 15, 2021
0d32f5e
Update changelog, bump rapid version.
Bonkles Jan 15, 2021
e23b853
Update changelog, bump rapid version.
Bonkles Jan 15, 2021
3e56679
Fix issue that prevented the 'AI features limit' flash text from appe…
Bonkles Jan 15, 2021
74249f1
Merge branch 'iDv2.19.5merge' of github.com:bonkles-worldai/RapiD int…
Bonkles Jan 15, 2021
6666e76
Fix a couple of warnings, also fix 'next/prev' background imagery hot…
Bonkles Jan 15, 2021
cf506e5
Fix console log error during y-shaped connection issue. Also fix back…
Bonkles Jan 20, 2021
d936be4
Fix issue that was preventing color changes from taking place.
Bonkles Jan 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 39 additions & 5 deletions .eslintrc
Expand Up @@ -15,58 +15,92 @@
"sourceType": "module"
},
"rules": {
"accessor-pairs": "error",
"array-callback-return": "warn",
"arrow-spacing": "warn",
"block-scoped-var": "error",
"class-methods-use-this": "error",
"complexity": ["warn", 50],
"default-case-last": "error",
"default-param-last": "error",
"dot-notation": "error",
"eqeqeq": ["error", "smart"],
"grouped-accessor-pairs": "error",
"indent": ["off", 4],
"keyword-spacing": "error",
"linebreak-style": ["error", "unix"],
"no-await-in-loop": "error",
"no-caller": "error",
"no-catch-shadow": "error",
"no-console": "warn",
"no-constructor-return": "error",
"no-div-regex": "error",
"no-duplicate-imports": "warn",
"no-eq-null": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-label": "error",
"no-floating-decimal": "error",
"no-global-assign": "error",
"no-implicit-coercion": ["warn", { "boolean": false, "number": false }],
"no-implied-eval": "error",
"no-invalid-this": "off",
"no-iterator": "error",
"no-labels": "error",
"no-label-var": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-loss-of-precision": "error",
"no-multi-str": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-octal": "error",
"no-octal-escape": "error",
"no-process-env": "error",
"no-promise-executor-return": "error",
"no-proto": "error",
"no-prototype-builtins": "off",
"no-restricted-properties": "error",
"no-return-assign": "off",
"no-return-await": "error",
"no-script-url": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-shadow": "off",
"no-shadow-restricted-names": "error",
"no-template-curly-in-string": "warn",
"no-throw-literal": "error",
"no-trailing-spaces": "warn",
"no-undef": "error",
"no-undef-init": "warn",
"no-unexpected-multiline": "error",
"no-unneeded-ternary": "error",
"no-unmodified-loop-condition": "error",
"no-unreachable": "warn",
"no-unreachable-loop": "warn",
"no-unused-expressions": "error",
"no-unexpected-multiline": "error",
"no-unused-vars": "warn",
"no-unreachable": "warn",
"no-use-before-define": ["off", "nofunc"],
"no-useless-backreference": "warn",
"no-useless-call": "warn",
"no-useless-computed-key": "warn",
"no-useless-concat": "warn",
"no-useless-constructor": "warn",
"no-useless-escape": "off",
"no-useless-rename": "warn",
"no-void": "error",
"no-warning-comments": "warn",
"no-whitespace-before-property": "warn",
"no-with": "error",
"no-use-before-define": ["off", "nofunc"],
"quotes": ["error", "single"],
"radix": ["error", "always"],
"require-atomic-updates": "error",
"require-await": "error",
"semi": ["error", "always"],
"semi-spacing": "error",
"space-unary-ops": "error",
"wrap-regex": "off",
"quotes": ["error", "single"]
"wrap-regex": "off"
}
}
17 changes: 17 additions & 0 deletions .github/workflows/codespell.yml
@@ -0,0 +1,17 @@
# GitHub Action to automate the identification of common misspellings in text files.
# https://github.com/codespell-project/actions-codespell
# https://github.com/codespell-project/codespell
name: codespell
on: [push, pull_request]
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
skip: ./.git,./data/territory_languages.json,./data/imagery.json,./data/languages.json,./data/locales.json,./data/address_formats.json,./dist/locales,./docs/img,./dist/img,./data/presets/categories.json,./data/presets/fields.json,./data/presets/presets.json,./data/presets.yaml,./data/taginfo.json,./data/deprecated.json
ignore_words_list: "auxilary,casette,cemetary,chancel,childs,extentions,files',froms,generat,guerilla,kindergarden,nd,specialties,vias,visibles,tos"
only_warn: 1
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,12 +1,12 @@
.DS_Store
.esm-cache
.vscode/
.idea/
/node_modules/
/.tx/tmp/
npm-debug.log
package-lock.json

the_noun_project.auth
transifex.auth

/dist/*.js
Expand Down
13 changes: 8 additions & 5 deletions ACCESSIBILITY.md
Expand Up @@ -110,7 +110,7 @@ such as opening the edit menu via long-pressing instead of right-clicking.
| | Icon | Input Setup | Notes | Issues |
|---|---|---|---|---|
| ✅ | 🖱⌨️ | [Mouse](https://en.wikipedia.org/wiki/Computer_mouse) + [keyboard](https://en.wikipedia.org/wiki/Computer_keyboard) | iD's original input paradigm. Any mouse-like device such as a [trackpad](https://en.wikipedia.org/wiki/Touchpad), [trackball](https://en.wikipedia.org/wiki/Trackball), or [pointing stick](https://en.wikipedia.org/wiki/Pointing_stick) is grouped into "mouse" for this table |
| | ⌨️ | Keyboard only | Not all elements can necessarily be keyed to. Key traps may exists. Geometry editing isn't possible | [#7770](https://github.com/openstreetmap/iD/issues/7770) |
| 🟠 | ⌨️ | Keyboard only | iD hasn't been optimized for keyboard-only navigation, but some is possible. Geometry editing isn't possible | [#8004](https://github.com/openstreetmap/iD/issues/8004) |
| 🟠 | 🖱 | Mouse only | The primary [mouse button](https://en.wikipedia.org/wiki/Mouse_button) (e.g. left click) alone is sufficient. Multiselection and disabling of node-snapping aren't possible |
| 🟠 | 🖐 | [Multi-touch](https://en.wikipedia.org/wiki/Multi-touch) on a [touchscreen](https://en.wikipedia.org/wiki/Touchscreen) | Moving and rotating selections isn't possible | [#7599](https://github.com/openstreetmap/iD/issues/7599) |
| 🟠 | ✍️ | [Stylus](https://en.wikipedia.org/wiki/Stylus_(computing)) on a touchscreen | Moving and rotating selections isn't possible, nor is selecting multiple features |
Expand Down Expand Up @@ -163,12 +163,14 @@ for more info.
| | Multilingual Feature | Notes | Issues |
|---|---|---|---|
| ✅ | Browser language preference | iD tries to use the language set in the browser |
| | Base language fallback | E.g. if `pt_BR` is incomplete, `pt` should be tried before `en` |
| | Custom fallback language | If the preferred language is incomplete, a user-specified one should be tried before `en` (e.g. `kk` → `ru`) |
| | [`lang` HTML attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) | Helps with text-to-speech, text formatting, and auto-transliteration, particularly when iD mixes strings from different languages |
| | Base language fallback | E.g. if `pt_BR` is incomplete, `pt` should be tried before `en` | [#7996](https://github.com/openstreetmap/iD/issues/7996)
| | Custom fallback languages | If the preferred language is incomplete, user-specified ones should be tried before `en` (e.g. `kk` → `ru`) | [#7996](https://github.com/openstreetmap/iD/issues/7996)
| 🟠 | [`lang` HTML attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) | Helps with text-to-speech, text formatting, and auto-transliteration, particularly when iD mixes strings from different languages | [#7963](https://github.com/openstreetmap/iD/issues/7963)
| ✅ | Locale URL parameters | `locale` and `rtl` can be used to manually set iD's locale preferences. See the [API](API.md#url-parameters) |
| ❌ | Language selection in UI | The mapper should be able to view and change iD's language in the interface at any time. Useful for public computers with fixed browser languages | [#3120](https://github.com/openstreetmap/iD/issues/3120) |
| 🟩 | Right-to-left layouts | The [`dir` HTML attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) is properly set for languages like Hebrew and Arabic |
| ✅ | [Language-specific plurals](https://docs.transifex.com/localization-tips-workflows/plurals-and-genders#how-pluralized-strings-are-handled-by-transifex) | English has two plural forms, but some languages need more to be grammatically correct | [#597](https://github.com/openstreetmap/iD/issues/597), [#7991](https://github.com/openstreetmap/iD/issues/7991) |
| 🟠 | [Localized number formats](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat) | Most in-text numbers are localized. Numeric fields are not | [#3615](https://github.com/openstreetmap/iD/issues/3615), [#7993](https://github.com/openstreetmap/iD/issues/7993) |
| 🟠 | Label icons | Icons should accompany text labels to illustrate the meaning of untranslated terms |

### Translatability
Expand Down Expand Up @@ -209,7 +211,8 @@ are kept close to 100% coverage, while most languages have less than 50% coverag
|---|---|---|---|
| 🤷 | [Screen reader support](https://en.wikipedia.org/wiki/Screen_reader) | | |
| 🟠 | [Browser zoom](https://support.mozilla.org/en-US/kb/accessibility-features-firefox-make-firefox-and-we#w_page-zoom) | Scrolling-to-pan the map may react oddly on some browsers | |
| 🟠 | [Text-only browser zoom](https://support.mozilla.org/en-US/kb/accessibility-features-firefox-make-firefox-and-we#w_text-zoom) | Enlarged text can overflow containers that have fixed dimensions | |
| 🟠 | [Text-only browser zoom](https://support.mozilla.org/en-US/kb/accessibility-features-firefox-make-firefox-and-we#w_text-zoom) | Interface elements scale to compensate larger text sizes. Map labels don't scale | [#7965](https://github.com/openstreetmap/iD/issues/7965) |
| ✅ | Browser zoom keyboard shortcuts | The <kbd>Cmd</kbd><kbd>+</kbd> and <kbd>Cmd</kbd><kbd>–</kbd> shortcuts used by major browsers are supported | [#7976](https://github.com/openstreetmap/iD/issues/7976) |
| 🟠 | [Don't rely on color alone](https://www.wuhcag.com/use-of-colour/) | Some classes of map data are indistinguishable except for their colors | |
| 🤷 | [High-contrast text colors](https://www.wuhcag.com/contrast-enhanced/) | | |
| ❌ | [Dark mode](https://en.wikipedia.org/wiki/Light-on-dark_color_scheme) | Many people find light-on-dark UIs easier to read under certain conditions | |
Expand Down
17 changes: 12 additions & 5 deletions API.md
Expand Up @@ -5,7 +5,7 @@ This file documents efforts toward establishing a public API for iD.
##### iD Standalone

iD supports several URL parameters. When constructing a URL to a standalone instance
of iD (e.g. `http://preview.ideditor.com/release/`), the following parameters are available
of iD (e.g. `https://ideditor-release.netlify.app`), the following parameters are available
**in the hash portion of the URL**:

* __`background`__ - The value from a `sourcetag` property in iD's
Expand All @@ -31,8 +31,8 @@ of iD (e.g. `http://preview.ideditor.com/release/`), the following parameters ar
_Example:_ `hashtags=%23hotosm-task-592,%23MissingMaps`
* __`id`__ - The character 'n', 'w', or 'r', followed by the OSM ID of a node, way or relation, respectively. Selects the specified entity, and, unless a `map` parameter is also provided, centers the map on it.<br/>
_Example:_ `id=n1207480649`
* __`locale`__ - A code specifying the localization to use, affecting the language, layout, and keyboard shortcuts. The default locale is set by the browser.<br/>
_Example:_ `locale=en-US`, `locale=de`<br/>
* __`locale`__ - A code specifying the localization to use, affecting the language, layout, and keyboard shortcuts. Multiple codes may be specified in order of preference. The first valid code will be the locale, while the rest will be used as fallbacks if certain text hasn't been translated. The default locale preferences are set by the browser.<br/>
_Example:_ `locale=ja`, `locale=pt-BR`, `locale=nl,fr,de`<br/>
_Available values:_ Any of the [supported locales](https://github.com/openstreetmap/iD/tree/develop/dist/locales).
* __`map`__ - A slash-separated `zoom/latitude/longitude`.<br/>
_Example:_ `map=20.00/38.90085/-77.02271`
Expand All @@ -43,6 +43,13 @@ of iD (e.g. `http://preview.ideditor.com/release/`), the following parameters ar
* __`photo_overlay`__ - The street-level photo overlay layers to enable.<br/>
_Example:_ `photo_overlay=streetside,mapillary,openstreetcam`<br/>
_Available values:_ `streetside` (Microsoft Bing), `mapillary`, `mapillary-signs`, `mapillary-map-features`, `openstreetcam`
* __`photo_dates`__ - The range of capture dates by which to filter street-level photos. Dates are given in YYYY-MM-DD format and separated by `_`. One-sided ranges are supported.<br/>
_Example:_ `photo_dates=2019-01-01_2020-12-31`, `photo_dates=2019-01-01_`, `photo_dates=_2020-12-31`<br/>
* __`photo_username`__ - The Mapillary or OpenStreetCam username by which to filter street-level photos. Multiple comma-separated usernames are supported.<br/>
_Example:_ `photo_user=quincylvania`, `photo_user=quincylvania,chrisbeddow`<br/>
* __`photo`__ - The service and ID of the street-level photo to show.<br/>
_Example:_ `photo=streetside/718514589`<br/>
_Available prefixes:_ `streetside/`, `mapillary/`, `openstreetcam/`
* __`presets`__ - A comma-separated list of preset IDs. These will be the only presets the user may select.<br/>
_Example:_ `presets=building,highway/residential,highway/unclassified`
* __`rtl=true`__ - Force iD into right-to-left mode (useful for testing).
Expand Down Expand Up @@ -177,7 +184,7 @@ iD is written in a modular style and bundled with [rollup.js](http://rollupjs.or
which makes hot code replacement tricky. (ES6 module exports are
[immutable live bindings](http://www.2ality.com/2015/07/es6-module-exports.html)).
Because of this, the parts of iD which are designed for customization are exported
as live bound objects that can be overriden at runtime _before initializing the iD context_.
as live bound objects that can be overridden at runtime _before initializing the iD context_.

### Services

Expand Down Expand Up @@ -219,7 +226,7 @@ iD.fileFetcher.cache().imagery = [{
```

Each imagery source should have the following properties:
* `id` - Unique identifier for this source (also used as a url paramater)
* `id` - Unique identifier for this source (also used as a url parameter)
* `name` - Display name for the source
* `type` - Source type, currently only `tms` is supported
* `template` - Url template, valid replacement tokens include:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,9 @@
# [1.1.1](https://github.com/facebookincubator/RapiD/releases/tag/rapid-v1.1.1)
#### 2021-Jan-15th
#### :bug: Bugfixes:
#195, #196, and #197.
#### :trumpet:
This is a 'refresh' release, based off iD version 2.19.5.

# [1.1.0](https://github.com/facebookincubator/RapiD/releases/tag/rapid-v1.1.0)
#### 2020-Dec-7th
Expand Down
12 changes: 9 additions & 3 deletions RELEASING.md
Expand Up @@ -43,15 +43,15 @@ $ git tag vA.B.C
$ git push origin -f release vA.B.C
```
- Open https://github.com/openstreetmap/iD/tags
- Click `•••` –> `Create Release` and link to `CHANGELOG.md` in `Describe this release`
- Click `•••` –> `Create Release` and link to [`CHANGELOG.md`](https://github.com/openstreetmap/iD/blob/release/CHANGELOG.md) in `Describe this release`

#### Prepare `develop` branch for further development

```bash
$ git checkout develop
```

- Increment version number and add `-dev` suffix in `modules/core/context.js` and `package.json`
- Increment version number and add `-dev` suffix in `modules/core/context.js` and `package.json`, e.g. `2.18.5-dev`

```bash
$ git add . && git commit -m 'Set development version number'
Expand Down Expand Up @@ -81,7 +81,13 @@ $ git push osmlab master
$ git checkout -b iD-A.B.C
$ bundle install
$ rm -rf vendor/assets/iD/* && vendorer
```

- If there have been any changes to iD's [URL parameters](https://github.com/openstreetmap/iD/blob/develop/API.md#url-parameters), make sure they're reflected in [app/assets/javascripts/edit/id.js.erb](https://github.com/osmlab/openstreetmap-website/blob/master/app/assets/javascripts/edit/id.js.erb).

```bash
$ git add . && git commit -m 'Update to iD vA.B.C'
$ git push osmlab
```
- [Open a pull request](https://github.com/openstreetmap/openstreetmap-website/compare/develop...osmlab:develop) using the [markdown text from the changelog](https://raw.githubusercontent.com/openstreetmap/iD/release/CHANGELOG.md) as the comment

- [Open a pull request](https://github.com/openstreetmap/openstreetmap-website/compare/master...osmlab:master) using the [markdown text from the changelog](https://raw.githubusercontent.com/openstreetmap/iD/release/CHANGELOG.md) as the comment
12 changes: 12 additions & 0 deletions babel.config.json
@@ -0,0 +1,12 @@
{
"presets": [
[
"@babel/preset-env", {
"useBuiltIns": "usage",
"corejs": 3,
"modules": false
}
]
],
"compact": false
}
8 changes: 6 additions & 2 deletions config/rollup.config.legacy.js
@@ -1,5 +1,5 @@
/* eslint-disable no-console */
import buble from '@rollup/plugin-buble';
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import includePaths from 'rollup-plugin-includepaths';
import json from '@rollup/plugin-json';
Expand Down Expand Up @@ -28,7 +28,11 @@ export default {
nodeResolve({ dedupe: ['object-inspect'] }),
commonjs(),
json({ indent: '' }),
buble()
babel({
babelHelpers: 'bundled',
// avoid circular dependencies due to `useBuiltIns: usage` option
exclude: [/\/core-js\//]
})
]
};

Expand Down
8 changes: 6 additions & 2 deletions css/00_reset.css
Expand Up @@ -67,13 +67,17 @@ textarea {

button,
input {
line-height: normal;
line-height: inherit;
letter-spacing: inherit;
}

/* Hide default number spinner controls */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
display: none;
display: none;
}
input[type=number] {
-moz-appearance: textfield;
}

/*
Expand Down
22 changes: 22 additions & 0 deletions css/30_highways.css
Expand Up @@ -241,6 +241,12 @@ path.line.stroke.tag-highway-track,
path.line.stroke.tag-highway-road {
stroke-width: 5;
}
path.line.casing.tag-highway-service.tag-service-driveway {
stroke-width: 6.25;
}
path.line.stroke.tag-highway-service.tag-service-driveway {
stroke-width: 4.25;
}

path.line.shadow.tag-highway-path,
path.line.shadow.tag-highway-footway,
Expand Down Expand Up @@ -288,6 +294,12 @@ path.line.stroke.tag-highway-steps {
.low-zoom path.line.stroke.tag-highway-road {
stroke-width: 3;
}
.low-zoom path.line.casing.tag-highway-service.tag-service-driveway {
stroke-width: 4.25;
}
.low-zoom path.line.stroke.tag-highway-service.tag-service-driveway {
stroke-width: 2.25;
}

.low-zoom path.line.shadow.tag-highway-path,
.low-zoom path.line.shadow.tag-highway-footway,
Expand Down Expand Up @@ -412,6 +424,16 @@ path.line.casing.tag-service.tag-service {
stroke: #666;
}

path.line.stroke.tag-highway-service.tag-service-parking_aisle {
stroke: #cccac7;
}
path.line.stroke.tag-highway-service.tag-service-driveway {
stroke: #fff6e4;
}
path.line.stroke.tag-highway-service.tag-service-emergency_access {
stroke: #ddb2aa;
}

/* unmaintained track roads */
path.line.stroke.tag-highway-track,
path.line.stroke.tag-track {
Expand Down
2 changes: 1 addition & 1 deletion css/50_misc.css
@@ -1,5 +1,5 @@

/* narrow width miscellanous things */
/* narrow width miscellaneous things */
path.line.shadow.tag-aerialway,
path.line.shadow.tag-attraction-summer_toboggan,
path.line.shadow.tag-attraction-water_slide,
Expand Down