Okay, I think I am finally done with WikiWhacking (or WhackingTheWiki?)
for the near future. Two big changes: * Add WikiOnly accounts. An external user can register for an account on the wiki. Rather then use the registration stuff that comes with TWiki, redirect to new Emulab web page so we can manage all of the wiki accounts from one place. I modified the joinproject page to spit out a subset of the required fields so that its simple to get a wiki only account (just a few things to fill in). In keeping with current security practices, we still generate a verification email message to ensure the email address works. However, when the user completes the verification, the wiki account is created right away, rather then waiting for someone to approve it (since that would defeat the entire point of the wiki). Aside: I have not thought much about the conversion from a wiki-only account to a real account. That is going to happen, and it would be nice if that step did not require one of use to go in and hack the DB. Will cross that moat later. Aside: Rather beat up on the modify user info page too much, I continue to spit out the same form, but mark most of the fields as not required, and allow wiki-only people to not specify them. * Both the joinproject and newproject pages sport a new WikiName field so that users can select their own WikiName. I added some JavaScript to both pages that generate a suitable wikiname from the FullName field, so that as soon as the user clicks out of the FullName, a default wikiname is inserted in the field. Both pages verify the wikinames by checking to make sure it is not already in use, and that it meets the WikiRules for WikiTopic names. (someone please shoot me if I continue to use WikiNotation).
Showing
- GNUmakefile.in 1 addition, 0 deletionsGNUmakefile.in
- account/tbacct.in 14 additions, 2 deletionsaccount/tbacct.in
- wiki/webhometemplate.in 1 addition, 1 deletionwiki/webhometemplate.in
- www/dbcheck.php3 4 additions, 0 deletionswww/dbcheck.php3
- www/dbdefs.php3.in 23 additions, 0 deletionswww/dbdefs.php3.in
- www/joinproject.php3 372 additions, 240 deletionswww/joinproject.php3
- www/menu.php3 9 additions, 1 deletionwww/menu.php3
- www/moduserinfo.php3 118 additions, 92 deletionswww/moduserinfo.php3
- www/newproject.php3 64 additions, 5 deletionswww/newproject.php3
- www/showuser.php3 5 additions, 3 deletionswww/showuser.php3
- www/tbauth.php3 27 additions, 5 deletionswww/tbauth.php3
- www/verifyusr.php3 40 additions, 11 deletionswww/verifyusr.php3
- www/verifyusr_form.php3 3 additions, 2 deletionswww/verifyusr_form.php3
- www/wikiregister.php3 12 additions, 0 deletionswww/wikiregister.php3
Loading
Please register or sign in to comment