Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-15 | refactor: Add a message!-macro to reduce message boilerplate | Vincent Ambo | 1 | -16/+4 | |
2018-04-15 | refactor(render): Pass serializable structs to Tera directly | Vincent Ambo | 1 | -9/+3 | |
No need to go the intermediate step via `Context::new()` | |||||
2018-04-15 | refactor(templates/render): Add generic post editing template | Vincent Ambo | 1 | -6/+43 | |
Adds a generic template that can be used for submitting, responding to and editing posts. | |||||
2018-04-15 | feat(handlers): Determine whether current user can edit a post | Vincent Ambo | 1 | -1/+10 | |
2018-04-14 | fix(render): Escape post bodies | Vincent Ambo | 1 | -1/+2 | |
... derp. Well, the CSP prevented script executions already. | |||||
2018-04-14 | feat: Implement search result view & enable search | Vincent Ambo | 1 | -0/+21 | |
Implements a very simple and currently kinda broken-looking search result view. | |||||
2018-04-14 | feat(templates): Highlight stickied threads in index | Vincent Ambo | 1 | -0/+2 | |
2018-04-14 | feat(db): Add support for stickies in database | Vincent Ambo | 1 | -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 post | Vincent Ambo | 1 | -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 GPLv3 | Vincent Ambo | 1 | -0/+16 | |
2018-04-14 | refactor(db): Store thread body in the posts table | Vincent Ambo | 1 | -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 view | Vincent Ambo | 1 | -3/+15 | |
2018-04-11 | chore: Clean up unused imports | Vincent Ambo | 1 | -1/+0 | |
2018-04-11 | feat(render): Use a more human-readable format for dates | Vincent Ambo | 1 | -5/+15 | |
2018-04-11 | fix(render): Escape thread titles in index | Vincent Ambo | 1 | -1/+19 | |
2018-04-11 | feat(render): Implement Markdown thread rendering & Gravatar | Vincent Ambo | 1 | -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 actor | Vincent Ambo | 1 | -0/+70 | |
Adds a separate actor that handles page rendering, templating engine state and other related topics. |