X-Git-Url: https://code.grnet.gr/git/astakos/blobdiff_plain/76776df1ad06832400c0c74f6a198526d0717f24..6ab1e98e317256cab304744ab0a6a185495aabd7:/snf-astakos-app/README diff --git a/snf-astakos-app/README b/snf-astakos-app/README index 900b890..996f8ce 100644 --- a/snf-astakos-app/README +++ b/snf-astakos-app/README @@ -40,18 +40,16 @@ Settings Configure in ``settings.py`` or a ``.conf`` file in ``/etc/synnefo`` if using snf-webproject. -============================== ============================================================================= =========================================================================================== +================================= ============================================================================= =========================================================================================== Name Default value Description -============================== ============================================================================= =========================================================================================== +================================= ============================================================================= =========================================================================================== ASTAKOS_AUTH_TOKEN_DURATION one month Expiration time of newly created auth tokens -ASTAKOS_TWITTER_KEY Twitter ``oauth_token`` -ASTAKOS_TWITTER_SECRET Twitter ``oauth_token_secret`` ASTAKOS_DEFAULT_USER_LEVEL 4 Default (not-invited) user level ASTAKOS_INVITATIONS_PER_LEVEL {0:100, 1:2, 2:0, 3:0, 4:0} Number of user invitations per user level ASTAKOS_DEFAULT_FROM_EMAIL GRNET Cloud ``from`` parameter passed in ``django.core.mail.send_mail`` ASTAKOS_DEFAULT_CONTACT_EMAIL support\@cloud.grnet.gr Contact email ASTAKOS_DEFAULT_ADMIN_EMAIL support\@cloud.grnet.gr Administrator email to receive user creation notifications (if None disables notifications) -ASTAKOS_IM_MODULES ['local', 'twitter', 'shibboleth'] Signup modules +ASTAKOS_IM_MODULES ['local', 'shibboleth'] Signup modules ASTAKOS_FORCE_PROFILE_UPDATE True Force user profile verification ASTAKOS_INVITATIONS_ENABLED True Enable invitations ASTAKOS_COOKIE_NAME _pithos2_a ``Key`` parameter passed in ``django.http.HttpResponse.set_cookie`` @@ -80,7 +78,10 @@ ASTAKOS_LOGIN_MESSAGES {} e.g. {'warning': 'Warning message (can contain html)'} ASTAKOS_PROFILE_EXTRA_LINKS {} messages to display as extra actions in account forms e.g. {'https://cms.okeanos.grnet.gr/': 'Back to ~okeanos'} -============================== ============================================================================= =========================================================================================== +ASTAKOS_RATELIMIT_RETRIES_ALLOWED 3 Number of unsuccessful login requests allowed for a specific account. + When this number exceeds and ASTAKOS_RECAPTCHA_ENABLED is set the user has to solve a + captcha challenge. +================================= ============================================================================= =========================================================================================== Administrator functions ----------------------- @@ -90,13 +91,26 @@ Available as extensions to Django's command-line management utility: =============== =========================== Name Description =============== =========================== -activateuser Activates one or more users +addgroup Add new group +addterms Add new approval terms createuser Create a user inviteuser Invite a user +listgroups List groups listinvitations List invitations listusers List users modifyuser Modify a user's attributes +sendactivation Send activation email showinvitation Show invitation info showuser Show user info -addterms Add new approval terms =============== =========================== + +To update user credibility from the billing system (Aquarium), enable the queue, install snf-pithos-tools and use ``pithos-dispatcher``:: + + pithos-dispatcher --exchange=aquarium --callback=astakos.im.queue.listener.on_creditevent + +Load groups: +------------ + +To set the initial user groups load the followind fixture: + + snf-manage loaddata groups