Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf @ 9521d937

History | View | Annotate | Download (11.3 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
# Address to use for outgoing emails
16
#ASTAKOS_DEFAULT_CONTACT_EMAIL = 'support@example.synnefo.org'
17

    
18
#SERVER_EMAIL = None
19
#ADMINS = None
20

    
21
# Identity Management enabled modules
22
# Supported modules are: 'local', 'twitter' and 'shibboleth'
23
#ASTAKOS_IM_MODULES = ['local']
24

    
25
# Force user profile verification
26
#ASTAKOS_FORCE_PROFILE_UPDATE = True
27

    
28
#Enable invitations
29
#ASTAKOS_INVITATIONS_ENABLED = False
30

    
31
#ASTAKOS_COOKIE_NAME = '_pithos2_a'
32
#ASTAKOS_COOKIE_DOMAIN = None
33
#ASTAKOS_COOKIE_SECURE = True
34

    
35
#ASTAKOS_IM_STATIC_URL = '/static/im/'
36

    
37
# If set to False and invitations not enabled newly created user will be 
38
# automatically accepted
39
#ASTAKOS_MODERATION_ENABLED = True
40

    
41
# Set baseurl
42
#ASTAKOS_BASEURL = 'https://accounts.example.synnefo.org'
43

    
44
# Set service name
45
#ASTAKOS_SITENAME = 'Synnefo Cloud'
46

    
47
# Set recaptcha keys
48
# http://www.google.com/recaptcha/whyrecaptcha 
49
#ASTAKOS_RECAPTCHA_PUBLIC_KEY = ''
50
#ASTAKOS_RECAPTCHA_PRIVATE_KEY = ''
51
#ASTAKOS_RECAPTCHA_OPTIONS = {'theme': 'custom', 'custom_theme_widget': 'okeanos_recaptcha'}
52
#ASTAKOS_RECAPTCHA_USE_SSL = True
53
#ASTAKOS_RECAPTCHA_ENABLED = False
54

    
55
# Set where the user should be redirected after logout
56
#ASTAKOS_LOGOUT_NEXT = ''
57

    
58
# Set user email patterns that are automatically activated
59
#ASTAKOS_RE_USER_EMAIL_PATTERNS = []
60

    
61
# Messages to display on login page header
62
# e.g. [('warning', 'This warning message will be displayed on the top of login page')]
63
#ASTAKOS_LOGIN_MESSAGES = []
64

    
65
# Messages to display on signup page header
66
# e.g. [('warning', 'This warning message will be displayed on the top of signup page')]
67
#ASTAKOS_SIGNUP_MESSAGES = []
68

    
69
# Messages to display on profile page header
70
# e.g. [('warning', 'This warning message will be displayed on the top of profile pages')]
71
#ASTAKOS_PROFILE_MESSAGES = []
72

    
73
# Messages to display on global page header
74
# e.g. [('warning', 'This warning message will be displayed on the top of all pages')]
75
#ASTAKOS_GLOBAL_MESSAGES = []
76

    
77
# messages to display as extra actions in account forms
78
# e.g. {'https://cms.example.synnefo.org/': 'Back to Synnefo'}
79
#ASTAKOS_PROFILE_EXTRA_LINKS = []
80

    
81
# The number of unsuccessful login requests per minute allowed for a specific email
82
#ASTAKOS_RATELIMIT_RETRIES_ALLOWED = 3
83

    
84
# If False the email change mechanism is disabled
85
#ASTAKOS_EMAILCHANGE_ENABLED = False
86

    
87
# Set the expiration time (in days) of email change requests
88
#ASTAKOS_EMAILCHANGE_ACTIVATION_DAYS = 10
89

    
90
# Set the astakos main functions logging severity (None to disable)
91
#from logging import INFO
92
#ASTAKOS_LOGGING_LEVEL = INFO
93

    
94
# Email subjects configuration. For admin/helper notification emails %(user)s
95
# maps to registered/activated user email.
96
#ASTAKOS_INVITATION_EMAIL_SUBJECT = 'Invitation to %s alpha2 testing' % SITENAME
97
#ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s alpha2 testing' % SITENAME
98
#ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s alpha2 testing' % SITENAME
99
#ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activation is needed' % SITENAME
100
#ASTAKOS_ACCOUNT_CREATION_SUBJECT = '%s alpha2 testing account created (%%(user)s)' % SITENAME)
101
#ASTAKOS_GROUP_CREATION_SUBJECT = '%s alpha2 testing group created (%%(group)s)' % SITENAME)
102
#ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activated (%%(user)s)' % SITENAME
103
#ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s alpha2 testing' % SITENAME
104
#ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s alpha2 testing' % SITENAME
105
#ASTAKOS_PROJECT_CREATION_SUBJECT = '%s alpha2 testing project application created (%%(name)s)' % SITENAME
106
#ASTAKOS_PROJECT_APPROVED_SUBJECT = '%s alpha2 testing project application approved (%%(name)s)' % SITENAME
107
#ASTAKOS_PROJECT_TERMINATION_SUBJECT = '%s alpha2 testing project terminated (%%(name)s)' % SITENAME
108
#ASTAKOS_PROJECT_SUSPENSION_SUBJECT = '%s alpha2 testing project suspended (%%(name)s)' % SITENAME
109
#ASTAKOS_PROJECT_MEMBERSHIP_CHANGE_SUBJECT = '%s alpha2 testing project membership changed (%%(name)s)' % SITENAME
110

    
111
# Set the quotaholder component URI and token
112
#ASTAKOS_QUOTAHOLDER_URL = ''
113
#ASTAKOS_QUOTAHOLDER_TOKEN = ''
114

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

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

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

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

    
180
#ASTAKOS_USAGE_UPDATE_INTERVAL = 5000
181

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

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

    
265
# Strict shibboleth usage
266
#ASTAKOS_SHIBBOLETH_REQUIRE_NAME_INFO = False
267

    
268
#ASTAKOS_PROJECT_MEMBER_JOIN_POLICIES = {'1':'automatically accepted',
269
#                                 '2':'owner accepts',
270
#                                 '3':'closed'}
271

    
272
#ASTAKOS_PROJECT_MEMBER_LEAVE_POLICIES' = {'1':'automatically accepted',
273
#                                 '2':'owner accepts',
274
#                                 '3':'closed'}
275

    
276
#ASTAKOS_ACTIVATION_REDIRECT_URL = "/im/landing"
277

    
278
# If true, this enables a ui compatibility layer for the introduction
279
# of UUIDs in identity management.
280
# WARNING: Setting to True will break your installation.
281
# ASTAKOS_TRANSLATE_UUIDS = False
282

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

    
286
# OAuth2 Twitter credentials.
287
#ASTAKOS_TWITTER_KEY = ''
288
#ASTAKOS_TWITTER_SECRET = ''
289
#ASTAKOS_TWITTER_AUTH_FORCE_LOGIN = False
290

    
291
# OAuth2 Google credentials
292
#ASTAKOS_GOOGLE_CLIENT_ID = ''
293
#ASTAKOS_GOOGLE_SECRET = ''
294

    
295
# OAuth2 LinkedIn credentials.
296
#ASTAKOS_LINKEDIN_TOKEN = ''
297
#ASTAKOS_LINKEDIN_SECRET = ''