Commit graph

11 commits

Author SHA1 Message Date
Magnus Hoff
2cdbd7c7f5 Use content type negotiation (the Accept header) to serve different formats from the _search endpoint 2017-10-25 11:39:19 +02:00
Magnus Hoff
c85715c969 Start tracking authors for edits. #6 2017-10-18 16:33:21 +02:00
Magnus Hoff
370cbd0c24 Add default implementations for dispatch methods in Resource trait 2017-10-03 10:36:21 +02:00
Magnus Hoff
b21a7ccda4 Don't try to handle fragment in router.
It is strictly a client-side mechanism
2017-10-02 21:35:52 +02:00
Magnus Hoff
88eda46d95 Remove all usage of futures::BoxFuture, which is deprecated 2017-09-17 12:08:42 +02:00
Magnus Hoff
53c4ff1b5c Extract CSS and JS from templates and serve as static assets 2017-09-15 14:54:47 +02:00
Magnus Hoff
db4f18807d Simplify by removing genericity.
Nothing to be generic over
2017-09-08 14:46:18 +02:00
Magnus Hoff
1a5b39b3a1 Implement editing 2017-09-05 17:07:57 +02:00
Magnus Hoff
5a859e5c33 Dispatch PUT to ArticleResource 2017-09-05 12:05:56 +02:00
Magnus Hoff
94758adaf4 Make Resource::get consume self, for copyless futures 2017-09-01 12:32:30 +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