root / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf @ c2f55dc8
History | View | Annotate | Download (5.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 |
#ASTAKOS_DEFAULT_USER_LEVEL = 4 |
6 |
|
7 |
#ASTAKOS_INVITATIONS_PER_LEVEL = { |
8 |
# 0 : 100, |
9 |
# 1 : 2, |
10 |
# 2 : 0, |
11 |
# 3 : 0, |
12 |
# 4 : 0 |
13 |
#} |
14 |
|
15 |
# Identity Management enabled modules |
16 |
# Supported modules are: 'local', 'twitter' and 'shibboleth' |
17 |
#ASTAKOS_IM_MODULES = ['local'] |
18 |
|
19 |
# Force user profile verification |
20 |
#ASTAKOS_FORCE_PROFILE_UPDATE = True |
21 |
|
22 |
#Enable invitations |
23 |
#ASTAKOS_INVITATIONS_ENABLED = False |
24 |
|
25 |
#ASTAKOS_COOKIE_NAME = '_pithos2_a' |
26 |
#ASTAKOS_COOKIE_DOMAIN = None |
27 |
#ASTAKOS_COOKIE_SECURE = True |
28 |
|
29 |
#ASTAKOS_IM_STATIC_URL = '/static/im/' |
30 |
|
31 |
# If set to False and invitations not enabled newly created user will be |
32 |
# automatically accepted |
33 |
#ASTAKOS_MODERATION_ENABLED = True |
34 |
|
35 |
# Set baseurl |
36 |
#ASTAKOS_BASEURL = 'https://accounts.example.synnefo.org' |
37 |
|
38 |
# Set service name |
39 |
#ASTAKOS_SITENAME = 'Synnefo Cloud' |
40 |
|
41 |
# Set recaptcha keys |
42 |
# http://www.google.com/recaptcha/whyrecaptcha |
43 |
#ASTAKOS_RECAPTCHA_PUBLIC_KEY = '' |
44 |
#ASTAKOS_RECAPTCHA_PRIVATE_KEY = '' |
45 |
#ASTAKOS_RECAPTCHA_OPTIONS = {'theme': 'custom', 'custom_theme_widget': 'okeanos_recaptcha'} |
46 |
#ASTAKOS_RECAPTCHA_USE_SSL = True |
47 |
#ASTAKOS_RECAPTCHA_ENABLED = False |
48 |
|
49 |
# Set where the user should be redirected after logout |
50 |
#ASTAKOS_LOGOUT_NEXT = '' |
51 |
|
52 |
# Set user email patterns that are automatically activated |
53 |
#ASTAKOS_RE_USER_EMAIL_PATTERNS = [] |
54 |
|
55 |
# Messages to display on login page header |
56 |
# e.g. [('warning', 'This warning message will be displayed on the top of login page')] |
57 |
#ASTAKOS_LOGIN_MESSAGES = [] |
58 |
|
59 |
# Messages to display on signup page header |
60 |
# e.g. [('warning', 'This warning message will be displayed on the top of signup page')] |
61 |
#ASTAKOS_SIGNUP_MESSAGES = [] |
62 |
|
63 |
# Messages to display on profile page header |
64 |
# e.g. [('warning', 'This warning message will be displayed on the top of profile pages')] |
65 |
#ASTAKOS_PROFILE_MESSAGES = [] |
66 |
|
67 |
# Messages to display on global page header |
68 |
# e.g. [('warning', 'This warning message will be displayed on the top of all pages')] |
69 |
#ASTAKOS_GLOBAL_MESSAGES = [] |
70 |
|
71 |
# messages to display as extra actions in account forms |
72 |
# e.g. {'https://cms.example.synnefo.org/': 'Back to Synnefo'} |
73 |
#ASTAKOS_PROFILE_EXTRA_LINKS = [] |
74 |
|
75 |
# The number of unsuccessful login requests per minute allowed for a specific email |
76 |
#ASTAKOS_RATELIMIT_RETRIES_ALLOWED = 3 |
77 |
|
78 |
# If False the email change mechanism is disabled |
79 |
#ASTAKOS_EMAILCHANGE_ENABLED = False |
80 |
|
81 |
# Set the expiration time (in days) of email change requests |
82 |
#ASTAKOS_EMAILCHANGE_ACTIVATION_DAYS = 10 |
83 |
|
84 |
# Set the astakos main functions logging severity (None to disable) |
85 |
#from logging import INFO |
86 |
#ASTAKOS_LOGGING_LEVEL = INFO |
87 |
|
88 |
# Email subjects configuration. For admin/helper notification emails %(user)s |
89 |
# maps to registered/activated user email. |
90 |
#ASTAKOS_INVITATION_EMAIL_SUBJECT = 'Invitation to %s' % SITENAME |
91 |
#ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s' % SITENAME |
92 |
#ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s ' % SITENAME |
93 |
#ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s account activation is needed' % SITENAME |
94 |
#ASTAKOS_ACCOUNT_CREATION_SUBJECT = '%s account created (%%(user)s)' % SITENAME) |
95 |
#ASTAKOS_GROUP_CREATION_SUBJECT = '%s group created (%%(group)s)' % SITENAME) |
96 |
#ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s account activated (%%(user)s)' % SITENAME |
97 |
#ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s ' % SITENAME |
98 |
#ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s ' % SITENAME |
99 |
#ASTAKOS_PROJECT_CREATION_SUBJECT = '%s project application created (%%(name)s)' % SITENAME |
100 |
#ASTAKOS_PROJECT_APPROVED_SUBJECT = '%s project application approved (%%(name)s)' % SITENAME |
101 |
#ASTAKOS_PROJECT_TERMINATION_SUBJECT = '%s project terminated (%%(name)s)' % SITENAME |
102 |
#ASTAKOS_PROJECT_SUSPENSION_SUBJECT = '%s project suspended (%%(name)s)' % SITENAME |
103 |
#ASTAKOS_PROJECT_MEMBERSHIP_CHANGE_SUBJECT = '%s project membership changed (%%(name)s)' % SITENAME |
104 |
|
105 |
# Set how many objects should be displayed per page |
106 |
#ASTAKOS_PAGINATE_BY = 10 |
107 |
# Set how many objects should be displayed per page in show all groups page |
108 |
#ASTAKOS_PAGINATE_BY_ALL = 15 |
109 |
|
110 |
# Enforce token renewal on password change/reset |
111 |
#ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN = True |
112 |
|
113 |
#ASTAKOS_USAGE_UPDATE_INTERVAL = 5000 |
114 |
|
115 |
# Permit local account migration |
116 |
#ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION = True |
117 |
|
118 |
# Strict shibboleth usage |
119 |
#ASTAKOS_SHIBBOLETH_REQUIRE_NAME_INFO = False |
120 |
|
121 |
#ASTAKOS_ACTIVATION_REDIRECT_URL = "/im/landing" |
122 |
|
123 |
# If true, this enables a ui compatibility layer for the introduction |
124 |
# of UUIDs in identity management. |
125 |
# WARNING: Setting to True will break your installation. |
126 |
# ASTAKOS_TRANSLATE_UUIDS = False |
127 |
|
128 |
# UUIDs of users that can approve or deny project applications from the web. |
129 |
# ASTAKOS_PROJECT_ADMINS = set() # e.g. set(['01234567-89ab-cdef-0123-456789abcdef']) |
130 |
|
131 |
# OAuth2 Twitter credentials. |
132 |
#ASTAKOS_TWITTER_KEY = '' |
133 |
#ASTAKOS_TWITTER_SECRET = '' |
134 |
#ASTAKOS_TWITTER_AUTH_FORCE_LOGIN = False |
135 |
|
136 |
# OAuth2 Google credentials |
137 |
#ASTAKOS_GOOGLE_CLIENT_ID = '' |
138 |
#ASTAKOS_GOOGLE_SECRET = '' |
139 |
|
140 |
# OAuth2 LinkedIn credentials. |
141 |
#ASTAKOS_LINKEDIN_TOKEN = '' |
142 |
#ASTAKOS_LINKEDIN_SECRET = '' |
143 |
|
144 |
# URL to redirect the user after successful login when no next parameter is set |
145 |
# ASTAKOS_LOGIN_SUCCESS_URL = '/im/landing' |
146 |
|
147 |
# Whether or not to display projects in astakos menu |
148 |
# ASTAKOS_PROJECTS_VISIBLE = False |
149 |
|
150 |
# A way to extend the services presentation metadata |
151 |
# ASTAKOS_SERVICES_META = {} |
152 |
|
153 |
# A way to extend the resources presentation metadata |
154 |
# ASTAKOS_RESOURCES_META = {} |