X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=doc%2FARCHITECTURE.txt;h=f1d706912537c9f0989091b074f8965c262cc21a;hb=484a365c1e66ba4b878117275423a1594c209960;hp=da2fc8f044a428c6464babbee4062d4d371fd3e6;hpb=ef7ec88c07a56a9ef3a24c63a7e64ddfcdc830ad;p=brisk.git diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt index da2fc8f..f1d7069 100644 --- a/doc/ARCHITECTURE.txt +++ b/doc/ARCHITECTURE.txt @@ -1,4 +1,11 @@ -Sparse documentation about Brisk. +===== Sparse documentation about Brisk. ===== + +User cleanup: + spush::garbage_manager() + if (user->the_end) + close opened socket + + brisk->users_cleanup() to reset all users with the_end set ==== brisk/table/user relationships ==== @@ -56,7 +63,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 +89,41 @@ $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 ===== + + UserA UserB Admin +------------------------------------------------------------------------- + guarante UserB + | + v + Save on mail + table, + email to UserB + (Disabled, MAILED) +------------------------------------------------------------------------- + Receive email + to check address + | + v + Click on link + | + v + Check on mail + table, + update user status, + delete mail rec + (Disabled, TOBECHK) +------------------------------------------------------------------------- + admin panel + accept user + | + v + send email with + password, + update user status + (Normal, NONE) +------------------------------------------------------------------------- + Receive email + with password +-------------------------------------------------------------------------