Commit graph

266 commits

Author SHA1 Message Date
b94a8f5745 refactoring: more state splitting, basic layoutFeatureSource 2023-03-26 05:58:28 +02:00
4849f881e6 chore: formatting 2023-03-09 23:19:49 +01:00
868d476891 Merge feature/svelte into develop 2023-03-08 19:02:41 +01:00
88a99ead87 Fix tests 2023-02-14 00:21:47 +01:00
509b237d02 Add clipping to generateCache 2023-02-14 00:08:21 +01:00
7cc184fdd8 Fix unit tests (no doctests yet) 2023-02-10 01:55:29 +01:00
f9f1a30921 Another step to get tests running 2023-02-08 02:47:32 +01:00
cd735c1571 Fixing tests 2023-02-08 01:21:21 +01:00
228ceb120d Port tests to vitest 2023-02-08 01:21:21 +01:00
64a4d7e929 Install vitest 2023-02-08 01:21:21 +01:00
36aed99843 Fix generateLayerOverview, drop priviliged 'icons.json' from code 2023-02-08 01:21:19 +01:00
ce44f34bf3 Add wrong default import from json files to code quality checks, fix those imports 2023-02-08 01:14:21 +01:00
27dc688ea2 Formatting 2023-01-29 17:46:44 +01:00
321568abe6 Fix tests 2023-01-22 01:09:16 +01:00
fd30c44352 Sync translations, regenerate docs, fix tests 2023-01-17 03:18:39 +01:00
wjtje
cc0c925b81 "working" 2023-01-17 00:50:42 +01:00
67b5a33f0b Move 'defaultInputUnit' into Unit, away from denomination 2023-01-02 02:35:40 +01:00
8f51dd8d64 Rework split-road flow, fix #1166, fix #1148 2022-12-24 01:58:52 +01:00
e195300f96 Fix tests 2022-12-09 17:57:18 +01:00
Robin van der Linde
b8cf2845e1
Fix build, update some references 2022-12-02 18:48:56 +01:00
72ca67e3ab Formatting 2022-11-02 14:44:06 +01:00
8d304f9a56 Merge upload GPX-tracks to OSM; split 'specialVisualisations' into multiple smaller classes 2022-10-28 04:33:05 +02:00
6d822b42ca Housekeeping... 2022-10-27 01:50:01 +02:00
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