Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-05-22 | refactor(templates): Use Askama for index template | Vincent Ambo | 1 | -12/+22 | |
2018-05-02 | refactor(handlers/render): Use users from database for all functions | Vincent Ambo | 1 | -4/+2 | |
Converse now sets the user ID as the session identity parameter in actix_web's identity middleware after a successful login and uses the ID to determine identity when creating threads & posts and when validating edit permissions. | |||||
2018-05-02 | refactor(db/render/schema): Use SimplePost type for thread views | Vincent Ambo | 1 | -1/+1 | |
This uses the simplified view for querying posts instead of the post table directly to display posts. | |||||
2018-04-17 | chore(license): Relicense under AGPL-3.0-or-later | Vincent Ambo | 1 | -8/+10 | |
Relicense the project from the standard GPL3 to the Affero version of the license, requiring source code disclosure for modifications made on instances of Converse that are serving users over the network. | |||||
2018-04-16 | feat(templates): Add 'Last post by' to the list of threads | TatriX | 1 | -0/+2 | |
2018-04-16 | fix(render): Enable GFM's tagfilter extension | Vincent Ambo | 1 | -2/+1 | |
2018-04-15 | feat(handlers/render): Display edit form for user's own posts | Vincent Ambo | 1 | -1/+23 | |
Displays an edit form for posts that are owned by a user (which is currently defined as "email addresses match"). | |||||
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. |