root / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf @ ee210d1d
History | View | Annotate | Download (4 kB)
1 |
# Set the expiration time of newly created auth tokens |
---|---|
2 |
# to be this many hours after their creation time. |
3 |
#ASTAKOS_AUTH_TOKEN_DURATION = 30 * 24 |
4 |
|
5 |
# Authenticate via Twitter. |
6 |
#ASTAKOS_TWITTER_KEY = '' |
7 |
#ASTAKOS_TWITTER_SECRET = '' |
8 |
|
9 |
#ASTAKOS_DEFAULT_USER_LEVEL = 4 |
10 |
|
11 |
#ASTAKOS_INVITATIONS_PER_LEVEL = { |
12 |
# 0 : 100, |
13 |
# 1 : 2, |
14 |
# 2 : 0, |
15 |
# 3 : 0, |
16 |
# 4 : 0 |
17 |
#} |
18 |
|
19 |
# Address to use for outgoing emails |
20 |
#ASTAKOS_DEFAULT_FROM_EMAIL = 'GRNET Cloud <no-reply@grnet.gr>' |
21 |
#ASTAKOS_DEFAULT_CONTACT_EMAIL = 'support@cloud.grnet.gr' |
22 |
#ASTAKOS_DEFAULT_ADMIN_EMAIL = 'admin@cloud.grnet.gr' |
23 |
|
24 |
# Identity Management enabled modules |
25 |
#ASTAKOS_IM_MODULES = ['local', 'twitter', 'shibboleth'] |
26 |
|
27 |
# Force user profile verification |
28 |
#ASTAKOS_FORCE_PROFILE_UPDATE = True |
29 |
|
30 |
#Enable invitations |
31 |
#ASTAKOS_INVITATIONS_ENABLED = True |
32 |
|
33 |
#ASTAKOS_COOKIE_NAME = '_pithos2_a' |
34 |
#ASTAKOS_COOKIE_DOMAIN = None |
35 |
#ASTAKOS_COOKIE_SECURE = True |
36 |
|
37 |
#ASTAKOS_IM_STATIC_URL = '/static/im/' |
38 |
|
39 |
# If set to False and invitations not enabled newly created user will be |
40 |
# automatically accepted |
41 |
#ASTAKOS_MODERATION_ENABLED = True |
42 |
|
43 |
# Set baseurl |
44 |
#ASTAKOS_BASEURL = 'http://pithos.dev.grnet.gr' |
45 |
|
46 |
# Set service name |
47 |
#ASTAKOS_SITENAME = 'GRNET Cloud' |
48 |
|
49 |
# Set recaptcha keys |
50 |
# http://www.google.com/recaptcha/whyrecaptcha |
51 |
#ASTAKOS_RECAPTCHA_PUBLIC_KEY = '' |
52 |
#ASTAKOS_RECAPTCHA_PRIVATE_KEY = '' |
53 |
#ASTAKOS_RECAPTCHA_OPTIONS = {'theme':'white'} |
54 |
#ASTAKOS_RECAPTCHA_USE_SSL = True |
55 |
#ASTAKOS_RECAPTCHA_ENABLED = True |
56 |
|
57 |
# set AstakosUser fields to propagate in the billing system |
58 |
#ASTAKOS_BILLING_FIELDS = ['is_active'] |
59 |
|
60 |
# Queue for billing. |
61 |
#'rabbitmq://guest:guest@localhost:5672/astakos' |
62 |
#QUEUE_CONNECTION = None |
63 |
|
64 |
# Set where the user should be redirected after logout |
65 |
#ASTAKOS_LOGOUT_NEXT = '' |
66 |
|
67 |
# Set user email patterns that are automatically activated |
68 |
#ASTAKOS_RE_USER_EMAIL_PATTERNS = [] |
69 |
|
70 |
# Messages to display on login page header |
71 |
# e.g. [('warning', 'This warning message will be displayed on the top of login page')] |
72 |
#ASTAKOS_LOGIN_MESSAGES = [] |
73 |
|
74 |
# Messages to display on signup page header |
75 |
# e.g. [('warning', 'This warning message will be displayed on the top of signup page')] |
76 |
#ASTAKOS_SIGNUP_MESSAGES = [] |
77 |
|
78 |
# Messages to display on profile page header |
79 |
# e.g. [('warning', 'This warning message will be displayed on the top of profile pages')] |
80 |
#ASTAKOS_PROFILE_MESSAGES = [] |
81 |
|
82 |
# Messages to display on global page header |
83 |
# e.g. [('warning', 'This warning message will be displayed on the top of all pages')] |
84 |
#ASTAKOS_GLOBAL_MESSAGES = [] |
85 |
|
86 |
# messages to display as extra actions in account forms |
87 |
# e.g. {'https://cms.okeanos.grnet.gr/': 'Back to ~okeanos'} |
88 |
#ASTAKOS_PROFILE_EXTRA_LINKS = [] |
89 |
|
90 |
# The number of unsuccessful login requests per minute allowed for a specific email |
91 |
#ASTAKOS_RATELIMIT_RETRIES_ALLOWED = 3 |
92 |
|
93 |
# If False the email change mechanism is disabled |
94 |
#ASTAKOS_EMAILCHANGE_ENABLED = False |
95 |
|
96 |
# Set the expiration time (in days) of email change requests |
97 |
#ASTAKOS_EMAILCHANGE_ACTIVATION_DAYS = 10 |
98 |
|
99 |
# Set the astakos main functions logging severity (None to disable) |
100 |
#from logging import INFO |
101 |
#ASTAKOS_LOGGING_LEVEL = INFO |
102 |
|
103 |
# Email subjects configuration. For admin/helper notification emails %(user)s |
104 |
# maps to registered/activated user email. |
105 |
#ASTAKOS_INVITATION_EMAIL_SUBJECT = 'Invitation to %s alpha2 testing' % SITENAME |
106 |
#ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s alpha2 testing' % SITENAME |
107 |
#ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s alpha2 testing' % SITENAME |
108 |
#ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activation is needed' % SITENAME |
109 |
#ASTAKOS_ADMIN_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account created (%%(user)s)' % SITENAME |
110 |
#ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activated (%%(user)s)' % SITENAME |
111 |
#ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s alpha2 testing' % SITENAME |
112 |
#ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s alpha2 testing' % SITENAME |
113 |
|
114 |
# Enforce token renewal on password change/reset |
115 |
NEWPASSWD_INVALIDATE_TOKEN = getattr(settings, 'ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN', True) |