feat: show oauth sub in admin panel

This commit is contained in:
Jun Siang Cheah 2024-06-21 14:21:34 +01:00
parent 983112d17c
commit 49a00d61ac
38 changed files with 51 additions and 0 deletions

View File

@ -355,6 +355,7 @@
"Notifications": "إشعارات",
"November": "نوفمبر",
"num_thread (Ollama)": "num_thread (أولاما)",
"OAuth ID": "",
"October": "اكتوبر",
"Off": "أغلاق",
"Okay, Let's Go!": "حسنا دعنا نذهب!",

View File

@ -355,6 +355,7 @@
"Notifications": "Десктоп Известия",
"November": "Ноември",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Октомври",
"Off": "Изкл.",
"Okay, Let's Go!": "ОК, Нека започваме!",

View File

@ -355,6 +355,7 @@
"Notifications": "নোটিফিকেশনসমূহ",
"November": "নভেম্বর",
"num_thread (Ollama)": "num_thread (ওলামা)",
"OAuth ID": "",
"October": "অক্টোবর",
"Off": "বন্ধ",
"Okay, Let's Go!": "ঠিক আছে, চলুন যাই!",

View File

@ -355,6 +355,7 @@
"Notifications": "Notificacions d'Escriptori",
"November": "Novembre",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Octubre",
"Off": "Desactivat",
"Okay, Let's Go!": "D'acord, Anem!",

View File

@ -355,6 +355,7 @@
"Notifications": "Mga pahibalo sa desktop",
"November": "",
"num_thread (Ollama)": "",
"OAuth ID": "",
"October": "",
"Off": "Napuo",
"Okay, Let's Go!": "Okay, lakaw na!",

View File

@ -355,6 +355,7 @@
"Notifications": "Desktop-Benachrichtigungen",
"November": "November",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Oktober",
"Off": "Aus",
"Okay, Let's Go!": "Okay, los geht's!",

View File

@ -355,6 +355,7 @@
"Notifications": "Notifications",
"November": "",
"num_thread (Ollama)": "",
"OAuth ID": "",
"October": "",
"Off": "Off",
"Okay, Let's Go!": "Okay, Let's Go!",

View File

@ -355,6 +355,7 @@
"Notifications": "",
"November": "",
"num_thread (Ollama)": "",
"OAuth ID": "",
"October": "",
"Off": "",
"Okay, Let's Go!": "",

View File

@ -355,6 +355,7 @@
"Notifications": "",
"November": "",
"num_thread (Ollama)": "",
"OAuth ID": "",
"October": "",
"Off": "",
"Okay, Let's Go!": "",

View File

@ -355,6 +355,7 @@
"Notifications": "Notificaciones",
"November": "Noviembre",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Octubre",
"Off": "Desactivado",
"Okay, Let's Go!": "Bien, ¡Vamos!",

View File

@ -355,6 +355,7 @@
"Notifications": "اعلان",
"November": "نوامبر",
"num_thread (Ollama)": "num_thread (اولاما)",
"OAuth ID": "",
"October": "اکتبر",
"Off": "خاموش",
"Okay, Let's Go!": "باشه، بزن بریم!",

View File

@ -355,6 +355,7 @@
"Notifications": "Ilmoitukset",
"November": "marraskuu",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "lokakuu",
"Off": "Pois",
"Okay, Let's Go!": "Eikun menoksi!",

View File

@ -355,6 +355,7 @@
"Notifications": "Notifications de bureau",
"November": "Novembre",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Octobre",
"Off": "Éteint",
"Okay, Let's Go!": "Okay, Allons-y !",

View File

@ -355,6 +355,7 @@
"Notifications": "Notifications de bureau",
"November": "Novembre",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Octobre",
"Off": "Désactivé",
"Okay, Let's Go!": "D'accord, allons-y !",

View File

@ -355,6 +355,7 @@
"Notifications": "התראות",
"November": "נובמבר",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "אוקטובר",
"Off": "כבוי",
"Okay, Let's Go!": "בסדר, בואו נתחיל!",

View File

@ -355,6 +355,7 @@
"Notifications": "सूचनाएं",
"November": "नवंबर",
"num_thread (Ollama)": "num_thread (ओलामा)",
"OAuth ID": "",
"October": "अक्टूबर",
"Off": "बंद",
"Okay, Let's Go!": "ठीक है, चलिए चलते हैं!",

View File

@ -355,6 +355,7 @@
"Notifications": "Obavijesti",
"November": "Studeni",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Listopad",
"Off": "Isključeno",
"Okay, Let's Go!": "U redu, idemo!",

View File

@ -355,6 +355,7 @@
"Notifications": "Notifiche desktop",
"November": "Novembre",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Ottobre",
"Off": "Disattivato",
"Okay, Let's Go!": "Ok, andiamo!",

View File

@ -355,6 +355,7 @@
"Notifications": "デスクトップ通知",
"November": "11月",
"num_thread (Ollama)": "num_thread(オラマ)",
"OAuth ID": "",
"October": "10月",
"Off": "オフ",
"Okay, Let's Go!": "OK、始めましょう",

View File

@ -355,6 +355,7 @@
"Notifications": "შეტყობინება",
"November": "ნოემბერი",
"num_thread (Ollama)": "num_thread (ოლამა)",
"OAuth ID": "",
"October": "ოქტომბერი",
"Off": "გამორთვა",
"Okay, Let's Go!": "კარგი, წავედით!",

View File

@ -355,6 +355,7 @@
"Notifications": "알림",
"November": "11월",
"num_thread (Ollama)": "num_thread (올라마)",
"OAuth ID": "",
"October": "10월",
"Off": "끄기",
"Okay, Let's Go!": "좋아요, 시작합시다!",

View File

@ -355,6 +355,7 @@
"Notifications": "Pranešimai",
"November": "lapkritis",
"num_thread (Ollama)": "",
"OAuth ID": "",
"October": "spalis",
"Off": "Išjungta",
"Okay, Let's Go!": "Gerai, važiuojam!",

View File

@ -355,6 +355,7 @@
"Notifications": "Varsler",
"November": "November",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Oktober",
"Off": "Av",
"Okay, Let's Go!": "Ok, la oss gå!",

View File

@ -355,6 +355,7 @@
"Notifications": "Desktop Notificaties",
"November": "November",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Oktober",
"Off": "Uit",
"Okay, Let's Go!": "Okay, Laten we gaan!",

View File

@ -355,6 +355,7 @@
"Notifications": "ਸੂਚਨਾਵਾਂ",
"November": "ਨਵੰਬਰ",
"num_thread (Ollama)": "num_thread (ਓਲਾਮਾ)",
"OAuth ID": "",
"October": "ਅਕਤੂਬਰ",
"Off": "ਬੰਦ",
"Okay, Let's Go!": "ਠੀਕ ਹੈ, ਚੱਲੋ ਚੱਲੀਏ!",

View File

@ -355,6 +355,7 @@
"Notifications": "Powiadomienia",
"November": "Listopad",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Październik",
"Off": "Wyłączony",
"Okay, Let's Go!": "Okej, zaczynamy!",

View File

@ -355,6 +355,7 @@
"Notifications": "Notificações da Área de Trabalho",
"November": "Novembro",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Outubro",
"Off": "Desligado",
"Okay, Let's Go!": "Ok, Vamos Lá!",

View File

@ -355,6 +355,7 @@
"Notifications": "Notificações da Área de Trabalho",
"November": "Novembro",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Outubro",
"Off": "Desligado",
"Okay, Let's Go!": "Ok, Vamos Lá!",

View File

@ -355,6 +355,7 @@
"Notifications": "Уведомления на рабочем столе",
"November": "Ноябрь",
"num_thread (Ollama)": "num_thread (Оллама)",
"OAuth ID": "",
"October": "Октябрь",
"Off": "Выключено.",
"Okay, Let's Go!": "Давайте начнём!",

View File

@ -355,6 +355,7 @@
"Notifications": "Обавештења",
"November": "Новембар",
"num_thread (Ollama)": "нум _тхреад (Оллама)",
"OAuth ID": "",
"October": "Октобар",
"Off": "Искључено",
"Okay, Let's Go!": "У реду, хајде да кренемо!",

View File

@ -355,6 +355,7 @@
"Notifications": "Notifikationer",
"November": "november",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "oktober",
"Off": "Av",
"Okay, Let's Go!": "Okej, nu kör vi!",

View File

@ -355,6 +355,7 @@
"Notifications": "",
"November": "",
"num_thread (Ollama)": "",
"OAuth ID": "",
"October": "",
"Off": "",
"Okay, Let's Go!": "",

View File

@ -355,6 +355,7 @@
"Notifications": "Bildirimler",
"November": "Kasım",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Ekim",
"Off": "Kapalı",
"Okay, Let's Go!": "Tamam, Hadi Başlayalım!",

View File

@ -355,6 +355,7 @@
"Notifications": "Сповіщення",
"November": "Листопад",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Жовтень",
"Off": "Вимк",
"Okay, Let's Go!": "Гаразд, давайте почнемо!",

View File

@ -355,6 +355,7 @@
"Notifications": "Thông báo trên máy tính (Notification)",
"November": "Tháng 11",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Tháng 10",
"Off": "Tắt",
"Okay, Let's Go!": "Được rồi, Bắt đầu thôi!",

View File

@ -355,6 +355,7 @@
"Notifications": "桌面通知",
"November": "十一月",
"num_thread (Ollama)": "num_threadOllama",
"OAuth ID": "",
"October": "十月",
"Off": "关闭",
"Okay, Let's Go!": "确认,开始使用!",

View File

@ -355,6 +355,7 @@
"Notifications": "桌面通知",
"November": "11月",
"num_thread (Ollama)": "num_thread奧拉馬",
"OAuth ID": "",
"October": "10 月",
"Off": "關閉",
"Okay, Let's Go!": "好的,啟動吧!",

View File

@ -195,6 +195,18 @@
<span class="invisible"></span>
{/if}
</th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
on:click={() => setSortKey('oauth_sub')}
>
{$i18n.t('OAuth ID')}
{#if sortKey === 'oauth_sub'}
{sortOrder === 'asc' ? '▲' : '▼'}
{:else}
<span class="invisible"></span>
{/if}
</th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
@ -283,6 +295,8 @@
</td>
<td class=" px-3 py-2"> {user.email} </td>
<td class=" px-3 py-2"> {user.oauth_sub ?? ""} </td>
<td class=" px-3 py-2">
{dayjs(user.last_active_at * 1000).fromNow()}
</td>