]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update strengthify and fix password strength 4083/head
authorMorris Jobke <hey@morrisjobke.de>
Sun, 26 Mar 2017 21:10:04 +0000 (15:10 -0600)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 27 Mar 2017 16:06:30 +0000 (10:06 -0600)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
bower.json
core/vendor/.gitignore
core/vendor/strengthify/.bower.json
core/vendor/strengthify/jquery.strengthify.js
core/vendor/strengthify/strengthify.css

index 6a64e184b07fa1629e43a72b3f177eef5a8487b7..72f525f985c08cbec2a84825762373a9ac73c906 100644 (file)
@@ -25,7 +25,7 @@
     "select2": "~3.4.8",
     "zxcvbn": "*",
     "snapjs": "~2.0.0-rc1",
-    "strengthify": "^0.5.1",
+    "strengthify": "^0.5.2",
     "underscore": "~1.8.0",
     "bootstrap": "~3.3.6",
     "backbone": "~1.2.3",
index 457fb29eb9905c241f11df7482bb53ca8e848aa1..f6eac907f34a589edb0aca0c3eb9057c01b6a411 100644 (file)
@@ -172,3 +172,7 @@ DOMPurify/**
 !DOMPurify/dist/purify.min.js
 !DOMPurify/.bower.json
 !DOMPurify/LICENSE
+
+# strengthify
+strengthify/examples.html
+strengthify/examples.png
index ad06b8656a66ef44d41094f438f4a1e9093830b6..9a5973c31166fd88af859686d17858e3f400e811 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "strengthify",
-  "version": "0.5.1",
+  "version": "0.5.2",
   "homepage": "https://github.com/MorrisJobke/strengthify",
   "authors": [
     "Eve Ragins <eve.ragins@eve-corp.com",
@@ -9,13 +9,13 @@
   "description": "Combine jQuery and zxcvbn to create a password strength meter.",
   "main": "jquery.strengthify.js",
   "license": "MIT",
-  "_release": "0.5.1",
+  "_release": "0.5.2",
   "_resolution": {
     "type": "version",
-    "tag": "0.5.1",
-    "commit": "fd8bc41992bb37e16495a8e4c266951b93f8467d"
+    "tag": "0.5.2",
+    "commit": "82d63c39de1b7b60ae38d24d0f866cba325904b5"
   },
   "_source": "https://github.com/MorrisJobke/strengthify.git",
-  "_target": "^0.5.1",
+  "_target": "^0.5.2",
   "_originalSource": "strengthify"
 }
\ No newline at end of file
index 1019aab29769ae918201d55b0f252028e30ae94a..046c21502104bf267cb96c432cd30ee5841aaca9 100644 (file)
@@ -2,7 +2,7 @@
  * Strengthify - show the weakness of a password (uses zxcvbn for this)
  * https://github.com/MorrisJobke/strengthify
  *
- * Version: 0.5.1
+ * Version: 0.5.2
  * Author: Morris Jobke (github.com/MorrisJobke) - original
  *         Eve Ragins @ Eve Corp (github.com/eve-corp)
  *
                         css = 'password-good';
                         bsLevel = 'info';
                         message = "Getting better.";
+                        break;
                     case 4:
                         css = 'password-good';
                         bsLevel = 'success';
 
                 $.ajax({
                     cache: true,
-                    dataType: 'script',
                     url: options.zxcvbn
-                }).done(function() {
+                }).done(function(content) {
+                    eval(content);
                     $elem.bind('keyup input change', drawSelf);
                 });
             };
index e8486fb0881b26d5cd4dc23bdd5cfe90a6ee6194..bacdd541eaaa8b853c7bdab7ee0486777d4b75b5 100644 (file)
@@ -1,7 +1,7 @@
 /**
  * Strengthify - show the weakness of a password (uses zxcvbn for this)
  * https://github.com/MorrisJobke/strengthify
- * Version: 0.5.1
+ * Version: 0.5.2
  * License: The MIT License (MIT)
  * Copyright (c) 2013-2016 Morris Jobke <morris.jobke@gmail.com>
  */