Commit Graph

14854 Commits

Author SHA1 Message Date
Martin Raifer dbfc090e0f make sure ui and map (extent) are properly loaded when setting background 2022-07-19 18:59:51 +02:00
Martin Raifer 9c951aa235 fix regression which caused fist validation fix to revert to "ignore"
regressed in 8bb1d39431
2022-07-19 17:38:20 +02:00
Martin Raifer 0c1d4c7c44 Merge remote-tracking branch 'faebebin/fix/9176-connect-features-crossing-with-pedestrian-signals' into develop 2022-07-19 16:38:18 +02:00
Martin Raifer 60eead24ca use proper map extent when choosing imagery sources 2022-07-19 13:28:46 +02:00
Martin Raifer 6f5a195188 drop console.log 2022-07-19 13:12:39 +02:00
Martin Raifer 6526d655f6 further tweak and add tests for last map location restore
see #9146
2022-07-19 13:04:44 +02:00
Martin Raifer 67c65887b6 simplify map location restore, see #9146 2022-07-19 12:02:03 +02:00
Martin Raifer 981628bfd1 Merge remote-tracking branch 'bvercelli99/remember-location-hash' into develop 2022-07-19 11:31:33 +02:00
Martin Raifer 645d73a76e Merge remote-tracking branch 'k-yle/render-ref-as-label' into develop 2022-07-19 11:27:17 +02:00
Gabor Hodi 71a77393c0 Remove double spaces and fix links in Architecture.md (#8996) 2022-07-19 11:16:04 +02:00
Daniele Basso 8a7b0cf43f Update Workflows (#9057)
Co-authored-by: Daniele Basso <daniele05.bass@gmail.com>
Co-authored-by: Martin Raifer <martin@raifer.tech>
2022-07-19 11:11:32 +02:00
Martin Raifer c2a54f0f92 Merge pull request #9076 from renancleyson-dev/fix-imagery-unselected
Fix iD using invalid user selected imagery
2022-07-15 19:04:23 +02:00
Martin Raifer eee346e7dc apply "is background valid" on "last used" instead of "requested" layer 2022-07-15 18:57:50 +02:00
Renan Cleyson ce67f5390b Fixes CHANGELOG.md 2022-07-15 18:57:50 +02:00
Renan 1313e4b21e Fix iD using invalid user selected imagery 2022-07-15 18:54:49 +02:00
dependabot[bot] fc77a56942 Bump mocha from 9.2.2 to 10.0.0, closes #9132
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.2...v10.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 17:07:16 +02:00
Martin Raifer ad22c451ff add changelog entry for #9141 2022-07-15 16:50:02 +02:00
Kyℓe Hensel 81f3b0666c support incrementing cardinal directions with the 🔼/🔽 buttons (#9141) 2022-07-15 16:48:47 +02:00
Nickolas Gupton 0904178cbe Update issue template for Bug reports (#9162) 2022-07-15 16:45:06 +02:00
dependabot[bot] 42a985bdfc Bump @tmcw/togeojson from 4.7.0 to 5.2.1, closes #9170
Bumps [@tmcw/togeojson](https://github.com/placemarkio/togeojson) from 4.7.0 to 5.2.1.
- [Release notes](https://github.com/placemarkio/togeojson/releases)
- [Commits](https://github.com/placemarkio/togeojson/commits)

---
updated-dependencies:
- dependency-name: "@tmcw/togeojson"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 16:41:54 +02:00
Naveen 2bf047fa64 chore: Set permissions for GitHub actions (#9177)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-07-15 16:33:57 +02:00
Martin Raifer fe91e9a5a4 update changlog with upgraded libraries 2022-07-15 16:31:58 +02:00
dependabot[bot] 0b021085c6 Bump @mapbox/maki from 7.2.0 to 8.0.0 (#9199)
Bumps [@mapbox/maki](https://github.com/mapbox/maki) from 7.2.0 to 8.0.0.
- [Release notes](https://github.com/mapbox/maki/releases)
- [Changelog](https://github.com/mapbox/maki/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mapbox/maki/compare/v7.2.0...v8.0.0)

---
updated-dependencies:
- dependency-name: "@mapbox/maki"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-15 16:28:49 +02:00
Holger Jeromin ce89fd6836 Fix link to discussion tab (#9204) 2022-07-15 16:27:57 +02:00
Martin Raifer 03d6bb0f55 fix some boundaries not hidden by the filter, closes #9171 2022-07-15 16:24:05 +02:00
Martin Raifer 7c9b47edb5 fix typo in flash module, make linter happy 2022-07-11 20:26:05 +02:00
Martin Raifer b61dfe7b8c Merge branch 'label-rendering' into develop 2022-07-11 19:20:38 +02:00
Martin Raifer 379faf83d4 add #9172 to changelog 2022-07-11 19:18:26 +02:00
Kyℓe Hensel 027fc1ef9e fix rendering of proposed bridges (#9172) 2022-07-11 13:27:22 +02:00
dependabot[bot] 7a4f02a0ef Bump d3 from 7.4.5 to 7.6.1 (#9194)
Bumps [d3](https://github.com/d3/d3) from 7.4.5 to 7.6.1.
- [Release notes](https://github.com/d3/d3/releases)
- [Changelog](https://github.com/d3/d3/blob/main/CHANGES.md)
- [Commits](https://github.com/d3/d3/compare/v7.4.5...v7.6.1)

---
updated-dependencies:
- dependency-name: d3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 13:18:33 +02:00
Martin Raifer 7d546a8f60 refactor further modules to not rely on html injection 2022-06-24 19:31:41 +02:00
Martin Raifer 209cc23d92 don't inject html code in preset names 2022-06-24 19:11:00 +02:00
faebebin 9dcc6d1e7d Fix connect features when crossing with pedestrian signals 2022-06-24 19:02:33 +02:00
Martin Raifer 8bb1d39431 refactor validation modules to not inject html 2022-06-24 13:25:56 +02:00
Martin Raifer 6626ea0682 refactor panels to not inject html 2022-06-24 12:19:17 +02:00
Martin Raifer 28eae9ed87 refactor uiSections to not inject html 2022-06-24 11:45:54 +02:00
Martin Raifer 85022dcc6c render operations texts with lang attribute 2022-06-23 19:23:16 +02:00
Martin Raifer ac77289b4d refactor localized text rendering in tooltips, flash messages 2022-06-23 18:55:57 +02:00
Martin Raifer 422861dbc7 render background source labels as text, not html 2022-06-23 10:56:17 +02:00
Martin Raifer 9576e95d83 change label of ui fields from raw html to a callback function
fixes #9159
2022-06-23 10:49:38 +02:00
dependabot[bot] 3071d3c5cb Bump osm-community-index from 5.1.6 to 5.2.0 (#9173)
Bumps [osm-community-index](https://github.com/osmlab/osm-community-index) from 5.1.6 to 5.2.0.
- [Release notes](https://github.com/osmlab/osm-community-index/releases)
- [Changelog](https://github.com/osmlab/osm-community-index/blob/main/CHANGELOG.md)
- [Commits](https://github.com/osmlab/osm-community-index/compare/v5.1.6...v5.2.0)

---
updated-dependencies:
- dependency-name: osm-community-index
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-23 09:27:24 +02:00
Martin Raifer edf711ca2b fix rendering of chip labels in localizable multiCombo fields
closes #9169
2022-06-22 14:57:58 +02:00
Martin Raifer 38dc298caa Merge remote-tracking branch '1ec5/1ec5-multicombo-raw-9164' into develop 2022-06-22 14:49:39 +02:00
Martin Raifer 5ce8eb139c add fallback values for access field for barriers 2022-06-20 19:03:50 +02:00
Martin Raifer 69edff39f0 fix missing vertex icon, improve fallback icons for untagged objects
closes #9157
2022-06-20 11:19:59 +02:00
Minh Nguyễn 2433664063 Fixed tagging of localizable keys by multiCombo fields 2022-06-15 16:49:26 -07:00
Martin Raifer d0b1fb1ebe v2.21.1 info, it also has updated translations/imagery 2022-06-16 01:08:43 +02:00
Martin Raifer 54ca3a492e add #9165 to changelog 2022-06-16 00:36:05 +02:00
Minh Nguyễn dc2e83ccaa Removed dotall regex flag (#9165)
Fixes compatibility with Chrome 61, Firefox 77, Safari 11.
2022-06-16 00:32:20 +02:00
Nikhil VJ b5e2ea81a4 update params structure for OSM hosted iD (#9095)
* update params structure for OSM iD

update params structure for the iD editor hosted at openstreetmap.org/edit : have to keep the params after a # instead of ?

* working osm editor with-gpx-hash-param link

* update list of query/hash params on osm.org 

Some hash parameters are not supported on osm.org, while there are some query parameters which work slightly differently when used on osm.org 
See https://github.com/openstreetmap/openstreetmap-website/blob/66656e1d1d58e6073efd453007d7452920531b37/app/assets/javascripts/edit/id.js.erb

This should accurately the currently state of the iD integration in the openstreetmap-website (aka as the rails port).

Co-authored-by: Martin Raifer <martin@raifer.tech>
2022-06-14 21:21:02 +02:00