Skip to content

Commit 1c780e5

Browse files
committed
Routine upstream merge.
2 parents a6373e7 + a38d7a1 commit 1c780e5

File tree

184 files changed

+15739
-8158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+15739
-8158
lines changed

.github/workflows/codespell.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: codespell-project/actions-codespell@master
1616
with:
1717
check_filenames: true
18-
skip: ./.git,./data/territory_languages.json,./data/imagery.json,./data/languages.json,./data/address_formats.json,./dist/locales,./docs/img,./dist/img
19-
ignore_words_list: "auxilary,casette,cemetary,chancel,childs,extentions,falsy,files',fillL,froms,generat,guerilla,inflight,kindergarden,nd,ot,pavillion,specialties,tos,vias,visibles"
18+
skip: ./.git,./data/territory_languages.json,./data/imagery.json,./data/languages.json,./data/address_formats.json,./dist/locales,./docs/img,./dist/img,./css
19+
ignore_words_list: "auxilary,casette,cemetary,chancel,childs,extentions,falsy,files',froms,generat,guerilla,inflight,kindergarden,nd,ot,pavillion,specialties,tos,vias,visibles"
2020
exclude_file: .codespellignorelines
2121
only_warn: 1

CHANGELOG.md

+57-5
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,79 @@ _Breaking developer changes, which may affect downstream projects or sites that
3535
[@xxxx]: https://github.com/xxxx
3636
-->
3737

38-
# Unreleased (2.28.0-dev)
38+
# Unreleased (2.29.0-dev)
3939

4040
#### :tada: New Features
41+
* Add button to fully load incompletely downloaded relations ([#5420])
42+
#### :sparkles: Usability & Accessibility
43+
* Preserve rows with empty tag values in raw tag editor ([#10145], thanks [@Asif-Sheriff])
44+
#### :scissors: Operations
45+
#### :camera: Street-Level
46+
* Show Mapillary username and deep link to external viewer on Mapillary photos ([#10135], thanks [@Sushil642])
47+
#### :white_check_mark: Validation
48+
* Drop validation which checks for [old style multipolygons](https://wiki.openstreetmap.org/wiki/Old_style_multipolygons), as these have long been [fixed](https://blog.jochentopf.com/2017-08-28-polygon-fixing-effort-concluded.html) in OSM
49+
* Upgrade closed ways with `traffic_calming=island` to `area:highway=traffic_calming` ([id-tagging-schema#1162])
50+
#### :bug: Bugfixes
51+
* Prevent (route) relations from getting corrupted while splitting their way members in certain conditions ([#7653], [#8415])
52+
* Fix overflowing UI input elements of maxheight field when in imperial units mode on Firefox ([#10175], thanks [@1ec5])
53+
#### :earth_asia: Localization
54+
#### :hourglass: Performance
55+
#### :mortar_board: Walkthrough / Help
56+
* Show message when a POI point is incorrectly placed as vertex ([#9439], thanks [@mattiapezzotti])
57+
#### :rocket: Presets
58+
#### :hammer: Development
59+
60+
[#5420]: https://github.com/openstreetmap/iD/issues/5420
61+
[#7653]: https://github.com/openstreetmap/iD/issues/7653
62+
[#8415]: https://github.com/openstreetmap/iD/issues/8415
63+
[#9439]: https://github.com/openstreetmap/iD/issues/9439
64+
[#10135]: https://github.com/openstreetmap/iD/issues/10135
65+
[#10145]: https://github.com/openstreetmap/iD/issues/10145
66+
[#10175]: https://github.com/openstreetmap/iD/pull/10175
67+
[id-tagging-schema#1162]: https://github.com/openstreetmap/id-tagging-schema/issues/1162
68+
[@Sushil642]: https://github.com/Sushil642
69+
[@mattiapezzotti]: https://github.com/mattiapezzotti
70+
[@Asif-Sheriff]: https://github.com/Asif-Sheriff
71+
72+
73+
# 2.28.1
74+
##### 2024-Feb-29
75+
76+
#### :bug: Bugfixes
77+
* Fix false validation message, which was suggesting to add empty `*:wikipedia` tags to NSI presets ([#10140])
78+
#### :earth_asia: Localization
79+
* Add address format for New Zealand ([#10123], thanks [@k-yle])
80+
81+
[#10123]: https://github.com/openstreetmap/iD/pull/10123
82+
[#10140]: https://github.com/openstreetmap/iD/issues/10140
83+
84+
85+
# 2.28.0
86+
##### 2024-Feb-28
87+
4188
#### :sparkles: Usability & Accessibility
4289
* Show the color of (route) relations in the form of small colored circles in relation membership section and feature search results ([#9424])
4390
* Hide tag suggestions for tags like `name_1` in raw tag editor autocomplete ([#9422])
4491
* Show `(empty)` as a tag value option in the raw tag editor when a multi selections contains at least one feature which does not have the particular tag ([#9876], thanks [@k-yle])
4592
* Allow to search for OSM notes by id in search bar ([#10062], thanks [@NaVis0mple])
4693
* Add support for coordinates in `<degree> <minutes>[ <seconds>]` format to search bar ([#10066], thanks [@NaVis0mple])
47-
#### :scissors: Operations
94+
* Improve styling of combobox dopdown list to give entries with long labels more room for better readability ([#10127], thanks [@tordans])
4895
#### :camera: Street-Level
4996
* Fetch Microsoft Bing Streetlevel imagery layer via the Bing Maps API (from the previously used undocumented internal API endpoints), fixing reliability issues with the service's integration ([#10074])
5097
#### :white_check_mark: Validation
98+
* Warn when objects contain tags which are considered to be _mutually exclusive_ like for example `noname` and `name` (replaces previous `incorrect_name` validator) ([#10035], thanks [@mtmail])
5199
#### :bug: Bugfixes
52100
* Show turn restriction editor also when there is only one possible "to" way, as there might exist restrictions with that way as _via_ ([#9983])
53101
* Local photos: Fix bug which prevented the last image from being removed from the map when removed from the list
54102
* Fix wrong mouse cursor on "foreign link" field buttons (for example in the Mapillary or Wikimedia Commons fields) ([#9992], thanks [@ramith-kulal])
55103
* Don't show duplicates of notes when they lie exactly on special locations like null island (0.0,0.0)
56-
#### :earth_asia: Localization
57-
#### :hourglass: Performance
104+
* Preserve `side` tag of `highway=cyclist_waiting_aid` features when reversing its way ([#10128])
58105
#### :mortar_board: Walkthrough / Help
106+
* Show message about how to support OSM (e.g. in form of a donation) after a successful save ([#10054])
59107
#### :rocket: Presets
60108
* Don't consider traffic_calming features as areas ([id-tagging-schema#1076])
61109
* Add rendering style for roller coaster tracks and supports ([#9891], thanks [@mangerlahn])
62110
* Drop `*:wikipedia` tags when switching to a new NSI-based preset which specifies a corresponding `*:wikidata` tag ([#9103])
63-
#### :hammer: Development
64111

65112
[#9103]: https://github.com/openstreetmap/iD/issues/9103
66113
[#9424]: https://github.com/openstreetmap/iD/pull/9424
@@ -69,13 +116,18 @@ _Breaking developer changes, which may affect downstream projects or sites that
69116
[#9891]: https://github.com/openstreetmap/iD/pull/9891
70117
[#9983]: https://github.com/openstreetmap/iD/issues/9983
71118
[#9992]: https://github.com/openstreetmap/iD/issues/9992
119+
[#10035]: https://github.com/openstreetmap/iD/pull/10035
120+
[#10054]: https://github.com/openstreetmap/iD/issues/10054
72121
[#10062]: https://github.com/openstreetmap/iD/pull/10062
73122
[#10066]: https://github.com/openstreetmap/iD/pull/10066
74123
[#10074]: https://github.com/openstreetmap/iD/issues/10074
124+
[#10127]: https://github.com/openstreetmap/iD/issues/10127
125+
[#10128]: https://github.com/openstreetmap/iD/issues/10128
75126
[id-tagging-schema#1076]: https://github.com/openstreetmap/id-tagging-schema/pull/1076
76127
[@ramith-kulal]: https://github.com/ramith-kulal
77128
[@mangerlahn]: https://github.com/mangerlahn
78129
[@NaVis0mple]: https://github.com/NaVis0mple
130+
[@mtmail]: https://github.com/mtmail
79131

80132

81133
# 2.27.3

CONTRIBUTING.md

-4
Original file line numberDiff line numberDiff line change
@@ -166,21 +166,17 @@ open while we wait for something to happen.
166166

167167
Light grey labels are for **wontfix items**. We've decided these doesn't belong in
168168
iD at this time. Don't feel bad, sometimes we change our minds later and revisit them!
169-
(ISATIDL = "I saw a thing I don't like", a common OpenStreetMap complaint)
170169

171170
* <sub>[![wontfix][wontfix]][wontfix_link]
172171
[![wontfix-confusing][wontfix-confusing]][wontfix-confusing_link]
173-
[![wontfix-ISATIDL][wontfix-ISATIDL]][wontfix-ISATIDL_link]
174172
[![wontfix-low-impact][wontfix-low-impact]][wontfix-low-impact_link]</sub>
175173

176174
[wontfix]: http://labl.es/svg?text=wontfix&bgcolor=eee
177175
[wontfix-confusing]: http://labl.es/svg?text=wontfix-confusing&bgcolor=eee
178-
[wontfix-ISATIDL]: http://labl.es/svg?text=wontfix-ISATIDL&bgcolor=eee
179176
[wontfix-low-impact]: http://labl.es/svg?text=wontfix-low-impact&bgcolor=eee
180177

181178
[wontfix_link]: https://github.com/openstreetmap/iD/issues?q=is%3Aclosed+is%3Aissue+label%3Awontfix
182179
[wontfix-confusing_link]: https://github.com/openstreetmap/iD/issues?q=is%3Aclosed+is%3Aissue+label%3Awontfix-confusing
183-
[wontfix-ISATIDL_link]: https://github.com/openstreetmap/iD/issues?q=is%3Aclosed+is%3Aissue+label%3Awontfix-ISATIDL
184180
[wontfix-low-impact_link]: https://github.com/openstreetmap/iD/issues?q=is%3Aclosed+is%3Aissue+label%3Awontfix-low-impact
185181

186182
Special:

config/envs.mjs

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ const envs = {
1414
ENV__ID_API_CONNECTION_CLIENT_SECRET: JSON.stringify(process.env.ID_API_CONNECTION_CLIENT_SECRET || null),
1515
ENV__ID_API_CONNECTION: JSON.stringify(process.env.ID_API_CONNECTION || null),
1616

17-
ENV__ID_TAGINFO_API_URL: JSON.stringify(process.env.ENV__ID_TAGINFO_API_URL || null),
18-
ENV__ID_NOMINATIM_API_URL: JSON.stringify(process.env.ENV__ID_NOMINATIM_API_URL || null),
17+
ENV__ID_TAGINFO_API_URL: JSON.stringify(process.env.ID_TAGINFO_API_URL || null),
18+
ENV__ID_NOMINATIM_API_URL: JSON.stringify(process.env.ID_NOMINATIM_API_URL || null),
19+
20+
ENV__ID_SHOW_DONATION_MESSAGE: JSON.stringify(process.env.ID_SHOW_DONATION_MESSAGE || null),
1921
};
2022

2123
export default envs;

config/id.js

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ const taginfoApiUrl = ENV__ID_TAGINFO_API_URL
5353
const nominatimApiUrl = ENV__ID_NOMINATIM_API_URL
5454
|| 'https://nominatim.openstreetmap.org/';
5555

56+
// support/donation message on upload success screen
57+
const showDonationMessage = ENV__ID_SHOW_DONATION_MESSAGE !== 'false';
58+
5659
export {
5760
presetsCdnUrl,
5861
ociCdnUrl,
@@ -61,4 +64,5 @@ export {
6164
osmApiConnections,
6265
taginfoApiUrl,
6366
nominatimApiUrl,
67+
showDonationMessage
6468
};

css/60_photos.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,12 @@ label.streetside-hires {
380380
align-items: center;
381381
}
382382

383+
.mapillary-attribution-image-container {
384+
height: auto;
385+
}
386+
383387
.mly-wrapper .mapillary-attribution-container .mapillary-attribution-username {
384-
display: none;
388+
padding: 0px 8px 0 6px;
385389
}
386390

387391
.mly-wrapper .mapillary-attribution-container .mapillary-attribution-date {

css/80_app.css

+35-5
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,12 @@ button.disabled .icon.operation use,
504504
vertical-align: baseline;
505505
}
506506

507+
button.loading .icon {
508+
background-image: url(img/mini-loader.gif);
509+
background-position: 0 0;
510+
background-size: auto;
511+
}
512+
507513

508514
/* Toolbar / Persistent UI Elements
509515
------------------------------------------------------- */
@@ -1585,11 +1591,11 @@ input.date-selector {
15851591
display: flex;
15861592
flex-flow: row nowrap;
15871593
}
1588-
.form-field ul.rows li.labeled-input > span,
15891594
.form-field ul.rows li.labeled-input > div {
15901595
flex: 1 1 auto;
15911596
width: 100%;
15921597
border-radius: 0;
1598+
line-height: 0.95rem;
15931599
}
15941600
.form-field ul.rows li input {
15951601
border-radius: 0;
@@ -1608,6 +1614,28 @@ input.date-selector {
16081614
border-right-width: 1px;
16091615
}
16101616

1617+
/* Field - lists with labeled input items as table
1618+
------------------------------------------------------- */
1619+
.form-field ul.rows.rows-table {
1620+
display: table;
1621+
width: 100%;
1622+
}
1623+
.form-field ul.rows.rows-table li.labeled-input {
1624+
display: table-row;
1625+
}
1626+
.form-field ul.rows.rows-table li.labeled-input > div:first-child {
1627+
display: table-cell;
1628+
width: auto;
1629+
max-width: 170px;
1630+
white-space: nowrap;
1631+
text-overflow: ellipsis;
1632+
overflow: hidden;
1633+
}
1634+
.form-field ul.rows.rows-table li.labeled-input > div:nth-child(2) {
1635+
display: table-cell;
1636+
width: auto;
1637+
}
1638+
16111639

16121640
/* Field - Structure
16131641
------------------------------------------------------- */
@@ -2029,7 +2057,7 @@ input.date-selector {
20292057
.form-field-input-roadheight input.roadheight-secondary-number,
20302058
.form-field-input-roadspeed input.roadspeed-number {
20312059
flex-basis: 0;
2032-
width: 0;
2060+
width: 0;
20332061
}
20342062
.form-field-input-roadheight input.roadheight-unit,
20352063
.form-field-input-roadheight input.roadheight-secondary-unit {
@@ -2380,9 +2408,8 @@ div.combobox {
23802408
display: block;
23812409
padding: 5px 10px;
23822410
border-top: 1px solid #ccc;
2383-
text-overflow: ellipsis;
2384-
white-space: nowrap;
2385-
overflow: hidden;
2411+
line-height: 0.95rem;
2412+
break: all;
23862413
}
23872414

23882415
.combobox a.selected,
@@ -5104,10 +5131,12 @@ img.tile-debug {
51045131
}
51055132

51065133
.save-summary,
5134+
.save-supporting,
51075135
.save-communityLinks {
51085136
padding: 0px 20px 15px 20px;
51095137
}
51105138

5139+
.save-supporting,
51115140
.save-communityLinks {
51125141
border-top: 1px solid #ccc;
51135142
}
@@ -5139,6 +5168,7 @@ img.tile-debug {
51395168
}
51405169

51415170
.summary-view-on-osm,
5171+
.support-the-map,
51425172
.community-name {
51435173
font-size: 14px;
51445174
font-weight: bold;

data/address_formats.json

+8
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@
7878
["postcode", "city"]
7979
]
8080
},
81+
{
82+
"countryCodes": ["nz"],
83+
"format": [
84+
["housenumber", "street"],
85+
["suburb"],
86+
["city", "postcode"]
87+
]
88+
},
8189
{
8290
"countryCodes": ["br"],
8391
"format": [

data/core.yaml

+21-3
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ en:
499499
one: "Split a feature."
500500
other: "Split {n} features."
501501
not_eligible: Lines can't be split at their beginning or end.
502+
parent_incomplete: This line cannot be split because a parent relation isn’t fully downloaded. Download the full relation.
503+
simple_roundabout: This line cannot be split because this roundabout is part of a larger relation. You must remove it from the relation first.
502504
connected_to_hidden: This can't be split because it is connected to a hidden feature.
503505
restriction:
504506
annotation:
@@ -1056,6 +1058,12 @@ en:
10561058
help_link_url: "https://wiki.openstreetmap.org/wiki/FAQ#I_have_just_made_some_changes_to_the_map._How_do_I_get_to_see_my_changes.3F"
10571059
view_on_osm: "View Changes on OHM"
10581060
changeset_id: "Your changeset #: {changeset_id}"
1061+
supporting:
1062+
title: "OpenHistoricalMap is free to use, but not free to run"
1063+
details: "Its stability, quality, independence, and strength depend on donations from people like you."
1064+
donation:
1065+
title: "Support the map"
1066+
details: "Any donation will go directly towards keeping OpenStreetMap running."
10591067
like_osm: "Like OpenHistoricalMap? Connect with others:"
10601068
more: More
10611069
events: Events
@@ -1855,9 +1863,6 @@ en:
18551863
amap: "Amap products are proprietary and must not be used as references."
18561864
baidu: "Baidu products are proprietary and must not be used as references."
18571865
google: "Google products are proprietary and must not be used as references."
1858-
incorrect_name:
1859-
message: '{feature} has the mistaken name "{name}"'
1860-
message_language: '{feature} has the mistaken name "{name}" in {language}'
18611866
invalid_format:
18621867
title: Invalid Formatting
18631868
tip: Find tags with unexpected formats
@@ -1909,6 +1914,15 @@ en:
19091914
message: "{feature} has no descriptive tags"
19101915
relation_type:
19111916
message: "{feature} is a relation without a type"
1917+
mutually_exclusive_tags:
1918+
title: Contradictory Tags
1919+
tip: "Find features that have contradictory tags."
1920+
default:
1921+
message: "{feature} has both {tag1} and {tag2}"
1922+
reference: 'The tags "{tag1}" and "{tag2}" contradict each other. Only one tag should be set.'
1923+
same_value:
1924+
message: "{feature}: {tag1} and {tag2} have same value"
1925+
reference: 'The tags "{tag1}" and "{tag2}" have the same value. Only one tag should be set.'
19121926
old_multipolygon:
19131927
message: "{multipolygon} has misplaced tags"
19141928
reference: "Multipolygons should be tagged on their relation, not their outer way."
@@ -2041,6 +2055,9 @@ en:
20412055
remove_tag:
20422056
title: Remove the tag
20432057
annotation: Removed tag.
2058+
remove_named_tag:
2059+
title: 'Remove the "{tag}" tag'
2060+
annotation: 'Removed "{tag}" tag.'
20442061
remove_tags:
20452062
title: Remove the tags
20462063
remove_the_name:
@@ -2242,6 +2259,7 @@ en:
22422259
add_point: "They mark a specific location, and describe what's there. **Press the {point_icon} {point} button to add a new point.**"
22432260
place_point: "To place the new point on the map, position your mouse cursor where the point should go, then {leftclick} left-click or press `{space}`. **Move the mouse pointer over this building, then left-click or press `{space}`.**"
22442261
place_point_touch: "To place the new point on the map, {tap_icon} tap the location where it should go. **Tap the center of this building.**"
2262+
place_point_error: "The point should be placed inside the building area, not on its outline. Let's try again."
22452263
search_cafe: "There are many different features that can be represented by points. The point you just added is a cafe. **Search for '{preset}'.**"
22462264
choose_cafe: "**Choose {preset} from the list.**"
22472265
feature_editor: "The point is now marked as a cafe. Using the feature editor, we can add more information about the cafe."

0 commit comments

Comments
 (0)