Commit graph

73 commits

Author SHA1 Message Date
Magnus Hoff
5ce9b37ab0 Update about.html 2017-11-30 13:29:21 +01:00
Magnus Hoff
b685139d5b Implement merge conflict handling for the noscript case #23 2017-11-20 16:07:33 +01:00
Magnus Hoff
88b3df21c2 Refactor build information and add more information #44 2017-11-20 10:12:10 +01:00
Magnus Hoff
1911a914ef Generate license attributions from JSON
JSON is mainly generated by cargo-license-hound
2017-11-14 13:06:50 +01:00
Magnus Hoff
43f8ec439e "Hide" editor pages from search engines
They are essentially duplicates of the article pages
2017-11-14 11:21:41 +01:00
Magnus Hoff
26fc263cd4 Reword about page. Add list of dependencies and licenses 2017-11-07 15:54:46 +01:00
Magnus Hoff
a796f299a4 Add link to diff view from article revision 2017-11-06 16:26:37 +01:00
Magnus Hoff
f9905e6548 Avoid generating invalid diff links in changes feed 2017-11-06 16:07:25 +01:00
Magnus Hoff
5acca0ddb7 Add links to the article before and after diff 2017-11-06 15:58:16 +01:00
Magnus Hoff
ac5ff0dbcc Add link to article history from diff page 2017-11-06 15:52:51 +01:00
Magnus Hoff
bfd2acda4f Get article revisions from database during diff lookup.
Diffs for missing revisions now cause 404-errors
2017-11-06 15:45:11 +01:00
Magnus Hoff
c24c5a84d5 Generate links to diffs from changes feed 2017-11-06 13:37:46 +01:00
Magnus Hoff
9cb3da86e2 Also render diff of title 2017-11-06 13:06:32 +01:00
Magnus Hoff
2042e5e7fe Style diff a little bit better 2017-11-06 12:55:13 +01:00
Magnus Hoff
faec67c797 Include and serve relevant software licenses 2017-11-02 14:48:22 +01:00
Magnus Hoff
63b9715550 Add a bare bones _about page. #10 2017-11-01 15:38:50 +01:00
Magnus Hoff
78bd53e640 Machine readable branding.
Include project name and version in Server header and generator meta tag
2017-11-01 13:17:58 +01:00
Magnus Hoff
59b9e77d47 Rudimentary support for comparing revisions of articles
For issue #21
2017-10-30 16:35:21 +01:00
Magnus Hoff
7d431b46fe Require something in the title field, client side 2017-10-30 13:23:06 +01:00
Magnus Hoff
1bdc21039b Refactor generation of links from slugs
This fixes a bug where the cancel-link on the front page would be to "" rather than "."
2017-10-30 12:42:53 +01:00
Magnus Hoff
4ca748f180 Optionally show authors in _changes based on --trust-identity command line argument.
This fixes #19
2017-10-30 11:44:36 +01:00
Magnus Hoff
1c820c9db0 Add tabindex to search result links
This makes the links appear in the relatedElement-field of the focusout event
2017-10-26 11:32:45 +02:00
Magnus Hoff
b81137ad25 Prev and next-links for search result. "More"-link for instant search 2017-10-25 16:34:21 +02:00
Magnus Hoff
74b8040d39 Refactor CSS for search results. Add support for keyboard control to full search results page 2017-10-25 16:02:30 +02:00
Magnus Hoff
2939dfaf9c Support using keyboard to follow search results 2017-10-25 13:49:00 +02:00
Magnus Hoff
056f1ddf72 Implement interactive search 2017-10-25 13:24:42 +02:00
Magnus Hoff
313fc16add Put a search box in the layout 2017-10-25 10:58:08 +02:00
Magnus Hoff
1bb1df8cf0 Add a first approximation of full text search. Issue #8 2017-10-24 16:48:16 +02:00
Magnus Hoff
628f3501a2 Remove pointless self-link 2017-10-24 12:59:37 +02:00
Magnus Hoff
5fc11abcfd Add text to _changes explaining the query. Add links to variants of the query 2017-10-24 12:49:19 +02:00
Magnus Hoff
3fb3139d28 Tweak links to _changes feed 2017-10-24 12:27:39 +02:00
Magnus Hoff
de413f69bf Remove accidental whitespace in sitemap 2017-10-24 12:26:25 +02:00
Magnus Hoff
d67cc668a2 Update links from _changes to point to historical revisions of articles.
This fixes #14.

Also: Add links to _changes filtered by author for authors in the _changes feed
2017-10-24 11:04:37 +02:00
Magnus Hoff
ffccc5722c Add view of historical article revisions 2017-10-24 11:03:09 +02:00
Magnus Hoff
a270963824 Fix handling of empty result sets in _changes 2017-10-23 16:13:18 +02:00
Magnus Hoff
f097313e53 Add links in footer to article and author history 2017-10-23 16:10:19 +02:00
Magnus Hoff
6c36e3cb49 Add links to newest and oldest changes 2017-10-22 12:41:42 +02:00
Magnus Hoff
700cf42eb0 Improve footer when article does not exist 2017-10-19 13:39:03 +02:00
Magnus Hoff
904bfd2a0b Restructure footer.
Less irrelevant information. Refactor rendering of "last updated"
2017-10-19 13:26:54 +02:00
Magnus Hoff
f923b5b6c0 Display author name in articles and _changes. This fixes #6 2017-10-18 16:53:27 +02:00
Magnus Hoff
2b6932fade Add rel-attributes for pagination links 2017-10-16 10:16:52 +02:00
Magnus Hoff
94b3966e46 Rudimentary pagination for _changes 2017-10-15 23:15:12 +02:00
Magnus Hoff
b5bcd66011 Introduce base href 2017-10-13 16:05:22 +02:00
Magnus Hoff
f2de8111c9 Structure template folder
Move errors to their own folder
2017-10-13 15:36:22 +02:00
Magnus Hoff
3715f9de64 Flesh out error pages a little bit 2017-10-13 15:27:35 +02:00
Magnus Hoff
8e58647e45 Structure template folder 2017-10-13 15:25:44 +02:00
Magnus Hoff
5c161ed13e Refactor footer.
Add link to home page, this fixes #9.

Add links to _changes and _sitemap
2017-10-13 15:14:12 +02:00
Magnus Hoff
2cb80e2bac Add sitemap. This fixes #3 2017-10-13 15:06:16 +02:00
Magnus Hoff
5f93f3d744 Better fix for broken editor styling 2017-10-13 14:46:54 +02:00
Magnus Hoff
1aeba7b2e3 Simplify _changes list 2017-10-03 22:31:27 +02:00