Commit graph

20 commits

Author SHA1 Message Date
Andy Allan
6b06be5e5d Fix some eslint errors (quotes, spacing and parseInt radix) on .js.erb files
These have been flagged by eslint-plugin-erb, and need to be fixed before
that plugin can be enabled.
2025-01-24 14:38:13 +00:00
Martin Raifer
9969bc5a24
Update to iD v2.30.1 2024-08-21 11:28:06 +02:00
Martin Raifer
66656e1d1d
only parse hashParams if there is a hash
Presumably this was an oversight in the original implementation, as `OSM.params` falls back to the page's `query` string if the function's parameter (here: the page's `hash`) is an empty string.

This fixes some inconsistent behaviour of the website. In the example below, the first URL sets the `background` to `none` while in the second example it doesn't.

* https://www.openstreetmap.org/edit.html?background=none
* https://www.openstreetmap.org/edit.html?background=none#map=
2022-06-14 20:41:10 +02:00
Martin Raifer
c55d346d5f
Update to iD v2.21.0
major changes in this release:
* dropped support for Internet Explorer 11
* switched authentication to OAuth 2

for further changes please refer to https://github.com/openstreetmap/iD/blob/release/CHANGELOG.md#2210
2022-06-03 15:32:27 +02:00
Milos Brzakovic
9fe45bdfe3 iD api url update 2021-07-26 19:11:33 +02:00
Tom Hughes
0ff89c31e4 Remove both Potlatch versions
Fixes #2622
2021-01-05 21:18:45 +00:00
Quincy Morgan
b1694ce39e Update to iD v2.19.0 2020-10-27 17:46:24 -04:00
Tom Hughes
79447e7549 Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01: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
Bryan Housel
7fb85f1ca6 Pass through photo_overlay parameter
(re: https://github.com/openstreetmap/iD/issues/6492)
2019-06-17 17:26:24 -04:00
Quincy Morgan
3f2a42bf77 Add passthrough of new locale, maprules, and presets URL hash parameters to iD 2019-01-23 12:13:27 -05:00
Bryan Housel
4399cc793f Allow changeset source tag to be settable via url api
(see https://github.com/openstreetmap/iD/issues/4899)
2018-04-16 14:49:46 -04:00
Bryan Housel
2168c2867c Add iD disable_features parameter 2017-11-10 15:57:37 -05:00
Bryan Housel
8d2acb8ef0 Add iD hashtags parameter 2017-08-25 16:24:19 -04:00
Bryan Housel
3ab39f48ba Add iD walkthrough autostart parameter 2017-07-07 17:58:02 -04:00
Tom Hughes
293fb99467 Remove inline javascript from id views 2017-03-01 18:07:22 +00:00
Tom Hughes
fe159b2417 Correct name of zoom argument for Potlatch 2
Fixes #1471
2017-03-01 14:06:05 +00:00
Tom Hughes
1b21b8a209 Remove inline javascript from potlatch2 view 2017-03-01 00:12:42 +00:00
Tom Hughes
8c3d16ecc4 Remove inline javascript from potlatch view 2017-02-28 20:41:22 +00:00