Commit graph

1094 commits

Author SHA1 Message Date
af76bf9916 Merge typescript-4 branch 2022-09-08 21:31:56 +02:00
Brice Maron
39769428d0 chore(deps): remove jquery as deps 2022-09-03 23:13:59 +02:00
2765b1a73e Validate that normal tags don't contain '&' as value 2022-09-03 20:31:54 +02:00
4fbf567932 Fix build 2022-09-03 14:48:58 +02:00
e653a76b69 Improve typing 2022-09-03 14:48:38 +02:00
234129ad32 Update class name: Coordinates changed to GeoLocationCoordinates in this typescript version 2022-09-03 14:45:48 +02:00
816670fe49 Improve typing of tag uploads, fix uploading of substituting tags 2022-09-02 12:40:52 +02:00
cbf5c5a748 Properly wire 'async' through the uploader 2022-09-02 12:40:51 +02:00
d457cc19c9 Remove stray 'downloadObject' 2022-09-02 12:40:51 +02:00
c09b437d9a Add link to wikipedia-image in the attribution box, fix #1049 2022-09-02 12:40:51 +02:00
25ec71aff1 Merge plant_detection 2022-08-24 15:08:08 +02:00
80b3414db4 Use constant 2022-08-24 14:27:36 +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
716fda39aa Add new statistics view 2022-08-22 19:17:23 +02:00
06f8cf7006 First working plantnet UI 2022-08-22 19:16:37 +02:00
5da76b9418 Rework units to allow picking different default units in different locations, fixes #1011 2022-08-18 19:17:15 +02:00
a8959fc934 Integrating plantnet-API, add rudimentary UI 2022-08-17 02:43:38 +02:00
34799f161d Add plantnet as API 2022-08-17 01:30:07 +02:00
f48d1a06c3 Add default values for gpx upload 2022-08-09 14:32:24 +02:00
4473560391 Finetuning the level selector, fix #1013, fix #1000 2022-08-06 17:30:23 +02:00
06b5df833f Some finetuning of GPX trace uploading 2022-08-05 19:47:24 +02:00
312db3ad50 Add possibility to upload your travelled track to OSM 2022-08-05 12:41:28 +02:00
be2816bd0e Merge master 2022-08-02 19:46:16 +02:00
7e32413113 Add 'steal' as special rendering, update 'multi', add entrance overview to onwheels layer 2022-07-29 20:04:36 +02:00
181c5583d2 WIP 2022-07-28 09:16:19 +02:00
32e0c18b09 Add 'send_email'-special element, use this in bike_repair_station 2022-07-27 23:59:04 +02:00
Robin van der Linde
64560b9cd2
Merge branch 'develop' into feature/maproulette 2022-07-27 09:28:42 +02:00
6d99dd5045 Some tweaks 2022-07-26 16:51:00 +02:00
2412828a69 Extract statistics panel, add statistics panel as special rendering 2022-07-25 18:55:29 +02:00
effd75e95c Add extra check that a feature is added on the right level; automatically add the right level to a new point 2022-07-25 16:55:44 +02:00
707961761c First version with working level selector 2022-07-22 01:33:11 +02:00
15e6fde194 Merge develop 2022-07-21 19:23:05 +02:00
13e949a1cd Wire in level selector 2022-07-21 15:54:24 +02:00
Robin van der Linde
330f1f53f3
Merge branch 'develop' into feature/maproulette 2022-07-19 09:38:12 +02:00
d805686fd5 Fix build 2022-07-18 10:41:20 +02:00
Robin van der Linde
1ce88c18c5
Merge branch 'develop' into feature/maproulette 2022-07-18 09:41:38 +02:00
e0c076a1d8 Fix code quality issue 2022-07-18 02:16:30 +02:00
b8bca0287d Refactor isShown into a tagsfilter 2022-07-18 02:00:32 +02:00
9ae40d8af2 Refactoring: split AndOrTagConfigJson into an AndTagConfig and an OrTagConfig 2022-07-18 00:10:41 +02:00
Robin van der Linde
64288ec1b8
Merge branch 'develop' into feature/maproulette 2022-07-14 09:19:11 +02:00
9327d96550 Fix ability to add a freeform tag when using the searchableMappings element, add test 2022-07-13 23:05:50 +02:00
24f090c92f Add OsmFeature type 2022-07-13 17:56:33 +02:00
Robin van der Linde
65997291bb Allow closing Maproulette tasks 2022-07-13 08:03:09 +00:00
Robin van der Linde
a2a49d5d7d Completer URL 2022-07-12 07:42:26 +00:00
Robin van der Linde
764f9956a9 Merge branch 'develop' into feature/maproulette 2022-07-10 19:43:48 +00:00
42012ac7f7 Add some tests 2022-07-10 18:20:42 +02:00
Robin van der Linde
a7f2c26a1d Concept for rendering maproulette tasks 2022-07-09 21:41:33 +00:00
4246221e8e Fix import flow, add typing 2022-07-08 03:14:55 +02:00
52f1d86772 Small fixes to make MC build on Mac 2022-07-07 22:35:28 +02:00
e7e8a1a219 Small layout tweaks, fix #751 2022-07-01 00:16:05 +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
b9be22a932 Don't download tils if z>22, prevent hang if osm-api is blocked (e.g. by umatrix) (see #880) 2022-06-28 01:37:49 +02:00
4fd40c6935 Download needed relations completely, fixes 873 2022-06-24 18:12:39 +02:00
174a0e1852 Fix build, remove no longer used 'favourite layers 2022-06-22 20:18:17 +02:00
98c6113cbe Merge master 2022-06-22 20:06:41 +02:00
dd483fc42b Merge branch 'feature/schools' 2022-06-22 15:27:25 +02:00
2731c64856 Improve documentation of Tags_format, add a few backlinks, see #887 2022-06-22 11:09:52 +02:00
06bc136b85 Refactor OsmFeatureSource to increas testability 2022-06-21 22:57:13 +02:00
9ebdb81531 Small refactoring of RenderingMultiPlexer 2022-06-21 22:56:14 +02:00
c38bc5decf Move comments to more appropriate place 2022-06-21 22:55:48 +02:00
51cb50d6d9 Ignore tile from disk if there is none 2022-06-21 22:55:06 +02:00
d0b5163ff0 Move unofficial theme logic into UserRelatedState; fix updating of longPreferences 2022-06-21 18:22:09 +02:00
cbf2036f44 Merge branch 'master' into feature/schools 2022-06-21 16:48:19 +02:00
c5a6b803ec Small fixes to improve local loading 2022-06-21 16:47:54 +02:00
9392731e46 Handle spaces around values in ;-separated lists correctly, introduce 'type Tags' 2022-06-21 16:46:21 +02:00
f7cacc15d3 Add first version of schools 2022-06-21 13:59:31 +02:00
5bafbbd3d2 Fix typo in method name, fix conflicted doctests 2022-06-20 11:26:55 +02:00
470e9acc64 Merge master 2022-06-19 18:23:43 +02:00
9bfbdf012a Propagate 'store' where applicable, improve docs 2022-06-19 13:55:33 +02:00
8b59f1208e Change type of query-parameter-documention to Map instead of an object 2022-06-14 18:45:07 +02:00
12fd59ff8d Fix search in filterViews 2022-06-13 20:16:39 +02:00
859a694723 Add caching to geojson source 2022-06-13 03:17:10 +02:00
7c6e292013 Add check for sync-selection mode, fix personal theme by revoking it's special status from 'determine theme', fix #871 2022-06-13 03:13:42 +02:00
a4916a9b6d Fix 'stabilized' 2022-06-13 01:35:50 +02:00
3b01e62fbe Fix build 2022-06-13 01:00:09 +02:00
771c59ab92 Fix visualisation of licenses 2022-06-13 00:51:53 +02:00
b9cc56bbc5 Improve error messages 2022-06-09 16:50:53 +02:00
36ac99c9ec Fix broken variableInputElement 2022-06-09 02:55:14 +02:00
5fffb23960 Fix small incompatibility with Wikipedia 2022-06-08 03:36:21 +02:00
eac3393495 Register callbacks to mapped store immediately too 2022-06-08 01:39:59 +02:00
f97b770203 More debugging of mappedStore 2022-06-08 01:39:59 +02:00
aee161d456 Some robustness if no changes have to be made anymore 2022-06-08 01:27:21 +02:00
a253754b98 Add 'visit'-functionality to TagsFilter, add case invariant regextag 2022-06-07 03:49:05 +02:00
71fb120917 Fix typo 2022-06-07 03:49:05 +02:00
ec1c206f84 Add 'visit'-functionality to TagsFilter, add case invariant regextag 2022-06-07 03:35:55 +02:00
e6812f3577 Fix typo 2022-06-07 03:34:58 +02:00
637772a158 Remove obsolete trace 2022-06-06 20:20:52 +02:00
9877abec17 More refactoring and fixes 2022-06-06 19:37:22 +02:00
1bc7d9118a
Remove PrepPerf as it blocls garbage collection 2022-06-05 13:56:12 +02:00
4283b76f36 Huge refactoring: split readonly and writable stores 2022-06-05 02:24:14 +02:00
44223d0f1c Add mapillary and other nearby images preview 2022-06-03 01:33:41 +02:00
864792ff95 More cleanup of wikipedia functionality; add parameters to substitutedTranslation 2022-05-27 05:49:21 +02:00
48953cf266 Cleanup of wikipedia and download functions 2022-05-26 13:23:25 +02:00
bd03a5a76a Various fixes for bot 2022-05-21 01:02:09 +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
ff0c2451da Fix tests 2022-05-01 21:05:58 +02:00
3a2b163128 Also load wikipedia articla from 'wikipedia' tag if no wikidata is given, fixes #780 2022-05-01 20:56:16 +02:00
7f972d4512 Fix tests 2022-05-01 04:21:41 +02:00
b941fb2983 Remove obsolete import 2022-05-01 04:16:36 +02:00
819f65e18d Add extra optimization on And, add test 2022-05-01 04:16:17 +02:00
7a76109d61 Improve wikipedia fetcher 2022-04-30 00:30:15 +02:00
ef60cfad26 Do not warn for features that have been added 2022-04-28 11:47:54 +02:00
3951b8d5c8 Remove obsolete conflict marker 2022-04-28 00:44:49 +02:00
6dd3711b5b Merge branches 2022-04-28 00:38:08 +02:00
90aa94700a Fix tests 2022-04-28 00:37:30 +02:00
27f12b1f9d Don't throw an exception when an invalid wikidata entry is encountered 2022-04-28 00:30:27 +02:00
861b9a3cdd Small improvements 2022-04-28 00:29:51 +02:00
c202ba606b Move country coder endpoint config into 'Constants' 2022-04-28 00:29:22 +02:00
14956e229c Small refactoring of search 2022-04-28 00:28:04 +02:00
fc3a043795 Add clarification 2022-04-28 00:27:21 +02:00
b2c8c2e7a3 Move import tag into doctest 2022-04-26 10:31:43 +02:00
0aae923187 Add projected_centerpoint as pointrenderingoption 2022-04-22 16:09:55 +02:00
426ba4a930
Fix test 2022-04-22 10:59:03 +02:00
389e3f18a0 Improve wikidata search with filtering, add search box for species to trees 2022-04-22 01:45:54 +02:00
1271f24160 Fix delete button, remove Translations.WT 2022-04-21 12:39:28 +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
01567a4b80 Improve tag optimazations, fixes rendering of climbing map 2022-04-14 00:53:38 +02:00
254098a7e5 Stabilize longPreferences 2022-04-13 02:42:33 +02:00
57d969cd79 Remove some stray console.logs; formatting 2022-04-13 01:26:45 +02:00
49f26687e3 Zoom to geolocation automatically if within 60 seconds, fix reading the previous map location from local storage if not initialized, fix #724" 2022-04-09 21:42:59 +02:00
9238f0f381 Simplify handling of id rewrites by centralizing them to the changesethandler (which improves testability too), fixes a part of #564 2022-04-08 04:18:53 +02:00
b119e1ac1d Import helper: Improve error messages of non-matching presets; fix bug if a value is 'null' in source geojson 2022-04-04 04:54:54 +02:00
a037d04577 Enable all languages in translators mode 2022-04-03 03:00:45 +02:00
796ee40f3b Merge master 2022-04-01 12:56:51 +02:00
2c7fb556dc Add translation buttons 2022-04-01 12:51:55 +02:00
b5e289764e Add detection for negative tagging in layers, fix issue with 'key!=' being interpreted as 'key!=*', add tests 2022-03-31 02:44:23 +02:00
c8e013f30e Fix 'moveToLocation' for bounded themes, add test 2022-03-28 21:56:25 +02:00
676787eaf7 Switch to doctest-ts-improved 2022-03-25 16:42:33 +01:00
abc4a08b3a Fix regression and add tests, add overpass link in layer documentation 2022-03-24 19:59:46 +01:00
51fe206736 Cleanup of last tests 2022-03-24 03:30:05 +01:00
9617dbc34d Add more checks in the import helper after user testing 2022-03-24 03:11:29 +01:00
2dac893bb3 Further refactoring of the tests 2022-03-23 19:48:06 +01:00
97c88af619 More refactoring of the tests 2022-03-18 13:04:12 +01:00
535b5db7b0 More tests 2022-03-17 21:51:53 +01:00
52a440dd18 Add small test 2022-03-16 14:06:10 +01:00
daa23fad95 Merge master 2022-03-15 13:45:20 +01:00
ae04047346 Fix changeset uploading 2022-03-15 13:44:34 +01:00
074782c1e0 More tests 2022-03-15 13:40:23 +01:00
82e59bc1eb More unit tests 2022-03-15 01:42:38 +01: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
Tobias
c88632ce8b
Changeset tag host: Add domain and path (#689)
* Changeset tag `host`: Add domain and path

Extend the value of the changeset tag host key to include the full url of the editor. This way a reader of the changeset can open the editor based on this value.

* Remove `path` from changeset tags
2022-03-06 22:01:01 +01:00
d40d77d86f Fix optimalization, some cleanup 2022-03-02 17:13:21 +01:00
8c9e2a36b3 Disable broken optimalization 2022-03-02 16:31:52 +01:00
9574259e75 First attempt to use less resources 2022-03-02 16:00:02 +01:00
cf39a55019 Increase zoomlevel before error message is triggered 2022-02-27 20:48:58 +01:00