Implement aliases

This commit is contained in:
2022-07-29 22:22:22 +01:00
parent 755bc66844
commit 362ad579d5
10 changed files with 178 additions and 15 deletions

View File

@@ -31,6 +31,8 @@ from core.views.manage.threshold.irc import (
ThresholdIRCNetworkRelayStatus,
ThresholdIRCNetworks,
ThresholdIRCStats,
ThresholdIRCAliases,
ThresholdIRCNetworkActions,
)
# Management stuff
@@ -141,6 +143,16 @@ urlpatterns = [
ThresholdIRCNetworkChannels.as_view(),
name="threshold_irc_network_channel",
),
path(
"manage/threshold/irc/aliases/",
ThresholdIRCAliases.as_view(),
name="threshold_irc_aliases",
),
path(
"manage/threshold/irc/network/<str:net>/actions/",
ThresholdIRCNetworkActions.as_view(),
name="threshold_irc_network_actions",
),
##
path("api/chans/", ThresholdChans.as_view(), name="chans"),
path("api/users/", ThresholdUsers.as_view(), name="users"),