Changed URL schema of issue reporter
This commit is contained in:
parent
7c1766825b
commit
a51a1458be
@ -12,7 +12,6 @@ translators = [u"Darya Ratnikova (Russian)", u"Manuel Cortez (Spanish)"]
|
|||||||
bts_name = "socializer"
|
bts_name = "socializer"
|
||||||
bts_access_token = "U29jaWFsaXplcg"
|
bts_access_token = "U29jaWFsaXplcg"
|
||||||
bts_url = "https://issues.manuelcortez.net"
|
bts_url = "https://issues.manuelcortez.net"
|
||||||
bts_project_id = 4
|
|
||||||
### Update information
|
### Update information
|
||||||
# URL to retrieve the latest updates for the stable branch.
|
# URL to retrieve the latest updates for the stable branch.
|
||||||
update_stable_url = "https://code.manuelcortez.net/manuelcortez/socializer/raw/master/update-files/socializer.json"
|
update_stable_url = "https://code.manuelcortez.net/manuelcortez/socializer/raw/master/update-files/socializer.json"
|
||||||
|
@ -57,7 +57,7 @@ class reportBug(object):
|
|||||||
operating_system = platform.platform()
|
operating_system = platform.platform()
|
||||||
json = dict(title=title, issue_type=issue_type, body=body, operating_system=operating_system, app_type=app_type, app_version=app_version, reporter_name=reporter_name, reporter_contact_handle=reporter_contact_handle, reporter_contact_type=reporter_contact_type)
|
json = dict(title=title, issue_type=issue_type, body=body, operating_system=operating_system, app_type=app_type, app_version=app_version, reporter_name=reporter_name, reporter_contact_handle=reporter_contact_handle, reporter_contact_type=reporter_contact_type)
|
||||||
auth=HTTPBasicAuth(application.bts_name, application.bts_access_token)
|
auth=HTTPBasicAuth(application.bts_name, application.bts_access_token)
|
||||||
url = "{bts_url}/issue/{project_id}/new".format(bts_url=application.bts_url, project_id=application.bts_project_id)
|
url = "{bts_url}/issue/new".format(bts_url=application.bts_url)
|
||||||
call_threaded(self.do_report, url, json=json, auth=auth)
|
call_threaded(self.do_report, url, json=json, auth=auth)
|
||||||
self.dialog.show_progress()
|
self.dialog.show_progress()
|
||||||
self.dialog.EndModal(wx.ID_OK)
|
self.dialog.EndModal(wx.ID_OK)
|
Loading…
Reference in New Issue
Block a user