- add mechanism for database upgrades

- add ban reason
- add api endpoints for banning
- moderators can now list users/bots, and perform basic updates
This commit is contained in:
Elijah R
2024-04-29 12:05:48 -04:00
parent 7e7d9f6e92
commit 130baa8863
15 changed files with 365 additions and 27 deletions

View File

@@ -14,6 +14,7 @@ public class User
public string? PasswordResetCode { get; set; }
public Rank Rank { get; set; }
public bool Banned { get; set; }
public string? BanReason { get; set; }
public IPAddress RegistrationIP { get; set; }
public DateTime Joined { get; set; }
public bool Developer { get; set; }