Commit Graph

83 Commits

Author SHA1 Message Date
x
9785777642 chore: Update copyright license year
Happy 2026!
2026-01-01 11:40:45 +00:00
epiphany
f476cd5fac dnet: add direct session support 2025-10-23 19:14:30 +03:00
darkfi
2d5350c225 dnet/doc: make README more beginner friendly 2025-07-10 21:30:33 +02:00
oars
07d2b1a630 bin/dnet: dnet improvements
- fix dnet crash when the analyzed service is shutdown
- add default config for darkfid and fud
- send dnet switch off rpc message when dnet tui is closed
2025-07-08 11:49:46 +03:00
Paul Otten
8590c929d6 dnet: make colors more consitent
Intended to address tau RefID sccCbF, which complains about text being
hard to read on a (presumably black and white) e ink screen.

The rule in webdev is if you change one color, then change all of them.
Mixing default and custom colors can lead to unreadable color combos.

I've set the primary text color and background color to default.
- On a typical color screen this will be light gray text on a black background.
- On a black and white e ink screen this will be black text on a white background.

I've left the highlighted text color as dark cyan, while explicitly setting the background to black.
- On a typical color screen this will be dark cyan text on a black background.
- On a black and white e ink screen this will be dark gray text on a black background.

The intended result is no visable change on typical color screens,
but a more readable experience on black and white e ink screens.
2025-04-06 19:33:40 +00:00
Paul Otten
cd48ac6c9d dnet: logging enhancements
- added timestamps to log messages
- log rpc errors
- added a specific error message for 'p2p.get_info' rpc errors
2025-04-06 19:33:40 +00:00
G10h4ck
1a232e67ad chore: Fix python scripts shebang
Avoid python scripts "escaping" from venv
2025-02-17 12:14:14 +00:00
parazyd
604f443fd1 chore: Update license header year 2025-01-24 10:36:02 +01:00
darkfi
154962509c dnet/README: rename main.py to dnet 2025-01-23 11:49:50 +01:00
anon_panther
e2393c97a2 bin/dnet: Added missing event for connected state transition. 2024-10-08 09:04:19 +00:00
darkfi
3af9c5cd56 dnet: add evgrd to dnet config defaults 2024-09-27 16:11:31 +02:00
darkfi
8fb4e85e49 dnet: add taud to default dnet_config.toml 2024-09-27 11:58:22 +02:00
darkfi
d0b4966932 dnet: silence urwid logger 2024-09-22 17:27:10 +02:00
darkfi
409514c304 dnet: comment out lilith config by default so it's configured for darkirc users 2024-08-26 10:44:13 +02:00
draoi
c9a66fdd63 dnet: update urwid version and switch to urwid scroll 2024-07-22 10:39:24 +02:00
draoi
91c890a1fa dnet: enable lilith on/off switching 2024-07-22 09:24:33 +02:00
draoi
25b614fadd dnet: reimplement node dis(connect) handling 2024-07-21 16:39:38 +02:00
draoi
aeb7f8b90a dnet: simplify view.py and improve inbound (dis)connection handling
Stiill TODO:

* re-implement offline nodes comes online, online node goes offline
* update to latest urwid version.
2024-07-21 16:39:38 +02:00
skoupidi
fbcebe5e43 chore: updated some .gitignore files 2024-07-19 16:53:13 +03:00
draoi
68b63a76e9 dnet+lilith: rename anchorlist to goldlist 2024-07-17 15:52:39 +02:00
draoi
5cbba48ec4 dnet: fix copy paste error 2024-07-17 15:52:39 +02:00
draoi
a20ab3b5a8 doc: add dnet code comments 2024-02-09 09:39:27 +01:00
draoi
af7ac9edb3 dnet: also render lilith info in the event render loop 2024-02-02 15:41:12 +01:00
draoi
716af31848 dnet+lilith: enable hostlist debugging
display lilith's whitelist, greylist and anchorlist in dnet
2024-02-02 15:41:12 +01:00
draoi
e2a47f99db dnet: fix bug that caused lilith info not to be displayed 2024-02-02 15:41:12 +01:00
parazyd
0e6f51e895 chore: Update copyright year in license headers 2024-01-16 13:07:22 +01:00
lunar-mining
cc6c27b034 dnet: add license to src/util.py 2023-11-24 16:17:15 +01:00
lunar-mining
a4523f6017 dnet: move source files to src/, rename main.py to dnet and make executable
also rename default config to dnet_config.toml
2023-11-24 16:17:15 +01:00
lunar-mining
55d18695de dnet: update README 2023-11-24 16:17:15 +01:00
lunar-mining
9f1b19d17b dnet: move config directory to platform specific config dir 2023-11-24 16:17:15 +01:00
lunar-mining
d47df7930f dnet: add python version to README 2023-11-24 16:17:15 +01:00
lunar-mining
9a63c70658 dnet: add msg log usage to README 2023-11-14 12:58:42 +01:00
lunar-mining
54bb7ed476 dnet: fix typo on README 2023-11-13 15:39:24 +01:00
lunar-mining
b5b8179648 dnet: fix env usage in README 2023-11-13 15:10:41 +01:00
lunar-mining
cff87e6926 dnet: move python-venv from root .gitignore to bin/dnet/.gitignore 2023-11-13 13:45:16 +01:00
lunar-mining
6cd14256fc dnet: add venv activation step to README 2023-11-13 13:42:27 +01:00
lunar-mining
964e3bcc9d add bin/dnet/python-venv to .gitignore and standadize naming in dnet README 2023-11-13 13:39:56 +01:00
lunar-mining
5cc1100b6e dnet: add venv instructions to README and do minor edit 2023-11-13 13:36:13 +01:00
lunar-mining
04780f241b dnet: add README 2023-11-13 13:17:02 +01:00
lunar-mining
2b35f1cfb9 dnet: update default config 2023-11-13 12:59:38 +01:00
lunar-mining
6bf00e5d29 dnet: add additional check to prevent logic error
also remove unnecessary nesting
2023-11-12 19:02:53 +01:00
lunar-mining
adf9606dcd dnet: fix logic error due to misnamed variable
peabrain.png
2023-11-12 14:18:48 +01:00
lunar-mining
36e39736d3 dnet: add lilith support to view
we now render urls, hosts etc and the lilith spawns
2023-11-11 17:44:50 +01:00
lunar-mining
887ebff1f1 dnet: add lilith support to dnet (mostly)
* calls spawns() rpc method to retrieve lilith info
* add data to model
* renders lilith name and name of spawned network

still TODO:

* display hosts and URLs when spawned network is selected
2023-11-10 19:02:31 +01:00
y
13a18f3ca5 [dnet] Add .gitignore to prevent tracking log file 2023-11-09 15:14:20 -05:00
lunar-mining
6f3b4a715b dnet: fix KeyError due to misnamed variable 2023-11-09 15:36:44 +01:00
lunar-mining
77eb05c60d dnet: fix logic error 2023-11-09 11:40:42 +01:00
lunar-mining
a26e0c4799 dnet: refresh when new outbounds come online. add TODO for logic error 2023-11-09 10:55:28 +01:00
lunar-mining
55462ce3bc dnet: reduce LOC by adding a refresh flag that gets called on event changes. 2023-11-09 08:50:51 +01:00
lunar-mining
6fbab2b29e dnet: improve and simplify view handling
now we can more easily re-render on event changes (like nodes going
offline etc)
2023-11-08 16:37:47 +01:00