mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 13:29:20 +02:00
Resolve "Remove Raven Sentry"
This commit is contained in:
parent
76aa8610a5
commit
5d745fea6f
6 changed files with 1 additions and 47 deletions
|
@ -4,7 +4,6 @@ from django.core.validators import FileExtensionValidator
|
|||
from dynamic_preferences import types
|
||||
from dynamic_preferences.registries import global_preferences_registry
|
||||
|
||||
raven = types.Section("raven")
|
||||
instance = types.Section("instance")
|
||||
ui = types.Section("ui")
|
||||
|
||||
|
@ -107,22 +106,6 @@ class InstanceFunkwhaleSupportMessageEnabled(types.BooleanPreference):
|
|||
)
|
||||
|
||||
|
||||
@global_preferences_registry.register
|
||||
class RavenDSN(types.StringPreference):
|
||||
show_in_api = True
|
||||
section = raven
|
||||
name = "front_dsn"
|
||||
default = "https://9e0562d46b09442bb8f6844e50cbca2b@sentry.eliotberriot.com/4"
|
||||
verbose_name = "Raven DSN key (front-end)"
|
||||
|
||||
help_text = (
|
||||
"A Raven DSN key used to report front-ent errors to "
|
||||
"a sentry instance. Keeping the default one will report errors to "
|
||||
"Funkwhale developers."
|
||||
)
|
||||
field_kwargs = {"required": False}
|
||||
|
||||
|
||||
@global_preferences_registry.register
|
||||
class InstanceNodeinfoPrivate(types.BooleanPreference):
|
||||
show_in_api = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue