Vincent Ambo
b781a1fe57
chore: Clean up unused imports
2018-04-11 16:35:26 +02:00
Vincent Ambo
1cce37446b
refactor(handlers): Use rendering actor for page renders
...
This currently breaks error handling in page render flows. To fix it
properly, the database actor should return failable futures instead of
`Result<T>` wrapped in a future.
2018-04-11 12:18:33 +02:00
Vincent Ambo
103a59485f
feat(handlers/templates): Add "New Thread" handler and template
2018-04-09 23:37:41 +02:00
Vincent Ambo
7c73949066
feat(handlers): Extract & add author to thread and post information
2018-04-09 09:20:27 +02:00
Vincent Ambo
ef5e8ec8bd
feat(handlers): Add RequireLogin middleware
...
Adds a middleware that automatically redirects users to the login page
if they don't have an active session (i.e. 'author' set).
2018-04-09 09:11:23 +02:00
Vincent Ambo
9eb8501fae
feat(handlers): Use cookie session backend to store author info
2018-04-08 22:56:29 +02:00
Vincent Ambo
a63bc782b0
feat(handler): Implement OIDC login & callback handlers
2018-04-08 22:37:36 +02:00
Vincent Ambo
cf636077e6
feat(handlers): Add reply_thread handler for posts
2018-04-08 20:20:05 +02:00
Vincent Ambo
094b1e0722
feat(handlers): Add thread submission handler
2018-04-08 20:01:32 +02:00
Vincent Ambo
c8cee945c5
refactor(main): Move handlers into separate handler module
2018-04-08 19:21:41 +02:00