Commit Graph

157 Commits

Author SHA1 Message Date
parazyd
509d9bf0d4 net: Fix bitflags 2024-04-08 10:51:42 +02:00
draoi
f9f3fa2bf1 session: cleanup SessionBitFlags
Add an additional byte to SessionBitFlags to accommodate SESSION_REFINE
and reduce the risk of logic errors.

Additionally:

* `!SESSION_SEED & !SESSION_REFINE` is now referred to as `SESSION_DEFAULT`
* `!SESSION_REFINE` is refered to as `SESSION_NET`.
* `SESSION_ALL` has been deleted since it was conceptually out-dated
* Binaries have been updated.
2024-04-06 15:14:49 +02:00
zero
91bc56bee6 darkirc: add commented log and verbose settings + description to default toml config 2024-04-05 11:45:49 +02:00
skoupidi
4b12c9de4f chore: clippy 2024-03-26 15:18:08 +02:00
parazyd
1e5e56c9ea darkirc/nickserv: Feed RLN identity through REGISTER 2024-03-20 11:31:58 +01:00
parazyd
a9a6cb4ef9 darkirc: NickServ account registration
This currently just creates a sled tree for the account and generates a keypair.
2024-03-20 09:24:54 +01:00
parazyd
1c163c546b darkirc: Preliminary services implementation 2024-03-15 13:49:36 +01:00
parazyd
0de97d0db3 chore: Update crate dependencies 2024-03-05 08:47:43 +01:00
dasman
50e57cba54 bin/darkirc: add forgotten deg_task.stop() 2024-03-02 04:33:39 +03:00
dasman
b9e74e52dc bin/darkirc: add deg task & respective rpc calls 2024-03-02 04:13:56 +03:00
zero
8a17b7175e fix darkirc android build using dockerfile 2024-02-15 13:45:05 +01:00
dasman
0567c219bd bin/darkirc: [commitbot] replace pusher name with committer's 2024-01-25 23:37:43 +03:00
parazyd
cf2a5fcc44 darkirc: Add "hostlist" to config 2024-01-23 17:26:59 +01:00
Dastan-glitch
2f0d966491 update darkirc tmux test session 2024-01-23 05:16:38 +03:00
parazyd
0e6f51e895 chore: Update copyright year in license headers 2024-01-16 13:07:22 +01:00
parazyd
77bc5edbb5 net: Port from deprecated async-rustls to futures-rustls.
This is also a protocol-breaking change. We now have a bit looser
certificate verification that does not append the base32-encoded
public key into the altName.
2024-01-08 15:58:50 +01:00
parazyd
dedc29430e chore: Update crate dependencies 2024-01-08 15:58:50 +01:00
Dastan-glitch
fca68c54af fix & update darkirc test script 2024-01-06 04:24:22 +03:00
Dastan-glitch
7341a13587 fix&update Twitter bot 2023-12-31 05:35:43 +03:00
Dastan-glitch
3cc972c780 bin/darkirc: add tiny test bot 2023-12-25 15:33:56 +03:00
x
e5e105ca40 update darkirc README 2023-12-19 13:27:11 +00:00
parazyd
a94858174a darkirc: Only build the rust bin with the make target 2023-12-14 12:05:38 +01:00
aggstam
b1821df428 darkirc: update event_graph synced flag when we skip sync 2023-12-14 11:45:32 +01:00
aggstam
cdaddfbfe2 event_graph: introduce layers to the DAG
Each event corresponds to a specific layer(height) in the dag, making identifying and preventing cycles way easier, as all parents must exist in previous layers. Additionally, propagation and sync gremlins have been eliminated, and proper validations added
2023-12-14 11:45:32 +01:00
parazyd
b23021e3a1 chore: Update crate dependencies 2023-12-13 10:14:43 +01:00
parazyd
295c8dcff9 chore: Update crate dependencies 2023-12-04 19:58:59 +01:00
Dastan-glitch
7940ad5e58 bin/darkirc: config's commented datastore path to match the actual default value 2023-12-02 23:21:54 +03:00
y
cb5534090b [darkirc/build] add license header 2023-11-21 15:34:05 -05:00
parazyd
3b84503365 darkirc: Add native Android cross-build instructions 2023-11-21 17:38:49 +01:00
parazyd
673b0ec6b1 Full Makefile project cleanup 2023-11-21 15:58:08 +01:00
parazyd
2066bdbcd5 darkirc: Add .gitignore for Android build artifacts 2023-11-21 15:58:08 +01:00
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