• Russ Fish's avatar
    Avoid a problem in newproject.php3. When the DB is locked for daily backup, · 2f373d5b
    Russ Fish authored
    NewNewUser()/newuser would block and then unblock and get done; meanwhile the PHP
    thread went away so we never returned to call NewNewProject/mkproj.  Move the call
    on the newuser script from PHP into the back-end Perl newproj script for atomicity.
    
        www/newproject.php3 - When the project leader is a new user, pass two xml
            files to the newproj backend script, one describing the project and the
            second one (an optional) file describing the newuser.
    
        www/user_defs.php - Factor the xml-making part of NewNewUser into NewNewUserXML.
    
        www/project_defs.php - Remove the required $leader arg of NewNewProject.
            newproj may call newuser, which may generate the leader uid.
    
        backend/newproj.in - Call newuser with an optional 'newuser_xml' XML file.
    
        sql/database-fill.sql - Add 'projects','newuser_xml'.
    2f373d5b
Name
Last commit
Last update
..
GNUmakefile Loading commit data...
bios_move.pl Loading commit data...
database-create.sql Loading commit data...
database-fill-supplemental.sql Loading commit data...
database-fill.sql Loading commit data...
database-migrate.txt Loading commit data...
delvnodes.pl Loading commit data...
errors-migrate.pl Loading commit data...
fixstats-swapin.pl Loading commit data...
fixstats_swapmod.pl Loading commit data...
gentopmaps.pl Loading commit data...
init_newids.pl Loading commit data...
init_nodeattrs.pl Loading commit data...
initcerts.pl Loading commit data...
initkey.pl Loading commit data...
initstats.pl Loading commit data...
initvinterfaces.pl Loading commit data...
ipmember.pl Loading commit data...
knowlbase-create.sql Loading commit data...
libtblog-orig.sql Loading commit data...
libtblog.sql Loading commit data...
mod-userstats.pl Loading commit data...
mustdelay.pl Loading commit data...
newstates.pl Loading commit data...
nodeutil.pl Loading commit data...
nsfiles.pl Loading commit data...
opsdb.sql Loading commit data...
resources.pl Loading commit data...
sitevars-create.sql Loading commit data...
step2_newids.pl Loading commit data...
step3_newids.pl Loading commit data...
step4_newids.pl Loading commit data...
step5_newids.pl Loading commit data...
tbreport.sql Loading commit data...
templates.sql Loading commit data...
users-create.sql Loading commit data...