Commit graph

785 commits

Author SHA1 Message Date
alexcojocaru
3c1f5d0d6d Merge remote-tracking branch 'upstream/master' into heightgraph-transpiled 2020-12-21 21:26:53 -08:00
alexcojocaru
63d080d14b Move the GeoJSON building functionality into separate module, and reference it 2020-12-20 22:51:19 -08:00
dependabot[bot]
5e86d46d79
Bump ini from 1.3.5 to 1.3.7 (#355)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 18:13:50 +01:00
Norbert Renner
87c571d976
Merge pull request #354 from bagage/fix/compat-opera
Update dev deps, fix compat issue
2020-12-05 16:18:37 +01:00
Gautier P
d09b9cfce4 Upgrade eslint 2020-12-05 13:44:51 +01:00
Gautier P
7de2bf6f21 Update husky 2020-12-05 13:10:44 +01:00
Gautier P
fe2c35a283 Update promise-polyfill 2020-12-05 13:10:22 +01:00
Gautier P
7701c39b3d Update npmfiles 2020-12-05 13:09:49 +01:00
Gautier P
13c48665aa Update i18next 2020-12-05 13:06:17 +01:00
Gautier P
d2452e6222 Remove tether 2020-12-05 13:04:48 +01:00
Gautier P
9e5bf826ce Update whatwg-fetch 2020-12-05 12:53:57 +01:00
Gautier P
5758149e0d Upgrade gulp deps 2020-12-05 12:51:17 +01:00
Gautier P
d5fc432565 Update husky 2020-12-05 12:47:31 +01:00
Gautier P
9e2b92677b Run lint in travis 2020-12-05 12:47:31 +01:00
Gautier P
25429b3c24 Update prettier version 2020-12-05 11:51:16 +01:00
Norbert Renner
c49b821db7 release: 0.14.0 2020-12-04 22:09:04 +01:00
Norbert Renner
b41d0e7483 Update CHANGELOG.md 2020-12-04 21:53:12 +01:00
Norbert Renner
feec92dc17 Update translations 2020-12-04 21:33:29 +01:00
Norbert Renner
1d78e03d0a Show inverted polygon for allowed zone 2020-12-04 19:47:49 +01:00
Norbert Renner
04d549ad61
Merge pull request #350 from bagage/fix/limit-area 2020-12-04 10:48:45 +01:00
Gautier P
a2366a26bd Split ring in two to avoid routing issue 2020-12-03 21:04:55 +01:00
Norbert Renner
686e6d1a2f Fix Dependabot alert for http-proxy 2020-12-03 10:11:35 +01:00
Gautier P
8ca602575c Do not override nogos on url load (#349) 2020-12-02 21:11:57 +01:00
Gautier P
fde629fcb0 Reduce circle segments count (#349) 2020-12-02 21:03:28 +01:00
Gautier P
5995e2e879 Do not crash if circlego is not enabled (#349) 2020-12-02 21:03:18 +01:00
Gautier P
779c720b7d
Add 20km allowed zone icon (#347)
Co-authored-by: Gautier P <gautier_git@damsy.net>
2020-12-01 20:56:14 +01:00
Gautier P
1958f55f18 Update translations 2020-11-14 00:03:33 +01:00
Gautier P
1d5ade4d32 Fix typo 2020-11-14 00:03:32 +01:00
alexcojocaru
d83fddd4ed Set elevation on points without it (workaround for bug in Leaflet.Heightgraph) 2020-11-11 13:27:31 -08:00
alexcojocaru
f1d2855dca Add back the collapse/expand and resize improvements 2020-11-04 20:09:40 -08:00
alexcojocaru
0a67545e63 Clean up logging 2020-11-03 19:56:55 -08:00
alexcojocaru
dd3c9921e2 More testing... 2020-11-03 19:34:26 -08:00
alexcojocaru
0fd13b0e8f Testing... 2020-11-02 22:42:27 -08:00
alexcojocaru
6bb769c2da Handle undefined altitude coordinate on latLng points 2020-11-02 21:14:49 -08:00
alexcojocaru
0005752cee Redo the Heightgraph patch as IIFE 2020-11-02 21:14:11 -08:00
alexcojocaru
dff71c5e44 clarify comment 2020-10-26 22:34:49 -07:00
alexcojocaru
6b5912e16a clean up; prod ready 2020-10-26 22:19:38 -07:00
alexcojocaru
73ad89e727 improvements to gradient normalization 2020-10-26 22:19:38 -07:00
alexcojocaru
0adc28d5df normalize gradient 2020-10-26 22:19:38 -07:00
alexcojocaru
75b68ebfe1 add comments; clean up 2020-10-26 22:19:38 -07:00
alexcojocaru
bd0679d15c Fix conflicts in Heightgraph integration 2020-10-26 22:19:37 -07:00
alexcojocaru
77ed28cb76 Use Heightgraph transpiled 2020-10-26 22:19:37 -07:00
alexcojocaru
5fd3977768 Use Heightgraph in lieu of Elevation (part V)
- fix the grade calculation
- don't show the grade labels, as they are all over (should be normalized)
- fix the display issues by overridding the heightgraph CSS
2020-10-26 22:19:37 -07:00
alexcojocaru
8fcec8ec86 Use Heightgraph in lieu of Elevation (part IV)
Build the GeoJSON object manually.
2020-10-26 22:19:37 -07:00
alexcojocaru
37a0f9b972 Use Heightgraph in lieu of Elevation (part III)
- remove old comments and unusable commented out code
2020-10-26 22:19:36 -07:00
alexcojocaru
c17e6ed711 Use Heightgraph in lieu of Elevation (part II)
- Heightgraph supports resizing; remove the Elevation specific
  workaround which was readding the data
- resize the elevation chart on window resize and chart show
2020-10-26 22:19:36 -07:00
alexcojocaru
840f4daf72 Use Heightgraph in lieu of Elevation 2020-10-26 22:19:36 -07:00
dependabot[bot]
713d317ded
Bump node-fetch from 2.3.0 to 2.6.1 (#334)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.3.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.3.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-24 12:31:50 +02:00
Antonin Delpeuch
7c02d78f0b
Fix color coding by cost. Closes #340. (#341)
Fix color coding by cost. Closes #340.

This makes sure it is relative to the length of the path.
2020-10-24 12:28:26 +02:00
Gautier P
652de90c06 Remove unused variable 2020-09-26 08:39:46 +02:00