feat(sub): expose last subscription fetch time (#6217)

* feat(sub): expose last subscription fetch time

Record successful GET subscription fetches per client and surface the timestamp in the client API and UI.

* fix(frontend): include last subscription fetch in client traffic

* Update sub_fetch_test.go

---------

Co-authored-by: Hermes Agent <hermes-agent@localhost>
This commit is contained in:
Maxim Myalin
2026-08-15 16:22:11 +03:00
committed by GitHub
parent ad32144c42
commit 2217213e9f
26 changed files with 187 additions and 14 deletions
+1
View File
@@ -66,6 +66,7 @@
"comment": "تعليق",
"success": "تم بنجاح",
"lastOnline": "آخر متصل",
"lastSubFetch": "آخر جلب للاشتراك",
"getVersion": "جيب النسخة",
"install": "تثبيت",
"clients": "عملاء",
+1
View File
@@ -66,6 +66,7 @@
"comment": "Comment",
"success": "Success",
"lastOnline": "Last Online",
"lastSubFetch": "Last Subscription Fetch",
"getVersion": "Get Version",
"install": "Install",
"clients": "Clients",
+1
View File
@@ -66,6 +66,7 @@
"comment": "Comentario",
"success": "Éxito",
"lastOnline": "Última conexión",
"lastSubFetch": "Última descarga de suscripción",
"getVersion": "Obtener versión",
"install": "Instalar",
"clients": "Clientes",
+1
View File
@@ -66,6 +66,7 @@
"comment": "توضیحات",
"success": "موفق",
"lastOnline": "آخرین فعالیت",
"lastSubFetch": "آخرین دریافت اشتراک",
"getVersion": "دریافت نسخه",
"install": "نصب",
"clients": "کاربران",
+1
View File
@@ -66,6 +66,7 @@
"comment": "Komentar",
"success": "Berhasil",
"lastOnline": "Terakhir online",
"lastSubFetch": "Pengambilan langganan terakhir",
"getVersion": "Dapatkan Versi",
"install": "Instal",
"clients": "Klien",
+1
View File
@@ -66,6 +66,7 @@
"comment": "コメント",
"success": "成功",
"lastOnline": "最終オンライン",
"lastSubFetch": "最終サブスクリプション取得",
"getVersion": "バージョン取得",
"install": "インストール",
"clients": "クライアント",
+1
View File
@@ -66,6 +66,7 @@
"comment": "Comentário",
"success": "Com Sucesso",
"lastOnline": "Última vez online",
"lastSubFetch": "Última busca da assinatura",
"getVersion": "Obter Versão",
"install": "Instalar",
"clients": "Clientes",
+1
View File
@@ -66,6 +66,7 @@
"comment": "Комментарий",
"success": "Успешно",
"lastOnline": "Был(а) в сети",
"lastSubFetch": "Последнее получение подписки",
"getVersion": "Узнать версию",
"install": "Установка",
"clients": "Клиенты",
+1
View File
@@ -66,6 +66,7 @@
"comment": "Yorum",
"success": "Başarılı",
"lastOnline": "Son Çevrimiçi",
"lastSubFetch": "Son abonelik çekme",
"getVersion": "Sürümü Al",
"install": "Yükle",
"clients": "Kullanıcılar",
+1
View File
@@ -66,6 +66,7 @@
"comment": "Коментар",
"success": "Успішно",
"lastOnline": "Був(ла) онлайн",
"lastSubFetch": "Останнє отримання підписки",
"getVersion": "Отримати версію",
"install": "Встановити",
"clients": "Клієнти",
+1
View File
@@ -66,6 +66,7 @@
"comment": "Bình luận",
"success": "Thành công",
"lastOnline": "Lần online gần nhất",
"lastSubFetch": "Lần tải gói đăng ký gần nhất",
"getVersion": "Lấy phiên bản",
"install": "Cài đặt",
"clients": "Các khách hàng",
+1
View File
@@ -66,6 +66,7 @@
"comment": "评论",
"success": "成功",
"lastOnline": "上次在线",
"lastSubFetch": "上次获取订阅",
"getVersion": "获取版本",
"install": "安装",
"clients": "客户端",
+1
View File
@@ -66,6 +66,7 @@
"comment": "評論",
"success": "成功",
"lastOnline": "上次上線",
"lastSubFetch": "上次取得訂閱",
"getVersion": "獲取版本",
"install": "安裝",
"clients": "客戶端",