about summary refs log tree commit diff
path: root/src/models.rs
AgeCommit message (Collapse)AuthorFilesLines
2018-04-14 feat(db): Add support for stickies in databaseVincent Ambo1-2/+6
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 postVincent Ambo1-0/+12
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 GPLv3Vincent Ambo1-0/+16
2018-04-14 refactor(db): Store thread body in the posts tableVincent Ambo1-2/+0
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-09 feat(handlers): Extract & add author to thread and post informationVincent Ambo1-0/+4
2018-04-08 chore(models/schema): Update with author fieldsVincent Ambo1-0/+4
2018-04-08 feat(db/models): Add handling of CreatePost messageVincent Ambo1-0/+7
2018-04-08 feat(handlers): Add thread submission handlerVincent Ambo1-1/+1
2018-04-08 feat(db): Support CreateThread messageVincent Ambo1-0/+7
2018-04-08 refactor(db): Establish Post->Thread associationVincent Ambo1-3/+5
This makes it possible to query posts by thread via Diesel.
2018-04-08 feat(main/templates): Add barebones single-thread viewVincent Ambo1-1/+1
2018-04-08 feat(main): Add support for Tera templatesVincent Ambo1-1/+1
Sets up the structure required to carry Tera templates in the actix-web state. The (still very barebones) index renderer has been updated to render a Tera template.
2018-04-08 feat(main): Add minimal thread listing exampleVincent Ambo1-0/+1
2018-04-08 feat(models/schema): Map up posts & threads tableVincent Ambo1-0/+16