forked from fedora-infra/fedocal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fedocal.cfg.sample
61 lines (49 loc) · 2.27 KB
/
fedocal.cfg.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Beware that the quotes around the values are mandatory
### Secret key for the Flask application
SECRET_KEY='<The web application secret key>'
### url to the database server:
#DB_URL=mysql://user:pass@host/db_name
#DB_URL=postgres://user:pass@host/db_name
DB_URL='sqlite:////var/tmp/fedocal_dev.sqlite'
### The FAS group in which the admin of fedocal are
ADMIN_GROUP='fedocal_admin'
### The address of the SMTP server used to send the reminders emails
### via the cron job.
### Default: 'localhost'
SMTP_SERVER='localhost'
### The cron job can be set with any frequency but fedocal_cron needs
### this information to accurately retrieve the meetings to remind and
### avoid sending multiple reminders for a single meeting.
### Default: 30
CRON_FREQUENCY=30
### Path to the alembic configuration file
### When creating the database, we need to tell the database which
### revision of alembic we are at and to do this we need access to the
### alembic.ini file.
PATH_ALEMBIC_INI='/etc/fedocal/alembic.ini'
### The URL at which the project is available.
### This is used in the reminder email to give the appropriate link
APP_URL = 'https://apps.fedoraproject.org/calendar/'
### Optional Configuration
### Name of the desired theme for fedocal.
###
### These themes must be located in the traditional 'templates' and 'static'
### folder used by fedocal, but assuming you have your own templates and
### static files, you can switch from one to another here.
### It defaults to 'default' which is the name of the default theme shipped
### with fedocal.
# THEME_FOLDER = 'default'
### File extensions and mimetypes allowed for the upload
### When uploading a iCalendar file, fedocal checks the file extension as well
### as the mimetype of the file submitted, the file extensions and the mimetypes
### are listed here. If the file uploaded does not have an extension or a
### mimetype among those listed here, the upload will be refused.
# ALLOWED_EXTENSIONS = ['ics', 'ical', 'ifb', 'icalendar']
# ALLOWED_MIMETYPES = [
# 'text/calendar',
# ]
### The email address to which the flask.log will send the errors
### (tracebacks).
### In case of exception flask sends an email with some information to debug the
### problem. The email is sent to the address listed here.
# EMAIL_ERROR = 'pingou@pingoured.fr'