Skip to content

Commit 9f66b5b

Browse files
committed
v2.0b1
2 parents d9dbf3b + ac20438 commit 9f66b5b

31 files changed

+155
-19505
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 2.0
2+
3+
This is backward incompatible version, as the templates moved to `passkeys` folder
4+
and the names are lowercase now. please check the README.md for more details.
5+
6+
* Upgraded the FIDO2 dependency to be >1.1.1.
7+
* Added `login_required` to some functions
8+
* `delKey` accepts POST now not GET.
9+
10+
Thanks for [smark-1](https://github.com/smark-1) and [rafaelurben](https://github.com/rafaelurben) for the work done in the release
11+
12+
13+
114
## v1.2.7
215

316
* Fix: issue if the user isn't defined by username field #25.

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Currently, it support Django 2.0+, Python 3.7+
6363
6. To match the look and feel of your project, Passkeys includes `base.html` but it needs blocks named `head` & `content` to added its content to it.
6464
**Notes:**
6565

66-
1. You can override `PassKeys_base.html` which is used by `Passkeys.html` so you can control the styling better and current `Passkeys_base.html` extends `base.html`
67-
1. Currently, `PassKeys_base.html` needs JQuery and bootstrap.
66+
1. You can override `passkeys/passkeys_base.html` which is used by `passkeys/passkeys.html` so you can control the styling better and current `passkeys/passkeys_base.html` extends `base.html`
67+
1. Currently, `passkeys/passkeys_base.html` needs bootstrap 5.
6868

6969
7. Somewhere in your app, add a link to 'passkeys:home'
7070
```<li><a href="{% url 'passkeys:home' %}">Passkeys</a> </li>```
@@ -79,7 +79,7 @@ Currently, it support Django 2.0+, Python 3.7+
7979
```html
8080
<input type="hidden" name="passkeys" id="passkeys"/>
8181
<button class="btn btn-block btn-dark" type="button" onclick="authn('loginForm')"><img src="{% static 'passkeys/imgs/FIDO-Passkey_Icon-White.png' %}" style="width: 24px"></button>
82-
{%include 'passkeys.js' %}
82+
{%include 'passkeys/passkeys.js' %}
8383
```
8484
For Example, See 'example' app and look at EXAMPLE.md to see how to set it up.
8585

@@ -107,7 +107,7 @@ function register_pk()
107107
{
108108
$('#pk').show();
109109
}
110-
{% include 'check_passkeys.js'%}
110+
{% include 'passkeys/check_passkeys.js'%}
111111
$(document).ready(check_passkey(true,register_pk))
112112
</script>
113113
```
@@ -147,6 +147,9 @@ Tidelift will coordinate the fix and disclosure.
147147
* [jacopsd](https://github.com/jacopsd)
148148
* [gasparbrogueira](https://github.com/gasparbrogueira)
149149
* [pulse-mind](https://github.com/pulse-mind)
150+
* [smark-1](https://github.com/smark-1)
151+
* [rafaelurben](https://github.com/rafaelurben)
152+
150153

151154

152155

example/static/js/sb-admin.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

example/static/js/sb-admin.min.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

example/static/vendor/bootstrap/js/bootstrap.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/static/vendor/bootstrap/js/bootstrap.bundle.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/static/vendor/bootstrap/js/bootstrap.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/static/vendor/jquery-easing/jquery.easing.compatibility.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

example/static/vendor/jquery-easing/jquery.easing.js

Lines changed: 0 additions & 166 deletions
This file was deleted.

example/static/vendor/jquery-easing/jquery.easing.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)