16273 Commits

Author SHA1 Message Date
Vincent Wong
4a1f27b1f6 Describe Macau phone format (#10901) 2025-03-23 15:03:24 +01:00
Martin Raifer
e4d34c2203 improve sorting search results categories:
1. direct OSM id results (e.g. `node/123`)
2. local osm data matches
3. lat/lon coordinate
4. geocoded results
5. other results (currently: only guessed OSM ids if the search looks like a number)
2025-03-21 17:58:23 +01:00
Martin Raifer
c6ad3e9a33 drop unneeded duplicate test; lint code 2025-03-21 17:58:22 +01:00
dependabot[bot]
505004d50a Bump @openstreetmap/id-tagging-schema from 6.9.1 to 6.10.0 (#10894)
Bumps [@openstreetmap/id-tagging-schema](https://github.com/openstreetmap/id-tagging-schema) from 6.9.1 to 6.10.0.
- [Release notes](https://github.com/openstreetmap/id-tagging-schema/releases)
- [Changelog](https://github.com/openstreetmap/id-tagging-schema/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openstreetmap/id-tagging-schema/compare/v6.9.1...v6.10.0)

---
updated-dependencies:
- dependency-name: "@openstreetmap/id-tagging-schema"
  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-21 17:24:00 +01:00
dependabot[bot]
d323e067e8 Bump @types/node from 22.13.10 to 22.13.11 (#10895)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.10 to 22.13.11.
- [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-21 17:23:45 +01:00
dependabot[bot]
a9c63c456b Bump netlify-cli from 19.0.2 to 19.0.3 (#10893)
Bumps [netlify-cli](https://github.com/netlify/cli) from 19.0.2 to 19.0.3.
- [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.2...v19.0.3)

---
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-21 17:23:35 +01:00
dragoon
8afc3bda6f fixed:CTRL+SHIFT+I should not trigger CTRL+I (#10818) 2025-03-20 20:53:28 +01:00
dragoon
a9832c88c3 CTRL+SHIFT+I should not trigger CTRL+I (#10818) 2025-03-20 15:07:18 +01:00
Martin Raifer
8e8c5a8621 Render oneway markers inline in dashed lines (#10849) 2025-03-20 14:01:26 +01:00
Martin Raifer
7d933f3875 add default implied access values for ways with "motorroad=yes"
see https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions
addresses https://github.com/openstreetmap/id-tagging-schema/issues/609
2025-03-20 13:54:51 +01:00
Martin Raifer
771ad4dbd9 fix calculation of access field placeholder on multiselections 2025-03-20 13:54:47 +01:00
Martin Raifer
70e92f24e3 add missing attribution in old changelog entry 2025-03-19 20:14:19 +01:00
MOHAMED ALI FAWZI
9590c88646 Panoramax: Adopt "copy id" feature from mapillary (#10856) 2025-03-19 20:13:46 +01:00
Mattia Pezzotti
d1e5c2910c add date slider for street level photos, and more (#10394)
full list of enhancements:

* year slider to filter photos by freshness
* toggle active streetlevel layers with shortcut `shift+P`
* hfov, pitch and direction is now held between sequences and images as asked in #10392
* fix for #10361 (only panoramax)
* added tests and jsdoc
* add ticks for existing photos on slider
* general bug fixes
* rudimentary support for toDate in date slider (only when iD is started with a "to" date in the hash parameter: show a second slider to visualize and set the "to" date)

---------

Co-authored-by: Martin Raifer <martin@raifer.tech>
2025-03-18 21:09:37 +01:00
Martin Raifer
6bae24fa94 hotpath URL for kartaview photos ¯_(ツ)_/¯ 2025-03-18 20:47:00 +01:00
dependabot[bot]
ed20b71db8 Bump vitest from 3.0.8 to 3.0.9 (#10888)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.0.9/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-18 17:31:10 +01:00
Martin Raifer
4b7a20f628 make feature fill clickable in "Full Fill" rendering style 2025-03-18 14:06:50 +01:00
Martin Raifer
f4230785e1 fix squaring operation on vertices, closes #10401
* only calculate `motion` for the selected vertex
* don't treat vertex as "closed way" when checking disabled/enabled state of operation
2025-03-18 12:00:35 +01:00
Martin Raifer
79362ea7a8 filter empty strings from preset aliases 2025-03-17 14:01:11 +01:00
Martin Raifer
6ec6917dbc add ignore-list for presets which should not be checked for suspicious names
closes #10884
2025-03-17 13:51:20 +01:00
Martin Raifer
58cb5a0b80 also check preset aliases in suspicious names validation
see #9522
2025-03-17 13:31:26 +01:00
Martin Raifer
74dc459a4a drop unused import 2025-03-17 12:12:26 +01:00
Martin Raifer
b2e4d81767 fix infoboxes for NSI presets, fixes #10885
(which had regressed in c1ca888)
2025-03-17 12:11:51 +01:00
dependabot[bot]
c1a597c903 Bump shx from 0.3.4 to 0.4.0 (#10886)
Bumps [shx](https://github.com/shelljs/shx) from 0.3.4 to 0.4.0.
- [Release notes](https://github.com/shelljs/shx/releases)
- [Changelog](https://github.com/shelljs/shx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shx/compare/v0.3.4...v0.4.0)

---
updated-dependencies:
- dependency-name: shx
  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-17 11:51:12 +01:00
dependabot[bot]
557ea0052f Bump shelljs from 0.9.1 to 0.9.2 (#10887)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.9.1 to 0.9.2.
- [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.9.1...v0.9.2)

---
updated-dependencies:
- dependency-name: shelljs
  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-17 11:48:34 +01:00
Martin Raifer
8b1c37bdaf take location into account for default values from regional fields 2025-03-17 11:33:42 +01:00
Martin Raifer
78f94632d7 don't inherit fields for tags that the preset already has a field for
this is useful if a preset wants to inherit some fields from another preset, but wants to replace some of the fields with special versions of the field (e.g. a `…_yes` field for an added default value), or to change the `fields`/`moreFields` classification of a field
2025-03-17 11:33:42 +01:00
dragoon
e6c379053e fix coordinate search with / symbol (#10879) 2025-03-14 19:31:04 +01:00
Martin Raifer
58ab8200d6 Merge remote-tracking branches 'origin/dependabot/npm_and_yarn/cldr-core-47.0.0' and 'origin/dependabot/npm_and_yarn/cldr-localenames-full-47.0.0' into develop 2025-03-14 19:10:01 +01:00
dependabot[bot]
363049ef4b Bump cldr-core from 46.1.0 to 47.0.0
Bumps [cldr-core](https://github.com/unicode-cldr/cldr-json) from 46.1.0 to 47.0.0.
- [Release notes](https://github.com/unicode-cldr/cldr-json/releases)
- [Commits](https://github.com/unicode-cldr/cldr-json/compare/46.1.0...47.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 09:05:22 +00:00
dependabot[bot]
62b65b3f4c Bump cldr-localenames-full from 46.1.0 to 47.0.0
Bumps [cldr-localenames-full](https://github.com/unicode-cldr/cldr-json) from 46.1.0 to 47.0.0.
- [Release notes](https://github.com/unicode-cldr/cldr-json/releases)
- [Commits](https://github.com/unicode-cldr/cldr-json/compare/46.1.0...47.0.0)

---
updated-dependencies:
- dependency-name: cldr-localenames-full
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 09:05:05 +00:00
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