Nikita Vilunov
4057b4a910
clean up ByteVec type aliases
2023-04-14 00:38:26 +02:00
Nikita Vilunov
55b69f4c8a
rewrite irc projection to use str
2023-04-13 21:15:48 +02:00
Nikita Vilunov
bba1ea107d
fix some warnings
2023-03-21 22:50:40 +01:00
Nikita Vilunov
e813fb7c69
implement room bans
2023-02-16 22:49:17 +01:00
Nikita Vilunov
81ee1c1044
implement WHO irc command for queries on self
2023-02-16 18:39:54 +01:00
Nikita Vilunov
1e17e017cf
make PlayerCommand mod-private
2023-02-15 21:49:52 +01:00
Nikita Vilunov
203db3b207
handle part commands
2023-02-15 18:54:48 +01:00
Nikita Vilunov
1bc305962e
endpoint with a list of rooms
2023-02-15 18:10:54 +01:00
Nikita Vilunov
a03a3a11a3
handle connection termination
2023-02-15 17:47:48 +01:00
Nikita Vilunov
23898038e1
fix some warnings
2023-02-14 23:49:56 +01:00
Nikita Vilunov
7dfe6e0295
fix some stuff
2023-02-14 23:43:59 +01:00
Nikita Vilunov
3950ee1d7a
refactor player actor a bit
2023-02-14 23:38:40 +01:00
Nikita Vilunov
05f8c5e502
rework commands and updates.
...
updates from rooms are send only to users other than the initiator.
updates from player are send only to connections other than the one the command was sent from.
2023-02-14 23:22:04 +01:00
Nikita Vilunov
4e5ccd604c
rename socket => connection for consistency
2023-02-14 20:45:22 +01:00
Nikita Vilunov
57ea2dd2d7
introduce Updates as a common player and connection event
2023-02-14 20:42:52 +01:00
Nikita Vilunov
265b78dc51
improve newtypes
2023-02-14 20:07:07 +01:00
Nikita Vilunov
c845f5d4ca
handle topic command
2023-02-14 19:46:42 +01:00
Nikita Vilunov
d10cddec61
send channels on connect
2023-02-14 19:28:49 +01:00
Nikita Vilunov
a8d6a98a5b
produce join messages on joins from other connections
2023-02-14 18:55:09 +01:00
Nikita Vilunov
cef0269828
send chat members list on connection
2023-02-14 01:44:03 +01:00
Nikita Vilunov
ec819d37ea
make room a data structure behind a rwlock instead of an actor
2023-02-14 01:42:04 +01:00
Nikita Vilunov
315b7e638b
add irc integration tests
2023-02-13 21:58:44 +01:00
Nikita Vilunov
7f5fa955ec
introduce player connection
2023-02-13 20:16:00 +01:00
Nikita Vilunov
d661f68fb6
implemen sending messages to a chan
2023-02-13 19:32:52 +01:00
Nikita Vilunov
20b461e81c
handle irc join commands
2023-02-13 00:31:16 +01:00
Nikita Vilunov
ae27c04b0a
add active players and rooms gauges
2023-02-12 23:23:52 +01:00
Nikita Vilunov
f9a6d8bdfc
reorder modules a bit
2023-02-04 02:01:49 +01:00