diff --git a/.gitignore b/.gitignore index 14c03d35..39d2b429 100755 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,7 @@ src/data/* src/data-backup/* run.sh src/.onionr-lock - +daemon-true.txt .vscode/tags .vscode/settings.json diff --git a/requirements-dev.in b/requirements-dev.in index d153a4e5..762c500a 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -1,3 +1,3 @@ -pdoc3==0.8.3 +pdoc3==0.9.1 pip-tools==5.2.1 helium==3.0.4 diff --git a/requirements-dev.txt b/requirements-dev.txt index d5a0142c..195b30fa 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -53,8 +53,8 @@ markupsafe==1.1.1 \ --hash=sha256:e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7 \ --hash=sha256:e8313f01ba26fbbe36c7be1966a7b7424942f670f38e666995b88d012765b9be \ # via mako -pdoc3==0.8.3 \ - --hash=sha256:19bd1a72e1c82875a6927b244aca826dedb635ea2a7a36ac62cbe063a8ddc30d \ +pdoc3==0.9.1 \ + --hash=sha256:e1848d5485b8dd4662272f83bb5f7df4a68e0a5d76c87be30327977777168894 \ # via -r requirements-dev.in pip-tools==5.2.1 \ --hash=sha256:1690bef5f0f714160c3aedacb03520e2359a78f7f9fa17e574cf8659cf2ef614 \ diff --git a/src/etc/onionrvalues.py b/src/etc/onionrvalues.py index e9958238..cf68e376 100755 --- a/src/etc/onionrvalues.py +++ b/src/etc/onionrvalues.py @@ -23,7 +23,7 @@ import filepaths DENIABLE_PEER_ADDRESS = "OVPCZLOXD6DC5JHX4EQ3PSOGAZ3T24F75HQLIUZSDSMYPEOXCPFA" PASSWORD_LENGTH = 25 ONIONR_TAGLINE = 'Private P2P Communication - GPLv3 - https://Onionr.net' -ONIONR_VERSION = '5.0.1' +ONIONR_VERSION = '5.1.0' ONIONR_VERSION_CODENAME = 'Genesis' ONIONR_VERSION_TUPLE = tuple(ONIONR_VERSION.split('.')) # (MAJOR, MINOR, VERSION) API_VERSION = '3' # increments of 1; only change when something fundamental about how the API works changes. This way other nodes know how to communicate without learning too much information about you. diff --git a/src/onionrcommands/daemonlaunch/showlogo.py b/src/onionrcommands/daemonlaunch/showlogo.py index 5bf67d4f..35854aef 100644 --- a/src/onionrcommands/daemonlaunch/showlogo.py +++ b/src/onionrcommands/daemonlaunch/showlogo.py @@ -41,10 +41,12 @@ def show_logo(): "\u001b[33m\033[F" + bordered(QUOTE[0] + '\n -' + QUOTE[1]), terminal=True) else: - logger.info("\u001b[33m\033[F" + bordered(QUOTE[0]), terminal=True) + logger.info( + "\u001b[33m\033[F" + bordered(QUOTE[0]), terminal=True) else: if QUOTE[1]: logger.info("\u001b[33m\033[F" + QUOTE[0] + '\n -' + QUOTE[1], terminal=True) else: logger.info("\u001b[33m\033[F" + QUOTE[0], terminal=True) + diff --git a/tests/test_onionrvalues.py b/tests/test_onionrvalues.py index c7de3848..e59e7ebb 100644 --- a/tests/test_onionrvalues.py +++ b/tests/test_onionrvalues.py @@ -12,6 +12,9 @@ from utils import identifyhome, createdirs from etc import onionrvalues class TestOnionrValues(unittest.TestCase): + def test_api_version(self): + self.assertEqual(onionrvalues.API_VERSION, '1') + def test_default_expire(self): self.assertEqual(onionrvalues.DEFAULT_EXPIRE, 2678400)