Commit graph

58 commits

Author SHA1 Message Date
Magnus Hoff
50b9ebf59e Make State::update_article return a Future.
In preparation for threading
2017-09-08 15:37:58 +02:00
Magnus Hoff
6f94b2f960 Silence some warnings 2017-09-08 14:43:47 +02:00
Magnus Hoff
1a5b39b3a1 Implement editing 2017-09-05 17:07:57 +02:00
Magnus Hoff
60a87d1898 Introduce db connection pool. Derive Clone for State 2017-09-05 15:19:37 +02:00
Magnus Hoff
76302353e1 HTTP handling refactoring.
Refactor to lookup/route and resource abstractions.

Bake in futures/async support.

Implement more of the HTTP standard.
2017-08-25 23:57:06 +02:00
Johannes Hoff
e997c0f952 Read articles from the actual DB 2017-08-20 23:44:52 +02:00
Magnus Hoff
35e7bad7d2 Simple rendering of stubbed article 2017-08-20 22:17:16 +02:00
Johannes Hoff
139a5b51b6 Propage database connections; dispatch requests 2017-08-20 21:59:16 +02:00