Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf @ 251b83be

History | View | Annotate | Download (11.5 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 alpha2 testing' % SITENAME
91
#ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s alpha2 testing' % SITENAME
92
#ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s alpha2 testing' % SITENAME
93
#ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activation is needed' % SITENAME
94
#ASTAKOS_ACCOUNT_CREATION_SUBJECT = '%s alpha2 testing account created (%%(user)s)' % SITENAME)
95
#ASTAKOS_GROUP_CREATION_SUBJECT = '%s alpha2 testing group created (%%(group)s)' % SITENAME)
96
#ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activated (%%(user)s)' % SITENAME
97
#ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s alpha2 testing' % SITENAME
98
#ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s alpha2 testing' % SITENAME
99
#ASTAKOS_PROJECT_CREATION_SUBJECT = '%s alpha2 testing project application created (%%(name)s)' % SITENAME
100
#ASTAKOS_PROJECT_APPROVED_SUBJECT = '%s alpha2 testing project application approved (%%(name)s)' % SITENAME
101
#ASTAKOS_PROJECT_TERMINATION_SUBJECT = '%s alpha2 testing project terminated (%%(name)s)' % SITENAME
102
#ASTAKOS_PROJECT_SUSPENSION_SUBJECT = '%s alpha2 testing project suspended (%%(name)s)' % SITENAME
103
#ASTAKOS_PROJECT_MEMBERSHIP_CHANGE_SUBJECT = '%s alpha2 testing project membership changed (%%(name)s)' % SITENAME
104

    
105
# Set the quotaholder component URI and token
106
#ASTAKOS_QUOTAHOLDER_URL = ''
107
#ASTAKOS_QUOTAHOLDER_TOKEN = ''
108
#
109
# Tune the size of the quotaholder http client connection pool.
110
# This limits the number of concurrent requests to quotaholder.
111
# If quotaholder is installed in the same system as astakos,
112
# This must be at most half the synnefo_poolsize for the django database
113
#ASTAKOS_QUOTAHOLDER_POOLSIZE = 50
114

    
115
# Setup quotaholder URL and token when snf-quotaholder-app is installed
116
# in the same server as astakos (recommended)
117
#QUOTAHOLDER_URL = ''
118
#QUOTAHOLDER_TOKEN = ''
119

    
120
# Set the cloud service properties
121
#ASTAKOS_SERVICES = {
122
#    'cyclades': {
123
##        # Specifying the key 'url' will overwrite it.
124
##        # Use this to (re)set service URL.
125
##        'url': 'https://cyclades.example.synnefo.org/ui/',
126
##        # order services in listings, cloudbar, etc.
127
##        'order' : 1,
128
#        'resources': [{
129
#            'name': 'disk',
130
#            'group': 'compute',
131
#            'uplimit': 30*1024*1024*1024,
132
#            'unit': 'bytes',
133
#            'desc': 'Virtual machine disk size'
134
#            }, {
135
#            'name': 'cpu',
136
#            'group': 'compute',
137
#            'uplimit': 6,
138
#            'desc': 'Number of virtual machine processors'
139
#            }, {
140
#            'name': 'ram',
141
#            'group': 'compute',
142
#            'uplimit': 6*1024*1024*1024,
143
#            'unit': 'bytes',
144
#            'desc': 'Virtual machine memory size'
145
#            }, {
146
#            'name': 'vm',
147
#            'group': 'compute',
148
#            'uplimit': 2,
149
#            'desc': 'Number of virtual machines'
150
#            }, {
151
#            'name': 'network.private',
152
#            'group': 'network',
153
#            'uplimit': 1,
154
#            'desc': 'Private networks'
155
#            }
156
#        ]
157
#    },
158
#    'pithos+': {
159
##        # Use this to (re)set service URL.
160
##        'url': 'https://pithos.example.synnefo.org/ui/',
161
##        # order services in listings, cloudbar, etc.
162
##        'order' : 2,
163
#        'resources':[{
164
#            'name': 'diskspace',
165
#            'group': 'storage',
166
#            'uplimit': 5*1024*1024*1024,
167
#            'unit': 'bytes',
168
#            'desc': 'Pithos account diskspace'
169
#            }]
170
#    }
171
#}
172

    
173
# Set how many objects should be displayed per page
174
#ASTAKOS_PAGINATE_BY = 10
175
# Set how many objects should be displayed per page in show all groups page
176
#ASTAKOS_PAGINATE_BY_ALL = 15
177

    
178
# Enforce token renewal on password change/reset
179
#ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN = True
180

    
181
#ASTAKOS_USAGE_UPDATE_INTERVAL = 5000
182

    
183
#ASTAKOS_RESOURCES_PRESENTATION_DATA = {
184
#        'groups': {
185
#             'compute': {
186
#                'help_text':'Compute resources (amount of VMs, CPUs, RAM, System disk) ',
187
#                'is_abbreviation':False,
188
#                'report_desc':'',
189
#                 'verbose_name':'compute',
190
#            },
191
#            'storage': {
192
#                'help_text':'Storage resources (amount of space to store files on Pithos) ',
193
#                'is_abbreviation':False,
194
#                'report_desc':'',
195
#                 'verbose_name':'storage',
196
#            },
197
#            'network': {
198
#                'help_text':' Network resources (number of Private Networks)  ',
199
#                'is_abbreviation':False,
200
#                'report_desc':'',
201
#                'verbose_name':'network',
202
#            },
203
#        },
204
#        'resources': {
205
#            'pithos+.diskspace': {
206
#                'help_text':'This is the space on Pithos for storing files and VM Images. ',
207
#                'help_text_input_each':'This is the total amount of space on Pithos that will be granted to each user of this Project ',
208
#                'is_abbreviation':False,
209
#                'report_desc':'Storage Space',
210
#                'placeholder':'eg. 10GB',
211
#                'verbose_name':'Storage Space',
212
#            },
213
#            'cyclades.disk': {
214
#                'help_text':'This is the System Disk that the VMs have that run the OS ',
215
#                'help_text_input_each':"This is the total amount of System Disk that will be granted to each user of this Project (this refers to the total System Disk of all VMs, not each VM's System Disk)  ",
216
#                'is_abbreviation':False,
217
#                'report_desc':'System Disk',
218
#                'placeholder':'eg. 5GB, 2GB etc',
219
#                'verbose_name':'System Disk'
220
#            },
221
#            'cyclades.ram': {
222
#                'help_text':'RAM used by VMs ',
223
#                'help_text_input_each':'This is the total amount of RAM that will be granted to each user of this Project (on all VMs)  ',
224
#                'is_abbreviation':True,
225
#                'report_desc':'RAM',
226
#                'placeholder':'eg. 4GB',
227
#                'verbose_name':'ram'
228
#            },
229
#            'cyclades.cpu': {
230
#                'help_text':'CPUs used by VMs ',
231
#                'help_text_input_each':'This is the total number of CPUs that will be granted to each user of this Project (on all VMs)  ',
232
#                'is_abbreviation':True,
233
#                'report_desc':'CPUs',
234
#                'placeholder':'eg. 1',
235
#                'verbose_name':'cpu'
236
#            },
237
#            'cyclades.vm': {
238
#                'help_text':'These are the VMs one can create on the Cyclades UI ',
239
#                'help_text_input_each':'This is the total number of VMs that will be granted to each user of this Project ',
240
#                'is_abbreviation':True,
241
#                'report_desc':'Virtual Machines',
242
#                'placeholder':'eg. 2',
243
#                'verbose_name':'vm',
244
#            },
245
#            'cyclades.network.private': {
246
#                'help_text':'These are the Private Networks one can create on the Cyclades UI. ',
247
#                'help_text_input_each':'This is the total number of Private Networks that will be granted to each user of this Project ',
248
#                'is_abbreviation':False,
249
#                'report_desc':'Private Networks',
250
#                'placeholder':'eg. 1',
251
#                'verbose_name':'private network'
252
#            }
253
#
254
#        },
255
#
256
#        'groups_order': ['storage', 'compute', 'network'],
257
#        'resources_order': ['pithos+.diskspace', 'cyclades.disk',
258
#                            'cyclades.cpu', 'cyclades.ram', 'cyclades.vm',
259
#                            'cyclades.network.private']
260
#
261
#    }
262

    
263
# Permit local account migration
264
#ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION = True
265

    
266
# Strict shibboleth usage
267
#ASTAKOS_SHIBBOLETH_REQUIRE_NAME_INFO = False
268

    
269
#ASTAKOS_ACTIVATION_REDIRECT_URL = "/im/landing"
270

    
271
# If true, this enables a ui compatibility layer for the introduction
272
# of UUIDs in identity management.
273
# WARNING: Setting to True will break your installation.
274
# ASTAKOS_TRANSLATE_UUIDS = False
275

    
276
# UUIDs of users that can approve or deny project applications from the web.
277
# ASTAKOS_PROJECT_ADMINS = set() # e.g. set(['01234567-89ab-cdef-0123-456789abcdef'])
278

    
279
# Maximum pending project applications per applicant.
280
# This is to reduce the volume of applications
281
# in case users abuse the mechanism.
282
#ASTAKOS_PENDING_APPLICATION_LIMIT = 0
283

    
284
# OAuth2 Twitter credentials.
285
#ASTAKOS_TWITTER_KEY = ''
286
#ASTAKOS_TWITTER_SECRET = ''
287
#ASTAKOS_TWITTER_AUTH_FORCE_LOGIN = False
288

    
289
# OAuth2 Google credentials
290
#ASTAKOS_GOOGLE_CLIENT_ID = ''
291
#ASTAKOS_GOOGLE_SECRET = ''
292

    
293
# OAuth2 LinkedIn credentials.
294
#ASTAKOS_LINKEDIN_TOKEN = ''
295
#ASTAKOS_LINKEDIN_SECRET = ''
296

    
297
# URL to redirect the user after successful login when no next parameter is set
298
# ASTAKOS_LOGIN_SUCCESS_URL = '/im/landing'
299

    
300
# Whether or not to display projects in astakos menu
301
# ASTAKOS_PROJECTS_VISIBLE = False