about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-27 feat(db): Prevent responses to closed threadsVincent Ambo2-1/+14
This concludes the thread-closing implementation!
2018-05-27 feat(errors): Introduce error variant for thread closingVincent Ambo2-6/+20
(other minor change: log the user ID when invalid post editing requests were constructed)
2018-05-27 fix(build): Add Askama build scriptVincent Ambo1-0/+5
2018-05-27 feat(templates): Add indicators for closed threadsVincent Ambo2-1/+15
2018-05-27 feat(db): Update views with thread-closed fieldVincent Ambo5-0/+73
2018-05-27 feat(db): Add migration & fields to indicate a thread is closedVincent Ambo4-0/+4
2018-05-22 chore(cargo): Remove dependency on TeraVincent Ambo3-507/+653
2018-05-22 chore: Remove Tera usage in all modulesVincent Ambo3-28/+2
2018-05-22 refactor(templates): Move search result template to AskamaVincent Ambo2-3/+4
2018-05-22 refactor(templates): Move post editing template to AskamaVincent Ambo3-42/+50
2018-05-22 refactor(templates): Move thread page template to AskamaVincent Ambo4-21/+17
2018-05-22 chore(cargo): Add dependency on AskamaVincent Ambo2-0/+85
2018-05-22 refactor(templates): Use Askama for index templateVincent Ambo4-21/+45
2018-05-22 fix(templates): Fix layout of user info on desktop viewVincent Ambo2-5/+10
2018-05-22 feat(templates): Add new MDL-themed search result viewVincent Ambo2-43/+69
2018-05-22 chore(build): Don't run Travis build in containersVincent Ambo1-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 designVincent Ambo3-62/+137
2018-05-22 fix(static): Attach thread index divider to correct elementVincent Ambo1-1/+1
2018-05-22 fix(static): Set monospaced fonts appropriatelyVincent Ambo1-2/+6
I'm not web enough to make the `not`-selector thing work.
2018-05-22 fix(static): Fix non-display of material iconsVincent Ambo1-1/+1
2018-05-22 feat(templates): Add new MDL-based post editing pageVincent Ambo1-72/+85
2018-05-22 fix(static): Let monospaced fonts be monospaced.Vincent Ambo1-1/+1
2018-05-22 feat(templates): Add new MDL based index pageVincent Ambo3-36/+157
2018-05-19 fix(gitattributes): Fix generated derivation file nameVincent Ambo1-1/+1
2018-05-19 chore(build): Bump dependencies requires for mime-packagesVincent Ambo3-88/+92
2018-05-19 refactor(handlers): Embed static files into binaryVincent Ambo2-13/+26
2018-05-19 feat(templates): Add syntax highlighting for code via highlight.jsVincent Ambo4-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.6Vincent Ambo2-5/+6
2018-05-18 fix(build): Split Cargo.nix into separate fileVincent Ambo1-0/+5189
2018-05-18 chore(build): Bump dependencies & pin pq-sysVincent Ambo4-5371/+221
2018-05-15 docs: Add contribution guidelines documentVincent Ambo1-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 expressionVincent Ambo1-1/+20
2018-05-02 fix(build): Apply a workaround for building Comrak in NixVincent Ambo1-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 functionsVincent Ambo2-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 authVincent Ambo1-5/+9
2018-05-02 feat(db): Add LookupOrCreateUser messageVincent Ambo2-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 versionsVincent Ambo2-534/+542
2018-05-02 refactor(db/render/schema): Use SimplePost type for thread viewsVincent Ambo4-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 queryingVincent Ambo2-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 renameVincent Ambo1-4/+4
2018-05-02 refactor(migrations): Rename 'author' column to 'user_id'Vincent Ambo2-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 schemaVincent Ambo1-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 userVincent Ambo1-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 migrationVincent Ambo2-0/+4
2018-05-02 feat(migrations): Adds a migration to create a users tableVincent Ambo2-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.nixVincent Ambo1-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 dependencyVincent Ambo3-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 buildingVincent Ambo1-27/+5155
This is probably going to break Github's language statistics ...
2018-04-23 chore(cargo): Bump dependency minor versionsVincent Ambo2-97/+95
2018-04-17 chore(license): Relicense under AGPL-3.0-or-laterVincent Ambo11-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.