Improve and condense related controls

This commit is contained in:
2026-02-15 22:11:17 +00:00
parent ae3365e165
commit 981ee56de7
18 changed files with 1340 additions and 209 deletions

View File

@@ -48,7 +48,13 @@ if DEBUG:
SETTINGS_EXPORT = ["BILLING_ENABLED"]
SIGNAL_NUMBER = getenv("SIGNAL_NUMBER")
SIGNAL_HTTP_URL = getenv("SIGNAL_HTTP_URL", "http://signal:8080")
_container_runtime = getenv("container", "").strip().lower()
_signal_default_url = (
"http://127.0.0.1:8080"
if _container_runtime == "podman"
else "http://signal:8080"
)
SIGNAL_HTTP_URL = getenv("SIGNAL_HTTP_URL", _signal_default_url)
WHATSAPP_ENABLED = getenv("WHATSAPP_ENABLED", "false").lower() in trues
WHATSAPP_HTTP_URL = getenv("WHATSAPP_HTTP_URL", "http://whatsapp:8080")

View File

@@ -305,6 +305,16 @@ urlpatterns = [
osint.OSINTSearch.as_view(),
name="osint_search",
),
path(
"osint/workspace/",
osint.OSINTWorkspace.as_view(),
name="osint_workspace",
),
path(
"osint/workspace/widget/tabs/",
osint.OSINTWorkspaceTabsWidget.as_view(),
name="osint_workspace_tabs_widget",
),
path(
"ai/<str:type>/create/",
ais.AICreate.as_view(),