Commit graph

10 commits

Author SHA1 Message Date
Vincent Ambo
094b1e0722 feat(handlers): Add thread submission handler 2018-04-08 20:01:32 +02:00
Vincent Ambo
fdc1abe7cc feat(errors): Introduce error module with custom error type
Introduces an error type using the failure crate. This type has
foreign error links established to various errors that can occur
within Converse.
2018-04-08 19:21:56 +02:00
Vincent Ambo
c8cee945c5 refactor(main): Move handlers into separate handler module 2018-04-08 19:21:41 +02:00
Vincent Ambo
67a0642f8c feat(main): Support CONVERSE_BIND_HOST environment variable 2018-04-08 18:44:41 +02:00
Vincent Ambo
a1a6b77fdf refactor(main): Use actix-web extractor pattern 2018-04-08 18:42:01 +02:00
Vincent Ambo
6e56f8e729 feat(main/templates): Add barebones single-thread view 2018-04-08 18:02:01 +02:00
Vincent Ambo
3db069c60d feat(main): Add support for Tera templates
Sets up the structure required to carry Tera templates in the
actix-web state.

The (still very barebones) index renderer has been updated to render a
Tera template.
2018-04-08 17:30:03 +02:00
Vincent Ambo
1402cfd948 feat(main): Add barebares thread listing
This ties together the first components here (actix, diesel etc.) to
provide a _very_ simple thread overview.
2018-04-08 17:05:28 +02:00
Vincent Ambo
5604d933e8 feat(main): Add minimal thread listing example 2018-04-08 16:08:26 +02:00
Vincent Ambo
f3f509d463 feat(main): Bootstrap project entrypoint
This doesn't really do anything yet.
2018-04-08 15:49:27 +02:00