Clear out management command descriptions.
[astakos] / snf-astakos-app / astakos / im / settings.py
1 from django.conf import settings
2
3 # Set the expiration time of newly created auth tokens
4 # to be this many hours after their creation time.
5 AUTH_TOKEN_DURATION = getattr(settings, 'ASTAKOS_AUTH_TOKEN_DURATION', 30 * 24)
6
7 # Authenticate via Twitter.
8 TWITTER_KEY = getattr(settings, 'ASTAKOS_TWITTER_KEY', '')
9 TWITTER_SECRET = getattr(settings, 'ASTAKOS_TWITTER_SECRET', '')
10
11 DEFAULT_USER_LEVEL = getattr(settings, 'ASTAKOS_DEFAULT_USER_LEVEL', 4)
12
13 INVITATIONS_PER_LEVEL = getattr(settings, 'ASTAKOS_INVITATIONS_PER_LEVEL', {
14     0   :   100,
15     1   :   2,
16     2   :   0,
17     3   :   0,
18     4   :   0
19 })
20
21 # Address to use for outgoing emails
22 DEFAULT_FROM_EMAIL = getattr(settings, 'ASTAKOS_DEFAULT_FROM_EMAIL', 'GRNET Cloud <no-reply@grnet.gr>')
23 DEFAULT_CONTACT_EMAIL = getattr(settings, 'ASTAKOS_DEFAULT_CONTACT_EMAIL', 'support@cloud.grnet.gr')
24
25 # Identity Management enabled modules
26 IM_MODULES = getattr(settings, 'ASTAKOS_IM_MODULES', ['local', 'twitter', 'shibboleth'])
27
28 # Force user profile verification
29 FORCE_PROFILE_UPDATE = getattr(settings, 'ASTAKOS_FORCE_PROFILE_UPDATE', True)
30
31 #Enable invitations
32 INVITATIONS_ENABLED = getattr(settings, 'ASTAKOS_INVITATIONS_ENABLED', True)
33
34 COOKIE_NAME = getattr(settings, 'ASTAKOS_COOKIE_NAME', '_pithos2_a')
35 COOKIE_DOMAIN = getattr(settings, 'ASTAKOS_COOKIE_DOMAIN', None)
36 COOKIE_SECURE = getattr(settings, 'ASTAKOS_COOKIE_SECURE', True)
37
38 IM_STATIC_URL = getattr(settings, 'ASTAKOS_IM_STATIC_URL', '/static/im/')
39
40 # If set to False and invitations not enabled newly created user will be automatically accepted
41 MODERATION_ENABLED = getattr(settings, 'ASTAKOS_MODERATION_ENABLED', True)
42
43 # Set baseurl
44 BASEURL = getattr(settings, 'ASTAKOS_BASEURL', 'http://pithos.dev.grnet.gr')
45
46 # Set service name
47 SITENAME = getattr(settings, 'ASTAKOS_SITENAME', 'GRNET Cloud')