From 3159c3e230b403377b826792fa53a5e18ea789e2 Mon Sep 17 00:00:00 2001 From: Samuel Dion-Girardeau Date: Thu, 11 Aug 2016 20:44:18 -0400 Subject: [PATCH 01/41] Prevent browser autocompletion of password Using the `autocomplete="off" attribute --- snappass/templates/set_password.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappass/templates/set_password.html b/snappass/templates/set_password.html index d145cb6..784a89d 100644 --- a/snappass/templates/set_password.html +++ b/snappass/templates/set_password.html @@ -5,7 +5,7 @@
- + + +
{% endblock %} + +{% block js %} + + +{% endblock %} diff --git a/snappass/templates/password.html b/snappass/templates/password.html index 687e54a..ff2cb6e 100644 --- a/snappass/templates/password.html +++ b/snappass/templates/password.html @@ -4,8 +4,20 @@
-

{{ password }}

+
+ + +

Remember to copy this password! It's been deleted from the database and can't be re-accessed.

{% endblock %} + +{% block js %} + + +{% endblock %} From 26972a2f52fd9c8908236e336002a3119af19023 Mon Sep 17 00:00:00 2001 From: Samuel Dion-Girardeau Date: Sat, 20 Aug 2016 15:47:18 -0400 Subject: [PATCH 10/41] Move snappass-specific js/css into separate dir --- snappass/static/{ => snappass}/css/custom.css | 0 snappass/static/{ => snappass}/scripts/clipboard_button.js | 0 snappass/templates/base.html | 2 +- snappass/templates/confirm.html | 2 +- snappass/templates/password.html | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename snappass/static/{ => snappass}/css/custom.css (100%) rename snappass/static/{ => snappass}/scripts/clipboard_button.js (100%) diff --git a/snappass/static/css/custom.css b/snappass/static/snappass/css/custom.css similarity index 100% rename from snappass/static/css/custom.css rename to snappass/static/snappass/css/custom.css diff --git a/snappass/static/scripts/clipboard_button.js b/snappass/static/snappass/scripts/clipboard_button.js similarity index 100% rename from snappass/static/scripts/clipboard_button.js rename to snappass/static/snappass/scripts/clipboard_button.js diff --git a/snappass/templates/base.html b/snappass/templates/base.html index 468e416..6725c90 100644 --- a/snappass/templates/base.html +++ b/snappass/templates/base.html @@ -5,7 +5,7 @@ Send Password - +