X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=doc%2FARCHITECTURE.txt;h=b89ba88ca3fc7a9104b6757b7353aa3b9297721e;hb=HEAD;hp=a28d91ac050ccac5f69285f087fa594059b83a25;hpb=1a1f50c83244ae2808cc9126296c8918bd0516a4;p=brisk.git diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt index a28d91a..b89ba88 100644 --- a/doc/ARCHITECTURE.txt +++ b/doc/ARCHITECTURE.txt @@ -1,4 +1,16 @@ -Sparse documentation about Brisk. +===== Sparse documentation about Brisk. ===== + +==== Form Workflow ==== + +- div on page + + +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 ==== @@ -85,28 +97,38 @@ $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 - + 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 +-------------------------------------------------------------------------