[Pkg-mozext-commits] [wot] 18/226: Show an update page for versions >20120302 and treat the update page as a settings page

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository wot.

commit 6c725a13f1ac4f2a47357e60526216d18e15b4e8
Author: Sami Tolvanen <sami at mywot.com>
Date:   Sun Mar 4 10:48:24 2012 +0200

    Show an update page for versions >20120302 and treat the update page as a settings page
---
 content/config.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/content/config.js b/content/config.js
index 03bf17c..22aef81 100644
--- a/content/config.js
+++ b/content/config.js
@@ -19,7 +19,7 @@
 */
 
 const WOT_PLATFORM = "firefox";
-const WOT_VERSION  = "20120302";
+const WOT_VERSION  = "20120304";
 
 /*
  * Constants
@@ -177,9 +177,9 @@ const WOT_BLOCK_BLOCKED = "chrome://wot/locale/blocked.html";
  */
 
 const WOT_PREF_PATH = "settings/";
-const WOT_PREF_FORWARD_TAB_MATCH = 6;
-const WOT_PREF_FORWARD = /^http(s)?\:\/\/(www\.)?mywot\.com\/([^\/]{2}(-[^\/]+)?\/)?settings(\/([^\/]+))?\/?$/;
-const WOT_PREF_TRIGGER = /^http(s)?\:\/\/(www\.)?mywot\.com\/([^\/]{2}(-[^\/]+)?\/)?settings\/.+/;
+const WOT_PREF_FORWARD_TAB_MATCH = 7;
+const WOT_PREF_FORWARD = /^http(s)?\:\/\/(www\.)?mywot\.com\/([^\/]{2}(-[^\/]+)?\/)?(settings|update)(\/([^\/]+))?\/?$/;
+const WOT_PREF_TRIGGER = /^http(s)?\:\/\/(www\.)?mywot\.com\/([^\/]{2}(-[^\/]+)?\/)?(settings|update)\/.+/;
 
 const WOT_PREF = "weboftrust.";
 
@@ -199,7 +199,7 @@ const WOT_SEARCH_TYPE_APP0		= 2;
 
 /* First run */
 const WOT_FIRSTRUN_WELCOME = 1;
-const WOT_FIRSTRUN_CURRENT = 2;
+const WOT_FIRSTRUN_CURRENT = 3;
 const WOT_UPDATE_PATH = "update/";
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git



More information about the Pkg-mozext-commits mailing list