Commit graph

31 commits

Author SHA1 Message Date
Magnus Hoff
1bb1df8cf0 Add a first approximation of full text search. Issue #8 2017-10-24 16:48:16 +02:00
Magnus Hoff
ffccc5722c Add view of historical article revisions 2017-10-24 11:03:09 +02:00
Magnus Hoff
db0c2ef7f7 Finish refactoring, reducing some cloning 2017-10-24 09:19:01 +02:00
Magnus Hoff
0f1e1f65ed Factor out pagination resolver from ChangesResource and call it ChangesLookup 2017-10-22 14:36:05 +02:00
Magnus Hoff
b3ffcb916b Redirect after-pagination queries to the corresponding before-queries
This normalizes the URLs, avoiding duplicate URLs for a sublist
2017-10-22 13:38:13 +02:00
Magnus Hoff
50b86db597 Internally reformulate all pagination queries as before-queries
This fixes the pagination links so they only show up when relevant
2017-10-22 13:07:50 +02:00
Magnus Hoff
0dacad5a3e Refactor handling of pagination query arguments 2017-10-20 20:48:43 +02:00
Magnus Hoff
8b2e601a46 Cleanup 2017-10-15 17:31:11 +02:00
Magnus Hoff
6d3d48c56e Parse query args for pagination in /_changes 2017-10-15 17:22:38 +02:00
Magnus Hoff
4f9cf4d15e Refactor assets routing 2017-10-15 16:49:55 +02:00
Magnus Hoff
c0521b5703 Refactor routing 2017-10-15 16:34:27 +02:00
Magnus Hoff
f40b6ce70d Refactor routing 2017-10-15 14:26:22 +02:00
Magnus Hoff
4756441064 Refactor path splitting in router 2017-10-14 15:13:03 +02:00
Magnus Hoff
d1a3814286 Collect Resource types in a module 2017-10-13 15:21:23 +02:00
Magnus Hoff
2cb80e2bac Add sitemap. This fixes #3 2017-10-13 15:06:16 +02:00
Magnus Hoff
f22ffc112a Add basic /_changes page 2017-10-03 10:37:18 +02:00
Magnus Hoff
2a5f98d43e Slightly less mindless copying 2017-10-02 21:47: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
cdcdf8e72f Refactor server-side initiated edit mode.
Implement support for opening articles for editing without javascript
2017-10-02 21:30:31 +02:00
Magnus Hoff
02dd55df39 Cleanup 2017-10-02 17:11:18 +02:00
Magnus Hoff
1d485798eb Implement /_new, for creating new articles without making up a URL first 2017-10-02 17:08:59 +02:00
Magnus Hoff
ce1bbee22c Sort some lists of things lexicographically 2017-10-01 23:26:57 +02:00
Magnus Hoff
7562961093 Percent decode path segments of URL 2017-10-01 23:24:16 +02:00
Magnus Hoff
dc4a136336 Cleanup 2017-10-01 22:35:06 +02:00
Magnus Hoff
0a3cb53a66 Add NewArticleResource
Serve placeholder page for non-existing articles.
Redirect user-generated slugs to canonical slugs.
2017-09-21 10:58:54 +02:00
Magnus Hoff
e1d823d22e Implement lookup and redirect of articles by slugs 2017-09-20 11:54:26 +02:00
Magnus Hoff
ada70b7671 Cleanup 2017-09-17 15:43:31 +02:00
Magnus Hoff
88eda46d95 Remove all usage of futures::BoxFuture, which is deprecated 2017-09-17 12:08:42 +02:00
Magnus Hoff
551cc22383 Remove all calls to Future::boxed(), which is deprecated 2017-09-17 11:45:35 +02:00
Magnus Hoff
16efa068d8 Introduce splitting on /-es in URLs 2017-09-17 11:27:50 +02:00
Magnus Hoff
573195d09c Code splitting 2017-09-15 17:28:23 +02:00