about summary refs log tree commit diff
path: root/src/render.rs
AgeCommit message (Collapse)AuthorFilesLines
2018-04-14 feat(db): Add support for stickies in databaseVincent Ambo1-1/+1
Adds a 'sticky' column to threads and rewrites the thread index to take sticky markings into account when ordering threads. Stickies are not yet highlighted in any way in the forum overview.
2018-04-14 feat(db): Add view for ordering thread index by most recent postVincent Ambo1-2/+2
This implements the classic thread ordering expected by most forum users (i.e. the thread with the most recent post is at the top).
2018-04-14 feat: License project under GPLv3Vincent Ambo1-0/+16
2018-04-14 refactor(db): Store thread body in the posts tableVincent Ambo1-13/+4
This is a simplification over the previous approach. The OP of a thread is just a normal post like any other in this model, which allows some code simplifications (and future query convenience).
2018-04-12 feat(handler): Perform basic input validation on new thread viewVincent Ambo1-3/+15
2018-04-11 chore: Clean up unused importsVincent Ambo1-1/+0
2018-04-11 feat(render): Use a more human-readable format for datesVincent Ambo1-5/+15
2018-04-11 fix(render): Escape thread titles in indexVincent Ambo1-1/+19
2018-04-11 feat(render): Implement Markdown thread rendering & GravatarVincent Ambo1-8/+67
Implements a new thread rendering pipeline which all posts and the main thread body are first converted to a `RenderablePost` structure. During the conversion to this structure, the post body is rendered as Markdown and the author's email address is converted into the format required by Gravatar.
2018-04-11 feat(render): Add rendering actorVincent Ambo1-0/+70
Adds a separate actor that handles page rendering, templating engine state and other related topics.