Commit Graph

14557 Commits

Author SHA1 Message Date
Martin Raifer
ca07e33a3e Merge branch 'develop' into issue-8813 2021-11-23 18:28:14 +01:00
Martin Raifer
f6cbc65cdc always detect source type for custom background sources.
fixes #8057
2021-11-23 15:05:00 +01:00
Martin Raifer
770a43bd08 Merge pull request #8823 from openstreetmap/1ec5-validator-attach-8812
Clarify validator warning about standalone node
2021-11-23 14:18:15 +01:00
Minh Nguyễn
105d7b84b4 Clarified validator warning about standalone node 2021-11-20 09:32:39 -08:00
Martin Raifer
b5fdb145f5 add more explicit html formatting of translated texts 2021-11-19 12:23:45 +01:00
Martin Raifer
68098489af add quotes back to separate tag key from message text 2021-11-19 12:10:05 +01:00
Martin Raifer
f91ae8902f build asset 2021-11-19 12:00:57 +01:00
Martin Raifer
8fa1c3aff7 drop unused translation string
which is not used since commit fc497f16d8

see https://github.com/openstreetmap/iD/issues/1167
2021-11-19 11:57:01 +01:00
Martin Raifer
040257fd44 replace unnecessary setting of raw "html" with "text" 2021-11-18 18:53:33 +01:00
Martin Raifer
12f546d6e6 escape raw osm usernames displayed in note comments 2021-11-18 15:36:35 +01:00
Martin Raifer
8892b437a1 escape and format conflict details as localized html strings
these are in html because they contain links to osm user profiles
2021-11-18 13:09:57 +01:00
Martin Raifer
8bbae82caa localizer: escape placeholder replacement values in html output mode 2021-11-18 13:09:16 +01:00
Martin Raifer
e1dda082e0 escape user name displayed in the history panel 2021-11-18 13:09:05 +01:00
Minh Nguyễn
3956b4415f Escape user name in profile URL 2021-11-17 18:18:08 -08:00
Minh Nguyễn
3f09ebee59 Corrected language code for undefined language 2021-11-17 18:17:24 -08:00
Minh Nguyễn
e2a5345c7f Fixed KartaView link
https://github.com/openstreetmap/iD/issues/8807#issuecomment-970743880
2021-11-16 14:39:23 -08:00
Martin Raifer
c854564389 introduce allowlist for disconnectable relation types 2021-11-16 18:03:51 +01:00
Martin Raifer
cb96257c63 explicit coloring of preset categories 2021-11-16 17:58:52 +01:00
Martin Raifer
0775c24c0a fix wording in changelog 2021-11-16 17:48:07 +01:00
Martin Raifer
25d4ff100f rename all openstreetcam references to kartaview
closes #8807
2021-11-16 17:42:53 +01:00
Martin Raifer
6a45b66294 Merge pull request #8810 from openstreetmap/issue-8805
start a running changelog
2021-11-16 17:06:15 +01:00
Martin Raifer
db20d71c95 start with a running changelog 2021-11-16 16:58:25 +01:00
Martin Raifer
de0a501271 tweak contributing instructions to keep a running changelog 2021-11-16 16:38:00 +01:00
Martin Raifer
8b23b0f413 add missing changelog entry for #8276 2021-11-16 16:37:59 +01:00
Martin Raifer
4f51ededfd fix eslint "no-implicit-coercion" warning
See https://eslint.org/docs/rules/no-implicit-coercion for this warning. However the implicit type conversion is unnecessary here, since `Number.toFixed` already returns a string, see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed.
2021-11-16 11:20:01 +01:00
Stéphane Guillou
f8210a9a86 clarify "disconnected_way" validation text (fixes #8760) (#8800)
As discussed in issue #8760, clarify that the ways that are considered routable by the validator need to be well represented among major routing software.

Co-authored-by: Martin Raifer <martin@raifer.tech>
2021-11-16 11:12:15 +01:00
Martin Raifer
1667f3e5f2 update list of communication channels and contacts
see also #8718
2021-11-16 09:12:04 +01:00
Martin Raifer
f3e8852808 don't select option on ambiguous multi-key radio fields
this matches the behaviour of a multi-selection: all matching options are still highlighted, but the radio-option is not set.

also fixes a minor bug with multi-selections not taking `<key> = no` properly into account

closes #8796
2021-11-09 15:10:47 +01:00
Martin Raifer
2f9285e011 improve rendering of turn-restriction boxes in narrow sidebars
Previously the applied paddings were too large for narrow sidebars, causing the turn-restriction min-map view to be much more zoomed out than needed.
This tweaks the paddings such that even for the slimmest sidebar the rendering is still acceptable (i.e. no turn arrows to be rendered completely outside of the viewport) and at the same time allows generous margins for wider sidebars.

This also fixes a minor bug where the mini-map is not properly alligned vertically
2021-11-05 14:46:53 +01:00
Martin Raifer
a30856eb83 fix clipped tooltips on controls bar (#8791)
* controls: add wrapper div to not clip tooltips

* bind wheel to controlsWrap
minor z-index change

* scrollbar for ie/firefox

Co-authored-by: Milos Brzakovic (E-Search) <mbrzakovic@microsoft.com>
2021-11-05 11:41:23 +01:00
Milos Brzakovic (E-Search)
3e7fd6e033 Set development version number 2021-10-28 12:38:51 +02:00
Milos Brzakovic (E-Search)
c61f1534db v2.20.2 2021-10-28 11:46:08 +02:00
Milos Brzakovic (E-Search)
34759ae3f2 npm run translations 2021-10-28 11:26:51 +02:00
Milos Brzakovic (E-Search)
216e77dd0c npm run imagery 2021-10-28 11:01:27 +02:00
Milos Brzakovic
54425e8fbe Merge pull request #8773 from openstreetmap/1ec5-follow-unsaved-vertex-8749
Consider unsaved vertices when following a way
2021-10-28 10:46:56 +02:00
Minh Nguyễn
3ea58a3620 Consider unsaved vertices when following a way 2021-10-27 19:12:18 -07:00
Minh Nguyễn
810ce60c18 Fixed roadheight placeholders
The standard field’s placeholder is no longer relevant because it is formatted as a list of raw tag values rather than of localized numbers.
2021-10-25 21:52:54 -07:00
Minh Nguyễn
5f58b533ff Added roadheight field with unit dropdowns 2021-10-25 17:38:41 -07:00
Bryan Housel
d3058983c3 Merge pull request #8768 from openstreetmap/matchTags_improveIndex
matchTags - improve indexing data structure
2021-10-25 10:42:44 -04:00
Bryan Housel
fc6f460fc8 Merge pull request #8766 from openstreetmap/jfirebaugh/node-10-16
Replace node 10 with node 16 in test matrix
2021-10-25 10:26:01 -04:00
Milos Brzakovic
f0b82a5058 Merge pull request #8767 from zstadler/patch-1
Update API.md
2021-10-25 15:29:13 +02:00
Milos Brzakovic
b12c08d4e4 Merge pull request #8746 from tordans/issue-templates
Introduce issue templates
2021-10-25 14:47:36 +02:00
Milos Brzakovic (E-Search)
18f7e91b50 matchTags - improve indexing data structure 2021-10-25 12:10:20 +02:00
zstadler
651d358416 Update API.md
The documentation for the `background` URL parameter](https://github.com/openstreetmap/iD/blob/develop/API.md#url-parameters) says:

> * __`background`__ - The value from a `sourcetag` property in iD's  [imagery list](https://github.com/openstreetmap/iD/blob/develop/data/imagery.json),  or a custom tile URL.

However, none of the sources in iD's  [imagery list](https://github.com/openstreetmap/iD/blob/develop/data/imagery.json?raw=true) does not have a `sourcetag` property.

In fact, iD is actually using the value of the `id` property.
For example: [https://www.openstreetmap.org/edit?editor=id&background=Mapbox](https://www.openstreetmap.org/edit?editor=id&background=Mapbox), based on
```
  {
    "id": "Mapbox",
    "name": "Mapbox Satellite",
    "type": "tms",
    "template": "https://{switch:a,b,c,d}.tiles.mapbox.com/v4/mapbox.satellite/{zoom}/{x}/{y}@2x.jpg?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJja2w5YWt5bnYwNjZmMnFwZjhtbHk1MnA1In0.eq2aumBK6JuRoIuBMm6Gew",
    "tileSize": 512,
    "zoomExtent": [0, 22],
    "terms_url": "https://www.mapbox.com/about/maps",
    "terms_text": "Terms & Feedback",
    "default": true,
    "description": "Satellite and aerial imagery.",
    "icon": "https://osmlab.github.io/editor-layer-index/sources/world/MapBoxSatellite.png"
  },
```
2021-10-25 11:26:55 +03:00
John Firebaugh
cc9bea044a Replace node 10 with node 16 in test matrix
Node 10 is no longer in LTS maintenance. v16 will move to maintenance LTS on Tuesday.

https://nodejs.org/en/about/releases/
2021-10-24 19:53:21 -07:00
John Firebaugh
053b652548 More typos 2021-10-24 11:06:26 -07:00
John Firebaugh
5eb0242caf Add CSS selector to .codespellignorelines 2021-10-24 11:05:06 -07:00
John Firebaugh
e8e2af82e4 Merge pull request #8244 from peternewman/patch-10
Switch to a codespell ignore lines file
2021-10-24 11:03:14 -07:00
John Firebaugh
3e082bb20e Fix typos 2021-10-24 11:01:44 -07:00
Bryan Housel
61215456fc Merge pull request #8762 from openstreetmap/testingImprovement
Testing improvement
2021-10-22 09:13:45 -04:00