Nikita Vilunov
eb34ac65ae
Merge branch 'main' into dialogs
2024-04-23 09:48:20 +00:00
Nikita Vilunov
6c08d69f41
sasl: remove unused code
2024-04-23 00:41:54 +02:00
Nikita Vilunov
22c58484cc
add test
2024-04-23 00:09:47 +02:00
Nikita Vilunov
c983b59ddc
fix
2024-04-22 21:27:14 +02:00
Nikita Vilunov
c3a709424e
dialogs impl for irc and xmpp
2024-04-22 21:12:51 +02:00
Nikita Vilunov
772d38f7bb
dialogs impl
2024-04-22 20:27:33 +02:00
Nikita Vilunov
b80401bcdd
Merge branch 'main' into dialogs
2024-04-21 23:10:16 +02:00
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
662aae5075
initial dialogs impl
2024-04-21 21:01:29 +02: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