<title>refactor(web/converse): Refactor first handlers to rouille</title>
<updated>2021-04-20T10:44:57+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
...</author>
<published>2021-04-05T20:09:31+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=929b38e8ae4d61340cbd70352663af8f6f2418cf"/>
<id>urn:sha1:929b38e8ae4d61340cbd70352663af8f6f2418cf</id>
<content type="text">
This commit starts the refactoring process towards dropping actix (and
tokio, ...). It builds, but at this commit, Converse does *not* work.
I decided to commit to avoid more ridiculous diffs.
Included changes:
* Added dependency on rouille.
* Refactored DbExecutor (formerly actix actor) to simply be a type
with a few methods. Most actor messages still exist as they are
being referred to by handlers.
* Started refactoring two of the handlers (and their related renderer
functions) into Rouille's call scheme.
Important note: Rouille does not have safe session management out of
the box, and it will need to be implemented as this progresses.
Change-Id: I3e3f203e0705e561e1a3392e8f75dbe273d5fa81
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2861
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
</content>