Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf @ c4d1b547

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
# 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
# Supported modules are: 'local', 'twitter' and 'shibboleth'
26
#ASTAKOS_IM_MODULES = ['local']
27

    
28
# Force user profile verification
29
#ASTAKOS_FORCE_PROFILE_UPDATE = True
30

    
31
#Enable invitations
32
#ASTAKOS_INVITATIONS_ENABLED = False
33

    
34
#ASTAKOS_COOKIE_NAME = '_pithos2_a'
35
#ASTAKOS_COOKIE_DOMAIN = None
36
#ASTAKOS_COOKIE_SECURE = True
37

    
38
#ASTAKOS_IM_STATIC_URL = '/static/im/'
39

    
40
# If set to False and invitations not enabled newly created user will be 
41
# automatically accepted
42
#ASTAKOS_MODERATION_ENABLED = True
43

    
44
# Set baseurl
45
#ASTAKOS_BASEURL = 'http://pithos.dev.grnet.gr'
46

    
47
# Set service name
48
#ASTAKOS_SITENAME = 'GRNET Cloud'
49

    
50
# Set recaptcha keys
51
# http://www.google.com/recaptcha/whyrecaptcha 
52
#ASTAKOS_RECAPTCHA_PUBLIC_KEY = ''
53
#ASTAKOS_RECAPTCHA_PRIVATE_KEY = ''
54
#ASTAKOS_RECAPTCHA_OPTIONS = {'theme':'white'}
55
#ASTAKOS_RECAPTCHA_USE_SSL = True
56
#ASTAKOS_RECAPTCHA_ENABLED = False
57

    
58
# set AstakosUser fields to propagate in the billing system
59
#ASTAKOS_BILLING_FIELDS = ['is_active']
60

    
61
# Queue for billing.
62
#'rabbitmq://guest:guest@localhost:5672/astakos'
63
#QUEUE_CONNECTION = None 
64

    
65
# Set where the user should be redirected after logout
66
#ASTAKOS_LOGOUT_NEXT = ''
67

    
68
# Set user email patterns that are automatically activated
69
#ASTAKOS_RE_USER_EMAIL_PATTERNS = []
70

    
71
# Messages to display on login page header
72
# e.g. [('warning', 'This warning message will be displayed on the top of login page')]
73
#ASTAKOS_LOGIN_MESSAGES = []
74

    
75
# Messages to display on signup page header
76
# e.g. [('warning', 'This warning message will be displayed on the top of signup page')]
77
#ASTAKOS_SIGNUP_MESSAGES = []
78

    
79
# Messages to display on profile page header
80
# e.g. [('warning', 'This warning message will be displayed on the top of profile pages')]
81
#ASTAKOS_PROFILE_MESSAGES = []
82

    
83
# Messages to display on global page header
84
# e.g. [('warning', 'This warning message will be displayed on the top of all pages')]
85
#ASTAKOS_GLOBAL_MESSAGES = []
86

    
87
# messages to display as extra actions in account forms
88
# e.g. {'https://cms.okeanos.grnet.gr/': 'Back to ~okeanos'}
89
#ASTAKOS_PROFILE_EXTRA_LINKS = []
90

    
91
# The number of unsuccessful login requests per minute allowed for a specific email
92
#ASTAKOS_RATELIMIT_RETRIES_ALLOWED = 3
93

    
94
# If False the email change mechanism is disabled
95
#ASTAKOS_EMAILCHANGE_ENABLED = False
96

    
97
# Set the expiration time (in days) of email change requests
98
#ASTAKOS_EMAILCHANGE_ACTIVATION_DAYS = 10
99

    
100
# Set the astakos main functions logging severity (None to disable)
101
#from logging import INFO
102
#ASTAKOS_LOGGING_LEVEL = INFO
103

    
104
# Email subjects configuration. For admin/helper notification emails %(user)s
105
# maps to registered/activated user email.
106
#ASTAKOS_INVITATION_EMAIL_SUBJECT = 'Invitation to %s alpha2 testing' % SITENAME
107
#ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s alpha2 testing' % SITENAME
108
#ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s alpha2 testing' % SITENAME
109
#ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activation is needed' % SITENAME
110
#ASTAKOS_ACCOUNT_CREATION_SUBJECT = '%s alpha2 testing account created (%%(user)s)' % SITENAME)
111
#ASTAKOS_GROUP_CREATION_SUBJECT = '%s alpha2 testing group created (%%(group)s)' % SITENAME)
112
#ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activated (%%(user)s)' % SITENAME
113
#ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s alpha2 testing' % SITENAME
114
#ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s alpha2 testing' % SITENAME
115
#ASTAKOS_PROJECT_CREATION_SUBJECT = '%s alpha2 testing project application created (%%(name)s)' % SITENAME
116
#ASTAKOS_PROJECT_APPROVED_SUBJECT = '%s alpha2 testing project application approved (%%(name)s)' % SITENAME
117
#ASTAKOS_PROJECT_TERMINATION_SUBJECT = '%s alpha2 testing project terminated (%%(name)s)' % SITENAME
118
#ASTAKOS_PROJECT_SUSPENSION_SUBJECT = '%s alpha2 testing project suspended (%%(name)s)' % SITENAME
119
#ASTAKOS_PROJECT_MEMBERSHIP_CHANGE_SUBJECT = '%s alpha2 testing project membership changed (%%(name)s)' % SITENAME
120

    
121
# Set the quotaholder component URI and token
122
#ASTAKOS_QUOTAHOLDER_URL = ''
123
#ASTAKOS_QUOTAHOLDER_TOKEN = ''
124

    
125
# Set the cloud service properties
126
# SERVICES = getattr(settings, 'ASTAKOS_SERVICES',
127
#                    {'cyclades': {'url':'https://node1.example.com/ui/',
128
#                                  'quota': {'vm': 2}},
129
#                     'pithos+':  {'url':'https://node2.example.com/ui/',
130
#                                  'quota': {'diskspace': 50 * 1024 * 1024 * 1024}}})
131

    
132
# Set the billing URI
133
#ASTAKOS_AQUARIUM_URL = ''
134

    
135
# Set how many objects should be displayed per page
136
#PAGINATE_BY = getattr(settings, 'ASTAKOS_PAGINATE_BY', 10)
137

    
138
# Enforce token renewal on password change/reset
139
# NEWPASSWD_INVALIDATE_TOKEN = getattr(settings, 'ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN', True)
140

    
141
# Permit local account migration
142
# ENABLE_LOCAL_ACCOUNT_MIGRATION = getattr(settings, 'ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION', True)