Nikita Vilunov nikita
  • Joined on 2023-08-25
nikita pushed to proto-irc-crate at nikita/lavina 2023-09-21 22:47:23 +00:00
17bb275412 split proto irc defs into its own crate
nikita created branch proto-irc-crate in nikita/lavina 2023-09-21 22:47:23 +00:00
nikita commented on pull request lavina/lavina#12 2023-09-21 15:06:50 +00:00
xmpp: rewrite bind request parser as a coroutine

Not sure how, this is for the case when I receive something like

<bind></bind>

with no <resource>text</resource> inside it

nikita commented on pull request lavina/lavina#12 2023-09-21 15:06:03 +00:00
xmpp: rewrite bind request parser as a coroutine

Added

nikita commented on pull request lavina/lavina#12 2023-09-21 15:05:59 +00:00
xmpp: rewrite bind request parser as a coroutine

I accept the consequences of their unstability, but they are just too concise in comparison to manually defined state machines. Other parsers already use generators, so it's probably a good idea…

nikita pushed to bind-parser-generator at nikita/lavina 2023-09-21 15:01:09 +00:00
a16cd01a2c improve validation
nikita created pull request lavina/lavina#12 2023-09-19 20:12:05 +00:00
xmpp: rewrite bind request parser as a coroutine
nikita pushed to bind-parser-generator at nikita/lavina 2023-09-19 20:11:58 +00:00
372efc3701 xmpp: rewrite bind request parser as a coroutine
nikita created branch bind-parser-generator in nikita/lavina 2023-09-19 20:10:51 +00:00
nikita pushed to bind-parser-generator at nikita/lavina 2023-09-19 20:10:51 +00:00
87d73af811 [irc] used nonempty prefixed nicks in 353 reply (#9)
298245f3f5 bump version
3de7a131f0 add dockerfile
c662b64f11 disable tls support in sqlx, remove webpki-roots
53f218c58f [irc] send 502 if not sender tries to change mode for other users (#4)
Compare 5 commits »
nikita opened issue lavina/lavina#11 2023-09-16 20:53:45 +00:00
IRC over TLS support
nikita opened issue lavina/lavina#10 2023-09-15 19:57:20 +00:00
Maintenance API
nikita pushed to main at lavina/lavina 2023-09-15 16:33:26 +00:00
87d73af811 [irc] used nonempty prefixed nicks in 353 reply (#9)
nikita merged pull request lavina/lavina#9 2023-09-15 16:33:26 +00:00
[irc] used nonempty prefixed nicks in 353 reply
nikita pushed to main at lavina/lavina 2023-09-15 15:20:32 +00:00
298245f3f5 bump version
3de7a131f0 add dockerfile
Compare 2 commits »
nikita pushed tag 0.0.0 to lavina/lavina 2023-09-15 15:12:17 +00:00
nikita pushed to main at lavina/lavina 2023-09-14 16:55:11 +00:00
c662b64f11 disable tls support in sqlx, remove webpki-roots
nikita commented on pull request lavina/lavina#9 2023-09-08 17:55:29 +00:00
[irc] used nonempty prefixed nicks in 353 reply

unwrap crashes the app here, also not needed since the constructor doesn't fail and can return just raw value without Result

nikita commented on pull request lavina/lavina#9 2023-09-08 17:55:29 +00:00
[irc] used nonempty prefixed nicks in 353 reply

it was deliberately made non-pub, because I want to limit the creation of PlayerIds to the smart constructor PlayerId::from, which validates the format and returns the values if all is fine

nikita commented on pull request lavina/lavina#9 2023-09-08 17:55:29 +00:00
[irc] used nonempty prefixed nicks in 353 reply

core is not really a good module to put prefix-related types, since they are irc-specific.