Statistics
| Branch: | Tag: | Revision:

root / pithos / settings.d / 20-im.conf @ fe243425

History | View | Annotate | Download (1.1 kB)

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