You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: memberportal/membermatters/constance_config.py
+52-4Lines changed: 52 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -120,15 +120,40 @@
120
120
False,
121
121
"Enable integration with stripe for membership payments.",
122
122
),
123
+
# ==== Report Issue Services ====
124
+
# Email config
125
+
"REPORT_ISSUE_ENABLE_EMAIL": (
126
+
True,
127
+
"Enable the submit issue to email integration.",
128
+
),
129
+
# Discord config
130
+
"REPORT_ISSUE_ENABLE_DISCORD": (
131
+
False,
132
+
"Enable the submit issue to Discord integration.",
133
+
),
123
134
# Vikunja config
135
+
"REPORT_ISSUE_ENABLE_VIKUNJA": (
136
+
False,
137
+
"Enable the submit issue to Vikunja integration.",
138
+
),
139
+
"VIKUNJA_API_URL": ("", "Set this to your Vikunja instance public URL."),
140
+
"VIKUNJA_API_TOKEN": ("", "Set this to your Vikunja API token."),
141
+
"VIKUNJA_DEFAULT_PROJECT_ID": (
142
+
"",
143
+
"Set this to the ID of your default project to create issues in.",
144
+
),
145
+
"VIKUNJA_DEFAULT_LABEL_ID": (
146
+
"",
147
+
"[optional] Set this to the ID of your default label if you want new issues to be tagged.",
148
+
),
124
149
"VIKUNJA_TEAMS": (
125
150
'[{"name": "Members", "oidcID": "members", "description": "The default team for all members.", "isPublic": false}]',
126
151
"A JSON array of Vikunja teams to add users to when they login via SSO. Returned as an OIDC claim with the 'vikunja_teams' scope. Check Vikunja docs for syntax.",
127
152
),
128
153
# Trello config
129
-
"ENABLE_TRELLO_INTEGRATION": (
154
+
"REPORT_ISSUE_ENABLE_TRELLO": (
130
155
False,
131
-
"Enable the submit issue to trello integration. If disabled we'll send an email to EMAIL_ADMIN instead.",
156
+
"Enable the submit issue to trello integration.",
132
157
),
133
158
"TRELLO_API_KEY": ("", "Set this to your Trello API key."),
134
159
"TRELLO_API_TOKEN": ("", "Set this to your Trello API token."),
@@ -212,6 +237,10 @@
212
237
"https://discordapp.com/api/webhooks/<token>",
213
238
"Discord URL to send webhook notifications to for vending/memberbucks purchases.",
214
239
),
240
+
"DISCORD_REPORT_ISSUE_WEBHOOK": (
241
+
"https://discordapp.com/api/webhooks/<token>",
242
+
"Discord URL to send webhook notifications to when reporting issues.",
0 commit comments