Commit Graph

168 Commits

Author SHA1 Message Date
JustTestingV 1905ac1977 attempt to write tests 2024-01-31 16:54:40 +03:00
JustTestingV b743252916 deleted lavina-core dependency in proto-xmpp 2024-01-20 20:27:52 +03:00
JustTestingV 798b27ccb2 [xmpp] no panic! 2024-01-20 20:12:40 +03:00
Nikita Vilunov 77d175ccd9 update hyper to 1.0 and other libs 2023-12-10 22:22:26 +01:00
Nikita Vilunov cefd6f8df0 irc: basic implementation of PLAIN SASL auth #8 (#28)
Reviewed-on: lavina/lavina#28
2023-12-08 02:47:09 +00:00
Nikita Vilunov 85fa607e16 move sasl into separate crate 2023-12-08 03:33:18 +01:00
Nikita Vilunov 4dbc68adfe Update rust toolchain 2023-11-20 17:19:12 +01:00
Nikita Vilunov ff806cc3d9 xmpp: split off stanza and update handling into modules (#27)
Reviewed-on: lavina/lavina#27
2023-10-13 20:09:08 +00:00
Nikita Vilunov 68c342aa44 xmpp: a basic integration test scenario (#26)
Reviewed-on: lavina/lavina#26
2023-10-13 20:06:40 +00:00
Nikita Vilunov fea64e4232 irc: improve integration test 2023-10-13 16:30:31 +02:00
Nikita Vilunov 013a20cbea update docs 2023-10-10 02:30:50 +02:00
Nikita Vilunov f0b38545bf new irc integration tests (#25) 2023-10-09 11:35:41 +00:00
Nikita Vilunov ac0b0dc962 start next version 2023-10-08 21:02:40 +02:00
Nikita Vilunov 1b2e322924 bump version 2023-10-08 21:02:36 +02:00
JustTestingV 9582160d2c xmpp: logopass auth (#19)
Reviewed-on: lavina/lavina#19
Co-authored-by: JustTestingV <JustTestingV@gmail.com>
Co-committed-by: JustTestingV <JustTestingV@gmail.com>
2023-10-08 13:53:39 +00:00
Nikita Vilunov 3ff8c98f14 update dependencies 2023-10-07 18:08:27 +02:00
Nikita Vilunov 1a1136187e sanitize IRC parsing (#23) 2023-10-04 18:27:43 +00:00
Nikita Vilunov 0b98102580 add author id in messages schema 2023-10-04 18:32:08 +02:00
Nikita Vilunov 1373767d7f xmpp: add muc proto tests 2023-10-04 15:55:34 +02:00
Nikita Vilunov 887fd95194 xmpp: fix parsing of unknown elements in messages 2023-10-03 00:17:48 +02:00
Nikita Vilunov 4621470bde fix graceful shutdown 2023-10-02 23:35:23 +02:00
Nikita Vilunov 9fca913430 xmpp: fix parsing of unknown elements in messages (#20)
Reviewed-on: lavina/lavina#20
2023-10-01 23:16:25 +00:00
Nikita Vilunov 8047a97baa remove /test/ 2023-10-01 18:16:11 +02:00
Nikita Vilunov 47195f5eee add crates/README.md 2023-10-01 18:15:37 +02:00
Nikita Vilunov 2f034284cf rename telemetry mod to http 2023-10-01 01:50:04 +02:00
Nikita Vilunov dc0a101fe6 split xmpp projection into a separate crate 2023-10-01 01:47:18 +02:00
Nikita Vilunov 854a244dbc split irc proejction into a separate crate (#18) 2023-09-30 23:34:35 +00:00
Nikita Vilunov a1db17c779 split core into a separate crate (#17) 2023-09-30 23:12:11 +00:00
Nikita Vilunov 1b3551f108 xmpp: rewrite bind request parser as a coroutine (#12)
Reviewed-on: lavina/lavina#12
2023-09-30 16:02:18 +00:00
Nikita Vilunov 444b608e96 split proto xmpp defs into its own crate (#14)
Reviewed-on: lavina/lavina#14
2023-09-30 15:43:46 +00:00
Nikita Vilunov 563811cbca pull-request workflow (#15) 2023-09-30 15:38:51 +00:00
Nikita Vilunov 58f6a5d90a add management API endpoints 2023-09-24 22:59:34 +02:00
Nikita Vilunov df6cdd4861 add a bit more logging 2023-09-23 01:12:03 +02:00
Nikita Vilunov 3d59f6aae5 read config path from cli args 2023-09-22 17:24:36 +02:00
Nikita Vilunov ad49703714 split proto irc defs into its own crate (#13)
Reviewed-on: lavina/lavina#13
2023-09-22 13:20:47 +00:00
JustTestingV 87d73af811 [irc] used nonempty prefixed nicks in 353 reply (#9)
Reviewed-on: lavina/lavina#9
Co-authored-by: JustTestingV <JustTestingV@gmail.com>
Co-committed-by: JustTestingV <JustTestingV@gmail.com>
2023-09-15 16:33:25 +00:00
Nikita Vilunov 298245f3f5 bump version 2023-09-15 17:12:12 +02:00
Nikita Vilunov 3de7a131f0 add dockerfile 2023-09-15 17:11:29 +02:00
Nikita Vilunov c662b64f11 disable tls support in sqlx, remove webpki-roots 2023-09-14 18:55:03 +02:00
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 377d9c32d2 fix message sending 2023-09-06 16:34:20 +02:00
Nikita Vilunov 43ea27b655 configure cargo deny 2023-08-28 14:55:01 +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 6ed1f6be40 readme.md 2023-08-24 18:31:05 +02: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 ef5c0dbbf6 update rust 2023-08-17 11:46:53 +02:00
Nikita Vilunov f8151699db implement irc auth via PASS 2023-08-16 16:30:02 +02:00