From 899c62f0b46252e1063c9464b953157b0c7a4674 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 31 Oct 2013 18:12:20 -0500 Subject: [PATCH 1/2] Fix package.json --- changelog | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index ce4e8157..27b6631a 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,7 @@ +Thu Oct 31 18:10 2013 CDT + * package.json: Require node-validator < 2.0.0 as a temporary + measure while in-house XSS filtering is developed. + Wed Oct 30 19:28 2013 CDT * www/assets/js/util.js: Fix mod permission check breaking chat box in chat only mode diff --git a/package.json b/package.json index c4eeaf70..d6a66922 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,6 @@ "node_hash": "*", "bcrypt": "*", "nodemailer": "*", - "validator": "*" + "validator": "<2.0.0" } } From ca4970d7eb8da74e11d2d4636885b3753f33bc28 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Mon, 4 Nov 2013 16:13:27 -0600 Subject: [PATCH 2/2] Fix version.py --- version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.py b/version.py index a27d7cac..fdbeb5d3 100644 --- a/version.py +++ b/version.py @@ -42,7 +42,7 @@ with open("package.json", "w") as f: f.write("".join(pkgbuf)) serbuf = [] -with open("server.js") as f: +with open("lib/server.js") as f: for line in f: m = SERVER.search(line) sb = [] @@ -69,5 +69,5 @@ with open("server.js") as f: print("server.js: {} => {}".format(line, "".join(sb))) else: serbuf.append(line) -with open("server.js", "w") as f: +with open("lib/server.js", "w") as f: f.write("".join(serbuf))