Commit Graph

14 Commits

Author SHA1 Message Date
projectmoon 95ad1c6e28 Implement backend and frontend API code for merits. 2021-01-17 13:09:17 +00:00
projectmoon 114ba4bd68 Switch all existing API requests to use new CharacterIdentifier stuff. 2021-01-12 22:01:17 +00:00
projectmoon 3352c2067f Use Cow in favor of take. 2021-01-12 20:44:26 +00:00
projectmoon fe53a0d531 Create "character identifier" type for use in all API requests.
Will replace the character_username and character_id values in all
relevant requests.
2021-01-10 20:45:15 +00:00
projectmoon 6848e4213e Add API endpoint for updating basic character info. 2021-01-10 13:56:44 +00:00
projectmoon 6030827464 Remove unused REST semantics from cofd API. 2021-01-09 20:02:24 +00:00
projectmoon a729ccb4a2 Return semi-proper values from the protobuf HTTP API 2021-01-05 21:19:47 +00:00
projectmoon b042a32f82 RPC-ify update attribute API. 2021-01-02 22:11:58 +00:00
projectmoon f2edd91a72 Update skill value as rpc API (though not grpc) 2021-01-02 22:11:58 +00:00
projectmoon ee8f7e58e8 Implement updating skills. 2021-01-02 22:11:58 +00:00
projectmoon 0ca23b46c6 Switch to oneof field for game-specific information and values.
Having specific protobuf types for different game systems using the
same rule set (e.g. all the Chronicles of Darkness games) is untenable
because protobuf does not have inheritance or mixins.

Instead, we have one generic character sheet type, with a oneof field
for the game specifics. This will be used in conjunction with the
character's game system (stored in db) to render different stuff on
the character templates.

Without this, we'd wind up having duplicate templates, a lot more code
for handling specifics of each game system, and so on.
2021-01-01 23:34:50 +00:00
projectmoon 7a71d5ad0a Implement updating skills on the backend. 2021-01-01 00:40:48 +00:00
projectmoon 4023bdc08a Start of adding protobuf-based editable character sheet. 2020-12-27 21:03:10 +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