Commit Graph

12 Commits

Author SHA1 Message Date
ppeb
044566de49
Rework APIs to use Go error 2025-03-23 00:41:10 -05:00
ppeb
41f7fddc4d
Revert "Revert motd, clear, and user action response"
This reverts commit 3144bd7cf8.

The reason this commit had to be made was because certain apis were PR'd
upstream, but were unwanted and thus removed in a separate commit. It
would likely have been better to drop the commits pushed upstream but
it's too late to fix that, so now we have a revert of a revert.
2025-03-05 20:33:20 -06:00
Palapeli
c01f080f2c
API: Handle OPTIONS request method 2025-03-05 06:26:06 -05:00
ppeb
95360023a5
Move custom kick and ban error messages to error.go 2025-03-04 06:59:57 -06:00
ppeb
3144bd7cf8
Revert motd, clear, and user action response 2025-03-03 19:33:41 -06:00
ppeb
ea56689f08
Fix missing ban reason dropped during merge 2025-03-02 23:51:22 -06:00
ppeb
df1c6a83fc
Send kick and ban reasons to players 2025-03-02 23:33:46 -06:00
ppeb
e12944ccab
Remove HEAD support, change sql query name 2025-03-02 23:30:32 -06:00
ppeb
c099348636
Include User object with responses to some APIs 2025-03-02 23:30:02 -06:00
ppeb
d1dd5816c2
Rework ban, kick, unban APIs. Add motd API. 2025-03-02 23:29:49 -06:00
ppeb
cfec099bdd
Add IP logging to ban, kick, unban 2025-03-02 23:29:43 -06:00
mkwcat
89f4044f04
Implement banning and custom error messages 2024-01-10 03:22:17 -05:00