Commit Graph

14548 Commits

Author SHA1 Message Date
Martin Raifer 8ef66e7cfb add to changelog 2021-11-23 13:38:05 +01:00
Martin Raifer 6e6becb4e4 add test for geojson sanitation of non-string properties 2021-11-23 13:35:05 +01:00
Martin Raifer 3373f1b53d enhance and move geojson property sanitation to data layer module 2021-11-23 12:53:10 +01:00
Kyle Hensel cc0ae0a714 fix bug with numeric properties in custom map data 2021-11-23 20:24:12 +13: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
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
Tobias b378f6a17f Issue template: Fix typo 2021-10-22 12:08:26 +02:00
Tobias Jordans 279297e47c Introduce issue templates
- one for bugs
- one for features/ideas
- and most importantly one link to the id-tagging-schema repo and NSI repo, so there is a better chance that issues get created in the correct repository

Co-Authored-By: Milos Brzakovic <78906108+mbrzakovic@users.noreply.github.com>
2021-10-22 12:05:56 +02:00
Milos Brzakovic 7ab60bf078 Merge pull request #8727 from k-yle/local-storage-full
show an error if local storage is full
2021-10-21 16:50:58 +02:00
Milos Brzakovic 869eebf510 Merge branch 'develop' into local-storage-full 2021-10-21 16:50:50 +02:00
Milos Brzakovic (E-Search) b577d9dcde disabled addNote test 2021-10-21 15:00:18 +02:00
Milos Brzakovic (E-Search) 68b5445689 testing infra improvement - disable silent errors
actions/join test fixed
2021-10-21 14:44:04 +02:00
Milos Brzakovic (E-Search) b78a8d5d2a fix addNote test 2021-10-21 14:43:05 +02:00
Milos Brzakovic 04e6733cb8 Merge pull request #8761 from openstreetmap/perf_improvement
Perf improvement - matchTags - locationsAt
2021-10-21 11:16:42 +02:00
Milos Brzakovic (E-Search) dee8cdfe07 matchTags- don't do locationsAt if locID is +Q2 2021-10-21 11:03:44 +02:00