Commit graph

1562 commits

Author SHA1 Message Date
65250d77be Fix: fix #1675 2023-10-18 02:08:49 +02:00
68e9534034 Small fixes 2023-10-17 17:17:19 +02:00
2314382678 Chore: generate all 2023-10-17 17:16:38 +02:00
f1de8a3d9d Fix: actually attempt to login when login button is pressed 2023-10-17 17:03:13 +02:00
553ee6d5aa Merge develop 2023-10-17 16:57:49 +02:00
059ef2c1bc Fix: safari-specific fixes 2023-10-17 16:43:50 +02:00
ec79672fa6 Studio: move some validation from throwing errors in LayerConfig.ts into errors in Validation 2023-10-17 16:06:58 +02:00
89c6321e40 Feature: actually add leaderboard 2023-10-17 14:55:23 +02:00
d10760b8cb Feature: add image leaderboard 2023-10-17 13:31:06 +02:00
590495fbbc UX: make mangrove attribution smaller, remember if personal had been unlocked before to prevent flickering of the button 2023-10-17 01:57:21 +02:00
632dd6dfb1 Studio: first working version 2023-10-17 01:36:22 +02:00
2f8cb91d31 Studio: Fix some usability errors 2023-10-17 00:32:54 +02:00
80b7a038cf Studio: more fixes 2023-10-16 15:06:50 +02:00
c2164e5951 Chore: housekeeping, formatting 2023-10-16 14:27:05 +02:00
d4d10d1b18 Merge master 2023-10-16 13:39:38 +02:00
d7d6c3142c UX: add pending changes indicator 2023-10-16 13:38:11 +02:00
09e50464b8 UX: add global indicator that images are uploading 2023-10-16 13:17:44 +02:00
41da0d7ab7 UX: add version number to loading screen 2023-10-16 13:05:45 +02:00
efce134a6c Themes: fix cycle rental which dissappears 2023-10-16 12:54:41 +02:00
a0d450407f UX: add location picker to new not input element, fix #1665 2023-10-15 10:55:56 +02:00
5f918b607b Fix: add maxzoom to osm.carto-layer, see #1664$ 2023-10-15 10:54:30 +02:00
376a683cce Themes: add OSM-carto again, fix #1664 2023-10-15 10:20:05 +02:00
4da5261db5 UX: add crosshair to map center 2023-10-15 01:05:09 +02:00
a464877629 UX: make 'save' button and question sticky, make big questions scrollable 2023-10-15 00:31:04 +02:00
c358a4c415 Merge master 2023-10-14 23:29:16 +02:00
2001ef09bf Merge develop 2023-10-14 22:41:52 +02:00
ac1e7c7f06 Studio: more finetuning, first version working 2023-10-13 18:46:56 +02:00
f77d99f8ed Refactoring: use more accurate context in conversion, fix tests 2023-10-12 16:55:26 +02:00
f954a93b59 Add more debug info 2023-10-12 14:27:28 +02:00
0e80b7470c Chore: remove obsolete classes 2023-10-12 02:15:27 +02:00
d997c90352 Themes: add Stamen Watercolor again, see #1652 2023-10-11 19:19:28 +02:00
5e2a98924c Fix: add carto vector layers again 2023-10-11 19:16:33 +02:00
89afe9102f Update: remove stamen entries, replace them with stadiamaps alternatives; remove CartoDB (as it has PNG tiles), see #1652 2023-10-11 17:57:16 +02:00
86d0de3806 Fix: theme compilation 2023-10-11 17:30:20 +02:00
e1a785ba9c Merge develop 2023-10-11 04:37:19 +02:00
08ffe4b7c0 Merge develop 2023-10-11 04:34:57 +02:00
f2863cdf17 Refactoring: refactoring of all Conversions 2023-10-11 04:16:52 +02:00
17503d5bfb Fix: hide some elements of the UI if they are disabled by a featureSwitch 2023-10-11 01:41:42 +02:00
ad239b230f Themes: add guidepost theme 2023-10-10 13:27:56 +02:00
0bdb35a016 Chore: housekeeping 2023-10-10 01:52:02 +02:00
66c69602af UI: align some buttons, fix #1651 2023-10-09 02:53:30 +02:00
d43f8c0080 Feature: close floatover if pressed outside of it, fix #1647 2023-10-09 02:07:25 +02:00
5be24dbef1 Fix: drag & drop for file selector 2023-10-09 01:53:27 +02:00
285fe9ab83 UX: place 'add new button' in bottom-left instead of having a dynamic pin 2023-10-09 01:26:12 +02:00
dab8d6cd5d Don't ignore escape if a textfield is selected 2023-10-09 00:52:06 +02:00
52e6476694 Feature: add 'filter'-button shortcut to bottom-left controls 2023-10-09 00:43:11 +02:00
2769747737 Fix: make sure the background is always below the rendered layers 2023-10-08 19:02:41 +02:00
827d986eae Merge branch 'master' into develop 2023-10-08 18:14:25 +02:00
46e7cf5833 Some tweaking 2023-10-08 18:10:56 +02:00
650c1a675c Fix: fix updating of styles 2023-10-08 18:10:56 +02:00
93630bd1db Fix: add all global layers to CSP 2023-10-08 17:38:28 +02:00
2736740cd0 Fix: add all vector layers to CSP 2023-10-08 14:09:29 +02:00
a96a214c03 Themes: add guideposts to climbing theme 2023-10-07 03:37:19 +02:00
4e8dfc0026 Studio: more work on studio 2023-10-07 03:07:32 +02:00
cda5805307 Chore: update docs 2023-10-07 03:04:29 +02:00
929093d36f Fix: typo 2023-10-06 23:57:02 +02:00
19a760178b Refactoring: split icons into proper layered icons, fix and rerun shops-thief 2023-10-06 23:56:50 +02:00
36a73f3a17 Chore: housekeeping, fix tests 2023-10-06 03:34:26 +02:00
85002766a8 Fix: questions are shown if the condition is met, fix #1630 2023-10-06 02:57:53 +02:00
2d50323f21 Chore: translation sync 2023-10-06 02:44:40 +02:00
c3041af5f7 Merge master 2023-10-06 02:27:49 +02:00
0bd9e1e667 Fix: probably fix black area outlines 2023-10-06 02:23:52 +02:00
6e5fcdef20 Fix: redraw line layers on background change 2023-10-06 02:23:52 +02:00
a83499614d Refactoring: use variable instead of hardcoded URL 2023-10-06 02:23:52 +02:00
2f90e9f74a
Merge pull request #1643 from pietervdvn/RobinLinde-patch-2
Add vending items, relatify icon
2023-10-05 20:43:44 +00:00
bbf6d62c86 Fix: maproulette endpoints 2023-10-05 22:40:57 +02:00
871d511616 Fix: reinstantiate uploads 2023-10-05 21:25:16 +02:00
6b6b1e3286 Fix: disable 'delete'-button if no reason is selected, fix #1631 2023-10-05 16:27:03 +02:00
2843b01586 Fix: add check that no changeset is opened without actually having changes 2023-10-05 16:05:57 +02:00
f2375f4877 Fix: MC would crash if a pending change was present; remember preferences in order to reuse the changeset 2023-10-05 15:55:18 +02:00
Robin van der Linde
83d936d98c
Override keys 2023-10-03 20:09:19 +02:00
d6cd0516bb Fix merge 2023-10-02 01:23:43 +02:00
55c6442cac Merge develop 2023-10-01 13:13:07 +02:00
2671d01589 Fix: typo 2023-09-30 16:35:02 +02:00
419bfd416c Chore: housekeeping, new docs 2023-09-30 15:44:43 +02:00
394bad545d Merge branch 'security/strict-csp' into develop 2023-09-30 15:41:32 +02:00
0727a228fd Fix: fix #1596 2023-09-30 15:31:20 +02:00
d103911d14 Fix: load translations for PDF-export internally 2023-09-29 16:17:39 +02:00
451aa3bcd4 Security: add nominatim endpoint to config and csp 2023-09-29 11:13:30 +02:00
055e5a801b Fix: stabilize rendering of linelayers 2023-09-29 11:11:27 +02:00
e16051025a Fix: cleanup merge 2023-09-29 11:10:24 +02:00
477ef56e00 Merge develop 2023-09-29 00:28:14 +02:00
8a3f7a012d Chore: formatting 2023-09-28 23:50:27 +02:00
6d5f5d54f8 Refactoring: port reviews to svelte 2023-09-28 04:03:57 +02:00
4067912ce0 Refactoring: include 'label' section into Checkbox 2023-09-28 04:02:47 +02:00
08e408e19d UX: slow down spin speed of search geolocation button 2023-09-28 04:02:47 +02:00
5a6f5f064b Security: add inline script with automatic hash 2023-09-28 03:00:22 +02:00
195a9e9298 Merge branch 'master' into develop 2023-09-27 22:38:44 +02:00
c527427f70 Fix: add new items works again, fix #1593 2023-09-27 22:38:30 +02:00
4852888b41 Refactoring: make needed URLs explicit 2023-09-27 22:21:35 +02:00
d2c668922b Fix: include japanese dot as sentence separator 2023-09-26 01:31:19 +02:00
7852829f1b UX: explicitly indicate that geolocation was refused, see #1583 2023-09-26 01:24:26 +02:00
53918f2044 Feature: support 'repeat_on', fix #1588 2023-09-25 19:07:11 +02:00
ea19cca387 Feature: automatically detect missing WebGL in generated themes 2023-09-25 17:29:17 +02:00
7ace25d377 Merge branch 'develop' 2023-09-25 13:00:49 +02:00
fe3ccd1074 CI: add extra config file for easier per-deployment veriations, add hetzner deploy script 2023-09-25 03:14:41 +02:00
9a5a2e9924 Refactoring: port add-image-to-note to new element as well, remove obsolete classes, fix note creation 2023-09-25 02:55:43 +02:00
94ba18785d Chore: rework image uploading, should work better now 2023-09-25 02:13:24 +02:00
6f5b0622a5 Chore: remove some obsolete console.logs 2023-09-25 02:12:49 +02:00
17b85195a2 UX: finetune 'go to your geolocation' interaction on theme introduction panel, fix #1583 2023-09-24 22:12:07 +02:00
b3edbe846c Feature: add more vector layers from maptiler; add some fixes to theme setting handler 2023-09-24 18:24:10 +02:00
456da1b6c3 Feature: be able to set a default background layer, fix background layer query parameter 2023-09-24 16:34:36 +02:00
93a30fdba5 Fix: disable rotation on mobile if the user enabled this 2023-09-24 13:13:04 +02:00
1c5882ce32 Chore: housekeeping 2023-09-24 13:08:15 +02:00
708e624779 Merge branch 'master' into develop 2023-09-24 01:29:03 +02:00
56934b79f6 Fix: fix #1580 2023-09-24 01:25:00 +02:00
2e8a3311e7 Themes: add validation for duplicate presets, fix #1582 2023-09-24 00:25:10 +02:00
0d529e7cca Fix: build, some metatagging errors 2023-09-22 12:42:09 +02:00
39944a01fb Refactoring: automatically generate code files from layer/theme files to avoid using 'Eval' 2023-09-22 11:20:22 +02:00
e6d84019a5 Fix: correct merge conflict 2023-09-21 15:38:28 +02:00
62ef2f9285 Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop 2023-09-21 15:34:32 +02:00
08461f70d3 Merge master 2023-09-21 15:34:14 +02:00
badfbb60e4 Chore: formatting 2023-09-21 15:29:34 +02:00
db1dbc0f07 Fix tests, version bump 2023-09-21 15:28:40 +02:00
c14cbc9fe9 Fix: upload flow deals better with point reuse: it actually opens the feature now 2023-09-21 14:53:52 +02:00
5da56d8fa5 Style: styling tweaks to plantnet flow 2023-09-21 12:13:42 +02:00
ac236199fc Security: use safe 'setAttribute' 2023-09-21 02:35:29 +02:00
8d1ae657fc Merge branch 'master' into develop 2023-09-21 02:32:15 +02:00
a3c249474d Refactoring: use special rendering for mangrove key download in usersettings 2023-09-21 02:31:55 +02:00
fcea3da70f Security: purify inputs around innerHTML-usage, remove some unused parameters and classes 2023-09-21 01:53:34 +02:00
8fccf78478 Fix: use api.openstreetmap.org on many places, fix #1573 2023-09-21 00:25:04 +02:00
1930f7bb53 Fix: remove unneeded translation download, fix PDF-export 2023-09-20 23:35:00 +02:00
3a77c6f33e Security: add DOM-purification, add 'norefferer' and 'noopener' automatically to links to new tabs 2023-09-20 23:05:08 +02:00
9252aafa2d Chore: update language translations, partial fix of #841 2023-09-20 02:45:15 +02:00
665f8b1d25 Typing: make options optional in wikidata search 2023-09-20 01:59:48 +02:00
5f04a69517 Refactoring: port PlantNet-detection to svelte, re-integrate wikipedia component 2023-09-20 01:47:32 +02:00
1a67e005fd Fix tests 2023-09-19 23:01:59 +02:00
382f96596e Fix: fix #1503, fix #1571 2023-09-19 23:01:31 +02:00
203f24fca0 Fix: cleanup of wikipedia panel, fix #1570 2023-09-19 14:29:11 +02:00
4cb52e37cd Merge develop 2023-09-19 14:19:58 +02:00
6d5617d5a9 Chore: remove unneeded file 2023-09-19 14:17:03 +02:00
dc82ebbd58 Studio: WIP 2023-09-19 14:04:13 +02:00
89818019c3 Studio: WIP 2023-09-17 13:45:46 +02:00
559a129d8d Improve error message 2023-09-17 13:11:06 +02:00
be5f46d8c8 Merge develop 2023-09-16 19:03:07 +02:00
0eb2e81101 Merge master 2023-09-16 18:55:58 +02:00
42c7bbe1c9 Chore: formatting 2023-09-16 18:52:42 +02:00
4fd8f256cb CI: fix build 2023-09-16 03:09:14 +02:00
acc5e196e9 Usability: give error message if WebGL is disabled 2023-09-16 02:55:45 +02:00
bd71645c04 Fix: style tweaks to link feature 2023-09-16 02:50:01 +02:00
48a7c45416 Refactoring: port image link functionality to Svelte 2023-09-16 02:30:01 +02:00
6bed170910 Fix: css-generate script; loading of stylesheet in style_test, add small buttons to style_test 2023-09-16 02:27:29 +02:00
8c390d12fe Chore: cleanup debug info from sendEmail 2023-09-15 02:12:04 +02:00
b4f65bf2f7 Fix: substituteKeys works correctly if newline is in the text, fix 'send email to report broken'-button by porting it to svelte 2023-09-15 01:53:50 +02:00
2bbf966d22
Merge pull request #1523 from pietervdvn/feature/eslint
Add ESLint
2023-09-14 23:19:01 +00:00
338599454c Studo: WIP 2023-09-15 01:16:33 +02:00
Robin van der Linde
ce897d28df
Merge branch 'develop' into feature/eslint 2023-09-02 23:49:36 +02:00
Robin van der Linde
18cc3d7748
Filter out http sources, add types 2023-09-02 23:24:01 +02:00
Robin van der Linde
86a797a75f
Handle flipped y-coordinates 2023-09-02 23:23:46 +02:00
Robin van der Linde
2e99d37646
Test with overriding through environment variables 2023-09-02 13:46:13 +02:00
6e8617c93f Fix: add check for missing 'noopener' attributes; add missing noopener attributes 2023-09-02 02:04:59 +02:00
d9b8257e47 Fix: fix reverse tabnabbing in most cases, add rel=noopener to most links to untrusted content 2023-09-02 00:55:07 +02:00
7aee442ae4 Fix: improve first-sentence 2023-09-02 00:46:17 +02:00
f207736e40 Refactoring: move constants into package.json 2023-09-02 00:07:47 +02:00
4d01d81e1e Fix: correctly escape markdown 2023-09-02 00:02:23 +02:00
fc9dd46239 Fix: fix tests; use OAuth client id from dedicated MapComplete account 2023-09-01 22:31:46 +02:00
752de107ab Fix: typo 2023-09-01 21:39:40 +02:00
51f08c19a1 Chore: update to OAuth 2.0, fix #1548 2023-09-01 21:36:39 +02:00
7705aa3360 Merge master 2023-09-01 18:40:56 +02:00
a129b5c3bf Chore: formatting 2023-09-01 16:06:22 +02:00
7ebb3d721c Merge master 2023-08-24 12:22:45 +02:00
75735005da Chore: remove obsolete console.trace 2023-08-23 22:19:12 +02:00
dfd2a3d69a Merge branch 'master' into develop 2023-08-23 20:43:00 +02:00
05bf79f761 Fix: fix #1529 2023-08-23 20:39:06 +02:00
c54424d6f7 Chore: remove obsolete logging commands 2023-08-23 20:36:58 +02:00
7321004c19 Fix: replace all mentions of 'mapcomplete.osm.be' with 'mapcomplete.org' 2023-08-23 18:33:30 +02:00
1bbf08da7f Chore: translation sync 2023-08-23 13:27:53 +02:00
903e168a89 Studio: WIP 2023-08-23 11:11:53 +02:00
04ecdad1bb Merge develop 2023-08-10 16:25:25 +02:00
96d036781f Fix: update and simplification of sharescreen, rename some feature switches, remove some no longer relevant feature switches 2023-08-10 15:40:51 +02:00
7a95334882 Fix: open correct menu if set in hash 2023-08-10 15:40:51 +02:00
03aafbe99c Themes: add possibility to add an icon to 'render' (just like with mappings), add contact:mastodon support as general question, add mastodon question to hackerspaces 2023-08-10 14:10:21 +02:00
e1c831884a Merge branch 'master' into develop 2023-08-09 14:18:10 +02:00
4602df3046 Fix: add safety check to not overuse the OSM-api 2023-08-09 14:18:06 +02:00
37dc6a7161 Fix: correctly interpret 'hideInAnswer'-conditions, recalculate them dynamically 2023-08-09 14:16:17 +02:00
1b8970b34a Fix: small CSS fix 2023-08-08 20:46:40 +02:00
7d5aa725fb Typing: Fix some typing errors 2023-08-08 20:44:34 +02:00
5d00f3cc6a Fix: fix #1532 2023-08-08 20:41:18 +02:00
cb538c2303 Studio: WIP 2023-08-08 13:52:58 +02:00
6ff2c629f0 Merge branch 'master' into feature/studio 2023-07-28 14:38:12 +02:00
eb9307dbbe Fix local build 2023-07-28 14:37:51 +02:00
56ea1163bb Themes: add extra check so that in a mapping cannot override the , fix two such instances 2023-07-28 14:11:00 +02:00
adcd130259 Chore: housekeeping 2023-07-28 01:12:42 +02:00
9f2a720341 Merge master 2023-07-28 01:05:11 +02:00
7d51c94e1f Chore: housekeeping 2023-07-28 01:02:31 +02:00
5269481afc Docs: add stack offset for featureSwitches and booleanSwitch 2023-07-28 00:46:02 +02:00
80168f5d0d Merge master 2023-07-28 00:29:21 +02:00
Robin van der Linde
b9d38c958c
Change environment, fix some linting errors 2023-07-27 14:48:17 +02:00
Robin van der Linde
9885099aff
Fix some linting errors 2023-07-27 14:41:55 +02:00
a45810d65c Docs: add clarification suggested by ThibaultMol 2023-07-27 12:59:04 +02:00
e05275a8f5 Docs: fix links 2023-07-27 12:56:26 +02:00
3ca8ba18fd Fix: URL-parameter language disables the language picker, fix #1506 2023-07-27 12:53:08 +02:00
a3a7c536fb Fix: use translated value for community index tab 2023-07-27 12:53:08 +02:00
9dc3a239f6 Docs: add source where URL-parameters are defined 2023-07-27 12:47:19 +02:00
66d7048434 Merge develop 2023-07-27 01:53:35 +02:00
4a26563356 Docs: Improve docs, fix doc script 2023-07-27 01:52:38 +02:00
2f5c89f8c5 Fix: URL-parameter language disables the language picker, fix #1506 2023-07-27 01:50:23 +02:00
22ee806090 Fix: use translated value for community index tab 2023-07-27 01:48:07 +02:00
124cfad8f8 Docs: Improve docs, fix doc script 2023-07-20 13:28:38 +02:00
d036350893 Fix tests 2023-07-18 12:38:30 +02:00
064f87537f Fix: styling of OH input, fix #1489 2023-07-18 02:11:28 +02:00
3c5bde1ae3 Fix: await 'country' to be loaded 2023-07-18 01:53:37 +02:00
e3a73d551a
Merge pull request #1511 from pietervdvn/RobinLinde-patch-11
Currency metatagger, fix docs scripts
2023-07-18 01:36:43 +02:00
90869a1c98 Fix: etymology theme now supports multi-apply again, uses lower zoom level for multiselect 2023-07-18 01:26:36 +02:00
2cc943889d Feature: allow to disable map rotation 2023-07-18 01:26:36 +02:00
Robin van der Linde
ff8442f90b
Merge branch 'develop' into RobinLinde-patch-10 2023-07-17 22:34:16 +02:00
Robin van der Linde
1b433ec47c
Remove console.log 2023-07-17 22:11:39 +02:00
Robin van der Linde
1858cdac95
Create currency metatagger 2023-07-17 20:25:19 +02:00
7eeac66471 Merge branches 2023-07-17 01:43:53 +02:00
cacc078042 Refactoring: attempt to fix build 2023-07-16 03:26:43 +02:00
1bba106a86 Refactoring: finish move to 'src' directory 2023-07-15 18:04:30 +02:00
e75d2789d2 Refactoring: move all code files into a src directory 2023-07-09 13:09:05 +02:00