Commit Graph

16092 Commits

Author SHA1 Message Date
Kyℓe Hensel
63cdfd3d28 support localised labels for CLDR overrides (#10703) 2025-03-12 11:58:41 +01:00
Atul Patil
c7cc7008b8 Feature: add prev/next button to viewer for georeferenced photos (#10865) 2025-03-11 21:20:38 +01:00
Martin Raifer
607f953465 add alternative formats for coordinate search: (#10805)
* zoom/x/y – copy/paste from an osm.org URL or web map with map-hash param (this also sets map zoom to the respective value)
* x/y – like the above, but does not set zoom level
* x y – where x and y are numbers in the user's locale's number format
2025-03-11 21:20:21 +01:00
Martin Raifer
a33c340356 adjust tests for new rate limit handling
see 91aa85a1c
2025-03-11 16:00:43 +01:00
Martin Raifer
49e895e2ed log failed API requests in console
to more easily debug API issues in the future
2025-03-11 15:49:56 +01:00
dependabot[bot]
6b7fb70522 Bump esbuild from 0.25.0 to 0.25.1 (#10863)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.25.0 to 0.25.1.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.0...v0.25.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 15:45:08 +01:00
Martin Raifer
91aa85a1c0 better handling of rate limited API map calls and other API errors
* retry all unsuccessful map calls after waiting 8 seconds (spinner continues to indicate loading state)
* also logged-in users can be rate limited: add dedicated error message
* don't log users out when requests return 401/403 (except on the _get own user data_ request, which would indicate that the oauth token was revoked): it's better to show the error message if a legitimate api call was actually unauthorized

closes #10299
2025-03-11 15:40:05 +01:00
Martin Raifer
68eb90f665 allow setting background adjustment sliders in 1% increments
closes #10289
2025-03-11 11:29:21 +01:00
Martin Raifer
bb012d6a67 only show "privacy policy updated" if user had already seen one before
see #10290
2025-03-11 11:23:59 +01:00
Martin Raifer
01c63626d5 add i18n method .addOrUpdate 2025-03-10 20:06:29 +01:00
Martin Raifer
beaab3ecf4 minor code formatting tweak 2025-03-10 15:26:46 +01:00
Martin Raifer
a287b60653 make sure local dev server renders index file by default
addendum to a5990905d3
2025-03-10 15:25:45 +01:00
Martin Raifer
4282acab09 don't repeat addTags suggestion if key is also in NSI suggestion 2025-03-10 11:52:20 +01:00
Martin Raifer
28d1a4c66d osm entities always have an id property 2025-03-10 11:17:56 +01:00
dependabot[bot]
820325223a Bump @tmcw/togeojson from 6.0.1 to 7.0.0 (#10859)
and add geojson types explicitly as a dependency: this comes as a subdependency from some other modules already (e.g. turf), but it's probably better to include it explicitly as a dev dependency

see also https://github.com/placemark/togeojson/releases/tag/v7.0.0

--

Bump @tmcw/togeojson from 6.0.1 to 7.0.0

Bumps [@tmcw/togeojson](https://github.com/placemark/togeojson) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/placemark/togeojson/releases)
- [Changelog](https://github.com/placemark/togeojson/blob/main/CHANGELOG.md)
- [Commits](https://github.com/placemark/togeojson/compare/v6.0.1...v7.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 11:17:48 +01:00
dependabot[bot]
97fe93ab32 Bump shelljs from 0.8.5 to 0.9.1 (#10860)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.5 to 0.9.1.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.5...v0.9.1)

---
updated-dependencies:
- dependency-name: shelljs
  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>
2025-03-10 10:41:56 +01:00
dependabot[bot]
01faa5c656 Bump eslint from 9.21.0 to 9.22.0 (#10861)
Bumps [eslint](https://github.com/eslint/eslint) from 9.21.0 to 9.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.21.0...v9.22.0)

---
updated-dependencies:
- dependency-name: eslint
  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>
2025-03-10 10:41:44 +01:00
dependabot[bot]
061ab4ea89 Bump @types/node from 22.13.9 to 22.13.10 (#10858)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.9 to 22.13.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 10:40:08 +01:00
dependabot[bot]
350c4c8408 Bump autoprefixer from 10.4.20 to 10.4.21 (#10857)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.20 to 10.4.21.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.20...10.4.21)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 10:39:59 +01:00
Julián Perelli
a5990905d3 cleanUrls must be disabled to avoid a 301 redirect during authentication. (#10853) 2025-03-09 10:05:01 +01:00
Kyℓe Hensel
670d8392f5 fix changelog link (#10854) 2025-03-09 10:02:44 +01:00
Kyℓe Hensel
9d16588f19 move deprecatedTags logic out of osmEntity and into a helper function (#10842) 2025-03-07 18:29:25 +01:00
Kyℓe Hensel
16f1187c04 fix some direction cones not appearing on railway tracks (#10843)
also refactored the logic for readability
2025-03-07 18:22:51 +01:00
dependabot[bot]
e77c0712fd Bump vitest from 3.0.7 to 3.0.8 (#10848)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.0.8/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-07 13:04:42 +01:00
Chaitanya Kadu
3fa84a2abc deduplicate postcode suggestions (#10847) 2025-03-07 13:04:21 +01:00
Martin Raifer
89af80057b link to release notes on github release, closes #10837 2025-03-06 15:20:45 +01:00
dependabot[bot]
0187bbddd3 Bump netlify-cli from 19.0.1 to 19.0.2 (#10840)
Bumps [netlify-cli](https://github.com/netlify/cli) from 19.0.1 to 19.0.2.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/netlify/cli/compare/v19.0.1...v19.0.2)

---
updated-dependencies:
- dependency-name: netlify-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 13:20:43 +01:00
dependabot[bot]
237789b11e Bump @types/chai from 5.0.1 to 5.2.0 (#10841)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 5.0.1 to 5.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  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>
2025-03-06 13:20:28 +01:00
Martin Raifer
f93d03c3d1 Set development version number 2025-03-05 13:02:08 +01:00
Martin Raifer
304c4a23c0 v2.32.0 2025-03-05 12:55:37 +01:00
Martin Raifer
1d65da6e53 npm run translations 2025-03-05 12:54:03 +01:00
Martin Raifer
4f238001d4 npm run imagery 2025-03-05 12:49:27 +01:00
Kyℓe Hensel
a41e8c48d2 separate tag-upgrade warnings from NSI suggestions (#10801) 2025-03-05 12:42:40 +01:00
Kyℓe Hensel
7beace6698 add a changeset tag if a merge conflict occurred (#9636) 2025-03-05 12:38:32 +01:00
dependabot[bot]
c7e177fee4 Bump netlify-cli from 19.0.0 to 19.0.1 (#10835)
Bumps [netlify-cli](https://github.com/netlify/cli) from 19.0.0 to 19.0.1.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/netlify/cli/compare/v19.0.0...v19.0.1)

---
updated-dependencies:
- dependency-name: netlify-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-05 12:36:13 +01:00
Chaitanya Kadu
39d5c58ea4 fix broken logging of dev server port (#10834) 2025-03-04 22:05:01 +01:00
Kyℓe Hensel
38d2ccd866 isHighwayIntersection only applies to nodes, so remove from osmEntity (#10831) 2025-03-04 11:29:29 +01:00
dependabot[bot]
8f39346bbc Bump @types/node from 22.13.8 to 22.13.9 (#10832)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.8 to 22.13.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-04 11:23:05 +01:00
Martin Raifer
4d78e80ea1 fix scrolling glitch in Firefox on Windows and Linux/Xorg
For some elements, Firefox reports wheel deltas measured in lines (see https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaMode), which we need to convert to pixels. The previous routine hugely overestimated the conversion factor if the deltaY as slightly bigger (not sure where the exp function came from originally, it does not make much sense IMO).
The lines-to-pixels factor does not seem to be quite consistent between different Firefox builds, but this compromise factor should be good enough, I hope.

PS: Firefox on Mac OS does not report deltas as lines anymore it seems.

closes #10825
2025-03-03 21:06:24 +01:00
dependabot[bot]
d98f04a297 Bump core-js-bundle from 3.40.0 to 3.41.0 (#10827)
Bumps [core-js-bundle](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js-bundle) from 3.40.0 to 3.41.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.41.0/packages/core-js-bundle)

---
updated-dependencies:
- dependency-name: core-js-bundle
  dependency-type: direct:production
  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>
2025-03-03 14:54:09 +01:00
dependabot[bot]
ae2a478cba Bump @types/node from 22.13.5 to 22.13.8 (#10828)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.5 to 22.13.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 14:42:49 +01:00
dependabot[bot]
e05efe34a5 Bump @mapbox/maki from 8.1.0 to 8.2.0 (#10822)
Bumps [@mapbox/maki](https://github.com/mapbox/maki) from 8.1.0 to 8.2.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/8.1.0...8.2.0)

---
updated-dependencies:
- dependency-name: "@mapbox/maki"
  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>
2025-03-03 14:42:32 +01:00
Martin Raifer
a8ec5d601e self-host images used in docs, closes #10824 2025-03-03 14:09:13 +01:00
Martin Raifer
118cb7f7aa update bundled icons 2025-03-03 13:56:25 +01:00
Martin Raifer
ba7e2c6cdb fix dead links in docs, closes #10829
Signed-off-by: Martin Raifer <martin@raifer.tech>
2025-03-03 13:48:26 +01:00
Martin Raifer
f4c102786f add #10819 to changelog 2025-03-03 13:46:43 +01:00
Marwin Hochfelsner
a5b9479429 Change zoomToNote to moveToNote (#10819) 2025-02-28 09:57:13 +01:00
Martin Raifer
06629e53dc don't cache responses of the dev server 2025-02-27 12:37:38 +01:00
Martin Raifer
671e9f0069 use aqueduct as default value for tunnel tag in waterway structure field
(prerequisite for https://github.com/openstreetmap/id-tagging-schema/pull/1273)
2025-02-26 11:50:44 +01:00
Martin Raifer
813f9ef8cd hide carret when options exhausted also for comboboxes w/ static values 2025-02-25 18:30:49 +01:00