X-Git-Url: https://code.grnet.gr/git/astakos/blobdiff_plain/e0bfcf77c77a7bc1dbc31a5f7569108f3360871a..f2cee25527cef360ac960d21658ee100c7771e19:/snf-astakos-app/README diff --git a/snf-astakos-app/README b/snf-astakos-app/README index 85a8555..35e88f4 100644 --- a/snf-astakos-app/README +++ b/snf-astakos-app/README @@ -40,21 +40,48 @@ Settings Configure in ``settings.py`` or a ``.conf`` file in ``/etc/synnefo`` if using snf-webproject. -=============================== ================================================ ============================================================ -Name Default value Description -=============================== ================================================ ============================================================ -... -=============================== ================================================ ============================================================ +============================== ============================================================================= =========================================================================================== +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 +ASTAKOS_IM_MODULES ['local', 'twitter', '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`` +ASTAKOS_COOKIE_DOMAIN None ``Domain`` parameter passed in ``django.http.HttpResponse.set_cookie`` +ASTAKOS_COOKIE_SECURE True ``Secure`` parameter passed in ``django.http.HttpResponse.set_cookie`` +ASTAKOS_IM_STATIC_URL /static/im/ URL to use when referring to static files +ASTAKOS_MODERATION_ENABLED True If False and invitations are not enabled newly created user will be automatically accepted +ASTAKOS_BASEURL \http://pithos.dev.grnet.gr Astakos baseurl +ASTAKOS_SITENAME GRNET Cloud Service name that appears in emails +ASTAKOS_CLOUD_SERVICES ({'icon': 'home-icon.png', 'id': 'cloud', 'name': 'grnet cloud', 'url': '/'}, Cloud services appear in the horizontal bar + {'id': 'okeanos', 'name': '~okeanos', 'url': '/okeanos.html'}, + {'id': 'pithos', 'name': 'pithos+', 'url': '/ui/'}) +ASTAKOS_RECAPTCHA_PUBLIC_KEY Recaptcha public key obtained after registration here: http://recaptcha.net +ASTAKOS_RECAPTCHA_PRIVATE_KEY Recaptcha private key obtained after registration here: http://recaptcha.net +============================== ============================================================================= =========================================================================================== Administrator functions ----------------------- Available as extensions to Django's command-line management utility: -============ ====================== -Name Description -============ ====================== -... -============ ====================== - - +=============== =========================== +Name Description +=============== =========================== +activateuser Activates one or more users +createuser Create a user +inviteuser Invite a user +listinvitations List invitations +listusers List users +modifyuser Modify a user's attributes +showinvitation Show invitation info +showuser Show user info +=============== ===========================