Martin Raifer
4254e67ca7
render addresses (housenumber/housename)
...
* points with a dedicated marker
* text inside of areas
2025-04-17 17:47:08 +02:00
Kyℓe Hensel
fd49a10f1c
consider language scripts when determining the locale to use ( #10910 )
2025-03-24 14:27:18 +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
Kyℓe Hensel
7beace6698
add a changeset tag if a merge conflict occurred ( #9636 )
2025-03-05 12:38:32 +01:00
Marwin Hochfelsner
a5b9479429
Change zoomToNote to moveToNote ( #10819 )
2025-02-28 09:57:13 +01:00
Martin Raifer
918126e5f8
revalidate entities with changed relation memberships
2025-02-18 13:19:32 +01:00
Kyℓe Hensel
f513ccd03d
enable intellisense for the main classes ( #10618 )
2025-02-17 11:35:50 +01:00
andrewpmk
a7038955ca
Revalidate disconnected_way and impossible_oneway errors on change ( #8911 )
2025-02-15 18:45:32 +01:00
Martin Raifer
e839b63079
Merge branch 'kh/vitest' into develop
2024-10-16 13:37:20 +02:00
Minh Nguyễn
37939c869a
wmf-sitematrix v0.2.0 ( #10489 )
2024-10-11 12:53:08 +02:00
Kyle Hensel
7bc94d6f4b
migrate unit tests to vitest
2024-09-03 19:23:21 +10:00
Martin Raifer
942f0a0648
fix note not loading when both id and map hash parameters are set
2024-08-21 11:15:43 +02:00
Martin Raifer
e66cab06eb
update all relation parents of an entity, fixes #10342
...
this had regressed in 5f1e405 – if an entity had two or more parent relations, the loop would abort after the first parent relation because `memo[entity.id]` would be set to true in the first parent iteration. what we want is to only abort if the same `relation` is seen again (in a r123 [-> …] -> r123 cirular relationship)
2024-07-25 18:13:27 +02:00
Tobias
b0235f34d1
Improve/fix type definitions ( #10324 )
...
Co-authored-by: Kyℓe Hensel <k-yle@users.noreply.github.com >
2024-07-16 17:14:01 +02:00
Martin Raifer
379be391a3
fix crash in zoomToEntity when entity has parent relations
2024-05-31 14:15:35 +02:00
Martin Raifer
342a03bcfe
allow type/id syntax in id hash param, and add support for notes
2024-05-28 20:18:53 +02:00
Kyℓe Hensel
010a812eac
fix bug causing a spam of network requests ( #10119 )
2024-04-25 15:46:32 +02:00
Martin Raifer
5251ee6b65
add new method to reuse localized text span, closes #8994
2024-04-24 17:29:06 +02:00
Martin Raifer
211b6dde5f
upgrade to eslintv9 (config format, lint to updated rules)
2024-04-12 18:44:04 +02:00
NaVis0mple
59668638ac
Search OSM notes by ID ( #10062 )
2024-01-24 13:32:35 +01:00
dependabot[bot]
8252e54301
Bump @rapideditor/location-conflation from 1.2.1 to 1.3.0
...
Bumps [@rapideditor/location-conflation](https://github.com/rapideditor/location-conflation ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/rapideditor/location-conflation/releases )
- [Changelog](https://github.com/rapideditor/location-conflation/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rapideditor/location-conflation/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: "@rapideditor/location-conflation"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-14 07:14:56 +01:00
Martin Raifer
db886f5dd7
fix crash when using "exotic" locales which undefined languageNames
...
see also #9737
2023-07-07 13:31:36 +02:00
Kyℓe Hensel
457a2101c6
fix crash in fr-FR locale ( #9737 )
2023-07-07 13:07:49 +02:00
Martin Raifer
6c362b6517
Merge branch 'develop' into 1ec5-number-field-format-3615
2023-05-26 13:06:09 +02:00
archpdx
e466ad4bf8
Update dependencies country-coder and location-conflation ( #9546 )
2023-03-30 12:53:38 +02:00
Minh Nguyễn
ab442b76ac
Preserve precision in raw tags
2023-03-04 23:43:40 -08:00
Minh Nguyễn
023907f9e2
Fixed incrementing/decrementing formatted numbers
...
The float formatter function now takes a number of fraction digits to return.
2023-03-04 18:36:06 -08:00
Minh Nguyễn
6419def20f
Fixed numeric fields in locales without literals
2023-03-03 22:42:15 -08:00
Minh Nguyễn
5d224a41cd
Strip literal (bidi) characters when parsing numbers
2023-03-03 22:42:15 -08:00
Minh Nguyễn
ecb7c20bbf
Avoid truncation when formatting numbers
2023-03-03 22:42:14 -08:00
Minh Nguyễn
74fdf17477
More minor corrections from code review
2023-03-03 22:42:14 -08:00
Minh Nguyễn
9817894752
Apply suggestions from code review
...
Co-authored-by: Martin Raifer <martin@raifer.tech >
2023-03-03 22:42:14 -08:00
Minh Nguyễn
2ba7177080
Polyfill inadequate Intl support
...
Ensure that formatting is balanced with parsing to avoid truncating numbers.
2023-03-03 22:42:14 -08:00
Minh Nguyễn
252828bb4b
Localize numbers in numeric fields
2023-03-03 22:42:14 -08:00
Martin Raifer
5091966056
[WIP] add string length indicator and max-length message
2022-11-25 17:48:33 +01:00
Martin Raifer
4dcf6090d8
fetch version directly from package.json
2022-11-14 19:46:30 +01:00
Martin Raifer
1054c35dc5
Set development version number
2022-11-10 13:11:05 +01:00
Martin Raifer
48f925a27b
v2.23.0
...
Signed-off-by: Martin Raifer <martin@raifer.tech >
2022-11-10 12:35:21 +01:00
Martin Raifer
224246e90e
fetch at least v5.0.1 of presets
2022-11-09 19:18:41 +01:00
Bryan Housel
2b2a71f597
Don't pre-resolve and index complex locationSets into GeoJSON.
...
This was taking a lot of time at app startup.
Instad now we resolve and index only the include and exclude parts.
We can still determine the valid locationSets at runtime in `locationSetsAt()`
by checking the `_locationIncludedIn` and `_locationExcludedIn` caches.
This also upgrades the locationManger to an ES6 class.
This also includes some hacky code in nsi.js so that the NSI will continue to work.
The NSI matcher can build its own location index, but it doesn't need to do this.
We monkeypatch a few of the matcher collections to work with the new LocationManager.
2022-10-28 10:49:01 -04:00
Martin Raifer
b94b811591
use config to fetch preset translations
2022-10-27 12:11:26 +02:00
Martin Raifer
c8a3cf154b
make more cdn's and API urls/settings configurable
...
* CDNs for OCI, NSI, etc.
* OSM API (URL and oauth API settings)
* taginfo API
* nominatim API
2022-10-14 19:19:29 +02:00
Martin Raifer
18b50ccd6d
synchronize fetching presets from cdn
...
by first fetching `package.json` and loading the exact version from that for further presets requests
2022-10-13 18:42:52 +02:00
Martin Raifer
397161db1f
Set development version number
2022-09-27 11:52:16 +02:00
Martin Raifer
0d4c58cc52
v2.22.0
2022-09-27 11:45:41 +02:00
Martin Raifer
841789621f
defer initializing background after ui has fully loaded
...
this makes sure that the map extent is known when deciding which background imagery to load (e.g. which are valid in the viewport or which is the "best" one)
2022-07-19 19:17:27 +02:00
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
7d546a8f60
refactor further modules to not rely on html injection
2022-06-24 19:31:41 +02:00
Martin Raifer
8bb1d39431
refactor validation modules to not inject html
2022-06-24 13:25:56 +02:00