Commit graph

276 commits

Author SHA1 Message Date
Anton Khorev
bfc8c5f6de Rename 'keyid' layer option to 'layerId' 2024-12-10 01:23:41 +03:00
Anton Khorev
821ebdd57b Use fetch() instead of iframe to make remote control requests 2024-12-04 12:30:19 +03:00
Andy Allan
7f611b295f
Merge pull request #5151 from AntonKhorev/no-history-and-export-buttons
Move History and Export buttons to secondary nav
2024-11-13 19:15:59 +00:00
Anton Khorev
c3b17aa506 Show spinner using delayed css animation in sidebar loader 2024-11-13 15:15:54 +03:00
Tom Hughes
9b9e857b72 Adjust imports for leaflet.locatecontrol 2024-10-30 18:41:43 +00:00
Anton Khorev
7fb432dc32 Close small mode menu on some interactions 2024-09-03 02:59:18 +03:00
Tom Hughes
5f2a5cadcb Merge remote-tracking branch 'upstream/pull/4565' 2024-08-28 18:59:09 +01:00
Anton Khorev
51d2a846ec Rename map layer javascript files 2024-06-28 03:12:15 +03:00
Anton Khorev
5add2d7e1d Reload only changeset element subpages 2024-06-03 14:16:09 +03:00
Anton Khorev
00123f05ba Add relation version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
2f222c49dd Add way version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
85c284aaa6 Add node version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
4453728a72 Preview colour tag value using svg 2024-01-14 18:54:33 +03:00
Anton Khorev
6b203c63fe Don't pass placement: right to tooltip()
Bootstrap flips it on its own, see https://getbootstrap.com/docs/5.2/components/tooltips/#directions
2023-10-25 15:48:53 +03:00
Anton Khorev
e6987d7dd3 Hide/show welcome banner with hidden attribute 2023-07-28 19:53:19 +03:00
Anton Khorev
dbcf256976 Use close button instead of geolink in sidebar content 2022-10-26 15:49:13 +03:00
Andy Allan
0917201893
Merge pull request #3704 from AntonKhorev/leaflet-control-groups
Group map controls explicitly
2022-10-19 15:42:08 +01:00
Anton Khorev
a419f8890a Load note from edit link with remote control 2022-10-06 00:42:04 +03:00
Anton Khorev
3f5c3a9d92 Specify border/spacing values in stylesheet 2022-09-19 19:10:46 +03:00
Anton Khorev
6acb032d4c Set borders and spacing for control groups directly in js
Previous stylesheet code is more complicated.
2022-09-19 18:50:04 +03:00
Anton Khorev
7904b49bb1 Group map controls 2022-09-19 18:20:34 +03:00
Anton Khorev
12a7c9d023 Create osm-specific locate control class 2022-09-19 18:07:37 +03:00
Anton Khorev
8a02bd67d9 Create Leaflet sidebar pane control with header writer fn 2022-08-27 20:33:44 +03:00
Andy Allan
6b69655812
Merge pull request #3631 from AntonKhorev/bootstrap-close
Use Bootstrap close button
2022-08-03 11:47:08 +01:00
Tom Hughes
e9f62a8c30 Rename piwik to matomo and merge configuration into settings 2022-08-01 22:42:04 +01:00
Anton Khorev
eb0f6d5952 Fixed welcome banner close button 2022-07-27 21:10:49 +03:00
Anton Khorev
0322ed4295 Changed close buttons of banner and other leaflet sidebars to Bootstrap 2022-07-27 20:22:20 +03:00
Tom Hughes
0a15112423 Mark javascript issued cookies with SameSite=Lax 2021-05-17 19:06:43 +01:00
Tom Hughes
32cc04fa5c Switch to using js-cookie to manage cookies from javascript 2021-05-17 18:57:48 +01:00
Tom Hughes
f91dd6afc2 Tighten up cookie security
Mark all cookies as Secure, and the cookies which are not
modified client side as HttpOnly.
2021-02-19 18:18:13 +00:00
Tom Hughes
810e4da85a Fix locate control popup on the main map to use new translations
Fixes #3072
2021-01-27 13:48:54 +00:00
Tom Hughes
2f03522c42 Fix close handler for welcome message 2020-10-21 20:51:10 +01:00
Tom Hughes
79447e7549 Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
Tom Hughes
916c48fd47 Move leaflet.locatecontrol to be a yarn managed asset 2020-08-06 19:28:51 +01:00
Andy Allan
56fdf73b65 Use the worldCopyJump option for leaflet overlays
This means that if you pan to a 'copy' of the world, the overlays
reappear on that copy.

Fixes #2040
2020-07-22 17:54:10 +02:00
Simon Legner
7a81258ddc Translate units used by leaflet-locatecontrol 2019-12-24 00:29:30 +01:00
Tom Hughes
a3a95616d9 Drop bowser, which is no longer used 2019-11-26 18:56:12 +00:00
Guillaume Rischard
7e390ec89b Always use http to talk to josm
See discussion in #2445 and resulting conclusion that JOSM no
longer even listens on the https port.

Closes #2446
2019-11-26 18:53:54 +00:00
Tom Hughes
cc14fbe36e Update to bowser 2.7.0 2019-11-25 12:45:53 +00:00
Stefan Baebler
e968ad038a Fixed 2 new eslint errors 2019-08-31 11:59:44 +02:00
Stefan Baebler
e731dd71a7 Merge branch 'master' into tag-colour-preview-rebase 2019-08-31 11:34:57 +02:00
Tom Hughes
6dd451c7ee Stop creating a shared global querystring variable 2019-07-15 20:28:54 +01:00
Tom Hughes
a47c0a4411 Update querystring references 2019-07-15 10:03:09 +01:00
Tom Hughes
492a640530 Enable a few more eslint checks 2019-07-14 12:08:02 +01:00
Tom Hughes
c4c0e8105a Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
Tom Hughes
87127d41e9 Enable some more eslint rules from iD rules 2019-04-06 15:48:51 +01:00
Tom Hughes
1f13321a60 Fix issues found by eslint 2019-04-01 22:03:39 +01:00
Tom Hughes
1a66467ef6 Avoid flickering welcome banner
Make the welcome banner default to being hidden and then show
it (by adding a class) if there is no cookie.

Fixes #1951
2018-09-10 21:21:43 +01:00