handle more sec levels in ui stats

master
Kevin Froman 2020-02-04 15:42:08 -06:00
parent 52e3600ae1
commit d91480104b
4 changed files with 10 additions and 4 deletions

View File

@ -6,7 +6,7 @@ cp -t dist/onionr/ -r docs static-data install src onionr.sh start-daemon.sh set
cp *.md dist/onionr/
PIP_USER=false
export PIP_USER
pip3 install --require-hashes -r requirements.txt --target=dist/onionr/onionr/
pip3 install --require-hashes -r requirements-notifications.txt --target=dist/onionr/onionr/
pip3 install --require-hashes -r requirements.txt --target=dist/onionr/src/
pip3 install --require-hashes -r requirements-notifications.txt --target=dist/onionr/src/
cd dist
tar -czvf onionr.tar.gz onionr

View File

@ -23,7 +23,7 @@ import filepaths
DENIABLE_PEER_ADDRESS = "OVPCZLOXD6DC5JHX4EQ3PSOGAZ3T24F75HQLIUZSDSMYPEOXCPFA"
PASSWORD_LENGTH = 25
ONIONR_TAGLINE = 'Private P2P Communication - GPLv3 - https://Onionr.net'
ONIONR_VERSION = '0.1.1' # for debugging and stuff
ONIONR_VERSION = '0.1.3'
ONIONR_VERSION_TUPLE = tuple(ONIONR_VERSION.split('.')) # (MAJOR, MINOR, VERSION)
API_VERSION = '0' # 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.
MIN_PY_VERSION = 7 # min version of 7 so we can take advantage of non-cyclic type hints

View File

@ -62,6 +62,12 @@ switch (httpGet('/config/get/general.security_level')){
case "1":
sec_description_str = 'high'
break;
case "2":
sec_description_str = 'very high'
break;
case "3":
sec_description_str = 'extreme'
break;
}
if (sec_description_str !== 'normal'){

View File

@ -1 +1 @@
1580849582
1580852476