Commit d9148010 authored by Kevin Froman's avatar Kevin Froman

handle more sec levels in ui stats

parent 52e3600a
Pipeline #115003079 passed with stage
in 5 minutes and 23 seconds
......@@ -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'){
......
1580849582
\ No newline at end of file
1580852476
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment