Commit Graph

14 Commits

Author SHA1 Message Date
projectmoon 7b4ffc3a02 Basic albeit mostly broken flow for creating new character. 2020-12-08 22:28:27 +00:00
projectmoon 1f07856e66 Dynamically deserialize character data. 2020-12-08 22:28:27 +00:00
projectmoon 245bd4f2cc Switch character data type to an enum, including schema patch.
Schema patch required because the diesel enum derive crate does not
seem to deal with print-schema for sqlite.
2020-12-08 22:28:27 +00:00
projectmoon 0c09a3fdef Add serde serialization suppor to proto types. 2020-12-08 08:47:34 +00:00
projectmoon 8b3e8c70ae Serialize characters as protobufs. Skeletal character creation.
Implements the absolute basics of the character creation flow, AKA
most things are missing. Integrates a method of storing character
data, support for that in the database, and a working character
creation page.

The only thing the page does at the moment is create a hardcoded basic
CofD character sheet and save it to the database. There is no ability
to change game system, fill in extra details, etc. There's also no
ability to edit anything.

Also added basic links to the registration and create new character
pages.
2020-12-07 22:37:18 +00:00
projectmoon 8638c1d598 Clean up 'TemplateContext', handle character visibility. 2020-12-05 20:15:14 +00:00
projectmoon 10d5f30e5a User accounts, DAO trait, registration.
Not very thorough, but it does work.
2020-12-05 19:50:11 +00:00
projectmoon 5968f6458d Remove example text on the logged-in index page. 2020-12-03 23:40:34 +00:00
projectmoon 07ebf7233e Load a (non existing) character list on the home page 2020-12-03 23:39:55 +00:00
projectmoon 1262308bf6 New character route, and login cleanup. 2020-12-03 19:45:56 +00:00
projectmoon 42ff4c0b31 Better name for main login route. Remove unused feature from main. 2020-12-03 19:35:45 +00:00
projectmoon 3dac266478 Remove development cookie key from rocket.toml 2020-12-03 19:30:09 +00:00
projectmoon 21e149e0ed Add license. 2020-12-03 19:21:09 +00:00
projectmoon 092da7490f First commit; prototype state. 2020-12-03 19:21:09 +00:00