Commit Graph

717 Commits

Author SHA1 Message Date
90224a6841 Be able to authenticate and get back Success, PasswordReset, and Locked 2025-01-20 22:19:16 -05:00
84ee790f0b Create an API-friendly version of the User object 2025-01-20 20:59:40 -05:00
ac3a21f3f0 Remove printouts 2025-01-20 19:51:04 -05:00
ef0e9f16b8 Update password expiration management 2025-01-20 19:44:04 -05:00
06bb0811e0 Fix the core tests 2025-01-19 15:07:18 -05:00
b138e6da0a realign database queries and begin restoring check_password 2025-01-19 15:07:18 -05:00
e19d97663d Change the data types of the internal interfaces, and switch password expiration to an AccountState 2025-01-19 15:07:17 -05:00
d0ba8d921d Create a user expiration time and make new users immediately expired
This is to give the ability to force the user to create a new password as soon as they log in.
2025-01-19 15:05:02 -05:00
f9e903da54 Expand out the profile to start including a list of characters and games 2025-01-19 14:58:13 -05:00
a2cdaef689 Tweak the task file and update the cargo files 2025-01-19 13:59:29 -05:00
49c7a37d28 Restore file-service 2025-01-19 13:44:20 -05:00
aa155dc090 Update the nix flake build 2025-01-19 13:33:52 -05:00
da5144caea Switch cyberpunk-splash from deprecated glib channels 2025-01-19 13:18:31 -05:00
f9e4dcd68a Resolve warnings in dashboard 2025-01-19 12:58:54 -05:00
35abcfcf28 Resolve warnings in screenplay 2025-01-19 12:53:31 -05:00
cc4f8c1515 Fix warnings mostly in the SGF parser 2025-01-19 12:31:26 -05:00
d5b4d051a5 Remove the deprecated glib channel from the bike lights simulator 2025-01-19 10:32:53 -05:00
81143f0b9c Fix a lot of very simple, easy warnings 2025-01-18 22:38:10 -05:00
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