Commit Graph

113 Commits

Author SHA1 Message Date
JustTestingV ea0115aa29 [irc] send 502 if not sender tries to change mode for other users 2023-09-06 21:39:32 +03:00
Nikita Vilunov 377d9c32d2 fix message sending 2023-09-06 16:34:20 +02:00
JustTestingV e9fc74b46b used regex_static in Jid (#1)
Reviewed-on: lavina/lavina#1
Co-authored-by: JustTestingV <JustTestingV@gmail.com>
Co-committed-by: JustTestingV <JustTestingV@gmail.com>
2023-08-26 15:50:05 +00:00
Nikita Vilunov b9724cd995 stop player fibers on shutdown 2023-08-24 14:10:31 +02:00
Nikita Vilunov 5c07c8368d persistence of chat messages 2023-08-18 16:45:48 +02:00
Nikita Vilunov f401aa786e Fix Storage closing during app shutdown.
Storage was still co-owned by the RoomRegistry, which did not allow us to shut it down gracefully. Dropping RoomRegistry explicitly helps.
2023-08-17 18:35:50 +02: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 9f0bcb9279 storage module init 2023-08-05 00:06:48 +02:00
Nikita Vilunov 4b04696a4f fix for windows 2023-07-30 18:59:33 +02:00
Nikita Vilunov c1a461a09e fix irc tests 2023-07-23 15:21:26 +02:00
Nikita Vilunov 50915afcf6 end server msgs in \r\n 2023-07-22 21:11:01 +02:00
Nikita Vilunov 51d7278617 add sender to ping response 2023-07-22 16:22:49 +02:00
Nikita Vilunov 8efbacc4d0 fix irc parsing
it's not required to start trailing arg with : if it doesn't contain spaces
2023-07-03 22:26:37 +02:00
Nikita Vilunov daf05869a3 tune irc logging 2023-07-03 22:25:57 +02:00
Nikita Vilunov f2ab963f7b add a new nightly flag 2023-05-02 15:41:18 +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 fb2cbf8a8c feat(xmpp): serialization of disco iqs 2023-03-29 00:34:12 +02:00
Nikita Vilunov 4ce97f8e13 add disco iqs to all iqs 2023-03-27 23:52:31 +02:00
Nikita Vilunov 63704d6010 use macro in muc parsing 2023-03-27 23:47:14 +02:00
Nikita Vilunov 7b2bfae147 feat(xmpp): parse disco queries 2023-03-27 23:45:44 +02:00
Nikita Vilunov 0e78f24fbd feat(xmpp): implement muc base element parsing 2023-03-25 17:56:21 +01:00
Nikita Vilunov a73bbdb5f1 fix handling of \r in xmpp stream 2023-03-24 01:38:42 +01:00
Nikita Vilunov 9110ab9beb rewrite presence parser as a generator 2023-03-23 02:20:30 +01:00
Nikita Vilunov d0f807841c generator-based parsing of xmpp stanzas 2023-03-23 01:37:02 +01:00
Nikita Vilunov bba1ea107d fix some warnings 2023-03-21 22:50:40 +01:00
Nikita Vilunov 71d7323534 remove unused struct 2023-03-21 01:17:48 +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 f131454cb2 feat(xmpp): parsing of bind request 2023-03-11 16:07:02 +01:00
Nikita Vilunov d444fc407b feat(xmpp): iq parsing 2023-03-08 19:56:53 +01:00
Nikita Vilunov 27bbabbbbd feat(xmpp): initial parsing of ordinary stream events 2023-03-07 16:28:29 +01:00