]> WPIA git - gigi.git/commitdiff
chg: adjust wording and target for static links
authorINOPIAE <m.maengel@inopiae.de>
Mon, 29 Jan 2018 03:55:21 +0000 (04:55 +0100)
committerINOPIAE <m.maengel@inopiae.de>
Tue, 30 Jan 2018 19:40:17 +0000 (20:40 +0100)
fixes issues #146

Change-Id: If116abe20d4ad61a2bebbd6d74f9bf9186ba2ef1

14 files changed:
links.txt
src/club/wpia/gigi/Gigi.templ
src/club/wpia/gigi/pages/LoginPage.templ
src/club/wpia/gigi/pages/MainPageNotLogin.templ
src/club/wpia/gigi/pages/PasswordResetForm.templ
src/club/wpia/gigi/pages/account/ChangePasswordForm.templ
src/club/wpia/gigi/pages/account/certs/CertificateDisplay.templ
src/club/wpia/gigi/pages/account/certs/RequestCertificate.templ
src/club/wpia/gigi/pages/main/RegisterPage.templ
src/club/wpia/gigi/pages/main/Signup.java
src/club/wpia/gigi/pages/main/Signup.templ
src/club/wpia/gigi/pages/wot/Rules.templ
src/club/wpia/gigi/pages/wot/VerificationForm.templ
src/club/wpia/gigi/util/PasswordStrengthChecker.java

index 51d8ab6cc45e388843e2bf2cacd2cb1bdc6a1dbe..e68f4e90053cb94d2d367c7b8d0760ba638cf6ba 100644 (file)
--- a/links.txt
+++ b/links.txt
@@ -1,17 +1,17 @@
 /policy
 /policy
+/policy/dataPrivacy
 /policy/ToS
 /policy/CPS
 /policy/verification
 /policy/ToS
 /policy/CPS
 /policy/verification
-/wiki/agentQualifyingChallenge
-/wiki/gigi
-/wiki/CSR
-/wiki/names
-/wiki/lostPassword
-/wiki/goodPassword
-/wiki/verificationHandbook
+/kb/acceptableDocuments
+/kb/agentQualifyingChallenge
+/kb/gigi
+/kb/CSR
+/kb/names
+/kb/lostPassword
+/kb/goodPassword
+/kb/verificationHandbook
 /ttp/user
 /ttp/country
 /ttp/user
 /ttp/country
-/acceptableDocuments
 /blog
 /imprint
 /blog
 /imprint
-/dataPrivacy
index 1c68829f679c4fcc2665eeabcda597b4cfca8dd1..42772dbf2ee83b0267d9ff49624fbed2e1de82dc 100644 (file)
@@ -54,7 +54,7 @@
             Page info | 
                        ©2016-<?=$year?> <?=_${appName}?> <?=_powered by?> <a href="//wpia.club" target="_blank">WPIA (World Privacy and Identity Association)</a> |
                        <?=_!(/imprint)Imprint!'</a>'?> |
             Page info | 
                        ©2016-<?=$year?> <?=_${appName}?> <?=_powered by?> <a href="//wpia.club" target="_blank">WPIA (World Privacy and Identity Association)</a> |
                        <?=_!(/imprint)Imprint!'</a>'?> |
-                       <?=_!(/dataPrivacy)Data privacy!'</a>'?>
+                       <?=_!(/policy/dataPrivacy)Data privacy!'</a>'?>
                </div>
 
 </body>
                </div>
 
 </body>
index ad3060c555e07e2d797f8335990ecd022ddfe4b6..621d9f8511c54b10692b01f6de14ed53d6e67e4e 100644 (file)
@@ -4,5 +4,5 @@
 <label for="username"><?=_Email Address?>:</label><input class="form-control" type='text' name="username" required/><br />
 <label for="password"><?=_Password?>:</label><input class="form-control" type='password' name='password' required/><br />
 <button type='submit' name="process" value="Login" class="btn btn-primary"><?=_Login?></button><br /><br />
 <label for="username"><?=_Email Address?>:</label><input class="form-control" type='text' name="username" required/><br />
 <label for="password"><?=_Password?>:</label><input class="form-control" type='password' name='password' required/><br />
 <button type='submit' name="process" value="Login" class="btn btn-primary"><?=_Login?></button><br /><br />
-<p class='smalltext'><?=_If you are having trouble with your username or password, please visit our !(/wiki/lostPassword)wiki page!'</a>' for more information?></p>
+<p class='smalltext'><?=_If you are having trouble with your username or password, please visit our !(/kb/lostPassword)knowledge base!'</a>' for more information?></p>
 </div>
 </div>
index 2bca0b0536d447625581fc33b34b5fcda4e12e25..2e3ef1a3a4730fefeb9127c0de5c5cec71272079 100644 (file)
@@ -12,5 +12,5 @@ On the other hand, server certificates can be used to establish secure internet
 
 <hr/>
 
 
 <hr/>
 
-<p><?=_For general documentation and help, please visit the ${appName} !(/wiki/gigi)Wiki Documentation site!'</a>'.?>
+<p><?=_For general documentation and help, please visit the ${appName} !(/kb/gigi)knowledge base!'</a>'.?>
 <?=_For specific policies, see the ${appName} !(/policy)Policies page!'</a>'.?></p>
\ No newline at end of file
 <?=_For specific policies, see the ${appName} !(/policy)Policies page!'</a>'.?></p>
\ No newline at end of file
index 9663547bb4b07ae04aff9ff1c6811fa0f4c94673..650f07eab04ab2f27a78afdf5f4d1e7f72f50efe 100644 (file)
@@ -18,7 +18,7 @@
     <td><input type="password" name="pword2" required></td>
   </tr>
   <tr>
     <td><input type="password" name="pword2" required></td>
   </tr>
   <tr>
-    <td colspan="2"><span class="formMandatory">*</span><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/wiki/goodPassword)FAQ!'</a>'.?></td>
+    <td colspan="2"><span class="formMandatory">*</span><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/kb/goodPassword)FAQ!'</a>'.?></td>
   </tr>
   <tr>
     <td colspan="2"><input type="submit" name="process" value="<?=_Update Password?>"></td>
   </tr>
   <tr>
     <td colspan="2"><input type="submit" name="process" value="<?=_Update Password?>"></td>
index 1e9136eaa7506127dd99af5c856f8add15c783d5..4c350c560ce331c17bac58bdd4466b891309d5ea 100644 (file)
@@ -18,7 +18,7 @@
     <td><input class="form-control" type="password" name="pword2" required></td>
   </tr>
   <tr>
     <td><input class="form-control" type="password" name="pword2" required></td>
   </tr>
   <tr>
-    <td colspan="2"><span class="formMandatory">*</span><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/wiki/goodPassword)FAQ!'</a>'.?></td>
+    <td colspan="2"><span class="formMandatory">*</span><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/kb/goodPassword)FAQ!'</a>'.?></td>
   </tr>
   <tr>
     <td colspan="2"><input type="submit" name="process" value="<?=_Update Password?>"></td>
   </tr>
   <tr>
     <td colspan="2"><input type="submit" name="process" value="<?=_Update Password?>"></td>
index 55086650f65ef6286be91261cf600e50539613dc..031ac848a5dade901d9e683e7b5540652efc0296 100644 (file)
@@ -49,8 +49,7 @@
         <a href='<?=$serial?>.cer'><?=_DER encoded Certificate?></a><br/>
         <a href='<?=$serial?>.cer?install&chain'><?=_Install into browser.?></a><br/>
         <a href='<?=$serial?>.cer?install'><?=_Install into browser (Chrome)?></a>. <?=_Please ensure that the intermediate certificates listed above are installed prior to installing the certificate.?>*<br/><br/>
         <a href='<?=$serial?>.cer'><?=_DER encoded Certificate?></a><br/>
         <a href='<?=$serial?>.cer?install&chain'><?=_Install into browser.?></a><br/>
         <a href='<?=$serial?>.cer?install'><?=_Install into browser (Chrome)?></a>. <?=_Please ensure that the intermediate certificates listed above are installed prior to installing the certificate.?>*<br/><br/>
-        * <?=_For information on how to install the root certificates into the truststore of your browser take a look at the !(/wiki/CSR)FAQ!'</a>'!?>
-        
+        * <?=_For information on how to install the root certificates into the truststore of your browser take a look at the !(/kb/CSR)FAQ!'</a>'!?>
     </td>
   </tr>
 <? } ?>
     </td>
   </tr>
 <? } ?>
index 7995d6a9968d63a9a9d743b4484a8c0c216bc49c..89abb8df8afff9304f8ffe40fbf2ee0c9bbe5d63 100644 (file)
@@ -1,5 +1,5 @@
 <p><?=_${appName} offers two ways to create a certificate.?>
 <p><?=_${appName} offers two ways to create a certificate.?>
-<?=_One is to paste a certificate signing request (CSR) created from an existing or newly created private key.?> <?=_If you do not know what a CSR is or how to create one take a look at the !(/wiki/CSR)FAQ!'</a>'.?> 
+<?=_One is to paste a certificate signing request (CSR) created from an existing or newly created private key.?> <?=_If you do not know what a CSR is or how to create one take a look at the !(/kb/CSR)FAQ!'</a>'.?>
 <?=_As an alternative you can generate the private key inside your browser and export it once the certificate has been issued.?></p>
 <form method="post">
 <table class="table">
 <?=_As an alternative you can generate the private key inside your browser and export it once the certificate has been issued.?></p>
 <form method="post">
 <table class="table">
index 29c8219e7a19cecb2848b80994d98b46b28b62e4..c2b15ed77fcae46815d99e1d3dad7bd09452db8e 100644 (file)
@@ -6,5 +6,5 @@
 <?=_Your private information will be used for internal procedures only and will not be shared with third parties.?>
 </p>
 <p style="border:dotted 1px #900;padding:0.3em;background-color:#ffe;">
 <?=_Your private information will be used for internal procedures only and will not be shared with third parties.?>
 </p>
 <p style="border:dotted 1px #900;padding:0.3em;background-color:#ffe;">
-<?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/wiki/goodPassword)FAQ!'</a>'.?>
+<?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/kb/goodPassword)FAQ!'</a>'.?>
 </p>
 </p>
index d9b2cc1f8de65fc0744c023a72e555fa370062cb..5c68c38e1f3e0a9dfa06199c48fbeb6a6ada0e1a 100644 (file)
@@ -53,7 +53,7 @@ public class Signup extends Form {
         vars.put("name", ni);
         vars.put("dob", myDoB);
         vars.put("email", HTMLEncoder.encodeHTML(email));
         vars.put("name", ni);
         vars.put("dob", myDoB);
         vars.put("email", HTMLEncoder.encodeHTML(email));
-        vars.put("helpOnNames", new SprintfCommand("Help on Names {0}in the wiki{1}", Arrays.asList("!(/wiki/names", "!'</a>")));
+        vars.put("helpOnNames", new SprintfCommand("Help on Names {0}in the knowledge base{1}", Arrays.asList("!(/kb/names", "!'</a>")));
         vars.put("csrf", getCSRFToken());
         vars.put("dobmin", User.MINIMUM_AGE + "");
         vars.put("countryCode", cs);
         vars.put("csrf", getCSRFToken());
         vars.put("dobmin", User.MINIMUM_AGE + "");
         vars.put("countryCode", cs);
@@ -129,7 +129,7 @@ public class Signup extends Form {
         }
         int pwpoints = PasswordStrengthChecker.checkpw(pw1, ni.getNamePartsPlain(), email);
         if (pwpoints < 3) {
         }
         int pwpoints = PasswordStrengthChecker.checkpw(pw1, ni.getNamePartsPlain(), email);
         if (pwpoints < 3) {
-            ga.mergeInto(new GigiApiException(new SprintfCommand("The Password you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.", Arrays.asList("!(/wiki/goodPassword", "!'</a>'"))));
+            ga.mergeInto(new GigiApiException(new SprintfCommand("The Password you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.", Arrays.asList("!(/kb/goodPassword", "!'</a>'"))));
         }
         if ( !ga.isEmpty()) {
             throw ga;
         }
         if ( !ga.isEmpty()) {
             throw ga;
index bc602e78cd97997c2854da1944b502af9f13332c..d8d28adfb34a303ef20f178e99a0a8e24cc6cf76 100644 (file)
@@ -43,7 +43,7 @@
   </tr>
 
   <tr>
   </tr>
 
   <tr>
-    <td colspan="3"><font color="red">*</font><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/wiki/goodPassword)FAQ!'</a>'.?></td>
+    <td colspan="3"><font color="red">*</font><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/kb/goodPassword)FAQ!'</a>'.?></td>
   </tr>
 
   <tr>
   </tr>
 
   <tr>
index 6b874b87e992776f87a6ba0b05d62bd491733af4..4d37097342d4c733ff914b943f56466af9e42874 100644 (file)
@@ -7,7 +7,7 @@
 <h4><?=_Meeting?></h4>
 <ul>
  <li><?=_The meeting must be in person. Online meetings are currently not acceptable.?></li>
 <h4><?=_Meeting?></h4>
 <ul>
  <li><?=_The meeting must be in person. Online meetings are currently not acceptable.?></li>
- <li><?=_At least one form of government issued photo identification must to be shown. It's preferable to see more than one form of government issued photo identification if available. A list of acceptable documents can be found !(/acceptableDocuments)here!'</a>'.?></li>
+ <li><?=_At least one form of government issued photo identification must to be shown. It's preferable to see more than one form of government issued photo identification if available. A list of acceptable documents can be found !(/kb/acceptableDocuments)here!'</a>'.?></li>
  <li><?=_The verification form must be filled in completely. Preferably, use the pre-filled form provided by the system. All information on the form must match the information in the documents.?></li>
 </ul>
 
  <li><?=_The verification form must be filled in completely. Preferably, use the pre-filled form provided by the system. All information on the form must match the information in the documents.?></li>
 </ul>
 
index be834f2ad4c986b4ed2effe512f80d56650c6c39..6f60eba6e8d23e06ce99ebf5ee9c0e2a4ab58768 100644 (file)
@@ -46,7 +46,7 @@
                <td>
                        <?=_!(/policy/ToS)Terms of Service!'</a>'?>
                         - <?=_!(/policy/verification)Verification Policy!'</a>'?></a>
                <td>
                        <?=_!(/policy/ToS)Terms of Service!'</a>'?>
                         - <?=_!(/policy/verification)Verification Policy!'</a>'?></a>
-                        - <?=_!(/wiki/verificationHandbook)Verification Handbook!'</a>'?></a>
+                        - <?=_!(/kb/verificationHandbook)Verification Handbook!'</a>'?></a>
                </td>
        </tr>
        <tr>
                </td>
        </tr>
        <tr>
index 112f71283441e568045f3e57708dfb2b3b126302..6d5280afa09d55e7817e5eabbba483ad8fa3c5a6 100644 (file)
@@ -80,7 +80,7 @@ public class PasswordStrengthChecker {
             }
         }
         if (checkpw(pw, parts.toArray(new String[parts.size()]), email) < 3) {
             }
         }
         if (checkpw(pw, parts.toArray(new String[parts.size()]), email) < 3) {
-            throw (new GigiApiException(new SprintfCommand("The Password you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.", Arrays.asList("!(/wiki/goodPassword", "!'</a>'"))));
+            throw (new GigiApiException(new SprintfCommand("The Password you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.", Arrays.asList("!(/kb/goodPassword", "!'</a>'"))));
         }
     }
 
         }
     }