Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-04-05 | chore: Relicense under GPL-3.0 | Vincent Ambo | 9 | -123/+136 | |
2018-05-27 | feat(db): Prevent responses to closed threads | Vincent Ambo | 2 | -1/+14 | |
This concludes the thread-closing implementation! | |||||
2018-05-27 | feat(errors): Introduce error variant for thread closing | Vincent Ambo | 2 | -6/+20 | |
(other minor change: log the user ID when invalid post editing requests were constructed) | |||||
2018-05-27 | fix(build): Add Askama build script | Vincent Ambo | 1 | -0/+5 | |
2018-05-27 | feat(templates): Add indicators for closed threads | Vincent Ambo | 2 | -1/+15 | |
2018-05-27 | feat(db): Update views with thread-closed field | Vincent Ambo | 5 | -0/+73 | |
2018-05-27 | feat(db): Add migration & fields to indicate a thread is closed | Vincent Ambo | 4 | -0/+4 | |
2018-05-22 | chore(cargo): Remove dependency on Tera | Vincent Ambo | 3 | -507/+653 | |
2018-05-22 | chore: Remove Tera usage in all modules | Vincent Ambo | 3 | -28/+2 | |
2018-05-22 | refactor(templates): Move search result template to Askama | Vincent Ambo | 2 | -3/+4 | |
2018-05-22 | refactor(templates): Move post editing template to Askama | Vincent Ambo | 3 | -42/+50 | |
2018-05-22 | refactor(templates): Move thread page template to Askama | Vincent Ambo | 4 | -21/+17 | |
2018-05-22 | chore(cargo): Add dependency on Askama | Vincent Ambo | 2 | -0/+85 | |
2018-05-22 | refactor(templates): Use Askama for index template | Vincent Ambo | 4 | -21/+45 | |
2018-05-22 | fix(templates): Fix layout of user info on desktop view | Vincent Ambo | 2 | -5/+10 | |
2018-05-22 | feat(templates): Add new MDL-themed search result view | Vincent Ambo | 2 | -43/+69 | |
2018-05-22 | chore(build): Don't run Travis build in containers | Vincent Ambo | 1 | -0/+1 | |
According to a Github thread[1] this causes a significant speedup. [1]: https://github.com/travis-ci/travis-ci/issues/6604#issuecomment-357486807 | |||||
2018-05-22 | feat(templates): Add new thread view with MDL design | Vincent Ambo | 3 | -62/+137 | |
2018-05-22 | fix(static): Attach thread index divider to correct element | Vincent Ambo | 1 | -1/+1 | |
2018-05-22 | fix(static): Set monospaced fonts appropriately | Vincent Ambo | 1 | -2/+6 | |
I'm not web enough to make the `not`-selector thing work. | |||||
2018-05-22 | fix(static): Fix non-display of material icons | Vincent Ambo | 1 | -1/+1 | |
2018-05-22 | feat(templates): Add new MDL-based post editing page | Vincent Ambo | 1 | -72/+85 | |
2018-05-22 | fix(static): Let monospaced fonts be monospaced. | Vincent Ambo | 1 | -1/+1 | |
2018-05-22 | feat(templates): Add new MDL based index page | Vincent Ambo | 3 | -36/+157 | |
2018-05-19 | fix(gitattributes): Fix generated derivation file name | Vincent Ambo | 1 | -1/+1 | |
2018-05-19 | chore(build): Bump dependencies requires for mime-packages | Vincent Ambo | 3 | -88/+92 | |
2018-05-19 | refactor(handlers): Embed static files into binary | Vincent Ambo | 2 | -13/+26 | |
2018-05-19 | feat(templates): Add syntax highlighting for code via highlight.js | Vincent Ambo | 4 | -0/+115 | |
Includes a static distribution of highlight.js for syntax highlighting. A sane set of languages has been chosen. | |||||
2018-05-18 | chore(cargo): Bump actix-web to >0.6 | Vincent Ambo | 2 | -5/+6 | |
2018-05-18 | fix(build): Split Cargo.nix into separate file | Vincent Ambo | 1 | -0/+5189 | |
2018-05-18 | chore(build): Bump dependencies & pin pq-sys | Vincent Ambo | 4 | -5371/+221 | |
2018-05-15 | docs: Add contribution guidelines document | Vincent Ambo | 1 | -0/+114 | |
This document is intended to provide some information about how to contribute to the project, from basic sanity checks and code quality to information about how to structure git commits. These are the most common things that I encounter in pull requests sent to my projects. | |||||
2018-05-02 | docs(build): Document manual changes to Carnix expression | Vincent Ambo | 1 | -1/+20 | |
2018-05-02 | fix(build): Apply a workaround for building Comrak in Nix | Vincent Ambo | 1 | -2/+2 | |
Carnix can not be configured to not build a dependency's binaries (even if relevant features are disabled), but Comrak's binary can by default not be built in Carnix because it attempts to read a Cargo-provided environment variable at compile time. This works around the issue by "faking" the environment variable, which is less than ideal but works. | |||||
2018-05-02 | refactor(handlers/render): Use users from database for all functions | Vincent Ambo | 2 | -57/+54 | |
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(main): Use actix-web's identity middleware for auth | Vincent Ambo | 1 | -5/+9 | |
2018-05-02 | feat(db): Add LookupOrCreateUser message | Vincent Ambo | 2 | -0/+50 | |
Adds a message to look up a user in the database based on their email address. If the user does not exist, it is created. | |||||
2018-05-02 | chore(cargo): Update dependency minor versions | Vincent Ambo | 2 | -534/+542 | |
2018-05-02 | refactor(db/render/schema): Use SimplePost type for thread views | Vincent Ambo | 4 | -30/+67 | |
This uses the simplified view for querying posts instead of the post table directly to display posts. | |||||
2018-05-02 | feat(migrations): Add a view for simplified post querying | Vincent Ambo | 2 | -0/+12 | |
Adds a view to avoid having to query and join the users & posts table inside of the application (which isn't particularly convenient in Diesel). | |||||
2018-05-02 | fix(schema): Update for author->user_id column rename | Vincent Ambo | 1 | -4/+4 | |
2018-05-02 | refactor(migrations): Rename 'author' column to 'user_id' | Vincent Ambo | 2 | -16/+16 | |
This makes it easier to integrate with Diesel, for which this is the expected column name. | |||||
2018-05-02 | chore(schema): Update generated Diesel schema | Vincent Ambo | 1 | -4/+14 | |
Updates the generated schema with the new users table. This commit will break the build. | |||||
2018-05-02 | fix(migrations): Explicitly insert anonymous user | Vincent Ambo | 1 | -5/+11 | |
This guarantees that the anonymous user will always exist and have ID=1. | |||||
2018-05-02 | fix(migrations): Fix search index creation in user migration | Vincent Ambo | 2 | -0/+4 | |
2018-05-02 | feat(migrations): Adds a migration to create a users table | Vincent Ambo | 2 | -0/+136 | |
As a first step of getting the concept of users into the database, this creates a (somewhat involved) migration that moves all existing "users" into a new users table and updates the post table to reference it. This migration is not yet finalised and still needs to be updated with something to handle the concept of anonymous users (which I want to keep around). | |||||
2018-04-24 | chore(gitattributes): Tell Github Linguist to ignore default.nix | Vincent Ambo | 1 | -0/+1 | |
The `default.nix` in this repository contains generated code and skews Github's language statistics. While I'm a big fan of Nix, Converse is certainly not 80% written in Nix ;-) | |||||
2018-04-23 | fix(build): Add explicit pulldown-cmark dependency | Vincent Ambo | 3 | -7/+34 | |
There is some weird dependency interaction between pulldown-cmark and getopts which causes builds to fail with a message about unstable features if getopts is not explicitly depended on as a dependency of a dependency (yeah, huh?) | |||||
2018-04-23 | refactor(build): Use Carnix-based expression for building | Vincent Ambo | 1 | -27/+5155 | |
This is probably going to break Github's language statistics ... | |||||
2018-04-23 | chore(cargo): Bump dependency minor versions | Vincent Ambo | 2 | -97/+95 | |