handle more sec levels in ui stats
This commit is contained in:
parent
52e3600ae1
commit
d91480104b
@ -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
|
||||
|
@ -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
|
||||
|
@ -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'){
|
||||
|
@ -1 +1 @@
|
||||
1580849582
|
||||
1580852476
|
Loading…
Reference in New Issue
Block a user