Nikita Vilunov
12d30ca5c2
irc: implement server-time capability for incoming messages ( #52 )
...
Spec: https://ircv3.net/specs/extensions/server-time
Reviewed-on: lavina/lavina#52
2024-04-21 21:00:44 +00:00
Nikita Vilunov
ddb348bee9
refactor lavina core by grouping public services into a new LavinaCore struct.
...
this will be useful in future when additional services will be introduced and passed as dependencies
2024-04-21 19:45:50 +02:00
Nikita Vilunov
5a09b743c9
return AlreadyJoined when a player attempts to join a room they are already in
2024-04-20 17:09:44 +02:00
Nikita Vilunov
cebe354179
update libraries
2024-04-19 14:27:19 +02:00
Nikita Vilunov
02a8309d9e
xmpp: relax the jid regex a bit
2024-04-18 01:42:28 +02:00
Nikita Vilunov
fbb3d4f4f9
xmpp: rewrite xml element parsers using coroutines
2024-04-16 17:44:34 +02:00
Nikita Vilunov
048660624d
irc: support registration with different order of NICK/USER/CAP END commands ( #51 )
...
Resolves #33
Reviewed-on: lavina/lavina#51
2024-04-16 11:35:14 +00:00
Nikita Vilunov
6bba699d87
xmpp: disco-info iq for rooms
2024-04-15 23:08:43 +02:00
Nikita Vilunov
6d493d83a3
xmpp: use the Jid type in IQs' to and from fields, separate presence handling
2024-04-15 18:18:51 +02:00
Nikita Vilunov
757d7c5665
persistent room topics ( #50 )
...
Reviewed-on: lavina/lavina#50
2024-04-15 09:12:23 +00:00
Nikita Vilunov
0105a5b710
persistent memberships ( #49 )
...
Reviewed-on: lavina/lavina#49
2024-04-15 09:06:10 +00:00
Nikita Vilunov
57b6af8732
xmpp: configurable server hostname ( #47 )
...
Reviewed-on: lavina/lavina#47
2024-04-15 00:33:26 +00:00
Nikita Vilunov
0944c449ca
xmpp: in integration tests extract server startup code
2024-04-13 02:32:41 +02:00
Mikhail
fd694cd75c
Add message timestamps ( #41 )
...
Resolves #38
Reviewed-on: lavina/lavina#41
Co-authored-by: Mikhail <mikhail@liamets.dev>
Co-committed-by: Mikhail <mikhail@liamets.dev>
2024-04-12 21:32:21 +00:00
Nikita Vilunov
cccc05afe9
xmpp: ignore text elements with spaces at the stream root
2024-04-11 23:08:09 +02:00
Nikita Vilunov
8b099f9be2
xmpp: fix handling of the `bind` iq
2024-04-07 12:06:23 +00:00
Nikita Vilunov
36b0d50d51
irc: allow PART without a reason
2024-04-06 23:01:24 +00:00
Nikita Vilunov
adece11fef
xmpp: make xml-headers optional in the c2s stream
2024-04-06 22:37:27 +00:00
Nikita Vilunov
ab61e975bf
xmpp: send correct errors on unknown iqs
2024-04-06 22:37:27 +00:00
Nikita Vilunov
fd437df67e
xmpp: buffer data outgoing over a TLS-stream
2024-04-06 22:35:01 +00:00
Nikita Vilunov
a325c7307c
irc: improve tests and remove tail space in chan member list
2024-04-06 22:34:11 +00:00
Nikita Vilunov
d436631450
improve docs and split command handlers into methods ( #40 )
2024-03-26 16:26:31 +00:00
Nikita Vilunov
878ec33cbb
apply uniform formatting
2024-03-20 19:59:15 +01:00
Nikita Vilunov
1d9937319e
update dependencies
2024-03-20 19:53:51 +01:00
homycdev
4b1958b5ae
irc: remove hardcoded text from welcome messages
...
- use server name in welcome message
- use app version of crate in app_version field
Reviewed-on: lavina/lavina#35
Co-authored-by: homycdev <abdulkhamid98@gmail.com>
Co-committed-by: homycdev <abdulkhamid98@gmail.com>
2024-03-15 00:54:55 +00:00
JustTestingV
c6fb74a848
termination usage for stopping the socket connection gracefully ( #34 )
...
Reviewed-on: lavina/lavina#34
Co-authored-by: JustTestingV <JustTestingV@gmail.com>
Co-committed-by: JustTestingV <JustTestingV@gmail.com>
2024-02-18 16:46:29 +00:00
Nikita Vilunov
7613055dde
update dependencies
2024-02-08 21:15:22 +01:00
G1ng3r
7ff9ffdcf7
irc: send ERR_SASLFAIL reply for auth fails ( #30 )
...
Reviewed-on: lavina/lavina#30
Co-authored-by: G1ng3r <saynulanude@gmail.com>
Co-committed-by: G1ng3r <saynulanude@gmail.com>
2024-02-06 23:08:14 +00:00
JustTestingV
614be92be3
xmpp: no panic! ( #29 )
...
Reviewed-on: lavina/lavina#29
Co-authored-by: JustTestingV <JustTestingV@gmail.com>
Co-committed-by: JustTestingV <JustTestingV@gmail.com>
2024-01-22 15:13:19 +00: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