[PATCH] rename test-alias-accounts to guest-accounts

Michael Allan mike at zelea.com
Tue Nov 20 17:35:59 EST 2012


conseo said:
> Ok. As we agreed upon on IRC (1) we use the domains guest.com (and
> probably sim.net and test.com) for login (or test) names.

I thought it was guest.net.  If not, then guest.com is okay.

I can fix the simulation scripts (they're not in the repo) and re-run
the simulations, if you can take care of the rest.  So:

  * Manual
  * Grep for code or docs that depend on the old names (always when
    doing this kind of thing)
  * Clean away old "test" voters
  * Test

Mike


conseo said:
> Hey Mike,
> 
> > 
> > Your patch was difficult to read.  The list thinks it's binary (see
> > bottom).  Till we figure a fix, could you append patches directly to
> > the message body?
> Ok. As we agreed upon on IRC (1) we use the domains 
> guest.com (and probably sim.net and test.com) for login (or test) names.
> 
> (1) http://zelea.com/var/cache/irc/votorola/12-11/20
> 
> conseo
> 
> Patch:
> 
> diff -r 9914a47c7880 votorola/a/locale/W.properties
> --- a/votorola/a/locale/W.properties	Sat Nov 17 04:12:26 2012 +0100
> +++ b/votorola/a/locale/W.properties	Tue Nov 20 22:24:42 2012 +0100
> @@ -170,9 +170,9 @@
>  
>  
>  
> -a.web.wic.authen.WP_Login.or-test = login under an alias:
> +a.web.wic.authen.WP_Login.or-test = login as a guest:
>  a.web.wic.authen.WP_Login.alias = Alias
> -a.web.wic.authen.WP_Login.aliasDescription = Enter a nickname or other alias. 
> You will have access to the vote-server as an authenticated user, but only for 
> test purposes.  Your input will eventually be erased.
> +a.web.wic.authen.WP_Login.aliasDescription = Enter a guest nickname or other 
> alias. You will have access to the vote-server as an authenticated user, but 
> only for test purposes.  Your input will eventually be erased.
>  
>  
>  
> diff -r 9914a47c7880 votorola/a/locale/W_de.properties
> --- a/votorola/a/locale/W_de.properties	Sat Nov 17 04:12:26 2012 +0100
> +++ b/votorola/a/locale/W_de.properties	Tue Nov 20 22:24:42 2012 +0100
> @@ -146,9 +146,9 @@
>  
>  
>  
> -a.web.wic.authen.WP_Login.or-test = Einloggen als Test-Nutzer:
> +a.web.wic.authen.WP_Login.or-test = Einloggen als Gast:
>  
> -a.web.wic.authen.WP_Login.aliasDescription = Geben Sie einen Alias ein. Sie 
> bekommen dadurch Zugang zum Wahl-Server als ein authentifizierter Nutzer, aber 
> alle Ihre Eingaben werden fr\u00fcher oder später wieder gel\u00f6scht.
> +a.web.wic.authen.WP_Login.aliasDescription = Geben Sie einen Gast-Alias ein. 
> Sie bekommen dadurch Zugang zum Wahl-Server als ein authentifizierter Nutzer, 
> aber alle Ihre Eingaben werden fr\u00fcher oder später wieder gel\u00f6scht.
>  
>  
>  
> diff -r 9914a47c7880 votorola/a/web/wic/authen/WC_Alias.java
> --- a/votorola/a/web/wic/authen/WC_Alias.java	Sat Nov 17 04:12:26 2012 +0100
> +++ b/votorola/a/web/wic/authen/WC_Alias.java	Tue Nov 20 22:24:42 2012 +0100
> @@ -9,7 +9,7 @@
>  import votorola.g.locale.*;
>  
>  
> -/** An alias login option for a login page.  It includes an HTML text field 
> backed by a
> +/** An alias guest login option for a login page.  It includes an HTML text 
> field backed by a
>    * Java string field "aliasInput", which must be present in the login page.
>    *
>    *     @see <a href='../../../../../../../a/web/wic/authen/WC_Alias.html'
> @@ -63,9 +63,9 @@
>              b.append( ch );
>          }
>  
> -        final String prefix = "test-";
> -        if( !b.toString().startsWith( prefix )) b.insert( 0, prefix );
> -        b.append( "@zelea.com" );
> +        // domain is down as of 11/20/2012. it is unlikely to 
> +        // ever become a public mailing site, so we decided to (ab)use it
> +        b.append( "@guest.com" );
>          return b.toString();
>      }



More information about the Votorola mailing list