diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 045406c13..b670f80ed 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -230,8 +230,7 @@ class _CrashDialog(QDialog): def _init_info_text(self): """Add an info text encouraging the user to report crashes.""" info_label = QLabel("
Note that without your help, I can't fix " - "the bug you encountered.
Crash reports are " - "currently publicly accessible.
", + "the bug you encountered.", wordWrap=True) self._vbox.addWidget(info_label) diff --git a/qutebrowser/misc/pastebin.py b/qutebrowser/misc/pastebin.py index 9c30ca067..9609481b6 100644 --- a/qutebrowser/misc/pastebin.py +++ b/qutebrowser/misc/pastebin.py @@ -26,7 +26,7 @@ from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject, QUrl class PastebinClient(QObject): - """A client for http://p.cmpl.cc/ using HTTPClient. + """A client for Stikked pastebins using HTTPClient. Attributes: _client: The HTTPClient used. @@ -41,7 +41,7 @@ class PastebinClient(QObject): arg: The error message, as string. """ - API_URL = 'http://paste.the-compiler.org/api/' + API_URL = 'https://crashes.qutebrowser.org/api/' success = pyqtSignal(str) error = pyqtSignal(str) diff --git a/tests/unit/misc/test_pastebin.py b/tests/unit/misc/test_pastebin.py index 5591bfd0f..a0be9eb39 100644 --- a/tests/unit/misc/test_pastebin.py +++ b/tests/unit/misc/test_pastebin.py @@ -77,7 +77,7 @@ def test_paste_with_parent(data, pbclient): http_stub = pbclient._client pbclient.paste(data["name"], data["title"], data["text"], data["reply"]) assert http_stub.data == data - assert http_stub.url == QUrl('http://paste.the-compiler.org/api/create') + assert http_stub.url == QUrl('https://crashes.qutebrowser.org/api/create') @pytest.mark.parametrize('data', [ @@ -98,7 +98,7 @@ def test_paste_without_parent(data, pbclient): http_stub = pbclient._client pbclient.paste(data["name"], data["title"], data["text"]) assert pbclient._client.data == data - assert http_stub.url == QUrl('http://paste.the-compiler.org/api/create') + assert http_stub.url == QUrl('https://crashes.qutebrowser.org/api/create') @pytest.mark.parametrize('http', [