Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: removing proxy url

sriram veeraghantab3bff4c72c2b
diff --git a/apiserver/plane/bgtasks/issue_activities_task.py b/apiserver/plane/bgtasks/issue_activities_task.py
index 8f5b5d03dd..f836023993 100644
--- a/apiserver/plane/bgtasks/issue_activities_task.py
+++ b/apiserver/plane/bgtasks/issue_activities_task.py
@@ -1697,23 +1697,6 @@ def issue_activity(
)
# Post the updates to segway for integrations and webhooks
if len(issue_activities_created):
- # Don't send activities if the actor is a bot
- try:
- if settings.PROXY_BASE_URL:
- for issue_activity in issue_activities_created:
- headers = {"Content-Type": "application/json"}
- issue_activity_json = json.dumps(
- IssueActivitySerializer(issue_activity).data,
- cls=DjangoJSONEncoder,
- )
- _ = requests.post(
- f"{settings.PROXY_BASE_URL}/hooks/workspaces/{str(issue_activity.workspace_id)}/projects/{str(issue_activity.project_id)}/issues/{str(issue_activity.issue_id)}/issue-activity-hooks/",
- json=issue_activity_json,
- headers=headers,
- )
- except Exception as e:
- log_exception(e)
-
for activity in issue_activities_created:
webhook_activity.delay(
event=(
diff --git a/apiserver/plane/settings/common.py b/apiserver/plane/settings/common.py
index 16d5f8c541..9fed15516e 100644
--- a/apiserver/plane/settings/common.py
+++ b/apiserver/plane/settings/common.py
@@ -299,9 +299,6 @@ if bool(os.environ.get("SENTRY_DSN", False)) and os.environ.get(
)
-# Application Envs
-PROXY_BASE_URL = os.environ.get("PROXY_BASE_URL", False) # For External
-
FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880))
# Unsplash Access key