Commit Graph

88 Commits

Author SHA1 Message Date
projectmoon fe19a98829 Add items to view character page. 2021-01-24 14:32:56 +00:00
projectmoon af28df7410 Add item list to edit character page. 2021-01-24 14:26:07 +00:00
projectmoon 43e6c04ecd Overflow merit names on view character page. 2021-01-23 15:41:09 +00:00
projectmoon e5ec81464c Add a 'home' link to the character sheets 2021-01-23 15:26:30 +00:00
projectmoon a8a37104a6 CofD view character page parity with edit character page. 2021-01-23 15:13:56 +00:00
projectmoon dc354e5217 Make view page responsive. Add mobile device viewport meta. 2021-01-23 15:02:01 +00:00
projectmoon 42ebfa4a54 Make skill list flexible. 2021-01-23 14:52:02 +00:00
projectmoon ab58f0b971 Make attributes flexible. 2021-01-23 14:45:51 +00:00
projectmoon 9e5dea8f57 Make basic info look better. 2021-01-23 14:38:36 +00:00
projectmoon f9ef83cb21 Make merits table look nicer. 2021-01-23 10:21:53 +00:00
projectmoon 59f35d0366 Working, albeit very ugly, inefficient, and sometimes wonky merits. 2021-01-19 22:03:35 +00:00
projectmoon 95ad1c6e28 Implement backend and frontend API code for merits. 2021-01-17 13:09:17 +00:00
projectmoon 4980b2e33b cargo update and major upgrade for tokio, refinery 2021-01-17 12:42:45 +00:00
projectmoon 5fd3ef36aa Remove extern crate for serde serialize 2021-01-15 20:34:06 +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 a36e8069f4 Rename 'or_default' to 'extract'. Better meaning. 2021-01-10 20:54:05 +00:00
projectmoon efca366f3f Implement rest of basic info editing. 2021-01-10 20:45:15 +00:00
projectmoon 6d9cdd0269 Implement updating basic info for character name. 2021-01-10 20:45:15 +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 7fe28ef82e Fix webpack publicPath to match server route. 2021-01-09 19:41:57 +00:00
projectmoon 78036394b1 Move cofd api endpoints into their own file 2021-01-09 19:39:35 +00:00
projectmoon ed79007c29 Update license in package.json to AGPL 2021-01-09 19:29:47 +00:00
projectmoon ee892a3f34 Adjust webpack config slightly for better generation. 2021-01-09 13:32:08 +00:00
projectmoon a34e8d24c6 Rename static directory to generated 2021-01-09 13:03:07 +00:00
projectmoon 55dff277ef Remove old comments in edit character script. 2021-01-09 12:59:11 +00:00
projectmoon ba7fc8268f Move typescript into source tree. 2021-01-09 12:57:13 +00:00
projectmoon 3ba7917455 Implement a bit more of the view character template. 2021-01-05 21:42:38 +00:00
projectmoon 0a128a7067 Remove more unneeded things 2021-01-05 21:33:21 +00:00
projectmoon b3253922df Clean up files and remove things that no longer need to exist. 2021-01-05 21:25:26 +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 63571d9711 WIP on reimplementing edit character script with typescript 2021-01-04 22:36:52 +00:00
projectmoon b4981dfc78 Compiles, assuming the user id will be in grpc metadata from auth interceptor. 2021-01-03 23:18:36 +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 81c1ace175 Add readme instructions, run proxy command. 2021-01-03 21:24:52 +00:00
projectmoon 924712f583 Successful (but very manual) grpc-web requests. 2021-01-03 20:42:54 +00:00
projectmoon 912c949844 Run npm commands for building in build.rs 2021-01-03 14:07:11 +00:00
projectmoon f9ceea17cf Move typescript stuff to static/scripts 2021-01-03 13:46:40 +00:00
projectmoon 616cbe5730 Move templates into src 2021-01-03 13:37:55 +00:00
projectmoon a16ffd0495 Serve templated templates with webpack-compiled JS injected. 2021-01-03 13:36:53 +00:00
projectmoon aa5fa59aab Add some working typescript code that imports manually compiled protos. 2021-01-02 23:11:09 +00:00
projectmoon 3a250230df Experimenting with tonic 2021-01-02 22:32:17 +00:00
projectmoon 8bee670778 Remove un-needed 'resources' functions. 2021-01-02 22:12:43 +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