Commit Graph

560 Commits

Author SHA1 Message Date
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
Martin Raifer
4bc770fb64 Set development version number 2022-06-03 17:26:05 +02:00
Martin Raifer
24c48627ac v2.21.0 2022-06-03 13:57:37 +02:00
Martin Raifer
5d2c5e63a5 lint, add to changelog 2022-04-19 11:47:43 +02:00
Milos Brzakovic (E-Search)
2b42adc06d validator reset deferred promise cleanup 2022-03-08 10:48:27 +01:00
Martin Raifer
f6e4596b59 remove now unneeded refrences to and workarounds for phantomJS 2022-02-03 13:12:00 +01:00
Martin Raifer
9bca3fff20 Set development version number 2022-01-31 17:24:40 +01:00
Martin Raifer
a04edad1c3 v2.20.3 2022-01-31 17:14:54 +01:00
Gabor Hodi
29697aa728 [Issue8906] Fix broken html in the Area part of the Walkthrough 2022-01-20 18:29:53 +01:00
Martin Raifer
3b035f9741 fix code lint issue 2021-12-03 18:21:08 +01:00
Martin Raifer
4658df64e9 include privacy settings in splash modal
see #8831
2021-12-03 18:11:29 +01:00
Martin Raifer
4bef27db82 add to changelog, mark t.html as deprecated 2021-11-30 10:33:55 +01:00
Martin Raifer
9f3f8e1366 rename method 2021-11-29 19:26:18 +01:00
Martin Raifer
d78c357588 replace raw html injection of localized texts
by using d3 to insert the localized text spans directly into the DOM
2021-11-26 18:51:45 +01:00
Martin Raifer
8892b437a1 escape and format conflict details as localized html strings
these are in html because they contain links to osm user profiles
2021-11-18 13:09:57 +01:00
Martin Raifer
8bbae82caa localizer: escape placeholder replacement values in html output mode 2021-11-18 13:09:16 +01:00
Minh Nguyễn
3f09ebee59 Corrected language code for undefined language 2021-11-17 18:17:24 -08: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
John Firebaugh
053b652548 More typos 2021-10-24 11:06:26 -07:00