]> WPIA git - gigi.git/commitdiff
upd: replace assure, assurance, assurer etc in output to user
authorINOPIAE <m.maengel@inopiae.de>
Wed, 27 Jul 2016 04:33:06 +0000 (06:33 +0200)
committerFelix Dörre <felix@dogcraft.de>
Fri, 29 Jul 2016 21:37:25 +0000 (23:37 +0200)
Change-Id: I6a0d357c0af4a718bef357f6db7fbfb2ec8dda47

12 files changed:
src/org/cacert/gigi/database/tableStructure.sql
src/org/cacert/gigi/dbObjects/Group.java
src/org/cacert/gigi/dbObjects/Name.java
src/org/cacert/gigi/output/AssurancesDisplay.templ
src/org/cacert/gigi/pages/MainPage.templ
src/org/cacert/gigi/pages/account/FindAgentAccess.templ
src/org/cacert/gigi/util/Notary.java
tests/org/cacert/gigi/pages/orga/TestOrgManagement.java
tests/org/cacert/gigi/testUtils/ManagedTest.java
tests/org/cacert/gigi/util/TestNotary.java
util-testing/org/cacert/gigi/pages/Manager.java
util-testing/org/cacert/gigi/pages/Manager.templ

index 883adf769870fbf1d30085454c5b3ea25e0d3d02..9bd231e8c5f2efd7451beb730b85f9da5de8347c 100644 (file)
@@ -261,17 +261,17 @@ CREATE TABLE "notary" (
   "points" int NOT NULL DEFAULT '0',
 # awarded and the "experience points" are calculated virtually
 # Face to Face is default, TOPUP is for the remaining 30Points after two TTP
-# TTP is default ttp assurance
+# TTP is default ttp verification
   "method" "notaryType" NOT NULL DEFAULT 'Face to Face Meeting',
   "location" varchar(255) NOT NULL DEFAULT '',
   "date" varchar(255) NOT NULL DEFAULT '',
-# date when assurance was entered
+# date when verification was entered
   "when" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
 #?
   "expire" timestamp NULL DEFAULT NULL,
 #?????????????????
   "sponsor" int NOT NULL DEFAULT '0',
-# date when assurance was deleted (or 0)
+# date when verification was deleted (or 0)
   "deleted" timestamp NULL DEFAULT NULL,
   PRIMARY KEY ("id")
 );
index d5d38efde66a175172b88f2c0448d860d2cb8b2f..dd6767ef783cb8e0a309403983a90e6c17e22c90 100644 (file)
@@ -7,10 +7,10 @@ import org.cacert.gigi.output.template.TranslateCommand;
 
 public enum Group {
     SUPPORTER("supporter", "supporter"), ARBITRATOR("arbitrator", "arbitrator"), //
-    BLOCKEDASSURER("blockedassurer", "may not assure"), BLOCKEDASSUREE("blockedassuree", "may not be assured"), //
+    BLOCKEDASSURER("blockedassurer", "may not verify"), BLOCKEDASSUREE("blockedassuree", "may not be verified"), //
     BLOCKEDLOGIN("blockedlogin", "may not login"), BLOCKEDCERT("blockedcert", "may not issue certificates"), //
-    TTP_ASSURER("ttp-assurer", "may assure via TTP"), TTP_APPLICANT("ttp-applicant", "requests to be assured via ttp"), //
-    CODESIGNING("codesigning", "may issue codesigning certificates"), ORGASSURER("orgassurer", "may assure organisations"), //
+    TTP_ASSURER("ttp-assurer", "may verify via TTP"), TTP_APPLICANT("ttp-applicant", "requests to be verified via ttp"), //
+    CODESIGNING("codesigning", "may issue codesigning certificates"), ORGASSURER("orgassurer", "may verify organisations"), //
     NUCLEUS_ASSURER("nucleus-assurer", "may issue nucleus assurances"), LOCATE_AGENT("locate-agent", "wants access to the locate agent system");
 
     private final String dbName;
index 8289293d6041a6577f1671426c7da7e0c977cb28..eb4c7afb5989385f9c136ba1a8e062f296ba8777 100644 (file)
@@ -226,7 +226,7 @@ public class Name implements Outputable, IdCachable {
     private SchemedName scheme;
 
     /**
-     * This name should not get assured anymore and therefore not be displayed
+     * This name should not get verifed anymore and therefore not be displayed
      * to the RA-Agent. This state is irrevocable.
      */
     private boolean deprecated;
index ab8516322f55329dca22660ab8e3544e971e979b..1a552f063222a1a9bbb0bc4b26dc7de2dfca0698 100644 (file)
@@ -1,6 +1,6 @@
 <table class="table">
 <tr>
-<th colspan="7"><?=_Assurances?></th>
+<th colspan="7"><?=_Verifications?></th>
 </tr>
 <tr>
 <td><?=_Id?></td>
index 3acd4b9eaa62ff6a2a35e8862052735513a5cbd9..fb87cf5b0c591079df70d7acd8a2165f5bb51b7e 100644 (file)
@@ -10,5 +10,5 @@
 <h4><?=_Org Client and Server Certificates?></h4>
 <p><?=_Once you have verified your company you will see these menu options. They allow you to issue as many certificates as you like without proving individual email accounts as you like, further more you are able to get your company details on the certificate.?></p>
 <h4><?=_ET Web of Trust?></h4>
-<p><?=_The Web of Trust system ET uses is similar to that many involved with GPG/PGP use, they hold face to face meetings to verify each others photo identities match their GPG/PGP key information. ET differs however in that we have modified things to work within the PKI framework, for you to gain trust in the system you must first locate someone already trusted. The trust person depending how many people they've trusted or meet before will determine how many points they can issue to you. Once you've met up you can show your ID and you will need to fill out a verification form which the person assuring your details must retain for verification reasons.?></p>
+<p><?=_The Web of Trust system ET uses is similar to that many involved with GPG/PGP use, they hold face to face meetings to verify each others photo identities match their GPG/PGP key information. ET differs however in that we have modified things to work within the PKI framework, for you to gain trust in the system you must first locate someone already trusted. The trust person depending how many people they've trusted or meet before will determine how many points they can issue to you. Once you've met up you can show your ID and you will need to fill out a verification form which the person verifying your details must retain for verification reasons.?></p>
 <p><b><?=_For information about the TTP-assisted-verification program please read !'<a href="//wiki.cacert.org/TTP/TTPuser">https://wiki.cacert.org/TTP/TTPuser</a>' and !'<a href="//wiki.cacert.org/TTP/TTPAL">      https://wiki.cacert.org/TTP/TTPAL</a>'.?></b></p>
index 414563639702c8d0e49223f335e570158c0a6291..f2dbfad3b5e126e6277e99fe6fb363f545e0c968 100644 (file)
@@ -1,2 +1,2 @@
-<button class="btn btn-primary" type="submit" name="new-val" value="enable"<?=$enable?>><?=_Enable Find-Assurer Access?></button>
-<button class="btn btn-primary" type="submit" name="new-val" value="disable"<?=$disable?>><?=_Disable Find-Assurer Access?></button>
+<button class="btn btn-primary" type="submit" name="new-val" value="enable"<?=$enable?>><?=_Enable Find-RA-Agent Access?></button>
+<button class="btn btn-primary" type="submit" name="new-val" value="disable"<?=$disable?>><?=_Disable Find-RA-Agent Access?></button>
index 280bce39d4b45b50a9fea16a1f66405cf60ce349..e1c903e867cf589896790842f88925d9db5e5c92 100644 (file)
@@ -87,7 +87,7 @@ public class Notary {
             throw gae;
         }
         if (date == null || date.equals("")) {
-            gae.mergeInto(new GigiApiException("You must enter the date when you met the assuree."));
+            gae.mergeInto(new GigiApiException("You must enter the date when you met the applicant."));
         } else {
             try {
                 Date d = DateSelector.getDateFormat().parse(date);
@@ -128,7 +128,7 @@ public class Notary {
             }
 
             if ( !assuree.getDoB().equals(dob)) {
-                gae.mergeInto(new GigiApiException("The person you are assuring changed his personal details."));
+                gae.mergeInto(new GigiApiException("The person you are verifying changed his personal details."));
             }
 
             if (awarded < 0) {
index 4e606ae7abdd79fdaeab6ce32b5c761e101ce3d8..c17b9abbf99311f83d4200372ff10176268fb348 100644 (file)
@@ -118,7 +118,7 @@ public class TestOrgManagement extends OrgTest {
         Organisation o1 = createUniqueOrg();
         o1.addAdmin(u3, u, true);
         try {
-            // must fail because u4 is no assurer
+            // must fail because u4 is no RA-Agent
             o1.addAdmin(u4_dummy, u3, false);
             fail("No exception!");
         } catch (GigiApiException e) {
@@ -131,7 +131,7 @@ public class TestOrgManagement extends OrgTest {
         } catch (GigiApiException e) {
         }
         try {
-            // must fail because u4 is no assurer
+            // must fail because u4 is no RA-Agent
             o1.addAdmin(u4_dummy, u, false);
             fail("No exception!");
         } catch (GigiApiException e) {
index b87585223867cb5e4ebef556e41900ef4112cf7b..036adc92003fd53745e7b865c7f5f72035c4d0db 100644 (file)
@@ -297,8 +297,8 @@ public class ManagedTest extends ConfiguredTest {
     }
 
     /**
-     * Creates a new user with 100 Assurance points given by an (invalid)
-     * assurance.
+     * Creates a new user with 100 Verification Points given by an (invalid)
+     * verification.
      * 
      * @param firstName
      *            the first name
index 862e7bfeef070fe865fb55e7143b149f22789baa..37451573c28c32ea51503f100d7432257b5e4a9d 100644 (file)
@@ -107,7 +107,7 @@ public class TestNotary extends BusinessTest {
         // points too high
         assuranceFail(assuranceUser, assuree, 11, "notary-junit-test", validVerificationDateString());
 
-        // assure oneself
+        // verify oneself
         assuranceFail(assuranceUser, assuranceUser, 10, "notary-junit-test", validVerificationDateString());
         // not an assurer
         assuranceFail(assuree, assuranceUser, 10, "notary-junit-test", validVerificationDateString());
@@ -115,7 +115,7 @@ public class TestNotary extends BusinessTest {
         // valid
         Notary.assure(assuranceUser, assuree, assuree.getPreferredName(), assuree.getDoB(), 10, "notary-junit-test", validVerificationDateString(), AssuranceType.FACE_TO_FACE);
 
-        // assure double
+        // verify double
         assuranceFail(assuranceUser, assuree, 10, "notary-junit-test", validVerificationDateString());
 
     }
index c5b3c2571748564518a7c5b723c91324abd98057..21b7e43218d907342d22480b52cd6332809fd7a8 100644 (file)
@@ -106,7 +106,7 @@ public class Manager extends Page {
             String mail = "test-assurer" + i + "@example.com";
             User u = User.getByEmail(mail);
             if (u == null) {
-                System.out.println("Creating assurer");
+                System.out.println("Creating RA-Agent");
                 createUser(mail);
                 u = User.getByEmail(mail);
                 passCATS(u, CATSType.ASSURER_CHALLENGE);
@@ -293,7 +293,7 @@ public class Manager extends Page {
                     if (vp < 10) {
                         currentVP = vp;
                     }
-                    Notary.assure(getAssurer(agentNumber), byEmail, byEmail.getPreferredName(), byEmail.getDoB(), currentVP, "Testmanager Assure up code", "2014-11-06", AssuranceType.FACE_TO_FACE);
+                    Notary.assure(getAssurer(agentNumber), byEmail, byEmail.getPreferredName(), byEmail.getDoB(), currentVP, "Testmanager Verify up code", "2014-11-06", AssuranceType.FACE_TO_FACE);
                     agentNumber += 1;
                     vp -= currentVP;
                 }
index 83ae72b03d3b3a86bb383996eadfb8ca24b1a0ea..3e929e98a7409bd383419b3ec570c36e165a3a97 100644 (file)
@@ -53,7 +53,7 @@ Email: <input type="text" name="catsEmail"/>
 <input type="submit" value="Add CATs" name="cats"/>
 </td></tr>
 <tr><td>
-Add 100 Assurance points:
+Add 100 Verification Points:
 </td><td>
 Email: <input type="text" name="assureEmail"/>
 </td><td>
@@ -62,11 +62,11 @@ Verification Points to issue: <input type="text" name="verificationPoints" value
 </td></tr>
 
 <tr><td>
-Assure 25 others (get 25 experience points)    :
+Verify 25 others (get 25 Experience Points)    :
 </td><td>
 Email: <input type="text" name="letassureEmail"/>
 </td><td>
-<input type="submit" value="Add 25 experience Points" name="letassure"/>
+<input type="submit" value="Add 25 Experience Points" name="letassure"/>
 </td></tr>
 
 <tr><td>