Martin Raifer
5951391ae6
fix typos
2023-08-10 17:37:05 +02:00
Martin Raifer
77f31cad07
fix tests
2023-08-09 18:39:24 +02:00
Martin Raifer
e8703e6bb6
Merge remote-tracking branch 'noenandre/vegbilder' into develop
2023-08-07 10:31:07 +02:00
Martin Raifer
a460013991
fix test for fixed/updated nominatim API call
2023-08-04 17:30:53 +02:00
Kyℓe Hensel
f7cbdfb9e5
fix incorrect earth radius constants ( #9793 )
2023-08-02 18:13:49 +02:00
Martin Raifer
066686ac1a
fix test
2023-08-02 17:33:17 +02:00
Martin Raifer
13300026e3
Merge branch 'develop' into vegbilder
2023-08-01 17:09:21 +02:00
Martin Raifer
7b622e040b
Merge branch 'develop' into vegbilder
2023-07-20 17:21:45 +02:00
sezerbozbiyik
04581bd7c3
Merge branch 'develop' into add_mapilio_data
2023-07-12 15:15:20 +03:00
sezerbozbiyik
1a8ba8e356
fixed test error
2023-05-27 01:11:34 +03:00
Martin Raifer
f19a55fa13
Add support for icons on multiCombo/semiCombo fields ( #9433 )
2023-05-26 20:35:12 +02:00
Martin Raifer
6c362b6517
Merge branch 'develop' into 1ec5-number-field-format-3615
2023-05-26 13:06:09 +02:00
Martin Raifer
f517b867de
add tests for #9650
2023-05-25 15:24:52 +02:00
Martin Raifer
453fb424f1
fix small typo
2023-04-28 12:31:39 +02:00
Noenandre
ddc9c6c674
Remove a global module variable "_availableLayers"; move information to cache.
...
Add new test "fetches available layers".
2023-03-25 17:27:41 +01:00
Noenandre
a2a1fdc58a
Tests for service/vegbilder is as comprehensive as similar providers.
2023-03-15 18:13:50 +01:00
Minh Nguyễn
653582f268
Added tests of padding zero
2023-03-04 18:52:50 -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
Noenandre
c824fe1937
Create sequences for each (wfs)layer instead of for all points at once. Rearrange cache.
2023-03-04 14:04:02 +01: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
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
Kyℓe Hensel
43b4b4f02b
render right-sided arrows for features with lifecycle prefixes ( #9493 )
2023-03-03 18:53:10 +01:00
Kyℓe Hensel
a17b5faf5f
Send 'Accept-Language' header on Nominatim API calls ( #9501 )
2023-03-03 18:34:24 +01:00
Noenandre
255c80d341
Test for init and reset methods on service.
...
Bugfix for reset.
Adjusted expectation of number of svg layers.
2023-03-03 16:43:54 +01:00
Martin Raifer
dfd46a9e06
update tests, add to changelog
2023-01-19 12:03:36 +01:00
Martin Raifer
37e2131ec5
fix test
2022-12-20 09:56:37 +01:00
Martin Raifer
fc75d5f2a1
fix another regression (in b72f3aa), add tests
2022-11-24 19:12:23 +01:00
Martin Raifer
21e54f956d
don't preserve preset's field tags if presets are sub-presets of each other
...
fixes #0372
2022-11-14 18:58:37 +01:00
Martin Raifer
8b2ca39521
fix test to match behavior after 635c4985
2022-11-08 19:29:18 +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
097c6bd774
skip unsupported/invalid restrictions instead of fallback to "no_*"
...
closes #9337 (at least kind of… for a proper solution see #6460 )
2022-10-27 18:36:05 +02:00
Martin Raifer
dd30a39d74
fix logic bug, extend test coverage
2022-10-27 17:07:32 +02:00
Martin Raifer
52ae374cee
add tests
2022-10-13 13:47:16 +02:00
Martin Raifer
a2cacaaf24
Don't auto-suggest undocumented tag values which have fewer than 100 uses
...
* previously, this check was based on the "fraction" of the respective tag value, which excluded more values for common tag keys, but fewer for less common ones.
* this sets a limit of 100 uses for undocumented tags (key=value pairs)
* tags with a wiki page are always allowed
* this harmonizes the heuristic of which tags to show between preset fields and the raw tag editor (previously, there was an additional `count > 10` filter present in combo fields, which is now uncessary)
closes #9227
2022-08-01 19:10:18 +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
6526d655f6
further tweak and add tests for last map location restore
...
see #9146
2022-07-19 13:04:44 +02:00
faebebin
9dcc6d1e7d
Fix connect features when crossing with pedestrian signals
2022-06-24 19:02:33 +02:00
Kyℓe Hensel
724462ec47
consider lifecycle prefixes in osmTagSuggestingArea ( #8881 )
2022-06-06 15:56:31 +02:00
Martin Raifer
280acfa661
Replace RapiD credentials with iD credentials
2022-06-02 14:46:11 +02:00
Bryan Housel
6058f89460
Upgrade to osm-auth v2 which uses OAuth2 to connect to OSM API
2022-06-02 13:07:50 +02:00
Martin Raifer
29d4ab6866
search presets by tag "key=value" syntax
...
closes #8869
2022-05-25 10:58:08 +02:00
Martin Raifer
d486ab197d
sort preset search results by matching aliases, add tests
2022-05-25 10:25:29 +02:00
Kyℓe Hensel
72af994b2c
remove other token formats from imagery_used ( #8976 )
2022-02-11 20:00:05 +01:00
Martin Raifer
f6e4596b59
remove now unneeded refrences to and workarounds for phantomJS
2022-02-03 13:12:00 +01:00
Benjamin Clark
9bfcd56c35
Fix bug that was causing google validation warnings to appear over changesets with the approved google africa building dataset.
2021-12-09 12:33:27 -05:00
Martin Raifer
94db5c23b8
Merge remote-tracking branch 'wvanderp/switchToKarma' into develop
2021-12-07 19:59:16 +01:00
Martin Raifer
144f3e9d22
Merge remote-tracking branch 'k-yle/custom-data-numbers-bug' into develop
2021-12-07 12:24:23 +01:00
Thomas Petillon
3ff06f9045
Fix relation handling on way split
...
Depending on which way is the longest, the new way is inserted into the
relation before the existing one. This case must be explicitly handled
for the relation to remain correct.
2021-12-06 21:25:23 +01:00