From fb689e2f6c88c36f2b7b4b906f3d1fb0c16fa03c Mon Sep 17 00:00:00 2001 From: Avris Date: Wed, 16 Jun 2021 16:08:38 +0200 Subject: [PATCH] #174 better banning --- components/Header.vue | 30 ++++++++++++++++++++++---- locale/de/translations.suml | 9 ++++++++ locale/en/translations.suml | 8 +++++++ locale/es/translations.suml | 9 ++++++++ locale/fr/translations.suml | 9 ++++++++ locale/nl/translations.suml | 9 ++++++++ locale/pl/translations.suml | 8 +++++++ locale/pt/translations.suml | 9 ++++++++ locale/ru/translations.suml | 9 ++++++++ locale/yi/translations.suml | 9 ++++++++ locale/zh/translations.suml | 9 ++++++++ migrations/027-ban.sql | 5 +++++ routes/profile.vue | 43 +++++++++++++++++++++++++++++++++---- server/routes/admin.js | 16 ++++++++++++++ server/routes/profile.js | 10 ++++++--- server/routes/user.js | 1 + 16 files changed, 182 insertions(+), 11 deletions(-) create mode 100644 migrations/027-ban.sql diff --git a/components/Header.vue b/components/Header.vue index 24381065..b663aaec 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -1,5 +1,6 @@