Commit Graph

126 Commits

Author SHA1 Message Date
parazyd
cbd120da96 darkirc: Preliminary RLN code layout 2023-11-20 09:50:19 +01:00
Dastan-glitch
c793cfdfd5 bin/darkirc: [taubot] replace id with ref_id 2023-11-19 04:25:28 +03:00
dark-john
4da0207bbd More explicit error message for users who have failed to generate their own key pair (#235)
* More explicit error message for users who have failed to generate their own key pair.

* Tweaked error message.

---------

Co-authored-by: dark-john <dark-john@fake-email.com>
2023-11-18 08:39:28 +00:00
parazyd
648989e36c darkirc: Update eventgraph API 2023-11-16 15:25:38 +01:00
parazyd
3b21fcaa7b darkirc: Abstract seen_db handling into separate functions
This will initialize the sled tree on-demand. Additionally, we make the
handling more robust and will disconnect the client on any potential sled
errors that might happen.

We also make mark_seen() write atomically into the sled tree via sled::Batch.
2023-11-16 13:11:21 +01:00
y
b42a36f2bd [darkirc] fix syntax issues in meetbot 2023-11-15 17:58:25 -05:00
Dastan-glitch
388dec06db bin/darkirc: [bots] strip response of whitspaces 2023-11-13 16:53:24 +03:00
lunar-mining
a423e1dfc4 fix typo in darkirc config 2023-11-11 18:11:15 +01:00
parazyd
55471d15e9 Add some Tor seed nodes to darkirc and taud configs 2023-11-10 12:08:21 +01:00
parazyd
f188c2bb05 chore: Update crate dependencies 2023-11-09 14:20:57 +01:00
parazyd
c423816da5 bin: Enable static compile targets for more bins 2023-11-02 15:08:39 +01:00
parazyd
235626b31d rpc: Allow params as JSON object 2023-11-01 19:48:47 +01: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
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
x
9af4d8340e darkirc: bump minor version number to 0.4.2 2023-10-26 20:57:03 +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
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
y
a6ef7c64d2 chore: fix typo 2023-09-06 10:56:24 +00:00
x
546e5a3c46 darkirc: fully working docker image 2023-09-05 16:37:38 +02:00
x
291d3e343e darkirc: add partially working docker image (bug with libunwind unresolved) 2023-09-05 15:06:06 +02:00
Dastan-glitch
7266011ec1 replace ircd with darkirc 2023-09-05 07:07:06 +03:00
Dastan-glitch
de294ad28c book: replace ircd with darkirc and update related docs accordingly 2023-09-05 00:31:29 +03:00
parazyd
73a4b23cf3 bin: Config file cleanup 2023-09-04 14:33:25 +02:00
Dastan-glitch
16729b7221 bin/darkirc: set outbound_connections to non-zero in test script node1 2023-09-01 04:35:43 +03:00
parazyd
3951152d30 darkirc: Move crypto module into a separate directory. 2023-08-31 15:00:02 +02:00
parazyd
fb1350daec rpc/server: Implement stop_connections() in RequestHandler. 2023-08-31 11:43:50 +02:00
parazyd
43e1c2f7a0 bin: Update RequestHandler users API 2023-08-31 11:08:18 +02:00
parazyd
6e45af3c5d bin: Update respective binaries to new RPC server API. 2023-08-31 01:19:51 +02:00
x
8b2c0b76f2 script/node_get_info.py: comment out some prints 2023-08-30 13:29:27 +02:00
x
113978a6d4 darkirc: add p2p.get_info() 2023-08-30 13:27:06 +02:00
parazyd
cbe9c64065 chore: Update crate dependencies 2023-08-29 13:08:35 +02:00
parazyd
ffe8643812 bin: Feature cleanup 2023-08-29 13:08:35 +02:00
parazyd
41bf60570a Implement standalone Makefiles for most of the bins and rework main Makefile. 2023-08-29 10:53:23 +02:00
Dastan-glitch
48e8845278 bin/darkirc: update default datastore path 2023-08-27 06:20:28 +03:00
Dastan-glitch
3840fda64b event_graph: better error handling 2023-08-27 06:07:04 +03:00
Dastan-glitch
b4f5851969 bin/darkirc: add necessery async trait 2023-08-25 02:21:40 +03:00