tfb-groupme-bridge/tfbbridge/bridge/urls.py
stupidcomputer 2fceb6679f write the original user interface prototype
this is insecure, terrible, horrible code. do not use.

things implemented:
- add trusted users
- add trusted channels and follower channels
- qr codes and stuff
2024-12-20 21:34:22 -06:00

20 lines
1.3 KiB
Python

from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="index"),
path("logout", views.logout, name="logout"),
path("login", views.login, name="login"),
path("oauth_callback", views.handle_oauth, name="handle_oauth"),
path("refresh_group_data", views.refresh_group_data, name="refresh_group_data"),
path("add/organization", views.add_organization_flow_select, name="add_organization_flow_select"),
path("organization/<int:org_id>", views.view_organization, name="view_organization"),
path("organization/<int:org_id>/add_channel", views.add_channel_to_organization, name="add_channel_to_organization"),
path("organization/<int:org_id>/add_trusted_channel", views.add_trusted_channel, name="add_trusted_channel"),
path("organization/<int:org_id>/add_trusted_user", views.add_trusted_user, name="add_trusted_user"),
path("organization/<int:org_id>/qr_code", views.qr_code, name="qr_code"),
path("organization/<int:org_id>/delete_channel/<str:chan>", views.delete_channel, name="delete_channel"),
path("organization/<int:org_id>/demote_channel/<str:chan>", views.demote_channel, name="demote_channel"),
path("organization/<int:org_id>/remove_user/<str:user>", views.remove_user, name="remove_user"),
]