Commit Graph

26 Commits

Author SHA1 Message Date
c0bbe687f9 Added timeout for acquiring global lock 2025-02-18 19:57:30 +11:00
9ea58b0961 Made auth middleware turn skip timeout if maintenance mode is on 2025-02-17 23:31:09 +11:00
556c93fc49 Changed to using atomics as mutex was causing deadlock 2025-02-17 23:14:13 +11:00
a8d112fdd5 Updated all code to use SafeConn and SafeTX 2025-02-17 21:39:12 +11:00
2c61cec55c Update authentication, reauth, logout to use new transactions 2025-02-17 18:58:34 +11:00
fafb9b436f Fixed static file embedding 2025-02-16 17:59:20 +11:00
9994bed47e Fixed nil pointer derefence due accessing account page if cookie not set 2025-02-16 13:54:44 +11:00
ec3d34b86e Made account page remember what subpage user was on using cookies 2025-02-16 12:30:34 +11:00
07453b0f02 Added ability for user to change their bio 2025-02-16 10:44:04 +11:00
42ea74fd63 Added reauthentication (token freshness) and protected username change 2025-02-15 20:12:30 +11:00
89e3df6862 Added ability to change username 2025-02-15 13:28:24 +11:00
d53114cc20 Added account page with subpage select 2025-02-14 23:15:51 +11:00
ea4dd2a407 Added page protection for unauthorized access 2025-02-14 19:51:40 +11:00
5616b8a248 Added user registration 2025-02-14 18:49:46 +11:00
5c8bec0ad2 Added logout functionality and client error message for 500 status codes 2025-02-14 17:40:09 +11:00
732f8510ae Added authentication middleware 2025-02-11 23:58:15 +11:00
750de24fd1 Set token cookies on user login 2025-02-10 23:04:30 +11:00
418cff1c4a Added logging to loginform and added loading feedback for user on submit 2025-02-09 18:57:27 +11:00
25868becf3 Added documentation to functions and basic JWT generation 2025-02-09 00:48:30 +11:00
597fc6f072 Added database support and update login to utilize db 2025-02-08 19:39:44 +11:00
a842d09f96 Added configuration from environment variables 2025-02-08 16:27:33 +11:00
1004dc9563 Added basic login functionality to login form 2025-02-08 15:29:17 +11:00
5a93ef81dd Added login form html and styling 2025-02-06 23:28:13 +11:00
399cd43626 Refactored navbar and added error page 2025-02-06 14:24:23 +11:00
b6feed7c0c Added templ, tailwind and frankenui 2025-02-05 01:51:06 +11:00
5c8d4c5158 Barebones HTTP server setup 2025-02-03 22:28:50 +11:00