Commit Graph

16 Commits

Author SHA1 Message Date
projectmoon af28df7410 Add item list to edit character page. 2021-01-24 14:26:07 +00:00
projectmoon 95ad1c6e28 Implement backend and frontend API code for merits. 2021-01-17 13:09:17 +00:00
projectmoon 6030827464 Remove unused REST semantics from cofd API. 2021-01-09 20:02:24 +00:00
projectmoon 78036394b1 Move cofd api endpoints into their own file 2021-01-09 19:39:35 +00:00
projectmoon a729ccb4a2 Return semi-proper values from the protobuf HTTP API 2021-01-05 21:19:47 +00:00
projectmoon 8f1ddf89dd Reimplement attribute updtaes 2021-01-05 19:32:03 +00:00
projectmoon a867fdd831 WIP - at a crossroads where we need some kind of auth mechanism 2021-01-03 22:05:28 +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 7a71d5ad0a Implement updating skills on the backend. 2021-01-01 00:40:48 +00:00
projectmoon 6156bba34d Skip loading owner of character for API. 2020-12-31 20:19:45 +00:00
projectmoon 5ea07b8953 Rip out Diesel in favor of SQLx.
The primary benefit of this is to avoid Rocket's database integration,
which has become problematic in this codebase with the update to the
new async style. Because the async database API is actually
synchronous under the hood, this introduces some annoying lifetime
requirements that basically force us to use owned data everywhere.

The original pattern was to have a separate data layer that could
invoke queries from `self` (the db connection). By using a true async
database driver, we can get this back, because the lifetimes are once
again flexible instead of the ones forced by Rocket.
2020-12-31 14:11:28 +00:00
projectmoon bf2f49f68a Load character in API as common function. Fix attribute editing. 2020-12-29 14:01:07 +00:00
projectmoon 1f6f6432e1 Implement editing of attributes. 2020-12-27 21:49:08 +00:00
projectmoon 4023bdc08a Start of adding protobuf-based editable character sheet. 2020-12-27 21:03:10 +00:00