Skip to content

Commit

Permalink
Bump elliptic from 6.5.2 to 6.5.3 (#4)
Browse files Browse the repository at this point in the history
* Bump elliptic from 6.5.2 to 6.5.3

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <[email protected]>

* all kinds of updates added

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Francois Rejete <[email protected]>
  • Loading branch information
dependabot[bot] and w00kie authored Aug 4, 2020
1 parent c7260ff commit 57ee677
Show file tree
Hide file tree
Showing 9 changed files with 499 additions and 795 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ development.env
.coverage
.firebaserc
.firebase

# Certificates for localhost testing
localhost.pem
localhost-key.pem
2 changes: 1 addition & 1 deletion Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ COPY --from=builder /install /usr/local

COPY . .

ENTRYPOINT [ "flask", "run", "--host=0.0.0.0" ]
ENTRYPOINT [ "flask", "run", "--cert=localhost.pem", "--key=localhost-key.pem", "--host=0.0.0.0" ]
2 changes: 1 addition & 1 deletion requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ green
pylint
autopep8
selenium
coveralls
coveralls
53 changes: 26 additions & 27 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,44 @@
# pip-compile --output-file=test.txt test.in
#
astroid==2.3.3 # via pylint
autopep8==1.4.4
blinker==1.4
certifi==2019.11.28
autopep8==1.4.4 # via -r test.in
blinker==1.4 # via -r base.txt, sentry-sdk
certifi==2019.11.28 # via -r base.txt, requests, sentry-sdk
chardet==3.0.4 # via requests
click==7.0
click==7.0 # via -r base.txt, flask, pip-tools
colorama==0.4.3 # via green
coverage==5.0.1 # via coveralls, green
coveralls==1.10.0
coveralls==1.10.0 # via -r test.in
docopt==0.6.2 # via coveralls
envparse==0.2.0
flask-cdn==1.5.3
flask-testing==0.7.1
flask==1.1.1
gitdb2==2.0.6
gitpython==3.0.5
green==3.0.0
gunicorn==20.0.4
envparse==0.2.0 # via -r base.txt
flask-cdn==1.5.3 # via -r base.txt
flask-testing==0.7.1 # via -r test.in
flask==1.1.1 # via -r base.txt, flask-cdn, flask-testing, sentry-sdk
gitdb2==2.0.6 # via -r base.txt, gitpython
gitpython==3.0.5 # via -r base.txt
green==3.0.0 # via -r test.in
gunicorn==20.0.4 # via -r base.txt
idna==2.8 # via requests
isort==4.3.21 # via pylint
itsdangerous==1.1.0
jinja2==2.10.3
itsdangerous==1.1.0 # via -r base.txt, flask
jinja2==2.10.3 # via -r base.txt, flask
lazy-object-proxy==1.4.3 # via astroid
lxml==4.4.2 # via green
markupsafe==1.1.1
markupsafe==1.1.1 # via -r base.txt, jinja2
mccabe==0.6.1 # via pylint
pip-tools==4.3.0
pip-tools==4.3.0 # via -r base.txt
pycodestyle==2.5.0 # via autopep8
pylint==2.4.4
pysolar==0.8
pytz==2019.3
pylint==2.4.4 # via -r test.in
pysolar==0.8 # via -r base.txt
pytz==2019.3 # via -r base.txt
requests==2.22.0 # via coveralls
selenium==3.141.0
sentry-sdk[flask]==0.13.5
six==1.13.0
smmap2==2.0.5
typed-ast==1.4.0 # via astroid
selenium==3.141.0 # via -r test.in
sentry-sdk[flask]==0.13.5 # via -r base.txt
six==1.13.0 # via -r base.txt, astroid, pip-tools
smmap2==2.0.5 # via -r base.txt, gitdb2
unidecode==1.1.1 # via green
urllib3==1.25.7
werkzeug==0.16.0
urllib3==1.25.7 # via -r base.txt, requests, selenium, sentry-sdk
werkzeug==0.16.0 # via -r base.txt, flask
wrapt==1.11.2 # via astroid

# The following packages are considered to be unsafe in a requirements file:
Expand Down
2 changes: 1 addition & 1 deletion static/js/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/js/bundle.js.map

Large diffs are not rendered by default.

23 changes: 13 additions & 10 deletions static/src/tools.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@ import {Spinner} from 'spin.js'

$ ->
# Create map
# If geolocated, set current position as center
if google.loader.ClientLocation
latlng = new google.maps.LatLng google.loader.ClientLocation.latitude, google.loader.ClientLocation.longitude
else # Else center in Tokyo
latlng = new google.maps.LatLng(35.41, 139.44)

# Enable the visual refresh
google.maps.visualRefresh = true

tokyo = new google.maps.LatLng(35.41, 139.44)

myOptions =
zoom: 9
center: latlng
center: tokyo
mapTypeId: google.maps.MapTypeId.ROADMAP

map = new google.maps.Map document.getElementById("map_canvas"), myOptions

askGeolocation map

# Default marker position
markerpos = new google.maps.LatLng 1, 1

Expand Down Expand Up @@ -123,11 +121,16 @@ $ ->
else
# Try HTML5 geolocation
# Do it only if no location in URL as asynchronous geoloc messes with fitBounds
if navigator.geolocation
navigator.geolocation.getCurrentPosition (position) =>
askGeolocation map


askGeolocation = (map) ->
if navigator.geolocation
navigator.geolocation.getCurrentPosition(
(position) ->
latlng = new google.maps.LatLng position.coords.latitude, position.coords.longitude
map.panTo latlng

)

getAzimuth = (pov, poi) ->
povLat = pov.lat().toRad()
Expand Down
8 changes: 3 additions & 5 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
{% block css %}{% endblock %}

<!-- Additional JavaScript libraries and plugins... -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="//www.google.com/jsapi"></script>
<script>
// Load jQuery
google.load("jquery", "1");
google.load("jqueryui", "1");
</script>
{% block js %}{% endblock %}

<!-- Google Analytics tracking code -->
Expand Down
Loading

0 comments on commit 57ee677

Please sign in to comment.