25 Commits

Author SHA1 Message Date
3ec0a30ed7
Apparently .run() does not return results 2023-10-19 16:50:43 -04:00
cb5aea2832
Parse appeal object before assigning it to data 2023-10-19 16:50:41 -04:00
056c6b84f3
Fix email sending not working 2023-10-19 16:50:41 -04:00
eb550a7c36
Move appeal bans entirely to D1 2023-10-19 16:50:41 -04:00
736543c374
Make appeal action endpoints un-useless 2023-10-19 16:50:40 -04:00
962509aff2
Fix creation time property 2023-10-19 16:50:40 -04:00
c848453b1b
Actually insert appeals into D1 2023-10-19 16:50:37 -04:00
026d1ca06d
New formatting 2023-10-19 16:50:21 -04:00
63b6392b13
Remove discriminators from discord appeals 2023-10-19 16:50:17 -04:00
812ebd913e
Use correct property names in appeal submission endpoint 2023-10-19 16:49:54 -04:00
188275aa7b
Set id property in keys 2023-10-19 16:49:27 -04:00
7b73d646a5
Fix middleware routing issue 2023-10-19 16:49:21 -04:00
95bda996bb
Remove stray console.log 2023-10-19 16:49:20 -04:00
3e01d3391a
Fix bad permissions check in toggle endpoint 2023-10-19 16:49:18 -04:00
8d7e9bd93d
Don't rely on metadata for appeals 2023-10-19 16:49:18 -04:00
3d5b830827
Remove excess line breaks 2023-10-19 16:49:18 -04:00
71b7104502
Don't use metadata for submission data 2023-10-19 16:49:17 -04:00
a3eca56fec
Create appeal accept and deny endpoints 2023-10-19 16:49:14 -04:00
75c38e9cc5
Move userid validator to ban endpoint 2023-10-19 16:49:14 -04:00
debb8d9209
Create appeal ban endpoint 2023-10-19 16:49:13 -04:00
75005da3b3
Finish appeal[id] middleware 2023-10-19 16:49:13 -04:00
b124b6c631
Create per-id appeal middleware 2023-10-19 16:49:12 -04:00
cce71c9093
Create login check middleware for all appeals api routes 2023-10-19 16:49:12 -04:00
9e44a7e0a1
Add actual permission check to appeal toggle endpoint 2023-10-19 16:49:11 -04:00
d731041378
Initial commit 2023-10-19 16:49:05 -04:00