1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/django-fmd_ynh.git synced 2024-09-03 18:26:27 +02:00

django-fmd==0.3.1

This commit is contained in:
JensDiemer 2022-08-10 18:22:25 +02:00
parent 6316ad7701
commit 3a6744dc67
6 changed files with 36 additions and 35 deletions

View file

@ -34,9 +34,9 @@ django-axes==5.36.0; python_version >= "3.7" and python_full_version < "4.0.0" \
django-debug-toolbar==3.5.0; python_version >= "3.7" and python_full_version < "4.0.0" \ django-debug-toolbar==3.5.0; python_version >= "3.7" and python_full_version < "4.0.0" \
--hash=sha256:97965f2630692de316ea0c1ca5bfa81660d7ba13146dbc6be2059cf55b35d0e5 \ --hash=sha256:97965f2630692de316ea0c1ca5bfa81660d7ba13146dbc6be2059cf55b35d0e5 \
--hash=sha256:89a52128309eb4da12738801ff0c202d2ff8730d1c3225fac6acf630c303e661 --hash=sha256:89a52128309eb4da12738801ff0c202d2ff8730d1c3225fac6acf630c303e661
django-fmd==0.3.0; python_version >= "3.7" and python_full_version < "4.0.0" \ django-fmd==0.3.1; python_version >= "3.7" and python_full_version < "4.0.0" \
--hash=sha256:3f37abb95baf8c31ee002fdd92a664f9c39b4482e9018006ba07c245557975df \ --hash=sha256:89621bdbed70a09278b4011b759ee29a4e1db5434f0cb482648ff68acae09c9f \
--hash=sha256:037ef14461161555d0d842a10038d52a1d8eff012a6ec005bddddff1dbf0ad45 --hash=sha256:76f62cb4972d2ef52721b792c9eca70ad6e9daf4f64d64938d6089e81ca473cd
django-ipware==4.0.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "4.0.0" and python_full_version >= "3.6.0" \ django-ipware==4.0.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "4.0.0" and python_full_version >= "3.6.0" \
--hash=sha256:602a58325a4808bd19197fef2676a0b2da2df40d0ecf21be414b2ff48c72ad05 \ --hash=sha256:602a58325a4808bd19197fef2676a0b2da2df40d0ecf21be414b2ff48c72ad05 \
--hash=sha256:878dbb06a87e25550798e9ef3204ed70a200dd8b15e47dcef848cf08244f04c9 --hash=sha256:878dbb06a87e25550798e9ef3204ed70a200dd8b15e47dcef848cf08244f04c9

View file

@ -5,7 +5,7 @@
"description": { "description": {
"en": "Web based FritzBox management using Python/Django." "en": "Web based FritzBox management using Python/Django."
}, },
"version": "0.3.0~ynh1", "version": "0.3.1~ynh1",
"url": "https://gitlab.com/jedie/django-find-my-device", "url": "https://gitlab.com/jedie/django-find-my-device",
"upstream": { "upstream": {
"license": "GPL-3.0", "license": "GPL-3.0",

8
poetry.lock generated
View file

@ -295,7 +295,7 @@ sqlparse = ">=0.2.0"
[[package]] [[package]]
name = "django-fmd" name = "django-fmd"
version = "0.3.0" version = "0.3.1"
description = "Server for 'Find My Device' android app, implemented in Django/Python" description = "Server for 'Find My Device' android app, implemented in Django/Python"
category = "main" category = "main"
optional = false optional = false
@ -887,7 +887,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = ">=3.7,<4.0.0" python-versions = ">=3.7,<4.0.0"
content-hash = "f5779544801c5d184cbcfcd0265200b6d5d92cf4b0f78179a9fe42135ce4650b" content-hash = "629dbab9c11611ead745199bba20e20c5c867ed1fa53bdc1c80237ffe3a960ef"
[metadata.files] [metadata.files]
asgiref = [ asgiref = [
@ -1042,8 +1042,8 @@ django-debug-toolbar = [
{file = "django_debug_toolbar-3.5.0-py3-none-any.whl", hash = "sha256:89a52128309eb4da12738801ff0c202d2ff8730d1c3225fac6acf630c303e661"}, {file = "django_debug_toolbar-3.5.0-py3-none-any.whl", hash = "sha256:89a52128309eb4da12738801ff0c202d2ff8730d1c3225fac6acf630c303e661"},
] ]
django-fmd = [ django-fmd = [
{file = "django-fmd-0.3.0.tar.gz", hash = "sha256:3f37abb95baf8c31ee002fdd92a664f9c39b4482e9018006ba07c245557975df"}, {file = "django-fmd-0.3.1.tar.gz", hash = "sha256:89621bdbed70a09278b4011b759ee29a4e1db5434f0cb482648ff68acae09c9f"},
{file = "django_fmd-0.3.0-py3-none-any.whl", hash = "sha256:037ef14461161555d0d842a10038d52a1d8eff012a6ec005bddddff1dbf0ad45"}, {file = "django_fmd-0.3.1-py3-none-any.whl", hash = "sha256:76f62cb4972d2ef52721b792c9eca70ad6e9daf4f64d64938d6089e81ca473cd"},
] ]
django-ipware = [ django-ipware = [
{file = "django-ipware-4.0.2.tar.gz", hash = "sha256:602a58325a4808bd19197fef2676a0b2da2df40d0ecf21be414b2ff48c72ad05"}, {file = "django-ipware-4.0.2.tar.gz", hash = "sha256:602a58325a4808bd19197fef2676a0b2da2df40d0ecf21be414b2ff48c72ad05"},

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "django-fmd_ynh" name = "django-fmd_ynh"
version = "0.3.0~ynh1" version = "0.3.1~ynh1"
description = "Test django-fmd_ynh via local_test.py" description = "Test django-fmd_ynh via local_test.py"
authors = ["JensDiemer <git@jensdiemer.de>"] authors = ["JensDiemer <git@jensdiemer.de>"]
license = "GPL" license = "GPL"
@ -8,7 +8,7 @@ license = "GPL"
[tool.poetry.dependencies] [tool.poetry.dependencies]
# Keep Python 3.7 until Yunohost contains a newer Python Version ;) # Keep Python 3.7 until Yunohost contains a newer Python Version ;)
python = ">=3.7,<4.0.0" python = ">=3.7,<4.0.0"
django-fmd = ">=0.3.0" # https://gitlab.com/jedie/django-find-my-device django-fmd = ">=0.3.1" # https://gitlab.com/jedie/django-find-my-device
# Note: "ynh" extras will install gunicorn, psycopg2, django-redis and django-axes # Note: "ynh" extras will install gunicorn, psycopg2, django-redis and django-axes
django_yunohost_integration = {version = ">=v0.2.0", extras = ["ynh"]} django_yunohost_integration = {version = ">=v0.2.0", extras = ["ynh"]}

View file

@ -94,7 +94,8 @@ class DjangoYnhTestCase(HtmlAssertionMixin, TestCase):
parts=( parts=(
'<title>FMD</title>', '<title>FMD</title>',
'<h2>Find My Device</h2>', '<h2>Find My Device</h2>',
'<script src="/static/fmd_externals/logic.js"></script>', '<link rel="stylesheet" href="./static/fmd_externals/style.css">',
'<script src="./static/fmd_externals/logic.js"></script>',
), ),
) )
assert_html_response_snapshot(response2, query_selector=None, validate=False) assert_html_response_snapshot(response2, query_selector=None, validate=False)

View file

@ -8,18 +8,18 @@
<meta content="no-cache, must-revalidate, post-check=0, pre-check=0" http-equiv="cache-control"> <meta content="no-cache, must-revalidate, post-check=0, pre-check=0" http-equiv="cache-control">
<meta content="max-age=0" http-equiv="cache-control"/> <meta content="max-age=0" http-equiv="cache-control"/>
<meta content="0" http-equiv="expires"/> <meta content="0" http-equiv="expires"/>
<link href="/static/fmd_externals/style.css" rel="stylesheet"/> <link href="./static/fmd_externals/style.css" rel="stylesheet"/>
<script src="/static/fmd_externals/leaflet.js"> <script src="./static/fmd_externals/leaflet.js">
</script> </script>
<link href="/static/fmd_externals/leaflet.css" rel="stylesheet"> <link href="./static/fmd_externals/leaflet.css" rel="stylesheet">
<script src="/static/fmd_externals/crypto-js.js" type="text/javascript"> <script src="./static/fmd_externals/crypto-js.js" type="text/javascript">
</script> </script>
<script async="" src="/static/fmd_externals/jsencrypt.min.js"> <script async="" src="./static/fmd_externals/jsencrypt.min.js">
</script> </script>
<link href="/static/fmd_externals/toasted.min.css" rel="stylesheet"/> <link href="./static/fmd_externals/toasted.min.css" rel="stylesheet"/>
<script src="/static/fmd_externals/toasted.min.js"> <script src="./static/fmd_externals/toasted.min.js">
</script> </script>
<script src="/static/fmd_externals/logic.js"> <script src="./static/fmd_externals/logic.js">
</script> </script>
<body onload="init();"> <body onload="init();">
<div id="head"> <div id="head">
@ -61,7 +61,7 @@
<div class="row"> <div class="row">
<div class="column-left"> <div class="column-left">
<div class="center"> <div class="center">
<img height="96" src="/static/fmd_externals/assets/Smartphone.png"/> <img height="96" src="./static/fmd_externals/assets/Smartphone.png"/>
</div> </div>
<div class="center" style="margin-top:1vw"> <div class="center" style="margin-top:1vw">
<p id="batView"> <p id="batView">
@ -81,10 +81,10 @@
</p> </p>
<div> <div>
<button class="imageButton" onclick="locateOlder()" type="button"> <button class="imageButton" onclick="locateOlder()" type="button">
<img height="24" src="/static/fmd_externals/assets/Left.png"/> <img height="24" src="./static/fmd_externals/assets/Left.png"/>
</button> </button>
<button class="imageButton" onclick="locateNewer()" type="button"> <button class="imageButton" onclick="locateNewer()" type="button">
<img height="24" src="/static/fmd_externals/assets/Right.png"/> <img height="24" src="./static/fmd_externals/assets/Right.png"/>
</button> </button>
</div> </div>
<div> <div>
@ -99,19 +99,19 @@
</p> </p>
</div> </div>
<button class="imageButton" onclick="sendToPhone('locate')" title="Locate" type="button"> <button class="imageButton" onclick="sendToPhone('locate')" title="Locate" type="button">
<img height="36" src="/static/fmd_externals/assets/Locate.png"/> <img height="36" src="./static/fmd_externals/assets/Locate.png"/>
</button> </button>
<button class="imageButton" onclick="sendToPhone('ring')" title="Ring" type="button"> <button class="imageButton" onclick="sendToPhone('ring')" title="Ring" type="button">
<img height="36" src="/static/fmd_externals/assets/Ring.png"/> <img height="36" src="./static/fmd_externals/assets/Ring.png"/>
</button> </button>
<button class="imageButton" onclick="sendToPhone('lock')" title="Lock" type="button"> <button class="imageButton" onclick="sendToPhone('lock')" title="Lock" type="button">
<img height="36" src="/static/fmd_externals/assets/Locked.png"/> <img height="36" src="./static/fmd_externals/assets/Locked.png"/>
</button> </button>
<button class="imageButton" onclick="sendToPhone('delete')" title="Delete" type="button"> <button class="imageButton" onclick="sendToPhone('delete')" title="Delete" type="button">
<img height="36" src="/static/fmd_externals/assets/Delete.png"/> <img height="36" src="./static/fmd_externals/assets/Delete.png"/>
</button> </button>
<button class="imageButton" onclick="showPicture()" title="Picture" type="button"> <button class="imageButton" onclick="showPicture()" title="Picture" type="button">
<img height="36" src="/static/fmd_externals/assets/Picture.png"/> <img height="36" src="./static/fmd_externals/assets/Picture.png"/>
</button> </button>
</div> </div>
</div> </div>
@ -120,7 +120,7 @@
<div class="row"> <div class="row">
<div class="column-left"> <div class="column-left">
<div class="center"> <div class="center">
<img height="48" src="/static/fmd_externals/assets/Smartphone.png"/> <img height="48" src="./static/fmd_externals/assets/Smartphone.png"/>
</div> </div>
<div class="center" style="margin-top:1vw"> <div class="center" style="margin-top:1vw">
<p id="batView"> <p id="batView">
@ -140,10 +140,10 @@
</p> </p>
<div> <div>
<button class="imageButton" onclick="locateOlder()" type="button"> <button class="imageButton" onclick="locateOlder()" type="button">
<img height="24" src="/static/fmd_externals/assets/Left.png"/> <img height="24" src="./static/fmd_externals/assets/Left.png"/>
</button> </button>
<button class="imageButton" onclick="locateNewer()" type="button"> <button class="imageButton" onclick="locateNewer()" type="button">
<img height="24" src="/static/fmd_externals/assets/Right.png"/> <img height="24" src="./static/fmd_externals/assets/Right.png"/>
</button> </button>
</div> </div>
<div> <div>
@ -158,19 +158,19 @@
</p> </p>
</div> </div>
<button class="imageButton" onclick="sendToPhone('locate')" title="Locate" type="button"> <button class="imageButton" onclick="sendToPhone('locate')" title="Locate" type="button">
<img height="24" src="/static/fmd_externals/assets/Locate.png"/> <img height="24" src="./static/fmd_externals/assets/Locate.png"/>
</button> </button>
<button class="imageButton" onclick="sendToPhone('ring')" title="Ring" type="button"> <button class="imageButton" onclick="sendToPhone('ring')" title="Ring" type="button">
<img height="24" src="/static/fmd_externals/assets/Ring.png"/> <img height="24" src="./static/fmd_externals/assets/Ring.png"/>
</button> </button>
<button class="imageButton" onclick="sendToPhone('lock')" title="Lock" type="button"> <button class="imageButton" onclick="sendToPhone('lock')" title="Lock" type="button">
<img height="24" src="/static/fmd_externals/assets/Locked.png"/> <img height="24" src="./static/fmd_externals/assets/Locked.png"/>
</button> </button>
<button class="imageButton" onclick="sendToPhone('delete')" title="Delete" type="button"> <button class="imageButton" onclick="sendToPhone('delete')" title="Delete" type="button">
<img height="24" src="/static/fmd_externals/assets/Delete.png"/> <img height="24" src="./static/fmd_externals/assets/Delete.png"/>
</button> </button>
<button class="imageButton" onclick="showPicture()" title="Picture" type="button"> <button class="imageButton" onclick="showPicture()" title="Picture" type="button">
<img height="24" src="/static/fmd_externals/assets/Picture.png"/> <img height="24" src="./static/fmd_externals/assets/Picture.png"/>
</button> </button>
</div> </div>
</div> </div>