Commit graph

1063 commits

Author SHA1 Message Date
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
7b837d7435 Fix GRB theme 2022-02-24 03:09:30 +01:00
5284f198d8 Fix various bugs 2022-02-22 14:13:41 +01:00
bf05a88afd Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop 2022-02-16 02:31:39 +01:00
39e6cdfda4 Fix dependency injection of refactoring 2022-02-16 01:46:55 +01:00
f0675a026b Exporting CSV/Geojson now respects filters + refactoring away State.state 2022-02-16 01:34:28 +01:00
2ed6e04a7a Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop 2022-02-16 01:00:54 +01:00
9cd83af941 Add 'upload GPX-trace to OSM' code, small improvements to gps_track-layer 2022-02-16 01:00:28 +01:00
f2042a6db4 Use layer-<layerid> again as URL parameter 2022-02-16 00:21:03 +01:00
4638f82635 Fix tests 2022-02-16 00:14:22 +01:00
dfb16fa802 Small refactoring: move changeset-handler creation to 'changes' 2022-02-15 23:44:16 +01:00
e721146ca1 Show loading screen when logging in 2022-02-15 15:42:09 +01:00
419f2b1351 Fix personal theme, add possibility to sync layer selection 2022-02-14 18:18:05 +01:00
dc959e15f4 Fix filter selection for one option 2022-02-14 15:59:42 +01:00
6cb5803efd Save layoutconfigJSON as preferences, the are saved in the morescreen 2022-02-14 15:41:14 +01:00
60c4b0d00d Fix geojson source: remove 'null' properties; UK-addresses: filter matched addresses by default 2022-02-14 13:52:18 +01:00
c941f567cf Add extraLink button which replaced the iframePopout button, fix #654 2022-02-14 04:48:33 +01:00
e04e7ddf6a Remove obsolete print statement 2022-02-14 03:16:30 +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
31024c5074 Properly fix detection of 'point in polygon' with multipolygons, fixes GRB display issue 2022-02-11 15:27:20 +01:00
08efcbdea0 Optimize availableBaseLayers code 2022-02-11 15:11:50 +01:00
695a0867c7 Fix duplicate buildings for grb layer; add default flag for filters, performance improvement 2022-02-11 03:57:39 +01:00
31205f3430 Filter duplicate ids from new ways, #564 2022-02-11 02:55:42 +01:00
30be86668e Fix autoapply for GRB theme 2022-02-10 23:16:14 +01:00
b3c58ae82e Extract and validate images using a new conversion, regenerate docs 2022-02-09 22:37:21 +01:00
62272774bc Add layer only mode for user layouts 2022-02-08 00:56:47 +01:00
819a33e299 Add some comments on bing maps 2022-02-08 00:34:07 +01:00
0f95891a47 Add option to force loading of a layer, even if it is hidden + automatically set this flag is another layer depends on this layer 2022-02-07 01:59:07 +01:00
b8b63dc34c Tweaking the loading screen 2022-02-06 03:45:32 +01:00
508ef8a970 Rephrase to increase clarity 2022-02-05 23:38:55 +01:00
a3b32a3697 Fix loading of relative images in custom themes 2022-02-04 15:48:26 +01:00
dd68cc39e7 Unofficial themes are remembered now 2022-02-04 14:36:26 +01:00
b08adc7fc9 Fix loading of custom themes 2022-02-04 13:17:50 +01:00
9ff4323ec6 Fix typo 2022-02-04 03:31:47 +01:00
3e2c6a0f23 Improvements to themes 2022-02-04 02:48:31 +01:00
80533597c1 Inject newly created notes into the map 2022-02-04 00:44:51 +01:00
7001216ab7 Add more consistency checks, slight refactoring of theme conversions 2022-02-04 00:44:09 +01:00
e38b14b77a Force evaluation of lazy tags during caching 2022-02-02 02:36:49 +01:00
c15f3d2036 Lots of styling tweaks, add filter links between layers 2022-02-01 04:14:54 +01:00
5cefc4d25f Some cleanup of changesetHandler, add import source with reference to the note 2022-02-01 00:09:28 +01:00
d1e99fc2d3 Cyclestreets: only add maxspeed=30 in Belgium; change 'language' to 'locale' in changeset tags, load notes in import_viewer up to two years back, language tweaks 2022-01-31 20:52:56 +01:00
a11e0fc545 Merge master 2022-01-31 20:12:11 +01:00
618f61d3e8 Fix typo 2022-01-31 13:14:07 +01:00
74489d5e3f Merge master 2022-01-30 19:06:41 +01:00
aba6cd0580 Fix commenting on notes 2022-01-30 18:53:07 +01:00
5f33949b93 Fix commenting on notes 2022-01-30 18:47:19 +01:00
9594868e83 Better tag rewriting, add icons, add bicycle rental theme 2022-01-29 02:45:59 +01:00
ed7a109736 Fix custom themes 2022-01-27 20:37:22 +01:00
0505a77606 Regenerate schema files 2022-01-26 21:48:02 +01:00
fa971ffbbf Full code cleanup 2022-01-26 21:40:38 +01:00
99edba4c73 Merge master 2022-01-26 21:12:25 +01:00
d2b245ab54 Performance optimazations 2022-01-26 20:47:08 +01:00
f09134c3be Update to the import viewers 2022-01-25 21:55:51 +01:00
791c6c4f55 Include route=foot in trails 2022-01-25 18:20:15 +01:00
fa179af601 More work on import flow 2022-01-25 00:48:05 +01:00
b61c0a1180 Fix: remember previous, externally loaded themes 2022-01-25 00:46:57 +01:00
06f9f2d94c Remove image rewriting for custom themes 2022-01-24 19:55:02 +01:00
848a05a21f Quickfix for loading external themes 2022-01-24 16:43:50 +01:00
33ef83c4a9 Finish import_viewer gui 2022-01-24 03:09:21 +01:00
9b85382bc1 Fix popup behaviour, version bump 2022-01-21 13:58:40 +01:00
1e3206120c Fix #596 2022-01-21 03:57:49 +01:00
e58b93e562 Merge branches 2022-01-21 02:25:56 +01:00
eb8fea5692 Fix caching 2022-01-21 02:22:59 +01:00
ca1490902c Finish importer, add applicable import layers to every theme by default 2022-01-21 01:57:16 +01:00
3402ac0954 Lots of refactoring, first version of the import helper 2022-01-19 20:34:04 +01:00
25f956c808 Autoreformat all the things 2022-01-18 18:52:42 +01:00
d7f8ff01d5 FilteringFeatureSource can now handle undefined values 2022-01-18 10:25:11 +01:00
d4d7ab6f3a More fixing, first complete version of UK-addresses-theme 2022-01-17 23:50:50 +01:00
8ca9e4f36c Fix various bugs; improve UK-addresses theme 2022-01-17 21:33:03 +01:00
2e2a6965e7 Add theme introspecting mapcomplete changes 2022-01-16 02:00:55 +01:00
00e5ce0b02 The overpassfeaturesource now only fetches layers that must be updated, fix #599 2022-01-15 02:44:11 +01:00
a65afbbb58 Work on automatically creating an import layer for every feature 2022-01-14 13:58:37 +01:00
555dbf3478 Attempt to fix loading 2022-01-14 03:57:36 +01:00
a03313fb3d Some refactoring 2022-01-14 03:14:56 +01:00
85af8a20b0 Tweak new note marker, formatting 2022-01-14 02:40:55 +01:00
6ae8ec8036 Add 'add new note' functionality, fix bug where 'test'-theme comes up when deleting images 2022-01-14 01:41:19 +01:00
6999a73d44 Add import from notes functionality 2022-01-12 02:31:51 +01:00
93f6adf8a8 Merge master 2022-01-11 11:27:55 +01:00
05e0986a51 Fix metatagging 2022-01-11 00:20:55 +01:00
42a6b37ca6 Add filters 2022-01-08 22:11:24 +01:00
965faca0e5 MapComplete now always zooms up to level 21 with overzoom, fix #606 2022-01-08 20:05:00 +01:00
b15eaff55e Add image support in notes 2022-01-08 14:08:04 +01:00
a58ce564c2 Add theme for 'notes' 2022-01-08 04:22:50 +01:00
677a07e3d2 Add unsearch 2022-01-07 17:33:41 +01:00
91d2272861 First working version of the notes-layer, add filtering 2022-01-07 17:31:39 +01:00
ebb510da04 First draft of loading 'notes' 2022-01-07 04:14:53 +01:00
94f66eafc1 Merge develop 2022-01-06 20:10:57 +01:00
7090a5ceb8 Performance hacks 2022-01-06 18:51:52 +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
7f99e76b0c Merge branch 'develop' into feature/conflation-fix 2022-01-05 18:14:15 +01:00
ee962f4ba3 Small performance issues, improvement of #579 2022-01-05 18:08:42 +01:00
4fd30d1a62 Add support for 'contact:email','contact:phone' and 'contact:website' (write to 'email', 'phone' and 'website' if changed) - fix #601; remove 'tel:' from phone addresses - fix #602; small fixes to tag preview in case of deletion 2022-01-05 17:08:35 +01:00
8485773a1d More work on conflation logic 2022-01-05 16:36:08 +01:00
7124cd184c More work on replaceGeometry 2022-01-01 01:59:50 +01:00
ba4f4ac685 Merge branch 'develop' into feature/conflation-fix 2021-12-31 00:55:25 +01:00
5e03a06bf7 Expose geometry type as metatag 2021-12-30 22:01:23 +01:00
bfb16874b1 Further experimentation 2021-12-30 20:41:45 +01:00
9c6822a1ac Improve docs, formatting 2021-12-24 02:51:01 +01:00
92c63560ef Add workaround for turf.intersect which can't deal with touching polygons 2021-12-24 02:48:04 +01:00
b0f0a57bc7 Block broken replaceGeometry for now 2021-12-23 14:39:00 +01:00
adade2e8b0 Add unused node removal 2021-12-23 03:36:03 +01:00
41dfa008d0 Don't show a removed tag if it was present on the object in the first place 2021-12-23 00:31:49 +01:00
70aa6eb003 Merge develop 2021-12-22 01:09:33 +01:00
95d6244008 Remove obsolete console.logs 2021-12-22 00:43:15 +01:00
7ca7612960 Fix bugs with intersectionWith 2021-12-22 00:43:00 +01:00
7fe79600fb Remove unmaintained preferences page, re-add earlier visited installed themes (only remove themes) 2021-12-21 20:57:25 +01:00
4b6769d601 Fix custom layouts 2021-12-21 19:56:04 +01:00
8e2e367a0c Add 404, fixing custom layouts and redirects 2021-12-21 19:09:24 +01:00
11150a258d First part of a huge refactoring 2021-12-21 18:35:31 +01:00
99a38f2b10 Add intersection function 2021-12-19 02:11:22 +01:00
be9784e047 Fix build 2021-12-17 23:17:34 +01:00
0ae78f19f3 Fix changeset reuse for automaton 2021-12-17 19:28:05 +01:00
90fc0e0840 Fix non-appearing new icon, remove debug outputs 2021-12-14 17:29:21 +01:00
dc5c3461f8 Formatting, comments, use injected download functionality 2021-12-13 20:51:44 +01:00
5b513b1248 FIx caching script, some cleanup 2021-12-13 13:22:23 +01:00
e922768f99 First working version of fully automatic uploader 2021-12-13 02:05:34 +01:00
e1ee890f51 WIP: automaton page 2021-12-12 17:35:08 +01:00
20ec12b23c Add special visualisation for automated actions, add missing_street-theme, various fixes 2021-12-12 02:59:24 +01:00
65b1891cb6 Add metacalculation on currentview 2021-12-11 02:19:28 +01:00
c76b0a6340 Add current view popup 2021-12-10 17:30:50 +01:00
dc5b777713 First attempt for a current-view box 2021-12-10 15:51:08 +01:00
a095af4f18 Refactoring of import button, various improvements 2021-12-10 04:00:02 +01:00
52163d60c0 Switch crab and latlon2country to new data storage github 2021-12-09 21:12:01 +01:00
7be5493284 Add convex hull operation 2021-12-09 17:56:55 +01:00
07fd8f404a Various fixes 2021-12-07 17:46:57 +01:00
9cfb7fbe68 Update of latlon2country and use its async interface; small refactoring of simplemetagging, improvements to cacheBuilder which respects isShown and calculated tags now 2021-12-07 02:22:56 +01:00
89004af7f9 Further work on GRB, bugfixes 2021-12-06 03:24:33 +01:00
4f403c4bfc Pass dependencies explicitly, decrease dependency on legacy State.state 2021-12-05 05:20:33 +01:00
76c84b3972 If an OSM-object does not exist anyore, ignore changes to this object. Fix #577 2021-12-05 05:19:59 +01:00