bump version
commit
17ef138c21
|
@ -13,7 +13,7 @@ src/data/*
|
||||||
src/data-backup/*
|
src/data-backup/*
|
||||||
run.sh
|
run.sh
|
||||||
src/.onionr-lock
|
src/.onionr-lock
|
||||||
|
daemon-true.txt
|
||||||
.vscode/tags
|
.vscode/tags
|
||||||
.vscode/settings.json
|
.vscode/settings.json
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
pdoc3==0.8.3
|
pdoc3==0.9.1
|
||||||
pip-tools==5.2.1
|
pip-tools==5.2.1
|
||||||
helium==3.0.4
|
helium==3.0.4
|
||||||
|
|
|
@ -53,8 +53,8 @@ markupsafe==1.1.1 \
|
||||||
--hash=sha256:e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7 \
|
--hash=sha256:e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7 \
|
||||||
--hash=sha256:e8313f01ba26fbbe36c7be1966a7b7424942f670f38e666995b88d012765b9be \
|
--hash=sha256:e8313f01ba26fbbe36c7be1966a7b7424942f670f38e666995b88d012765b9be \
|
||||||
# via mako
|
# via mako
|
||||||
pdoc3==0.8.3 \
|
pdoc3==0.9.1 \
|
||||||
--hash=sha256:19bd1a72e1c82875a6927b244aca826dedb635ea2a7a36ac62cbe063a8ddc30d \
|
--hash=sha256:e1848d5485b8dd4662272f83bb5f7df4a68e0a5d76c87be30327977777168894 \
|
||||||
# via -r requirements-dev.in
|
# via -r requirements-dev.in
|
||||||
pip-tools==5.2.1 \
|
pip-tools==5.2.1 \
|
||||||
--hash=sha256:1690bef5f0f714160c3aedacb03520e2359a78f7f9fa17e574cf8659cf2ef614 \
|
--hash=sha256:1690bef5f0f714160c3aedacb03520e2359a78f7f9fa17e574cf8659cf2ef614 \
|
||||||
|
|
|
@ -23,7 +23,7 @@ import filepaths
|
||||||
DENIABLE_PEER_ADDRESS = "OVPCZLOXD6DC5JHX4EQ3PSOGAZ3T24F75HQLIUZSDSMYPEOXCPFA"
|
DENIABLE_PEER_ADDRESS = "OVPCZLOXD6DC5JHX4EQ3PSOGAZ3T24F75HQLIUZSDSMYPEOXCPFA"
|
||||||
PASSWORD_LENGTH = 25
|
PASSWORD_LENGTH = 25
|
||||||
ONIONR_TAGLINE = 'Private P2P Communication - GPLv3 - https://Onionr.net'
|
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_CODENAME = 'Genesis'
|
||||||
ONIONR_VERSION_TUPLE = tuple(ONIONR_VERSION.split('.')) # (MAJOR, MINOR, VERSION)
|
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.
|
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.
|
||||||
|
|
|
@ -41,10 +41,12 @@ def show_logo():
|
||||||
"\u001b[33m\033[F" + bordered(QUOTE[0] + '\n -' + QUOTE[1]),
|
"\u001b[33m\033[F" + bordered(QUOTE[0] + '\n -' + QUOTE[1]),
|
||||||
terminal=True)
|
terminal=True)
|
||||||
else:
|
else:
|
||||||
logger.info("\u001b[33m\033[F" + bordered(QUOTE[0]), terminal=True)
|
logger.info(
|
||||||
|
"\u001b[33m\033[F" + bordered(QUOTE[0]), terminal=True)
|
||||||
else:
|
else:
|
||||||
if QUOTE[1]:
|
if QUOTE[1]:
|
||||||
logger.info("\u001b[33m\033[F" + QUOTE[0] + '\n -' + QUOTE[1],
|
logger.info("\u001b[33m\033[F" + QUOTE[0] + '\n -' + QUOTE[1],
|
||||||
terminal=True)
|
terminal=True)
|
||||||
else:
|
else:
|
||||||
logger.info("\u001b[33m\033[F" + QUOTE[0], terminal=True)
|
logger.info("\u001b[33m\033[F" + QUOTE[0], terminal=True)
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,9 @@ from utils import identifyhome, createdirs
|
||||||
from etc import onionrvalues
|
from etc import onionrvalues
|
||||||
|
|
||||||
class TestOnionrValues(unittest.TestCase):
|
class TestOnionrValues(unittest.TestCase):
|
||||||
|
def test_api_version(self):
|
||||||
|
self.assertEqual(onionrvalues.API_VERSION, '1')
|
||||||
|
|
||||||
def test_default_expire(self):
|
def test_default_expire(self):
|
||||||
self.assertEqual(onionrvalues.DEFAULT_EXPIRE, 2678400)
|
self.assertEqual(onionrvalues.DEFAULT_EXPIRE, 2678400)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue