bytedream
bytedream pushed to main at CraftAttack/website 2023-12-23 20:25:31 +00:00
fe6fadee39 fix user info
bytedream pushed to main at CraftAttack/website 2023-12-23 13:30:25 +00:00
366913c5b3 fix wrong striked_at date when querying
bytedream pushed to main at CraftAttack/website 2023-12-23 13:15:45 +00:00
8ccff82fd3 fix uncaught null return on user info database query
bytedream pushed to main at CraftAttack/website 2023-12-22 23:42:08 +00:00
b92e494ecb add option to add user manually (#22)
7878fef301 log on failed login attempt
Compare 2 commits »
bytedream commented on issue CraftAttack/website#21 2023-12-21 14:50:45 +00:00
Aktualisierung neuer Banns bei Spielern die gerade Online sind

Ist drin, der Endpoint kann über die REPORTED_WEBHOOK env variable gesetzt werden

bytedream pushed to main at CraftAttack/website 2023-12-21 14:49:49 +00:00
ca16ce0603 add webhook endpoint on report change (#21)
bytedream commented on issue CraftAttack/website#20 2023-12-21 14:29:41 +00:00
User API sollte das enddatum der Strafe mitgeben

Enddatum gibts jetzt als seconds since epoch

{
  "uuid": "...",
  "firstname": "...",
  "lastname": "...",
  "banned_until": 1703167209,
  "outlawed_until": 1703167141
}
bytedream commented on issue CraftAttack/website#18 2023-12-21 14:24:01 +00:00
Konzept für Strikesystem

Ich hab den strike_punishments Table jetzt etwas verändert

bytedream pushed to main at CraftAttack/website 2023-12-21 14:06:37 +00:00
2a9869ca7d change strike layout and add outlawed option
bytedream commented on issue CraftAttack/website#18 2023-12-10 18:37:21 +00:00
Konzept für Strikesystem

Ich hab das jetzt mit zwei Datenbanken gelöst.

strike_reasons - Hier stehen alle Vergehen drin und wie sie gewichtet sind

bytedream pushed to main at CraftAttack/website 2023-12-10 18:32:27 +00:00
8a5eed787a remove created_at and update_at database columns on strike reason and punishment tables
bytedream commented on issue CraftAttack/website#2 2023-12-10 18:27:44 +00:00
Es sollte per API geprüft werden ob ein Spieler angemeldet ist

Es kommt jetzt ein zusätzliches Feld mit, banned, welches angibt ob ein Spieler zum Zeitpunkt der request gebannt ist

bytedream pushed to main at CraftAttack/website 2023-12-10 18:27:29 +00:00
9352083884 return if user is banned in api response
bytedream pushed to main at CraftAttack/website 2023-12-10 18:19:58 +00:00
58bc475aec add strike system (#18)
bytedream pushed to main at CraftAttack/website 2023-12-05 11:17:20 +00:00
7599f233a8 use uuid instead of playername to query player
bytedream commented on issue CraftAttack/website#2 2023-12-04 20:09:24 +00:00
Es sollte per API geprüft werden ob ein Spieler angemeldet ist

GET /api/user?username=<username>[&secret=<secret>]

{
  "uuid": ...,
  "firstname": ...,
  "lastname": ...
}
bytedream pushed to main at CraftAttack/website 2023-12-04 20:09:20 +00:00
6519a4071a copy report api to separate api route
1561681171 add api route to get user by name (#2)
Compare 2 commits »
bytedream closed issue CraftAttack/website#15 2023-12-04 17:56:39 +00:00
Angemeldete Nutzerliste kann nicht nach Bedrock gefiltert weden
bytedream pushed to main at CraftAttack/website 2023-12-04 17:54:38 +00:00
561e6683dd fix user bedrock filter value
bytedream commented on issue CraftAttack/website#15 2023-12-04 17:53:52 +00:00
Angemeldete Nutzerliste kann nicht nach Bedrock gefiltert weden

image wie auch immer das passiert ist