Commit Graph

1779 Commits

Author SHA1 Message Date
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
parazyd
4da846bf03 darkirc: Code refactor
This is a big rewrite of the DarkIRC code with an improved and more
robust architecture. We use proper client-server architecture without
having to rely on internal channels.

* The server now performs more correctly (although not fully) per the RFC.

* Removed obsolete code and made lots of performance and readability
  improvements.

* The network now propagates events over the Event Graph (DAG).

* Clients are more robust and stateful and have better separation.
2023-10-26 20:56:12 +02:00
aggstam
44482105c8 darkfid2: enchanched args configuration 2023-10-26 21:21:18 +03:00
aggstam
71b8d8d71c darkfid2/utils: moved genesis_txs_total function to src/validator/utils 2023-10-19 17:16:58 +03:00
parazyd
19c0e7af4d mmproxy/stratum: Add more debug messages 2023-10-19 14:31:54 +02:00
parazyd
86657028d5 mmproxy: Worker login, notifications, and keepalive. 2023-10-19 14:18:51 +02:00
parazyd
5e14347fe7 mmproxy: Stratum submit stub 2023-10-18 15:37:51 +02:00
parazyd
ccafcdece6 mmproxy: Remove stratum job.
This is a pool-side notification.
2023-10-18 15:37:27 +02:00
parazyd
a8397e9871 mmproxy: Stratum keepalived 2023-10-18 15:36:06 +02:00
parazyd
4c10ee8d67 mmproxy: Stratum login WIP 2023-10-18 10:45:23 +02:00