Commit Graph

1788 Commits

Author SHA1 Message Date
Dastan-glitch
820198db8e bin/tau: add more help info/examples 2023-10-30 17:09:28 +03:00
Dastan-glitch
c62846eb90 bin/tau: allow subcommands to affect multiple tasks 2023-10-30 16:54:53 +03:00
lunar-mining
0b0436131f dnet: redraw the screen on inbound (disconnect) and inbound (connect) events 2023-10-30 11:29:07 +01:00
lunar-mining
536f340aa4 dnet: render offline nodes as: node name (offline) 2023-10-30 08:14:50 +01:00
lunar-mining
52b172ece7 dnet: cleanup and add TODOs. also don't crash if a node goes offline. 2023-10-29 21:43:32 +01:00
lunar-mining
3bb75a4717 dnet: cleanup and reduce LOC
makes use of inheritance to avoid repetition widget classes and deletes
various redundant functions
2023-10-29 14:22:08 +01:00
lunar-mining
e5d0aca1f4 dnet: fix bug which caused dnet to crash on receiving unhandled mouse input 2023-10-29 08:03:32 +01:00
aggstam
5c42cb5157 darkfid2/darkfid_config.toml: fixed transports 2023-10-27 20:46:55 +03:00
Dastan-glitch
3c6f8d86a7 bin/tau: add export and import 2023-10-27 18:34:24 +03:00
parazyd
299e70fea8 darkirc/irc: Update TLS cert handling for new rustls-pemfile API 2023-10-27 09:02:18 +02:00
parazyd
b61127af9a chore: Update crate dependencies 2023-10-27 09:02:18 +02:00
lunar-mining
06099510b1 dnet: remove test file 2023-10-26 21:05:09 +02:00
lunar-mining
1621456f01 dnet: fix test to work with urwid 2.2.0 2023-10-26 21:04:58 +02:00
lunar-mining
de3c4eb09f dnet: update dnet to new urwid version and fix asyncio usage
We were previously relying on idle emulation to redraw the screen. This
is no longer supported as of urwid 2.2.0 and later.

See: https://github.com/urwid/urwid/issues/665
2023-10-26 21:04:47 +02:00
lunar-mining
9039b8241d dnet: commit test script that shows breaking usage 2023-10-26 20:57:04 +02:00
parazyd
eda67fdc5a chore: Clippy lint 2023-10-26 20:57:04 +02:00
parazyd
7b3a4cffd0 darkirc: Replace DM nick with the one from the config when decrypting. 2023-10-26 20:57:04 +02:00
parazyd
b57cb95175 darkirc: Fix channel joins 2023-10-26 20:57:04 +02:00
parazyd
0e242915cf darkirc/command: Fix deadlock in welcome() 2023-10-26 20:57:04 +02:00
parazyd
3ddd141456 darkirc: Push all decrypted DMs to clients. 2023-10-26 20:57:04 +02:00
parazyd
54fdfc0cbe darkirc: Perform plaintext padding on encryption 2023-10-26 20:57:04 +02:00
parazyd
e9e891db18 darkirc/irc: Fix potential panic when adding nicks to channel nicklists. 2023-10-26 20:57:04 +02:00
lunar-mining
387897cf7b dnet: downgrade urwid version
upgrading urwid to 2.2.0 breaks dnet in two ways:

* ui is not visible unless the terminal is in focus
* the screen is not redrawing correctly- contains artifacts from previous draw.

it may have to do with this breaking change that was added to 2.2.0:

https://github.com/urwid/urwid/pull/541

but i am not sure yet, investigating.
2023-10-26 20:57:03 +02:00
lunar-mining
e211406b59 dnet: fix bug in data structures that propagated notes with duplicate node info
also clean up a bit
2023-10-26 20:57:03 +02:00
parazyd
044d38f3b4 lilith: Default inbound connections to 512 2023-10-26 20:57:03 +02:00
lunar-mining
128421b6c0 dnet: display manual connections 2023-10-26 20:57:03 +02:00
lunar-mining
7d2ad6f167 dnet: render inbound connections on disconnect/reconnect 2023-10-26 20:57:03 +02:00
lunar-mining
618d3911d3 dnet: fix weird queue behavior by adding a sleep
¯\_(ツ)_/¯
2023-10-26 20:57:03 +02:00
lunar-mining
0ca8a9e256 dnet: display outbound disconnect events and mutate inbound dict on disconnect/connect 2023-10-26 20:57:03 +02:00
x
9af4d8340e darkirc: bump minor version number to 0.4.2 2023-10-26 20:57:03 +02:00
lunar-mining
a1bdf77d0f dnet: sort outbound slots by index, not index and ID, thus improving display 2023-10-26 20:57:03 +02:00
lunar-mining
70461c52ce dnet: use default bg (enables transparency)
https://yewtu.be/watch?v=oFw_mzX5P0o&list=PL40lk--6JoDiQSc6wW67aLaSgi1oRfxBn&index=8
2023-10-26 20:56:58 +02:00
lunar-mining
523837dafd dnet: display time in H:M:S format, not Y:M:D:H:M:S:NS 2023-10-26 20:56:58 +02:00
lunar-mining
d544f981db dnet: store inbound connections in model and render in view 2023-10-26 20:56:58 +02:00
lunar-mining
98ca41b509 dnet: generalize rpc to work with remote hosts as well as localhost 2023-10-26 20:56:58 +02:00
lunar-mining
6107ddfa74 dnet: update asyncio to latest usage and minor bug fix
asyncio.get_event_loop() is deprecated since version 3.10.

instead we use the proper method: create a new event loop and then set
it as follows:

        self.ev = asyncio.new_event_loop()
        asyncio.set_event_loop(self.ev)
2023-10-26 20:56:58 +02:00
lunar-mining
373441d08a dnet: regenerate requirements in venv 2023-10-26 20:56:58 +02:00
lunar-mining
331e8f6fb5 dnet: add events to model and display on view
also includes some minor cleanups
2023-10-26 20:56:58 +02:00
lunar-mining
da5dfc10ea dnet: minor bug fix and cleanup 2023-10-26 20:56:58 +02:00
parazyd
5efa9427bb darkirc: Attempt to mitigate double-message rendering. 2023-10-26 20:56:57 +02:00
Dastan-glitch
dde1614be1 bin/darkirc: [mirror-bot] minor fix 2023-10-26 20:56:47 +02:00
Dastan-glitch
b115638e98 bin/tau: update code and rpc methods 2023-10-26 20:56:21 +02:00
Dastan-glitch
7a9604d968 bin/tau: use new event_graph code 2023-10-26 20:56:12 +02:00
parazyd
d76d6f9d95 darkirc: Handle weechat-style JOIN. 2023-10-26 20:56:12 +02:00
parazyd
80e5977439 darkirc: Allow DAG sync skip 2023-10-26 20:56:12 +02:00
parazyd
d68cee0a36 darkirc: Enable DAG sync on startup. 2023-10-26 20:56:12 +02:00
parazyd
bdb78b58f1 darkirc: Scan DAG and replay messages on channel JOIN and welcome. 2023-10-26 20:56:12 +02:00
parazyd
bc60781225 darkirc: Implement seen message tracking in USER scope 2023-10-26 20:56:12 +02:00
parazyd
597beddba4 darkirc: Use RwLock instead of Mutex where applicable 2023-10-26 20:56:12 +02:00
parazyd
6cf480caaa Rename event_graph2 to event_graph and temp disable some old dependents.
tau needs to be rewritten to use the new DAG after IRC is well-tested.
2023-10-26 20:56:12 +02:00