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 |
|
Tom Hughes
|
50f85248db
|
Use https to launch the remote editor except for modern browsers
Currently only Chrome 53+ and Firefox 55+ are known to support loading
of http resources from localhost for an https page.
|
2018-05-15 14:21:09 +01:00 |
|
Štefan Baebler
|
26b47fdd18
|
Fix warning: 'value', 'index' is defined but never used.
|
2018-03-20 01:52:54 +01:00 |
|
Štefan Baebler
|
15ea756ae6
|
Cleanup leftover console log
|
2018-03-20 01:39:37 +01:00 |
|
Štefan Baebler
|
aa39179777
|
Using javascript and data attribute instead of inline css
|
2018-03-20 01:37:18 +01:00 |
|
Guillaume RISCHARD
|
ca36cf2826
|
Remove support for soon discontinued josm remote https endpoint
|
2017-12-16 16:15:52 +01:00 |
|
Holger Jeromin
|
2a21c82185
|
Removes DOM difference in location button (main map)
|
2017-10-18 19:51:05 +02:00 |
|
Tom Hughes
|
8db0548119
|
Remove explicit context menu width
Firefox and Chromium at least seem to autosize correctly based
on the actual text in use for a given locale.
|
2017-02-25 10:57:00 +00:00 |
|
Tom Hughes
|
430978fab7
|
Improve context menu initialisation to avoid namespace pollution
|
2017-02-12 19:19:13 +00:00 |
|
Tom Hughes
|
043d29fd7e
|
Merge remote-tracking branch 'openstreetmap/pull/1030' into next
|
2017-02-12 15:04:50 +00:00 |
|
Lars Sonchocky-Helldorf
|
df17b997b3
|
Add public gps tiles layer for debugging purposes
Fixes #1239
Closes #1406
|
2017-01-04 19:26:15 +00:00 |
|
Tom Hughes
|
6d9bddfa47
|
Patch classes on the locate control
This replaces the patching of the vendored source that we had been
doing before and which we always forget to apply after updating it.
Fixes #1306
|
2016-09-30 11:15:18 +01:00 |
|
Tom Hughes
|
9f817f8364
|
Set banner expiry correctly
|
2016-08-23 19:23:58 +01:00 |
|
Tom Hughes
|
31c81f108d
|
Set all cookies on the root path
|
2016-08-17 10:04:57 +01:00 |
|
Tom Hughes
|
fb9afd32db
|
Make banner cookies expire after one year
This avoids having lots of cookies stick around forever and
we shouldn't ever have a banner up for that long.
|
2016-08-17 10:02:50 +01:00 |
|
Bryan Housel
|
40abfdd316
|
remove debug statement
|
2016-06-20 19:19:20 -04:00 |
|
Bryan Housel
|
5e27978d3c
|
Add support for rotating banners, add banners for SOTM, SOTMUS
|
2016-06-20 18:09:55 -04:00 |
|
Simon Legner
|
6c3fd1e053
|
Consistent blue marker colour for sharing location
Before, when adding a marker, it was coloured blue. After sharing the marker,
it was coloured red.
|
2016-03-08 23:59:55 +01:00 |
|
Dan Stowell
|
6b0451124c
|
Fix missing semicolon warnings
|
2015-10-12 21:43:00 +01:00 |
|
Dan Stowell
|
35fbcf2815
|
Move contextmenu callbacks to separate file
|
2015-08-19 22:58:20 +01:00 |
|
Dan Stowell
|
e5b5faad72
|
tidier code
|
2015-08-09 19:29:37 +01:00 |
|
Dan Stowell
|
a2cf9b5b9f
|
Enable/disable some context-menu options conditional on zoom
|
2015-08-09 19:11:36 +01:00 |
|