Change some default values in settings
[astakos] / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf
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_ADMIN_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account created (%%(user)s)' % SITENAME
111 #ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activated (%%(user)s)' % SITENAME
112 #ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s alpha2 testing' % SITENAME
113 #ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s alpha2 testing' % SITENAME
114
115 # Enforce token renewal on password change/reset
116 # NEWPASSWD_INVALIDATE_TOKEN = getattr(settings, 'ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN', True)
117
118 # Permit local account migration
119 # ENABLE_LOCAL_ACCOUNT_MIGRATION = getattr(settings, 'ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION', True)