mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 14:54:26 +01:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b14d42a17c | ||
|
|
51f0048e7c | ||
|
|
c2fb2ca9f8 | ||
|
|
6a4f202624 | ||
|
|
add8b295ec | ||
|
|
f1989cfc6e |
@@ -257,6 +257,7 @@ class Directory:
|
|||||||
if announced_display_name == None:
|
if announced_display_name == None:
|
||||||
return self.directory_entries[source_hash].trust_level
|
return self.directory_entries[source_hash].trust_level
|
||||||
else:
|
else:
|
||||||
|
if not self.directory_entries[source_hash].trust_level == DirectoryEntry.TRUSTED:
|
||||||
for entry in self.directory_entries:
|
for entry in self.directory_entries:
|
||||||
e = self.directory_entries[entry]
|
e = self.directory_entries[entry]
|
||||||
if e.display_name == announced_display_name:
|
if e.display_name == announced_display_name:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.4.7"
|
__version__ = "0.4.9"
|
||||||
|
|||||||
@@ -115,17 +115,17 @@ GLYPHS = {
|
|||||||
("arrow_u", "/\\", "\u2191", "\u2191"),
|
("arrow_u", "/\\", "\u2191", "\u2191"),
|
||||||
("arrow_d", "\\/", "\u2193", "\u2193"),
|
("arrow_d", "\\/", "\u2193", "\u2193"),
|
||||||
("warning", "!", "\u26a0", "\uf12a"),
|
("warning", "!", "\u26a0", "\uf12a"),
|
||||||
("info", "i", "\u2139", "\ufb4d"),
|
("info", "i", "\u2139", "\U000f064e"),
|
||||||
("unread", "[!]", "\u2709", ur_char),
|
("unread", "[!]", "\u2709", ur_char),
|
||||||
("divider1", "-", "\u2504", "\u2504"),
|
("divider1", "-", "\u2504", "\u2504"),
|
||||||
("peer", "[P]", "\u24c5 ", "\uf415"),
|
("peer", "[P]", "\u24c5 ", "\uf415"),
|
||||||
("node", "[N]", "\u24c3 ", "\uf502"),
|
("node", "[N]", "\u24c3 ", "\U000f0002"),
|
||||||
("page", "", "\u25a4 ", "\uf719 "),
|
("page", "", "\u25a4 ", "\uf719 "),
|
||||||
("speed", "", "\u25F7 ", "\uf9c4"),
|
("speed", "", "\u25F7 ", "\U000f04c5 "),
|
||||||
("decoration_menu", " +", " +", " \uf93a"),
|
("decoration_menu", " +", " +", " \U000f043b"),
|
||||||
("unread_menu", " !", " \u2709", urm_char),
|
("unread_menu", " !", " \u2709", urm_char),
|
||||||
("globe", "", "", "\uf484"),
|
("globe", "", "", "\uf484"),
|
||||||
("sent", "/\\", "\u2191", "\ufbf4"),
|
("sent", "/\\", "\u2191", "\U000f0cd8"),
|
||||||
("papermsg", "P", "\u25a4", "\uf719"),
|
("papermsg", "P", "\u25a4", "\uf719"),
|
||||||
("qrcode", "QR", "\u25a4", "\uf029"),
|
("qrcode", "QR", "\u25a4", "\uf029"),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -783,7 +783,7 @@ The following line should contain a grayscale gradient bar:
|
|||||||
|
|
||||||
Unicode Glyphs : \u2713 \u2715 \u26a0 \u24c3 \u2193
|
Unicode Glyphs : \u2713 \u2715 \u26a0 \u24c3 \u2193
|
||||||
|
|
||||||
Nerd Font Glyphs : \uf484 \uf9c4 \uf719 \uf502 \uf415 \uf023 \uf06e
|
Nerd Font Glyphs : \uf484 \U000f04c5 \U000f0219 \U000f0002 \uf415 \uf023 \uf06e
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
compiler==0.2.0
|
|
||||||
configobj==5.0.8
|
|
||||||
lxmf==0.3.2
|
|
||||||
rns==0.5.7
|
|
||||||
setuptools==68.0.0
|
|
||||||
urwid==2.1.2
|
|
||||||
2
setup.py
2
setup.py
@@ -30,6 +30,6 @@ setuptools.setup(
|
|||||||
entry_points= {
|
entry_points= {
|
||||||
'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
|
'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
|
||||||
},
|
},
|
||||||
install_requires=["rns>=0.7.2", "lxmf>=0.4.0", "urwid>=2.4.2,!=2.4.3", "qrcode"],
|
install_requires=["rns>=0.7.5", "lxmf>=0.4.3", "urwid>=2.4.4", "qrcode"],
|
||||||
python_requires=">=3.6",
|
python_requires=">=3.6",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user