update: applied patches

This commit is contained in:
John 2026-01-19 18:34:20 +01:00
parent 134e5e6970
commit 4d4e00c6a5
4 changed files with 56 additions and 2 deletions

View file

@ -0,0 +1,25 @@
Subject: [PATCH] Update GUI and Core versions
---
Index: pyproject.toml
<+>UTF-8
===================================================================
diff --git a/pyproject.toml b/pyproject.toml
--- a/pyproject.toml (revision 134e5e6970b158ad64adb8ad064af684bfc563af)
+++ b/pyproject.toml (date 1768752611072)
@@ -1,6 +1,6 @@
[project]
name = "sp-hydra-veil-gui"
-version = "2.1.4"
+version = "2.2.0"
authors = [
{ name = "Simplified Privacy" },
]
@@ -12,7 +12,7 @@
"Operating System :: POSIX :: Linux",
]
dependencies = [
- "sp-hydra-veil-core == 2.1.2",
+ "sp-hydra-veil-core == 2.2.0",
"pyperclip ~= 1.9.0",
"pyqt6 ~= 6.7.1",
"qrcode[pil] ~= 8.2"

View file

@ -0,0 +1,22 @@
Subject: [PATCH] Add support for stateful Tor sessions
---
Index: gui/__main__.py
<+>UTF-8
===================================================================
diff --git a/gui/__main__.py b/gui/__main__.py
--- a/gui/__main__.py (revision 134e5e6970b158ad64adb8ad064af684bfc563af)
+++ b/gui/__main__.py (date 1768622929340)
@@ -403,6 +403,13 @@
connection_observer.subscribe('connecting', lambda event: self.update_status(
f'[{event.subject.get("attempt_count")}/{event.subject.get("maximum_number_of_attempts")}] Performing connection attempt...'))
+ connection_observer.subscribe('tor_bootstrapping', lambda event: self.update_status('Establishing Tor connection...'))
+
+ connection_observer.subscribe('tor_bootstrap_progressing', lambda event: self.update_status(
+ f'Bootstrapping Tor {event.meta.get('progress'):.2f}%'))
+
+ connection_observer.subscribe('tor_bootstrapped', lambda event: self.update_status('Tor connection established.'))
+
self.setFixedSize(800, 570)
self.central_widget = QWidget(self)
self.central_widget.setMaximumSize(800, 600)

View file

@ -403,6 +403,13 @@ class CustomWindow(QMainWindow):
connection_observer.subscribe('connecting', lambda event: self.update_status(
f'[{event.subject.get("attempt_count")}/{event.subject.get("maximum_number_of_attempts")}] Performing connection attempt...'))
connection_observer.subscribe('tor_bootstrapping', lambda event: self.update_status('Establishing Tor connection...'))
connection_observer.subscribe('tor_bootstrap_progressing', lambda event: self.update_status(
f'Bootstrapping Tor {event.meta.get('progress'):.2f}%'))
connection_observer.subscribe('tor_bootstrapped', lambda event: self.update_status('Tor connection established.'))
self.setFixedSize(800, 570)
self.central_widget = QWidget(self)
self.central_widget.setMaximumSize(800, 600)

View file

@ -1,6 +1,6 @@
[project]
name = "sp-hydra-veil-gui"
version = "2.1.4"
version = "2.2.0"
authors = [
{ name = "Simplified Privacy" },
]
@ -12,7 +12,7 @@ classifiers = [
"Operating System :: POSIX :: Linux",
]
dependencies = [
"sp-hydra-veil-core == 2.1.2",
"sp-hydra-veil-core == 2.2.0",
"pyperclip ~= 1.9.0",
"pyqt6 ~= 6.7.1",
"qrcode[pil] ~= 8.2"