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/
|
cp *.md dist/onionr/
|
||||||
PIP_USER=false
|
PIP_USER=false
|
||||||
export PIP_USER
|
export PIP_USER
|
||||||
pip3 install --require-hashes -r requirements.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/onionr/
|
pip3 install --require-hashes -r requirements-notifications.txt --target=dist/onionr/src/
|
||||||
cd dist
|
cd dist
|
||||||
tar -czvf onionr.tar.gz onionr
|
tar -czvf onionr.tar.gz onionr
|
||||||
|
@ -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 = '0.1.1' # for debugging and stuff
|
ONIONR_VERSION = '0.1.3'
|
||||||
ONIONR_VERSION_TUPLE = tuple(ONIONR_VERSION.split('.')) # (MAJOR, MINOR, VERSION)
|
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.
|
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
|
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":
|
case "1":
|
||||||
sec_description_str = 'high'
|
sec_description_str = 'high'
|
||||||
break;
|
break;
|
||||||
|
case "2":
|
||||||
|
sec_description_str = 'very high'
|
||||||
|
break;
|
||||||
|
case "3":
|
||||||
|
sec_description_str = 'extreme'
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sec_description_str !== 'normal'){
|
if (sec_description_str !== 'normal'){
|
||||||
|
@ -1 +1 @@
|
|||||||
1580849582
|
1580852476
|
Loading…
Reference in New Issue
Block a user