Commit Graph

699 Commits

Author SHA1 Message Date
f59c3544b4 Set up the landing page, which shows the user their profile 2025-01-03 16:50:56 -05:00
208083d39e Authenticate the user and populate AppState with the stored session ID 2025-01-03 16:19:43 -05:00
08462388ea Move the assertNever utility to a utilities file 2025-01-03 11:59:33 -05:00
dc8cb834e0 Handle all applications errors in one location 2025-01-02 22:34:10 -05:00
4dc7a50000 Get games that the user is GMing in the user profile 2025-01-02 14:45:06 -05:00
5bb9f00a0d Extract the user management handlers 2025-01-02 13:57:20 -05:00
f6eb942371 Add the ability to create a game 2025-01-02 11:57:17 -05:00
792437af44 Add the ability for a user to set their password 2025-01-01 00:19:12 -05:00
d9f1efb8d3 Add the ability to create users and to get profiles 2024-12-31 23:47:40 -05:00
b2a7577c9d Make handlers asynchronous 2024-12-31 16:34:59 -05:00
82e41d711b Extract authentication into a wrapper function 2024-12-31 14:17:15 -05:00
822dfe2a13 authenticate an endpoint for getting the user profile 2024-12-31 14:09:21 -05:00
a0f1a0b81c Test user authentication 2024-12-31 12:56:05 -05:00
a33b94e5b3 Resolve many warnings 2024-12-31 12:12:24 -05:00
a18cdb0710 Create a test for the healthcheck endpoint 2024-12-31 01:12:26 -05:00
c31870367f Switch to Axum and implement the password check 2024-12-30 21:05:31 -05:00
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