X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=doc%2FARCHITECTURE.txt;h=a28d91ac050ccac5f69285f087fa594059b83a25;hb=1a1f50c83244ae2808cc9126296c8918bd0516a4;hp=da2fc8f044a428c6464babbee4062d4d371fd3e6;hpb=ad1adc9cdd234ce4904a31f244469993a0f2cb7e;p=brisk.git diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt index da2fc8f..a28d91a 100644 --- a/doc/ARCHITECTURE.txt +++ b/doc/ARCHITECTURE.txt @@ -56,7 +56,7 @@ index.php: --- CLI ------------ POST index.php with passid_private field equal to calcMD5(tokens[1]+calcMD5(form.elements['passid'].value)) - + add_user -> validate_name, login_verify ===== Game Lifecycle ===== @@ -82,3 +82,31 @@ $ret = $user->maincheck($old_stat, $old_subst, $old_step, $this->rd_stat, $this- $splashdate, $table_idx, $table_token)) $user->rd_transp->chunk($this->rd_scristp++, $ret); + +===== New users workflow ===== + +status | | DB | +---------- |------+--------------------+ +unknown | + V + brisk -> mail-table +MAILED | | + V | + user | + | | + V | + mailbox | + | | + V | + procmail | + | | + V | + check with mail-table | + and update DB <----+ + (needs ad-hoc page) +TOBECHK | + V + authorize +normal | + V +