Commit Graph

7085 Commits

Author SHA1 Message Date
parazyd
44b27d0228 contrib/zk.lua: Require spaces for indentation 2023-10-27 14:02:40 +02:00
parazyd
29eee31e20 net/acceptor: Gracefully handle ETIMEDOUT 2023-10-27 11:19:10 +02:00
parazyd
54ad30201f zk: Move export_witness_json() to zk module.
zkas should be kept dependency-free.
2023-10-27 09:05:24 +02:00
parazyd
299e70fea8 darkirc/irc: Update TLS cert handling for new rustls-pemfile API 2023-10-27 09:02:18 +02:00
parazyd
a41668a676 net/transport/tls: Update cert gen 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
aggstam
3b046709d3 doc/Makefile: fix -frfrfr 2023-10-27 00:02:28 +03:00
aggstam
30cc68b8e3 doc/Makefile: fix -frfr 2023-10-26 23:53:43 +03:00
aggstam
3d7e4b3a41 chore: failing pipelines 2023-10-26 23:48:25 +03: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
aggstam
f9b575e4ab net/acceptor: Gracefully handle rustls error in run_accept_loop without consuming it 2023-10-26 20:57:04 +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
9de4a2e74b net/acceptor: Gracefully handle rustls error in run_accept_loop 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
x
b0f334683b p2p: simplify and make safe API, and thereby fix the possibility for any deadlock to happen when using the API. 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
parazyd
c45e9bb6e5 net/acceptor: Gracefully handle ECONNRESET 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
Dastan-glitch
cf951d57e6 update Cargo.lock for darkirc version bumping 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
Dastan-glitch
c629a5d000 event_graph: accept zero rotations for apps that need full history all the time (such as tau) 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
359c914eef net/hosts: Don't reject localhost, and just use the host_str 2023-10-26 20:56:12 +02:00
parazyd
ee47552eee net: Mark peer as rejected if we have missing dispatchers for certain packets. 2023-10-26 20:56:12 +02:00
parazyd
59f95dd0fb net: Implement peer connection rejection 2023-10-26 20:56:12 +02:00