Revision a9281516
b/snf-astakos-app/README | ||
---|---|---|
40 | 40 |
|
41 | 41 |
Configure in ``settings.py`` or a ``.conf`` file in ``/etc/synnefo`` if using snf-webproject. |
42 | 42 |
|
43 |
=============================== ================================================ ============================================================ |
|
44 |
Name Default value Description |
|
45 |
=============================== ================================================ ============================================================ |
|
46 |
ASTAKOS_AUTH_TOKEN_DURATION one month Expiration time of newly created auth tokens |
|
47 |
ASTAKOS_TWITTER_KEY Twitter ``oauth_token`` |
|
48 |
ASTAKOS_TWITTER_SECRET Twitter ``oauth_token_secret`` |
|
49 |
ASTAKOS_DEFAULT_USER_LEVEL 4 Default (not-invited) user level |
|
50 |
ASTAKOS_INVITATIONS_PER_LEVEL {0:100, 1:2, 2:0, 3:0, 4:0} Number of user invitations per user level |
|
51 |
ASTAKOS_DEFAULT_FROM_EMAIL GRNET Cloud <no-reply\@grnet.gr> ``from`` parameter passed in ``django.core.mail.send_mail`` |
|
52 |
ASTAKOS_DEFAULT_CONTACT_EMAIL support\@cloud.grnet.gr Contact email |
|
53 |
ASTAKOS_IM_MODULES ['local', 'twitter', 'shibboleth'] Signup modules |
|
54 |
ASTAKOS_FORCE_PROFILE_UPDATE True Force user profile verification |
|
55 |
ASTAKOS_INVITATIONS_ENABLED True Enable invitations |
|
56 |
ASTAKOS_COOKIE_NAME _pithos2_a ``Key`` parameter passed in ``django.http.HttpResponse.set_cookie`` |
|
57 |
ASTAKOS_COOKIE_DOMAIN None ``Domain`` parameter passed in ``django.http.HttpResponse.set_cookie`` |
|
58 |
ASTAKOS_COOKIE_SECURE True ``Secure`` parameter passed in ``django.http.HttpResponse.set_cookie`` |
|
59 |
ASTAKOS_IM_STATIC_URL /static/im/ URL to use when referring to static files |
|
60 |
ASTAKOS_MODERATION_ENABLED True If False and invitations are not enabled newly created user will be automatically accepted |
|
61 |
ASTAKOS_BASEURL \http://pithos.dev.grnet.gr Astakos baseurl |
|
62 |
ASTAKOS_SITENAME GRNET Cloud Service name that appears in emails |
|
63 |
=============================== ================================================ ============================================================ |
|
43 |
============================== ============================================================================= =========================================================================================== |
|
44 |
Name Default value Description |
|
45 |
============================== ============================================================================= =========================================================================================== |
|
46 |
ASTAKOS_AUTH_TOKEN_DURATION one month Expiration time of newly created auth tokens |
|
47 |
ASTAKOS_TWITTER_KEY Twitter ``oauth_token`` |
|
48 |
ASTAKOS_TWITTER_SECRET Twitter ``oauth_token_secret`` |
|
49 |
ASTAKOS_DEFAULT_USER_LEVEL 4 Default (not-invited) user level |
|
50 |
ASTAKOS_INVITATIONS_PER_LEVEL {0:100, 1:2, 2:0, 3:0, 4:0} Number of user invitations per user level |
|
51 |
ASTAKOS_DEFAULT_FROM_EMAIL GRNET Cloud <no-reply\@grnet.gr> ``from`` parameter passed in ``django.core.mail.send_mail`` |
|
52 |
ASTAKOS_DEFAULT_CONTACT_EMAIL support\@cloud.grnet.gr Contact email |
|
53 |
ASTAKOS_IM_MODULES ['local', 'twitter', 'shibboleth'] Signup modules |
|
54 |
ASTAKOS_FORCE_PROFILE_UPDATE True Force user profile verification |
|
55 |
ASTAKOS_INVITATIONS_ENABLED True Enable invitations |
|
56 |
ASTAKOS_COOKIE_NAME _pithos2_a ``Key`` parameter passed in ``django.http.HttpResponse.set_cookie`` |
|
57 |
ASTAKOS_COOKIE_DOMAIN None ``Domain`` parameter passed in ``django.http.HttpResponse.set_cookie`` |
|
58 |
ASTAKOS_COOKIE_SECURE True ``Secure`` parameter passed in ``django.http.HttpResponse.set_cookie`` |
|
59 |
ASTAKOS_IM_STATIC_URL /static/im/ URL to use when referring to static files |
|
60 |
ASTAKOS_MODERATION_ENABLED True If False and invitations are not enabled newly created user will be automatically accepted |
|
61 |
ASTAKOS_BASEURL \http://pithos.dev.grnet.gr Astakos baseurl |
|
62 |
ASTAKOS_SITENAME GRNET Cloud Service name that appears in emails |
|
63 |
ASTAKOS_CLOUD_SERVICES ({'icon': 'home-icon.png', 'id': 'cloud', 'name': 'grnet cloud', 'url': '/'}, Cloud services appear in the horizontal bar |
|
64 |
{'id': 'okeanos', 'name': '~okeanos', 'url': '/okeanos.html'}, |
|
65 |
{'id': 'pithos', 'name': 'pithos+', 'url': '/ui/'}) |
|
66 |
============================== ============================================================================= =========================================================================================== |
|
64 | 67 |
|
65 | 68 |
Administrator functions |
66 | 69 |
----------------------- |
Also available in: Unified diff