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
John Firebaugh
3e082bb20e
Fix typos
2021-10-24 11:01:44 -07:00
Kyle Hensel
d08c09f5ee
show an error if local storage is full
2021-09-30 19:41:15 +13:00
Milos Brzakovic
021107cb81
Merge pull request #8642 from openstreetmap/testing_data
...
Test improvements
2021-09-28 11:08:31 +02:00
Bryan Housel
78961072a7
We do need to actually validate the head entities, can't skip them
...
re: the fix for #8632 - we can't actually skip validation on these.
The better solution is to move the check to getIssues() so the user isn't
credited for causing the issues unless it's something they actually touched
2021-08-27 17:43:49 -04:00
Bryan Housel
113f079449
Uncache the entity before starting the work
...
This fixes a situation where several entities in the queue are involved in a
disconnected crossing, and the first one detects the disconnection, but a
later one clears out that first detection from the cache. Now we clear
caches one time before starting the validation work.
2021-08-27 17:24:45 -04:00
Bryan Housel
b94151396d
Expand set of entities to validate to include _related_ to issues
...
This will catch the situation where an edit or undo affects something related without
actually touching the item - for example an undo can cause a connected way to disconnect
from the main graph.
2021-08-27 17:20:32 -04:00
Bryan Housel
9e3df2c4aa
Create an issue key property that changes when data needs refresh
...
(closes #8655 )
2021-08-27 17:13:36 -04:00
Milos Brzakovic (E-Search)
81b7e282c3
Set development version number
2021-08-17 17:14:48 +02:00
Milos Brzakovic (E-Search)
fc5d790b0e
v2.20.1
2021-08-17 16:52:28 +02:00
Bryan Housel
1282d3b059
Don't use a util function for a thing that exists 1x in the code
2021-08-16 14:23:24 -04:00
Bryan Housel
bb84962e5d
Only insert sources into the fileMap if not already there
...
This allows us to setup the fileMap correctly for testing so
that it never tries to fetch assets from the CDN.
2021-08-16 13:28:55 -04:00
Bryan Housel
34c3ea472d
Credit user with a fix if they touched any involved entity
...
This can occur if there are several ways disconnected from the graph and
the user fixes these, but then partially undoes their fixes.
The current diff might not contain the entity that fixed the issue
(reconnected the disconnected graph), but they did fix the issue elsewhere.
2021-08-13 15:56:08 -04:00
Bryan Housel
93b868d95f
Fix how resolved issues are counted across undo, simplify code
...
(re: #8632 )
2021-08-13 14:47:38 -04:00
Bryan Housel
f58ddb21fb
Remove old entityIDsToValidate() code
2021-08-13 12:32:13 -04:00
Bryan Housel
bb0b5786d9
Use context.graph()/context.hasEntity() here, not cache.graph,
...
because that is the graph that the calling code will be using.
2021-08-13 12:02:38 -04:00