Initial commit. Move from pithos repository.
[astakos] / astakos / settings.d / 20-im.conf
1 # Set the expiration time of newly created auth tokens
2 # to be this many hours after their creation time.
3 AUTH_TOKEN_DURATION = 30 * 24
4
5 # Bypass authentication for user administration.
6 BYPASS_ADMIN_AUTH = False
7
8 # Show these many users per page in admin interface.
9 ADMIN_PAGE_LIMIT = 100
10
11 # Authenticate via Twitter.
12 TWITTER_KEY = ''
13 TWITTER_SECRET = ''
14
15 INVITATIONS_PER_LEVEL = {
16     0   :   100,
17     1   :   2,
18     2   :   0,
19     3   :   0,
20     4   :   0
21 }
22
23 SERVICE_NAME = 'Pithos'
24
25 # Address to use for outgoing emails
26 DEFAULT_FROM_EMAIL = 'Pithos <no-reply@grnet.gr>'
27 DEFAULT_CONTACT_EMAIL = 'support@pithos.grnet.gr'
28
29 # Where users should signup with their invitation code
30 SIGNUP_TARGET = '%s/im/signup/?code=%d&next=%s'
31
32 # Where users should activate their local account
33 ACTIVATION_LOGIN_TARGET = '%s/im/local/activate/?auth=%s&next=%s'
34
35 # Where users should reset their local password
36 PASSWORD_RESET_TARGET = '%s/im/local/reset/?username=%s&next=%s'
37
38 # Identity Management enabled modules
39 IM_MODULES = ['local', 'twitter', 'shibboleth']
40
41 # Force user profile verification
42 FORCE_PROFILE_UPDATE = False
43
44 #Enable invitations
45 INVITATIONS_ENABLED = True