Commit graph

293 commits

Author SHA1 Message Date
d562e7fd7c Change regex parsing to avoid runaway matches 2022-10-11 01:01:24 +02:00
b541d3eab4 Reformat all files with prettier 2022-09-08 21:40:48 +02:00
aac736eba8 Revert "Improve typing"
This reverts commit 4d783aae45.
2022-08-24 02:28:41 +02:00
4d783aae45 Improve typing 2022-08-24 02:22:06 +02:00
80963f242d Fix tests 2022-08-23 15:28:26 +02:00
5da76b9418 Rework units to allow picking different default units in different locations, fixes #1011 2022-08-18 19:17:15 +02:00
7e32413113 Add 'steal' as special rendering, update 'multi', add entrance overview to onwheels layer 2022-07-29 20:04:36 +02:00
Robin van der Linde
64560b9cd2
Merge branch 'develop' into feature/maproulette 2022-07-27 09:28:42 +02:00
4f488fab86 --amend 2022-07-25 19:17:02 +02:00
5efe14a76b Fix tests 2022-07-25 19:12:34 +02:00
Robin van der Linde
1ce88c18c5
Merge branch 'develop' into feature/maproulette 2022-07-18 09:41:38 +02:00
3b646679d5 Fix tests 2022-07-18 02:19:59 +02:00
Robin van der Linde
5290e0042b
Add presets and titles 2022-07-14 15:45:57 +02:00
a08a49abb2 Fix partial compilation, fix tests 2022-07-06 17:11:17 +02:00
063d7e4637 Fix tests 2022-07-06 14:11:07 +02:00
972d702315 Fix #896: improve placeholder dynamism, add more tests for UI code 2022-06-30 03:07:54 +02:00
0f66d7f8cc Add fakedom to test UI code, replace all 'innerText' with 'textContent' as it is not compatible with fakedom 2022-06-28 03:21:18 +02:00
63c5c3f527 Add missing testdata 2022-06-28 01:44:44 +02:00
4fd40c6935 Download needed relations completely, fixes 873 2022-06-24 18:12:39 +02:00
98c6113cbe Merge master 2022-06-22 20:06:41 +02:00
21b268be61 Add OsmFeatureSource-test 2022-06-21 22:57:44 +02:00
f0c90b4d1c Merge master 2022-06-20 03:22:27 +02:00
193834c286 Fix tests 2022-06-20 03:14:44 +02:00
6e93ab0be6 Formatting 2022-06-20 01:58:49 +02:00
ca91241c3b Fix some tests 2022-06-20 01:55:29 +02:00
4283b76f36 Huge refactoring: split readonly and writable stores 2022-06-05 02:24:14 +02:00
7559f9259b Styling tweak
Add mapillary link to nearby_images

Fix licenses

Add missing assets

First version of nearby-images
2022-05-08 13:05:26 +02:00
819f65e18d Add extra optimization on And, add test 2022-05-01 04:16:17 +02:00
f4a965eacf Move ShowDataLayer-implementation to a separate class for nodejs compatibility 2022-04-30 00:41:33 +02:00
ccf9c4b5f6 Merge develop 2022-04-19 01:39:03 +02:00
6ad64e3f70 Add a download button, improve share functionality for custom themes 2022-04-18 02:39:30 +02:00
18430df75a Merge master 2022-04-14 01:00:04 +02:00
01567a4b80 Improve tag optimazations, fixes rendering of climbing map 2022-04-14 00:53:38 +02:00
b43d976058 Fix bug: override preserves null's again 2022-04-13 00:31:13 +02:00
c3859d56c6 Rename tests to test; add a few tests 2022-04-06 03:06:28 +02:00
4f4fc650b1 First steps to a real testing framework: first working version with mocha, chai and doctest-ts 2022-03-14 22:57:01 +01:00
f20144a502 Merge master 2022-03-14 03:34:42 +01:00
e4f062b7a5 Fix dissappearing default tags, add tests 2022-03-14 03:33:03 +01:00
9008e333ac Optimize queries to overpass 2022-03-13 01:27:19 +01:00
67c8d08f3e Some fixes in the rewrite of the maprendering 2022-03-08 01:05:54 +01:00
75abd18d90 Made mapRenderings rewritable 2022-02-28 18:52:28 +01:00
9f81628f64 Refactoring: split tagRenderingConfigJson into a version without and with questions 2022-02-28 17:17:38 +01:00
5284f198d8 Fix various bugs 2022-02-22 14:13:41 +01:00
30f4be183e Fix tests 2022-02-20 02:02:09 +01:00
89c5cd3565 Fix tests 2022-02-20 00:44:38 +01:00
04a2cc9bc7 Fix tests 2022-02-19 02:45:15 +01:00
682b68a094 Regenerate schemas, more fixes to images and licenses 2022-02-18 23:10:27 +01:00
fb4a3ea99a Fix tests 2022-02-18 00:12:32 +01:00
64bfcccbdc Add test for image detection 2022-02-17 23:55:01 +01:00
dfb16fa802 Small refactoring: move changeset-handler creation to 'changes' 2022-02-15 23:44:16 +01:00
c3b349851b Fix tests 2022-02-14 23:53:24 +01:00
f83a74a18a Styling tweaks 2022-02-14 21:46:35 +01:00
957edb66f5 Fix tests 2022-02-14 20:14:30 +01:00
29f6716fa9 Merge develop 2022-02-14 20:10:49 +01:00
29b3c98cd2 Remove console.log 2022-02-14 19:20:58 +01:00
08e2fa747f Fix tests 2022-02-14 19:20:44 +01:00
f447854834 Small refactoring, fix logic which possibly caused #659 (to be confirmed) 2022-02-14 02:50:21 +01:00
1c418e5a49 Add code quality test, remove all constructor.name entries as they are unreadable after minification 2022-02-14 02:26:03 +01:00
312dbe7aff Add test for generating the cache 2022-02-14 01:15:20 +01:00
9ab4fbd6f5 Better validated text fields with translations and human-friendly texts: first draft 2022-02-11 04:28:11 +01:00
b3c58ae82e Extract and validate images using a new conversion, regenerate docs 2022-02-09 22:37:21 +01:00
65dbcd774b Fix tests 2022-02-09 03:46:50 +01:00
07cf4160e8 Fix tests, version bump 2022-02-07 02:19:34 +01:00
a3b32a3697 Fix loading of relative images in custom themes 2022-02-04 15:48:26 +01:00
1993861bbe Fix tests 2022-02-04 01:09:21 +01:00
7eeffc2305 Refactoring of conversion 2022-02-04 01:05:35 +01:00
7001216ab7 Add more consistency checks, slight refactoring of theme conversions 2022-02-04 00:44:09 +01:00
7f222bce11 Fix build 2022-01-31 21:15:14 +01:00
3679814664 Add some typehints to the models 2022-01-31 00:39:54 +01:00
74489d5e3f Merge master 2022-01-30 19:06:41 +01:00
0f47b84229 Remove 'language' as field from the layoutConfigJson as it is now calculated based on the title 2022-01-27 01:23:04 +01:00
8ad26f169c Add extra test 2022-01-27 00:22:37 +01:00
fa971ffbbf Full code cleanup 2022-01-26 21:40:38 +01:00
3a4a2a2016 Improve tests 2022-01-26 21:28:22 +01:00
b2663b3459 Fix tests 2022-01-21 02:27:31 +01:00
e58b93e562 Merge branches 2022-01-21 02:25:56 +01:00
65dbcb4f12 Fix broken minimap detection 2022-01-21 02:15:53 +01:00
ca1490902c Finish importer, add applicable import layers to every theme by default 2022-01-21 01:57:16 +01:00
5c71bfa294 Attempt to fix social image previews 2022-01-18 20:18:12 +01:00
25f956c808 Autoreformat all the things 2022-01-18 18:52:42 +01:00
68c338e764 Some further improvements to the mapcomplete-changes theme 2022-01-16 02:45:07 +01:00
f67d0701b0 Refactoring of tests 2022-01-14 13:58:15 +01:00
a03313fb3d Some refactoring 2022-01-14 03:14:56 +01:00
42a6b37ca6 Add filters 2022-01-08 22:11:24 +01:00
94f66eafc1 Merge develop 2022-01-06 20:10:57 +01:00
bc1590fd08 Fix tests 2022-01-06 15:33:25 +01:00
3176a4d665 More or less working version of advanced conflation 2022-01-06 14:39:42 +01:00
ac1b4a010c Merge develop 2022-01-05 18:18:13 +01:00
7124cd184c More work on replaceGeometry 2022-01-01 01:59:50 +01:00
bfb16874b1 Further experimentation 2021-12-30 20:41:45 +01:00
92c63560ef Add workaround for turf.intersect which can't deal with touching polygons 2021-12-24 02:48:04 +01:00
7f829a3578 Add export_as_geojson, open_in_id and open_in_josm special renderings 2021-12-23 21:28:41 +01:00
9b1bf96790 Fix tests 2021-12-21 21:15:07 +01:00
11150a258d First part of a huge refactoring 2021-12-21 18:35:31 +01:00
480bb4902b Remove runningFromConsole from scripts and tests, add routeablePointScript for postal codes 2021-12-13 20:50:03 +01:00
89004af7f9 Further work on GRB, bugfixes 2021-12-06 03:24:33 +01:00
756106afc3 Add test for legacy theme conversion, fix legacy theme conversion 2021-11-14 16:57:14 +01:00
09c7418911 Fix tests 2021-11-09 01:53:00 +01:00
8e66313ef1 Add metadata in changeset with (binned) distance to changed feature 2021-11-09 01:49:07 +01:00
bd21212eba Full code cleanup 2021-11-07 16:34:51 +01:00
2484848cd6 Refactoring of GPS-location (uses featureSource too now), factoring out state, add ReplaceGeometryAction and conflation example 2021-11-03 00:44:53 +01:00
7b9836f273 Merge branch 'develop' into features/left-right-rendering 2021-10-20 01:27:01 +02:00
196d76d9dc Fix: opening the popup if defined in the hash 2021-10-20 01:13:55 +02:00
baaf66038d Add tests for selectedElementUpdater, fix deletion of keys 2021-10-20 00:10:02 +02:00
1852eb8e52 Refactoring: moved pointRenderingConfig into seperate part of the configuration, removed roaming rendering capabilities 2021-10-19 03:00:57 +02:00
2ae24107ae Add correct splitting of turn restrictions 2021-10-19 01:22:24 +02:00
3f70892d75 Add tests and some cleanup 2021-10-18 22:17:57 +02:00
a2aa26aafc Fix split way action, add decent tests for them (fix #171), enable split road on cyclestreets theme 2021-10-16 02:54:22 +02:00
4e43673de5 Fix overlays in PDF, add overlay URL parameters 2021-10-15 00:52:31 +02:00
b4b72a0995 Merge develop 2021-10-10 23:54:34 +02:00
15ff38a098 Fix Tag.matchesProperties and RegexTag.matchesProperties, they do match on definedProperties now (and are faster) 2021-10-10 20:14:06 +02:00
9faac532b5 Support for lexemes, decent etymology layer and theme with rudimentary icon 2021-10-09 22:40:52 +02:00
a996ba2a7c Graciously handle multiple entries in wikidata for fetching images and showing articles, verious bug fixes 2021-10-07 22:06:47 +02:00
8d52ef1106 Ignore wikidata claims without datavalue 2021-10-06 19:19:35 +02:00
b5d2b99ced Add tests for wikimedia comons edge cases 2021-10-06 17:48:07 +02:00
5628be3632 Fix tests 2021-10-06 02:36:58 +02:00
f05a7d239e Fix tests 2021-10-06 02:33:40 +02:00
a89d303ecd Further stabilization of wikipedia box 2021-10-03 01:38:57 +02:00
4f456e8a7f Better tracking of cached data, only load data if needed 2021-09-30 04:13:23 +02:00
a6e8714ae0 Refactoring of image detection, fix loading wikimedia images 2021-09-29 23:56:59 +02:00
41a2a79fe9 More refactoring of the featurepipeline, introduction of fetching data from the OSM-API directly per tile, personal theme refactoring 2021-09-28 17:30:48 +02:00
0a9e7c0b36 Fix bbox bug, add ids to filters, add filter state to the URL 2021-09-27 18:35:32 +02:00
38037014b0 Fix bug in bounds calculation for negative lats/lons 2021-09-27 15:38:12 +02:00
bef684aec7 More cleanup, first somewhat working version of #171 2021-09-22 16:07:56 +02:00
1f93923820 More work on splitting roads, WIP; refactoring tests 2021-09-22 05:02:09 +02:00
c8eacaa409 Add support for mapillary api v4, fixes #364 2021-09-15 01:33:52 +02:00
5d81e7d792 Sort translation output files for easier merges 2021-09-14 18:20:25 +02:00
c7f9f30b6c Fix build, reset languages, more autocleanup 2021-09-09 00:19:39 +02:00
78d6482c88 Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
647100bee5 Refacotring: move themeConfig into models 2021-08-07 23:11:34 +02:00
0162d52b68 Merge develop 2021-07-27 19:59:41 +02:00
7352a4a41d Fix merge behaviour when the value is null 2021-07-27 19:35:43 +02:00
d9cc99c447 Add comparison tagsfilter with <=, >=, < and > 2021-07-27 13:44:05 +02:00
330930d5d4 Merge develop 2021-07-24 02:32:33 +02:00
88cddd2367 Merge master 2021-07-18 18:44:25 +02:00
3bcd255311 Add fake user switch to mimick a logged in user; fixes #432 2021-07-16 02:06:33 +02:00
33e2dca7e4 Add tests for tags, add check for duplicate names as layer ids, fix #393 2021-07-12 11:44:55 +02:00
56efafcabf Small improvement 2021-07-08 10:11:46 +02:00
fb3e3a040b Fix tests, fix units 2021-07-04 20:36:19 +02:00
2f05010648 Fix tests 2021-07-03 21:39:30 +02:00
985e97d43b First steps for a delete button 2021-06-28 18:06:54 +02:00
6af3d41886 Fix tests 2021-06-27 20:35:38 +02:00
966fcda8d1 Add support for units to clean up tags when they enter mapcomplete; add example of this usage in the climbing theme, add climbing theme title icons with length and needed number of carabiners 2021-06-22 03:16:45 +02:00
0012a2f683 First version of unit handling: canonicalizing on input 2021-06-22 00:29:07 +02:00
c25e039a91 Update to climbing theme 2021-06-21 03:14:03 +02:00
b9fb18ee4c Merge master 2021-06-21 00:18:59 +02:00
a397a6cd70 Improve merge functionality 2021-06-20 03:06:00 +02:00
48f66bd17e Last fixes to the OH picker 2021-06-16 16:39:48 +02:00
8ad9b816ac Fix popups and core functionality 2021-06-14 17:28:11 +02:00
9cc721abad More refactoring and fixes 2021-06-14 02:39:23 +02:00