Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-23 | chore(cargo): Bump dependency minor versions | Vincent Ambo | 2 | -97/+95 | |
2018-04-17 | chore(license): Relicense under AGPL-3.0-or-later | Vincent Ambo | 11 | -140/+160 | |
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 | style(thread): Fix padding on thread view | Vincent Ambo | 1 | -1/+1 | |
Removing this padding lets the author column render evenly sized. | |||||
2018-04-16 | fix(thread): Load Gravatar images at larger size | Vincent Ambo | 1 | -1/+1 | |
This makes them look nicer in 2x situations (e.g. retina displays) and when a user zooms in. | |||||
2018-04-16 | feat(templates): Add 'Last post by' to the list of threads | TatriX | 2 | -1/+6 | |
2018-04-16 | docs(envrc): Add .envrc example file | Vincent Ambo | 1 | -0/+14 | |
2018-04-16 | style(db): Fix whitespace error | Vincent Ambo | 1 | -1/+1 | |
2018-04-16 | fix(db): Explicitly order posts in a thread | Vincent Ambo | 1 | -2/+5 | |
2018-04-16 | fix(templates): Fix alignment of columns in thread view | Vincent Ambo | 1 | -8/+8 | |
The author column is maybe slightly too large now, but that can be sorted out later. | |||||
2018-04-16 | fix(templates): Fix double-escaping of thread titles | Vincent Ambo | 2 | -3/+3 | |
2018-04-16 | fix(render): Enable GFM's tagfilter extension | Vincent Ambo | 2 | -2/+2 | |
2018-04-16 | fix(templates): Add some pleasing spacing to thread layout | Vincent Ambo | 1 | -1/+1 | |
2018-04-16 | chore(oidc): Enable debug log statement for token responses | Vincent Ambo | 1 | -4/+6 | |
2018-04-16 | fix(build): Add PostgreSQL library to Nix dependencies | Vincent Ambo | 1 | -1/+1 | |
2018-04-16 | fix(templates): Mark pre-escaped variables as 'safe' | Vincent Ambo | 2 | -2/+2 | |
2018-04-16 | refactor(main): Include Tera templates into application binary | Vincent Ambo | 1 | -7/+15 | |
Instead of loading the templates at launch time (which requires the template folder to be present), include the template strings into the binary. This also re-enables auto-escaping in Tera. | |||||
2018-04-16 | feat(build): Add Nix build configuration | Vincent Ambo | 2 | -1/+32 | |
Adds a Nix build configuration baesd on the default rustPlatform configuration. The configuration pins a specific nixpkgs commit (which at the time was a commit tracking nixpkgs-unstable). | |||||
2018-04-15 | docs(todo): Update todo-list | Vincent Ambo | 1 | -1/+2 | |
2018-04-15 | feat(handlers): Implement post editing handler | Vincent Ambo | 3 | -2/+31 | |
Implements a handler that receives the edit form result and updates the database accordingly if the user identity matches. | |||||
2018-04-15 | feat(db): Support UpdatePost message | Vincent Ambo | 1 | -0/+23 | |
Simple message intended to be used for post editing. | |||||
2018-04-15 | feat(handlers/render): Display edit form for user's own posts | Vincent Ambo | 5 | -2/+63 | |
Displays an edit form for posts that are owned by a user (which is currently defined as "email addresses match"). | |||||
2018-04-15 | fix(templates/post): Correctly insert post body | Vincent Ambo | 1 | -1/+1 | |
2018-04-15 | feat(db): Support GetPost message | Vincent Ambo | 1 | -0/+16 | |
Very simple message that retrieves a post from the DB. | |||||
2018-04-15 | refactor: Add a message!-macro to reduce message boilerplate | Vincent Ambo | 4 | -48/+22 | |
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 | 6 | -72/+156 | |
Adds a generic template that can be used for submitting, responding to and editing posts. | |||||
2018-04-15 | refactor(main): Split enormous main() into smaller methods | Vincent Ambo | 1 | -38/+58 | |
A little bit of logical grouping of things has never hurt anyone. | |||||
2018-04-15 | fix(handlers): Trim leading/trailing whitespace from new threads | Vincent Ambo | 1 | -6/+12 | |
2018-04-15 | refactor(templates): Restyle thread view using flex layout | Vincent Ambo | 1 | -48/+35 | |
2018-04-15 | feat(handlers): Determine whether current user can edit a post | Vincent Ambo | 3 | -3/+19 | |
2018-04-15 | style(templates): Minor fixes to search & index layouts | Vincent Ambo | 2 | -6/+5 | |
2018-04-14 | refactor(handlers): Receive search terms via query parameters | Vincent Ambo | 4 | -6/+6 | |
There are several reasons for this, but one important one is that people expect to be able to share search links. | |||||
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(templates): Add 'sticky' badge to sticky threads | Vincent Ambo | 1 | -1/+1 | |
2018-04-14 | fix(migrations): Change weighting of title vs. body | Vincent Ambo | 1 | -2/+2 | |
After thinking for a little while I actually think the body of a post may be more relevant when searching for posts than the thread title. Right now this is just a hunch and we'll have to find out how it actually ends up working in real life. | |||||
2018-04-14 | feat: Implement search result view & enable search | Vincent Ambo | 6 | -4/+90 | |
Implements a very simple and currently kinda broken-looking search result view. | |||||
2018-04-14 | chore(db): Arbitrarily limit search result size | Vincent Ambo | 1 | -0/+1 | |
... until pagination is in place. | |||||
2018-04-14 | feat(main/db): Schedule regular search view refresh | Vincent Ambo | 5 | -0/+54 | |
Schedules refreshes of the database view used for search at one-minute intervals. | |||||
2018-04-14 | refactor(schema): Unify integer type usage across tables | Vincent Ambo | 1 | -2/+2 | |
2018-04-14 | refactor(handlers): Improve error handling in post creation | Vincent Ambo | 1 | -2/+2 | |
2018-04-14 | feat(db): Implement handling of 'SearchPosts' message | Vincent Ambo | 2 | -1/+61 | |
Adds support for executing full-text search across a forum instance by sending the `SearchPosts` message with a search query to the DB actor. The struct used for results is mapped manually to the expected query result as the query is embedded via raw SQL. | |||||
2018-04-14 | feat(migrations): Add materialized view & index for full text search | Vincent Ambo | 2 | -0/+23 | |
Adds a materialized view to be used for full-text searches that indexes the tsvector documents for each post. | |||||
2018-04-14 | fix(templates): Fluidly scale all images | Vincent Ambo | 1 | -0/+2 | |
2018-04-14 | fix(templates): Set CSPs on templates | Vincent Ambo | 3 | -0/+3 | |
2018-04-14 | docs(todo): Stickies are done! | Vincent Ambo | 1 | -1/+1 | |
2018-04-14 | feat(templates): Highlight stickied threads in index | Vincent Ambo | 2 | -2/+4 | |
2018-04-14 | feat(db): Add support for stickies in database | Vincent Ambo | 7 | -21/+36 | |
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 | docs(todo): Add note about stickies | Vincent Ambo | 1 | -1/+2 | |
2018-04-14 | feat(db): Add view for ordering thread index by most recent post | Vincent Ambo | 6 | -7/+45 | |
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(build): Configure Travis builds for Rust | Vincent Ambo | 1 | -0/+1 | |