forked from info-beamer/36c3-cms
-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.example.toml
101 lines (80 loc) · 2.58 KB
/
settings.example.toml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# This github OAuth client will be used for authentication. Create
# one at https://github.com/organizations/ACCOUNT/settings/applications
GITHUB_CLIENT_ID = ''
GITHUB_CLIENT_SECRET = ''
SESSION_COOKIE_NAME = '__Host-sess'
PREFERRED_URL_SCHEME = 'https'
# info-beamer API keys.
# This key needs access to setups and assets as well as the
# node-message calls. If you consider the host running this
# code trusted, you might use a key with full account access.
# The keys given out to users are adhoc keys based on this key.
HOSTED_API_KEY = ''
# Maximum uploads per github user
MAX_UPLOADS = 5
# Setup IDs using the scheduled player setup. One of the
# playlists must be named 'User Content'. Its pages will be
# autogenerated by the CMS when calling /sync
SETUP_IDS = [
212947,
]
# Generate some random string. It's used for signing
# urls send to moderators.
URL_KEY = 'reallysecure'
# Uncomment to use redis as a session store
# REDIS_HOST = 'localhost'
# Unix timestamp allows for specifying start/end time
# of uploaded content
TIME_MIN = 1640039559
TIME_MAX = 1640905200
# change this to invalidate cached static files.
VERSION = 1
# Push notifications for moderation requests. Supports MQTT with a
# c3voc-style notification client and [NTFY](https://ntfy.sh/).
[NOTIFIER]
# configure on which minute of the hour the hourly reminder of assets
# pending moderation gets sent. Set to -1 to disable.
#ALERT_MINUTE = 7
# configure mqtt alerts
#MQTT_HOST = '127.0.0.1'
#MQTT_USERNAME = ''
#MQTT_PASSWORD = ''
#MQTT_TOPIC = '/voc/alert'
# configure alerts on ntfy
#NTFY = [
# "https://ntfy.example.com/infobeamer-cms",
#]
# contact details
[FAQ]
SOURCE = "https://github.com/voc/infobeamer-cms"
CONTACT = """
Please use the <a href="https://webirc.hackint.org/#ircs://irc.hackint.org/#infobeamer">IRC
Channel #infobeamer on irc.hackint.org</a> (also
<a href="https://www.hackint.org/transport/matrix">bridged to matrix</a>)
or #info-beamer on the cccv rocketchat instance.
"""
# extra assets. If this is empty, only the uploaded content and a notice
# on where to find the CMS will be shown. You can use this to overlay
# content on top of that content.
[[EXTRA_ASSETS]]
type = "image"
asset = 828107 # fairydust
# bottom left, 10px from border
x1 = 10
y1 = 1004
x2 = 110
y2 = 1070
# rooms. This is both used for the /last view as well
# as the interruption control on /interrupt.
[[ROOMS]]
name = "Chaos-West TV"
device_id = 17968
[[ROOMS.interrupts]]
name = "Signal"
data = "signal"
[[ROOMS]]
name = "infobeamer stream"
device_id = 15586
[[ROOMS.interrupts]]
name = "Signal"
data = "signal"