HTMX completely removed, the site functions like a traditional MPA now
Updated users table in the DB to use steam_id as PK and main identifier
Forum tables are now threads and posts
A lot of the routing was moved out of app.js into a /routes folder
Added an API endpoint with the concept of a "super moderator" that allows you to add or remove moderators on the website from an api endpoint, e.g., https://mge.tf/api/?addMod=1234475777 Where you pass the SteamID64, you can do addMod and removeMod respectfully
All security validation has been moved to the back-end, so:
Only moderators can remove threads on the forum, or any reply to a thread from anyone
Users can only remove their own replies inside a thread, but not their own threads (up to you guys)
Styling is almost completely done with Tailwind now
Other minor fixes:
When logging in via steam, it should now redirect you back to whatever page you were on when you started the login process.
Quite a few changes:
users
table in the DB to usesteam_id
as PK and main identifierthreads
andposts
app.js
into a/routes
folderhttps://mge.tf/api/?addMod=1234475777
Where you pass the SteamID64, you can doaddMod
andremoveMod
respectfullyOther minor fixes: