Merge remote-tracking branch 'origin/2.2' into 3.0

# Conflicts:
#	gns3/http_client.py
#	gns3/project.py
This commit is contained in:
grossmj
2026-03-21 14:32:24 +08:00
4 changed files with 4 additions and 4 deletions

View File

@@ -449,7 +449,7 @@ class Controller(QtCore.QObject):
else:
self._notification_stream = self._http_client.connectWebSocket(self._websocket, "/notifications/ws")
self._notification_stream.textMessageReceived.connect(self._websocket_event_received)
self._notification_stream.error.connect(self._websocket_error)
self._notification_stream.errorOccurred.connect(self._websocket_error)
self._notification_stream.sslErrors.connect(self._sslErrorsSlot)
self._notification_stream.disconnected.connect(self._websocket_disconnected)
url = urlparse(self._notification_stream.requestUrl().toString())

View File

@@ -660,7 +660,7 @@ class Project(QtCore.QObject):
path = "/projects/{project_id}/notifications/ws".format(project_id=self._id)
self._notification_stream = Controller.instance().httpClient().connectWebSocket(self._websocket, path)
self._notification_stream.textMessageReceived.connect(self._websocket_event_received)
self._notification_stream.error.connect(self._websocket_error)
self._notification_stream.errorOccurred.connect(self._websocket_error)
self._notification_stream.sslErrors.connect(self._sslErrorsSlot)
url = urlparse(self._notification_stream.requestUrl().toString())
log.info(f"Listening for project notifications on {url.scheme}://{url.netloc}{url.path}")

View File

@@ -1,3 +1,3 @@
-r requirements.txt
PyQt6==6.10.1
PyQt6==6.10.2

View File

@@ -1,4 +1,4 @@
-r requirements.txt
PyQt6==6.10.1 # pyup: ignore
PyQt6==6.10.2 # pyup: ignore
pywin32==311 # pyup: ignore