Commit Graph

683 Commits

Author SHA1 Message Date
e4c5ce0236 Set up a bit of code that rejects requests that have no authorization header 2024-12-29 23:39:43 -05:00
085a82776e Write a macro that eases communication between DbConn and DiskDb 2024-12-27 14:59:24 -05:00
2b1a0b99f8 Lots of linting and refactoring 2024-12-27 14:29:07 -05:00
fb34d0d965 Move the database into a more complex sub-module 2024-12-27 14:05:41 -05:00
d5f4b7cfa5 Add session creation and lookup 2024-12-27 14:02:43 -05:00
1d400ce38b Start wrapping routes into standalone functions 2024-12-24 14:37:37 -05:00
e62ff9aa7a Check username and password 2024-12-22 09:17:00 -05:00
2a616ef6c9 Set the admin password on a new server
This sets up the client state manager and state model. It has all of the
functions to support the set admin password endpoint, and some extras
which will be helpful in saving users generally.
2024-12-17 23:43:36 -05:00
f6a45a9223 Merge the auth state into a tabletop in the AppState provider 2024-12-17 00:50:25 -05:00
7d7e6ef300 Start trying to set up providers 2024-12-16 23:46:02 -05:00
af0ab5d020 Create a status endpoint that shows the onboarding UI if there's no admin password 2024-12-16 00:27:55 -05:00
7ca1581b55 Set up a state provider 2024-12-15 23:20:09 -05:00
5e89b8257d Set up the authentication page 2024-12-15 22:49:53 -05:00
7466ef2a6f Remove the original UI files 2024-12-15 21:42:01 -05:00
e505c21bc8 Set up an admin panel that shows the list of users 2024-12-10 22:43:15 -05:00
e8bc0590c6 Make the interface to show users in the system 2024-12-01 14:07:37 -05:00
5c23f326b6 Add the ability to save users and games. Link games more tightly to characters 2024-12-01 11:14:28 -05:00
d7e4293da0 Start using ResultExt to improve error handling 2024-12-01 00:51:08 -05:00
afb510d92e Set up new tables to handle users and roles 2024-11-30 23:03:52 -05:00
82c8f3f96e Clean up the database schema 2024-11-30 18:55:51 -05:00
d8ea2aac40 Retrieve the charsheet from the database and render it in the UI 2024-11-30 18:43:20 -05:00
995390ae4b Just make the entire core asynchronous 2024-11-30 15:24:57 -05:00
970e957143 Prepopulate the database 2024-11-30 12:20:38 -05:00
b506d479d3 Switch all channels to async-std 2024-11-30 12:05:31 -05:00
d78a471437 Create a shareable connection to the database 2024-11-30 11:48:35 -05:00
341e184947 Set up a database and store a character sheet in it 2024-11-29 23:14:52 -05:00
38d76e0048 Update sql-based database dependencies 2024-11-29 17:26:06 -05:00
253940c2ae Add a side panel character sheet 2024-11-28 22:28:41 -05:00
d3db9d60c2 Fix asset providing 2024-11-28 21:32:13 -05:00
b382c68382 Add role and specialty 2024-11-27 18:40:14 -05:00
0202b7bd59 Set up a drive guage for candela drives 2024-11-27 10:56:11 -05:00
311cd9c9a5 Set up rendering and formatting for actions and action groups 2024-11-27 09:37:48 -05:00
db8e67420f Start on a Candela Obscura plugin 2024-11-25 08:28:22 -05:00
c79610bd79 Add a test for update notifications 2024-11-24 09:50:20 -05:00
cadb3ab435 Verify that the tabletop can be set and retrieved 2024-11-24 09:35:25 -05:00
71b114c9b2 Set up some asset retrieval tests. 2024-11-24 09:21:58 -05:00
0f42ebcc30 Isolate error handling from Warp 2024-11-21 18:46:05 -05:00
5535632466 available_images now only lists image files from the asset database 2024-11-21 09:08:36 -05:00
5d66558180 Set up a test to validate the function which gets available images
There's a lot of work here that sets up dependency injection traits
which will make it easier for me to keep writing tests and will make it
easier for me to separate the Core from the support infrastructure.
2024-11-20 09:52:26 -05:00
154efcb6df Set up a GM control panel that can control the currently selected background 2024-11-19 22:48:36 -05:00
2ab6e88634 Start using the code-generated types module 2024-11-19 16:21:16 -05:00
e20ec206a8 Add a package for shared server types 2024-11-19 16:02:32 -05:00
c1ee4074b0 Organize the player view and tabletop 2024-11-19 14:53:42 -05:00
f0ce3a9fab Rename playfield to tabletop 2024-11-19 08:53:04 -05:00
e5deaa51d9 Extract the websocket code into a wrapper component 2024-11-19 00:09:48 -05:00
45275be11b Serve up the background image via the websocket 2024-11-18 23:32:54 -05:00
54162d0072 Move client construction up to app root 2024-11-18 20:52:04 -05:00
a8170fd5c6 Try out rendering some basic components with a websocket 2024-11-18 20:35:35 -05:00
0237393c0b Set up a websocket that relays messages 2024-11-18 19:08:49 -05:00
962ea66506 Move the handlers out of main.rs 2024-11-12 09:45:34 -05:00