mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	[manual] Use api.zulip.com to access the Humbug API.
This needs to be deployed after the nginx configuration is deployed. (imported from commit 167a3d9d27595d40883bb400ebcc44c4ad9b6a2f)
This commit is contained in:
		@@ -54,4 +54,4 @@ def commit_notice_destination(repo, branch, commit):
 | 
			
		||||
HUMBUG_API_PATH = None
 | 
			
		||||
 | 
			
		||||
# This should not need to change unless you have a custom Humbug subdomain.
 | 
			
		||||
HUMBUG_SITE = "https://api.humbughq.com"
 | 
			
		||||
HUMBUG_SITE = "https://api.zulip.com"
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,7 @@ class HumbugListener extends AbstractIssueEventListener {
 | 
			
		||||
    String issueBaseUrl = "https://jira.COMPANY.com/browse/"
 | 
			
		||||
 | 
			
		||||
    // Your humbug domain, only change if you have a custom one
 | 
			
		||||
    String domain = ""
 | 
			
		||||
    String base_url = "https://api.zulip.com"
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    void workflowEvent(IssueEvent event) {
 | 
			
		||||
@@ -142,10 +142,6 @@ class HumbugListener extends AbstractIssueEventListener {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    String humbugUrl(method) {
 | 
			
		||||
      String url = "humbughq.com"
 | 
			
		||||
      if (domain != "") {
 | 
			
		||||
        url = domain + "." + url
 | 
			
		||||
      }
 | 
			
		||||
      return "https://" + url + "/api/v1/" + method
 | 
			
		||||
      return base_url + "/v1/" + method
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -54,4 +54,4 @@ def commit_notice_destination(path, commit):
 | 
			
		||||
HUMBUG_API_PATH = None
 | 
			
		||||
 | 
			
		||||
# This should not need to change unless you have a custom Humbug subdomain.
 | 
			
		||||
HUMBUG_SITE = "https://api.humbughq.com"
 | 
			
		||||
HUMBUG_SITE = "https://api.zulip.com"
 | 
			
		||||
 
 | 
			
		||||
@@ -49,4 +49,4 @@ TRAC_NOTIFY_FIELDS = ["description", "summary", "resolution", "comment",
 | 
			
		||||
HUMBUG_API_PATH = None
 | 
			
		||||
 | 
			
		||||
# This should not need to change unless you have a custom Humbug subdomain.
 | 
			
		||||
HUMBUG_SITE = "https://api.humbughq.com"
 | 
			
		||||
HUMBUG_SITE = "https://api.zulip.com"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user