Commit graph

243 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