JustTestingV
53f218c58f
[irc] send 502 if not sender tries to change mode for other users ( #4 )
...
Reviewed-on: lavina/lavina#4
Co-authored-by: JustTestingV <JustTestingV@gmail.com>
Co-committed-by: JustTestingV <JustTestingV@gmail.com>
2023-09-06 18:43:07 +00:00
Nikita Vilunov
1b5ac1491a
persistence for rooms
2023-08-17 15:41:28 +02:00
Nikita Vilunov
f8151699db
implement irc auth via PASS
2023-08-16 16:30:02 +02:00
Nikita Vilunov
c39928799d
fix tls key parsing usage
2023-08-05 00:38:56 +02:00
Nikita Vilunov
c1a461a09e
fix irc tests
2023-07-23 15:21:26 +02:00
Nikita Vilunov
51d7278617
add sender to ping response
2023-07-22 16:22:49 +02:00
Nikita Vilunov
daf05869a3
tune irc logging
2023-07-03 22:25:57 +02:00
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
d0c579863e
feat(xmpp): list muc rooms in disco
2023-04-11 18:28:03 +02:00
Nikita Vilunov
c44101d5d0
feat(xmpp): send muc messages to clients
2023-04-11 16:42:09 +02:00
Nikita Vilunov
58582f4e51
feat(xmpp): handle sending messages to muc
2023-04-09 23:31:43 +02:00
Nikita Vilunov
2b54260f0b
feat(xmpp): improve disco responses
2023-04-05 22:37:33 +02:00
Nikita Vilunov
f71d098420
feat(xmpp): handle stream stop, dump tls keys
2023-04-05 18:57:35 +02:00
Nikita Vilunov
fb8329a187
feat(xmpp): add stream id
2023-04-05 14:31:44 +02:00
Nikita Vilunov
65471a6c7f
split xmpp stanzas handling into functions
2023-03-30 14:49:39 +02:00
Nikita Vilunov
123781d145
feat(xmpp): disco stub handlers
2023-03-30 14:31:20 +02:00
Nikita Vilunov
fbb7349585
feat(xmpp): improve jid model
2023-03-29 01:12:12 +02:00
Nikita Vilunov
a2a0a8914d
feat(xmpp): rewrite handling of output xml events
2023-03-29 00:36:12 +02:00
Nikita Vilunov
4ce97f8e13
add disco iqs to all iqs
2023-03-27 23:52:31 +02:00
Nikita Vilunov
a73bbdb5f1
fix handling of \r in xmpp stream
2023-03-24 01:38:42 +01:00
Nikita Vilunov
d0f807841c
generator-based parsing of xmpp stanzas
2023-03-23 01:37:02 +01:00
Nikita Vilunov
3e1bb53c1b
feat(xmpp): respond to unknown IQs with errors
2023-03-21 01:16:02 +01:00
Nikita Vilunov
a65ea89ce1
feat(xmpp): make presence polymorphic wrt any fields
2023-03-20 17:25:14 +01:00
Nikita Vilunov
1cc4761aeb
feat(xmpp): presence parsing
2023-03-15 15:27:48 +01:00
Nikita Vilunov
6add6db371
feat(xmpp): roster query stub
2023-03-12 22:50:28 +01:00
Nikita Vilunov
33dbfba116
feat(xmpp): implement session iq
2023-03-12 14:15:13 +01:00
Nikita Vilunov
4107c5b663
feat(xmpp): answer to bind requests
2023-03-12 13:25:23 +01:00
Nikita Vilunov
4730526fee
feat(xmpp): glue parsing of incoming messages together
2023-03-12 00:30:48 +01:00
Nikita Vilunov
443f6a2c90
feat(xmpp): iq body ADT with parsing
2023-03-11 18:36:38 +01:00
Nikita Vilunov
dc788a89c4
feat(xmpp): extract tls xml defns into a separate module
2023-03-06 12:49:51 +01:00
Nikita Vilunov
f1eff730a2
feat(xmpp): refactor the projection
2023-03-06 12:05:33 +01:00
Nikita Vilunov
42c22d045f
feat(xmpp): implement socket start negotiation up to auth
2023-03-05 22:04:28 +01:00
Nikita Vilunov
435da6663a
feat(xmpp): serialization of stream start
2023-02-28 12:12:03 +01:00
Nikita Vilunov
494ddc7ee1
feat(xmpp): placeholder for xmpp projection and example of xml
2023-02-28 00:05:30 +01:00
Nikita Vilunov
0adc19558d
remove Terminator::from_raw
2023-02-22 16:05:28 +01:00
Nikita Vilunov
bbd68853ae
graceful shutdown of irc socket listener
2023-02-22 15:40:05 +01:00
Nikita Vilunov
49a975e66e
fix irc integration tests
2023-02-17 22:12:29 +01:00
Nikita Vilunov
266eafe6e6
handle QUIT cmd
2023-02-17 00:38:34 +01:00
Nikita Vilunov
e813fb7c69
implement room bans
2023-02-16 22:49:17 +01:00
Nikita Vilunov
204126b9fb
return user's mode to themselves
2023-02-16 20:53:37 +01:00
Nikita Vilunov
63f31aa42f
support who for global channels
2023-02-16 19:47:51 +01:00
Nikita Vilunov
69bccef3bf
fix WHO replies
2023-02-16 19:33:36 +01:00
Nikita Vilunov
81ee1c1044
implement WHO irc command for queries on self
2023-02-16 18:39:54 +01:00
Nikita Vilunov
30db029390
make irc update handler a separate function
2023-02-16 16:33:44 +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
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
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