root / astakos / settings.d / 20-im.conf @ 13858d75
History | View | Annotate | Download (1.3 kB)
1 | 64cd4730 | Antony Chazapis | # Set the expiration time of newly created auth tokens |
---|---|---|---|
2 | 64cd4730 | Antony Chazapis | # to be this many hours after their creation time. |
3 | 64cd4730 | Antony Chazapis | AUTH_TOKEN_DURATION = 30 * 24 |
4 | 64cd4730 | Antony Chazapis | |
5 | 64cd4730 | Antony Chazapis | # Bypass authentication for user administration. |
6 | 64cd4730 | Antony Chazapis | BYPASS_ADMIN_AUTH = False |
7 | 64cd4730 | Antony Chazapis | |
8 | 64cd4730 | Antony Chazapis | # Show these many users per page in admin interface. |
9 | 64cd4730 | Antony Chazapis | ADMIN_PAGE_LIMIT = 100 |
10 | 64cd4730 | Antony Chazapis | |
11 | 64cd4730 | Antony Chazapis | # Authenticate via Twitter. |
12 | 64cd4730 | Antony Chazapis | TWITTER_KEY = '' |
13 | 64cd4730 | Antony Chazapis | TWITTER_SECRET = '' |
14 | 64cd4730 | Antony Chazapis | |
15 | a196eb7e | Sofia Papagiannaki | DEFAULT_USER_LEVEL = 4 |
16 | a196eb7e | Sofia Papagiannaki | |
17 | 64cd4730 | Antony Chazapis | INVITATIONS_PER_LEVEL = { |
18 | 64cd4730 | Antony Chazapis | 0 : 100, |
19 | 64cd4730 | Antony Chazapis | 1 : 2, |
20 | 64cd4730 | Antony Chazapis | 2 : 0, |
21 | 64cd4730 | Antony Chazapis | 3 : 0, |
22 | 64cd4730 | Antony Chazapis | 4 : 0 |
23 | 64cd4730 | Antony Chazapis | } |
24 | 64cd4730 | Antony Chazapis | |
25 | 64cd4730 | Antony Chazapis | # Address to use for outgoing emails |
26 | 74f643ad | Sofia Papagiannaki | DEFAULT_FROM_EMAIL = '%s <no-reply@grnet.gr>' |
27 | 74f643ad | Sofia Papagiannaki | DEFAULT_CONTACT_EMAIL = 'support@%s.grnet.gr' |
28 | 64cd4730 | Antony Chazapis | |
29 | 64cd4730 | Antony Chazapis | # Where users should signup with their invitation code |
30 | 64cd4730 | Antony Chazapis | SIGNUP_TARGET = '%s/im/signup/?code=%d&next=%s' |
31 | 64cd4730 | Antony Chazapis | |
32 | 64cd4730 | Antony Chazapis | # Where users should activate their local account |
33 | 64cd4730 | Antony Chazapis | ACTIVATION_LOGIN_TARGET = '%s/im/local/activate/?auth=%s&next=%s' |
34 | 64cd4730 | Antony Chazapis | |
35 | 890b0eaf | Sofia Papagiannaki | ## Where users should reset their local password |
36 | 890b0eaf | Sofia Papagiannaki | #PASSWORD_RESET_TARGET = '%s/im/local/reset/?username=%s&next=%s' |
37 | 64cd4730 | Antony Chazapis | |
38 | 64cd4730 | Antony Chazapis | # Identity Management enabled modules |
39 | 64cd4730 | Antony Chazapis | IM_MODULES = ['local', 'twitter', 'shibboleth'] |
40 | 64cd4730 | Antony Chazapis | |
41 | 64cd4730 | Antony Chazapis | # Force user profile verification |
42 | 890b0eaf | Sofia Papagiannaki | FORCE_PROFILE_UPDATE = True |
43 | 64cd4730 | Antony Chazapis | |
44 | 64cd4730 | Antony Chazapis | #Enable invitations |
45 | 890b0eaf | Sofia Papagiannaki | INVITATIONS_ENABLED = True |
46 | 890b0eaf | Sofia Papagiannaki | |
47 | 890b0eaf | Sofia Papagiannaki | # The URL where requests are redirected for login, especially when using the login_required() decorator. |
48 | a196eb7e | Sofia Papagiannaki | LOGIN_URL = '/im' |
49 | a196eb7e | Sofia Papagiannaki | |
50 | a196eb7e | Sofia Papagiannaki | COOKIE_NAME = '_pithos2_a' |
51 | 13858d75 | Kostas Papadimitriou | COOKIE_DOMAIN = None |
52 | 13858d75 | Kostas Papadimitriou | |
53 | 13858d75 | Kostas Papadimitriou | IM_MEDIA_URL = '/im/static/im/grnetstyles/' |