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
Tom Hughes
877867537b
Fix eslint warning
2022-04-18 14:23:02 +01:00
Tom Hughes
2f6eebcd97
Update to leaflet 1.8.0
2022-04-18 14:10:06 +01:00
Tom Hughes
fe79965869
Merge remote-tracking branch 'upstream/pull/3462'
2022-02-22 19:06:43 +00:00
Tom Hughes
398a39dd0a
Make sure the object layer is kept in front of the data layer
2022-02-22 18:55:34 +00:00
Tom Hughes
97bb135957
Don't highlight selected items in the data layer
...
Routing to the feature page is going to cause them to be overlaid
in orange anyway so there's no need for the blue highlight.
2022-02-22 18:54:40 +00:00
Tom Hughes
29d2f48214
Deep copy the original style when highlighting an object
...
Fixes #3465
2022-02-21 22:48:22 +00:00
Tobias Speicher
be878df097
Replace deprecated String.prototype.substr()
...
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-02-20 22:11:11 +01:00
Tom Hughes
9bf0dee51a
Update path to js-cookie
2021-07-27 08:18:53 +01:00
Milos Brzakovic
9fe45bdfe3
iD api url update
2021-07-26 19:11:33 +02:00
Tom Hughes
b4a1e41968
Switch web site to use OAuth 2
2021-06-27 19:00:36 +01:00
Andy Allan
c8f0a81eb7
Rework sidebar to use padding on the sidebar_content div
...
This saves every header, list, paragraph etc having to sort out their own padding. The couple of instances where we want edge-to-edge can be acheived using the negative margin spacing utilities.
The padding is based on $spacer so that it can be adjusted automatically via bootstrap configuration.
This also means that we can remove many (mis-)uses of the browse-section class, which is only supposed to be for cases where there are multiple browse-sections in sequence (e.g. multiple nodes in the node history browse pages).
2021-06-16 15:45:58 +01:00
Andy Allan
c2587b5b57
Rework the routing credit to use a bootstrap class
...
The padding is unnecessary given it's in a paragraph anyway.
2021-06-16 13:28:33 +01: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
Andy Allan
501e256419
Refactor the share panel to use bootstrap forms
2021-02-17 17:17:19 +00:00
Andy Allan
5c086dad6e
Use bootstrap form-check for overlay selection
2021-02-17 17:05:49 +00:00
Tom Hughes
80f576a29b
Fix avatar mode update on file change
2021-02-16 17:12:34 +00:00
Tom Hughes
d15041f847
Use POST to submit OpenID login form
...
Fixes #3084
2021-02-06 15:04:33 +00:00
Tucker Chapman
d257e67842
Remove conditional for polyline layer
...
When a user searches for a route and one is not found the polyline
layer is removed - if they then change the mode of transportation the
event listener will not reroute if there is no polyline layer.
This commit removes the conditional that prevents the routing code from
re-running after the polyline has been removed.
Fixes #3050
Closes #3055
2021-01-28 10:31:33 +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
8ac2302837
Avoid concatenating text to a translation
...
Fixes #3064
2021-01-21 17:15:27 +00:00
Tom Hughes
4abd9cfcf1
Merge remote-tracking branch 'upstream/pull/2994'
2021-01-13 20:40:48 +00:00
Tom Hughes
0ff89c31e4
Remove both Potlatch versions
...
Fixes #2622
2021-01-05 21:18:45 +00:00
Frédéric Rodrigo
bab39572a1
Add CyclOSM layer
2020-12-06 21:29:36 +01:00
Quincy Morgan
b1694ce39e
Update to iD v2.19.0
2020-10-27 17:46:24 -04:00
Tom Hughes
2f03522c42
Fix close handler for welcome message
2020-10-21 20:51:10 +01:00
Tom Hughes
e05748a9ff
Make embed.js depend on the settings
2020-08-28 09:08:28 +01:00
Tom Hughes
6855616870
Allow CDN URL for the embed page to be configured
2020-08-19 21:44:24 +01:00
Tom Hughes
b74977ba8d
Fix marker paths for embedded map
...
Fixes #2763
2020-08-10 18:20:23 +01:00
Tom Hughes
a78da07f0b
Correct path for mapnik marker images
...
Fixes #2759
2020-08-08 11:00:47 +01:00
Tom Hughes
79447e7549
Replace querystring parser with qs yarn module
2020-08-06 20:51:55 +01:00
Tom Hughes
447c05fcb8
Move jquery.cookie to be a yarn managed asset
2020-08-06 19:28:51 +01:00
Tom Hughes
6db96ae2fe
Move ohauth to be a yarn managed asset
2020-08-06 19:28:51 +01:00
Tom Hughes
916c48fd47
Move leaflet.locatecontrol to be a yarn managed asset
2020-08-06 19:28:51 +01:00
Tom Hughes
4dcedf666c
Move leaflet to be a yarn managed asset
2020-08-06 19:28:51 +01:00
Tom Hughes
5b061ef690
Move jquery.simulate to be a yarn managed asset
2020-08-06 19:19:55 +01:00
Tom Hughes
c24c2e481c
Merge remote-tracking branch 'upstream/pull/2667'
2020-08-05 21:50:08 +01:00
Peter
5444506976
turn_costs=true only for car
...
I know there was a bit forth and back in #2695 and my last recommendation was to use turn_costs=true. This was not intended for bike and foot.
2020-07-27 13:04:52 +02: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
Quincy Morgan
de3ddafcd2
Update iD initialization for v2.18.1
2020-07-20 16:14:28 -04:00
Tom Hughes
7986576b0e
Fix eslint warnings
2020-07-19 19:54:17 +01:00
Tom Hughes
2898633e72
Drop ch.disable from graphhopper parameters
2020-07-19 19:38:10 +01:00
Tom Hughes
a9b00e16e7
Merge remote-tracking branch 'upstream/pull/2695'
2020-07-16 19:30:55 +01:00
Tom Hughes
8a013c0a96
Merge remote-tracking branch 'upstream/pull/2711'
2020-07-15 21:31:18 +01:00
Andy Allan
0c098c3a1d
Convert data feature warning to use bootstrap alert
...
Also rearrange dialog to fit with standard sidebar layouts, so that
the close icon and load buttons are not within the paragraph.
There may be a better way to construct this!
2020-07-15 19:34:19 +02:00
Andy Allan
e157b37ce5
Rename nav-related body classes
...
This makes it clearer that the classes are only for navigation menu
matters. Other things should be done on media queries, or ideally,
using bootstrap components like grids.
This has a side effect of removing the smaller font size from the
body when the navigation menu is in the small-nav state.
2020-07-15 11:40:02 +02:00
Tom Hughes
92a4c1feff
Fix eslint warning
2020-07-08 19:25:03 +01:00
Tom Hughes
efa2c20bff
Merge remote-tracking branch 'upstream/pull/2696'
2020-07-08 19:09:55 +01:00