A simple application presenting truths and allowing people to guess on their authors for an upcoming campaign of Fabula Ultima
Find a file
trotFunky b6f3a49e9f vote: Reset the truth counter to 1 if the key changes
In order to fill the missing truths with 0, a counter follows the next expected
truth number.
If it suddenly drops down, we changed player and it should reset as well.

However, as not all players are voted for on all truths, we might change players
but get a higher truth, which was not taken into account and could miss all
the zeroes at the beggining for this player.

Reset the counter if we change players.
2024-07-23 21:51:59 +01:00
db v1.1: Add weekly introductions 2024-07-23 21:51:51 +01:00
src vote: Reset the truth counter to 1 if the key changes 2024-07-23 21:51:59 +01:00
static_files vote_chart: Remove log of received datasets 2024-07-23 21:51:59 +01:00
templates v1.1: Add weekly introductions 2024-07-23 21:51:51 +01:00
.gitignore v1.0: First production version 2024-07-23 21:51:42 +01:00
Cargo.lock auth: Fix auth token getting leaked to console 2024-07-23 21:51:56 +01:00
Cargo.toml auth: Fix auth token getting leaked to console 2024-07-23 21:51:56 +01:00
LICENSE.md v1.0: First production version 2024-07-23 21:51:42 +01:00
README.md v1.0: First production version 2024-07-23 21:51:42 +01:00
Rocket.toml v1.0: First production version 2024-07-23 21:51:42 +01:00

Fabula Votes

This web application is intended as a simple way to share Truths for an upcoming campaign of Fabula Ultima, vote and who we think wrote them and see some stats !

TODO

A list of things that could be implemented/added to the application, some of them are needed for "feature completeness" !

  • Being able to change from one week to the next
    • Create new weeks for the admin
    • Proper week redirection
  • Add introduction to the weekly truths
  • Bundle static assets in the binary
  • Move the databse queries to their own functions
    • Cache those results
  • Centralize Markdown parsing ?
  • Use fairings for the different elements ?

Dependencies

This project currently uses :

  • Rocket, for the web application backend
  • SQLX, for database access (this is only expeceted to be used with SQLite)
  • Tera, for templating
  • Argon2, for password hashing
  • Pull_down CMark, for markdown rendering

License

The code present in this repository is licensed under the Mozilla Public License 2.0.