+
@@ -34,7 +36,7 @@
-
@@ -63,9 +65,16 @@ export default {
data() {
return {
searchText: "",
+ windowTop: 0,
};
},
computed: {
+ boxStyle() {
+ return {
+ height: `calc(100vh - 160px + ${this.windowTop}px)`,
+ };
+ },
+
sortedMonitorList() {
let result = Object.values(this.$root.monitorList);
@@ -108,7 +117,20 @@ export default {
return result;
},
},
+ mounted() {
+ window.addEventListener("scroll", this.onScroll);
+ },
+ beforeUnmount() {
+ window.removeEventListener("scroll", this.onScroll);
+ },
methods: {
+ onScroll() {
+ if (window.top.scrollY <= 133) {
+ this.windowTop = window.top.scrollY;
+ } else {
+ this.windowTop = 133;
+ }
+ },
monitorURL(id) {
return getMonitorRelativeURL(id);
},
@@ -122,6 +144,12 @@ export default {
diff --git a/src/components/NotificationDialog.vue b/src/components/NotificationDialog.vue
index 659f5726..8c03dbbd 100644
--- a/src/components/NotificationDialog.vue
+++ b/src/components/NotificationDialog.vue
@@ -85,7 +85,9 @@ export default {
model: null,
processing: false,
id: null,
- notificationTypes: Object.keys(NotificationFormList),
+ notificationTypes: Object.keys(NotificationFormList).sort((a, b) => {
+ return a.toLowerCase().localeCompare(b.toLowerCase());
+ }),
notification: {
name: "",
/** @type { null | keyof NotificationFormList } */
@@ -143,12 +145,9 @@ export default {
this.id = null;
this.notification = {
name: "",
- type: null,
+ type: "telegram",
isDefault: false,
};
-
- // Set Default value here
- this.notification.type = this.notificationTypes[0];
}
this.modal.show();
diff --git a/src/components/ProxyDialog.vue b/src/components/ProxyDialog.vue
new file mode 100644
index 00000000..c1895e5b
--- /dev/null
+++ b/src/components/ProxyDialog.vue
@@ -0,0 +1,206 @@
+
+
+
+
+ {{ $t("deleteProxyMsg") }}
+
+
+
+
+
+
diff --git a/src/components/PublicGroupList.vue b/src/components/PublicGroupList.vue
index f30edcef..37440e31 100644
--- a/src/components/PublicGroupList.vue
+++ b/src/components/PublicGroupList.vue
@@ -41,7 +41,7 @@
{{ monitor.element.name }}
-
@@ -76,6 +76,9 @@ export default {
type: Boolean,
required: true,
},
+ showTags: {
+ type: Boolean,
+ }
},
data() {
return {
diff --git a/src/components/TwoFADialog.vue b/src/components/TwoFADialog.vue
index b7b9668d..8a773d6b 100644
--- a/src/components/TwoFADialog.vue
+++ b/src/components/TwoFADialog.vue
@@ -19,6 +19,19 @@
{{ uri }}
+
+
+
+
+
@@ -59,11 +72,11 @@
diff --git a/src/components/settings/ReverseProxy.vue b/src/components/settings/ReverseProxy.vue
new file mode 100644
index 00000000..97db4d59
--- /dev/null
+++ b/src/components/settings/ReverseProxy.vue
@@ -0,0 +1,144 @@
+
+
+
Cloudflare Tunnel
+
+
+
+ cloudflared:
+ {{ $t("Installed") }}
+ {{ $t("Not installed") }}
+
+
+
+ {{ $t("Status") }}:
+ {{ $t("Running") }}
+ {{ $t("Not running") }}
+
+
+
+ {{ message }}
+
+
+
+ {{ $t("Message:") }}
+
+
+
+
+ {{ $t("cloudflareWebsite") }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t("The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.") }}
+
+
+
+
+
+
+
+
+
+
{{ $t("Other Software") }}
+
+
+
+
+
+
+
diff --git a/src/components/settings/Security.vue b/src/components/settings/Security.vue
index c94c3915..1459519f 100644
--- a/src/components/settings/Security.vue
+++ b/src/components/settings/Security.vue
@@ -175,9 +175,9 @@
- Si è certi di voler disabilitare l'autenticazione?
- È per chi ha l'autenticazione gestita da terze parti messa davanti ad Uptime Kuma, ad esempio Cloudflare Access.
- Utilizzare con attenzione.
+ Disabilitare l'autenticazione?
+ Questa opzione è per chi un sistema di autenticazione gestito da terze parti messo davanti ad Uptime Kuma, ad esempio Cloudflare Access.
+ Utilizzare con attenzione!
@@ -192,6 +192,12 @@
Пожалуйста, используйте с осторожностью.
+
+ Ви впевнені, що бажаєте вимкнути авторизацію?
+ Це підходить для тих, у кого встановлена інша авторизація пееред відкриттям Uptime Kuma, наприклад Cloudflare Access.
+ Будь ласка, використовуйте з обережністю.
+
+
آیا مطمئن هستید که میخواهید احراز هویت را غیر فعال کنید?
این ویژگی برای کسانی است که لایه امنیتی شخص ثالث دیگر بر روی این آدرس فعال کردهاند، مانند Cloudflare Access.
@@ -216,12 +222,37 @@
Vennligst vær forsiktig.
+
+ Opravdu chcete deaktivovat autentifikaci?
+ Tato možnost je určena pro případy, kdy máte autentifikaci zajištěnou třetí stranou ještě před přístupem do Uptime Kuma, například prostřednictvím Cloudflare Access.
+ Používejte ji prosím s rozmyslem.
+
+
+
+ Bạn có muốn TẮT XÁC THỰC không?
+ Điều này rất nguy hiểmBẤT KỲ AI cũng có thể truy cập và cướp quyền điều khiển.
+ Vui lòng cẩn thận.
+
+
- Are you sure want to disable auth?
- It is for someone who have 3rd-party auth in front of Uptime Kuma such as Cloudflare Access.
- Please use it carefully.
+ Are you sure want to disable authentication?
+ It is designed for scenarios where you intend to implement third-party authentication in front of Uptime Kuma such as Cloudflare Access, Authelia or other authentication mechanisms.
+ Please use this option carefully!
+
+
+
+
+