mirror of
https://github.com/Dvorinka/beszel.git
synced 2026-06-03 21:02:56 +00:00
feat(hub): implement native in-app container updates
Introduces the ability for registered users to trigger Beszel container updates directly from the web interface. - Added `app_update` logic to the hub to pull the latest image from GHCR and recreate the container. - Implemented `/api/beszel/update` and `/api/beszel/update/apply` endpoints. - Added a new `AppUpdatePanel` in the settings UI to check for and apply updates. - Added update notifications in the navbar and settings. - Updated `docker-compose.yml` and `README.md` to include the required Docker socket mount for update functionality. - Added a new public status page route that bypasses authentication. - Refactored several TypeScript interfaces to replace `any` with `unknown` or specific types for better type safety. - Updated localization files to support new update-related strings.
This commit is contained in:
@@ -151,8 +151,8 @@ msgid "Add Monitor"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
msgid "Add System"
|
||||
msgstr ""
|
||||
#~ msgid "Add System"
|
||||
#~ msgstr ""
|
||||
|
||||
#: src/components/routes/settings/notifications.tsx
|
||||
msgid "Add URL"
|
||||
@@ -203,12 +203,10 @@ msgstr "アラート履歴"
|
||||
msgid "Alerts"
|
||||
msgstr "アラート"
|
||||
|
||||
#. placeholder {0}: data.length
|
||||
#. placeholder {0}: stats.total
|
||||
#. placeholder {0}: statusCounts.total
|
||||
#: src/components/domains-table/domains-table.tsx
|
||||
#: src/components/monitors-table/monitors-table.tsx
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
msgid "All ({0})"
|
||||
msgstr ""
|
||||
|
||||
@@ -224,9 +222,14 @@ msgstr "すべてのコンテナ"
|
||||
#: src/components/command-palette.tsx
|
||||
#: src/components/routes/settings/quiet-hours.tsx
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
msgid "All Systems"
|
||||
msgstr "すべてのシステム"
|
||||
|
||||
#: src/components/routes/settings/general.tsx
|
||||
msgid "App update"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/systems-table/systems-table-columns.tsx
|
||||
msgid "Are you sure you want to delete {name}?"
|
||||
msgstr "{name}を削除してもよろしいですか?"
|
||||
@@ -338,6 +341,10 @@ msgstr "BeszelはOpenID Connectと多くのOAuth2認証プロバイダーをサ
|
||||
msgid "Beszel uses <0>Shoutrrr</0> to integrate with popular notification services."
|
||||
msgstr "Beszelは<0>Shoutrrr</0>を使用して、人気のある通知サービスと統合します。"
|
||||
|
||||
#: src/components/routes/settings/general.tsx
|
||||
msgid "Beszel will pull ghcr.io/dvorinka/beszel:latest, recreate the running container, and restart the app. All signed-in users can start this action."
|
||||
msgstr ""
|
||||
|
||||
#: src/components/add-system.tsx
|
||||
msgid "Binary"
|
||||
msgstr "バイナリ"
|
||||
@@ -385,6 +392,7 @@ msgstr "停止可能"
|
||||
#: src/components/domains-table/domains-table.tsx
|
||||
#: src/components/monitors-table/add-monitor-dialog.tsx
|
||||
#: src/components/routes/settings/alerts-history-data-table.tsx
|
||||
#: src/components/routes/settings/general.tsx
|
||||
#: src/components/routes/settings/quiet-hours.tsx
|
||||
#: src/components/systems-table/systems-table-columns.tsx
|
||||
msgid "Cancel"
|
||||
@@ -447,6 +455,10 @@ msgstr "{email}を確認してリセットリンクを探してください。"
|
||||
msgid "Check logs for more details."
|
||||
msgstr "詳細についてはログを確認してください。"
|
||||
|
||||
#: src/components/routes/settings/general.tsx
|
||||
msgid "Check now"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/routes/monitor.tsx
|
||||
msgid "Check Now"
|
||||
msgstr ""
|
||||
@@ -482,8 +494,8 @@ msgid "Click to copy"
|
||||
msgstr "クリックしてコピー"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
msgid "Columns"
|
||||
msgstr ""
|
||||
#~ msgid "Columns"
|
||||
#~ msgstr ""
|
||||
|
||||
#: src/components/login/forgot-pass-form.tsx
|
||||
#: src/components/login/forgot-pass-form.tsx
|
||||
@@ -1750,6 +1762,10 @@ msgstr ""
|
||||
#~ msgid "Response Times"
|
||||
#~ msgstr ""
|
||||
|
||||
#: src/components/routes/settings/general.tsx
|
||||
msgid "Restarting"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/systemd-table/systemd-table.tsx
|
||||
msgid "Restarts"
|
||||
msgstr "再起動"
|
||||
@@ -1917,8 +1933,8 @@ msgid "SMTP settings"
|
||||
msgstr "SMTP設定"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
#~ msgid "Sort By"
|
||||
#~ msgstr "並び替え基準"
|
||||
msgid "Sort By"
|
||||
msgstr "並び替え基準"
|
||||
|
||||
#: src/components/routes/domain.tsx
|
||||
#~ msgid "SSL Certificate"
|
||||
@@ -1929,6 +1945,10 @@ msgstr "SMTP設定"
|
||||
msgid "Start Time"
|
||||
msgstr "開始時間"
|
||||
|
||||
#: src/components/routes/settings/general.tsx
|
||||
msgid "Start update"
|
||||
msgstr ""
|
||||
|
||||
#. Context: alert state (active or resolved)
|
||||
#: src/components/alerts-history-columns.tsx
|
||||
#: src/components/routes/settings/quiet-hours.tsx
|
||||
@@ -2248,10 +2268,23 @@ msgstr "正常 ({upSystemsLength})"
|
||||
msgid "Update"
|
||||
msgstr "更新"
|
||||
|
||||
#: src/components/navbar.tsx
|
||||
#: src/components/navbar.tsx
|
||||
msgid "Update available"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/routes/settings/general.tsx
|
||||
msgid "Update Beszel now?"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/monitors-table/add-monitor-dialog.tsx
|
||||
msgid "Update Monitor"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/routes/settings/general.tsx
|
||||
msgid "Update now"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/containers-table/containers-table-columns.tsx
|
||||
#: src/components/routes/system/smart-table.tsx
|
||||
#: src/components/systemd-table/systemd-table-columns.tsx
|
||||
@@ -2335,8 +2368,8 @@ msgid "View your 200 most recent alerts."
|
||||
msgstr "直近200件のアラートを表示します。"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
#~ msgid "Visible Fields"
|
||||
#~ msgstr "表示列"
|
||||
msgid "Visible Fields"
|
||||
msgstr "表示列"
|
||||
|
||||
#: src/components/routes/domain.tsx
|
||||
#: src/components/routes/monitor.tsx
|
||||
|
||||
Reference in New Issue
Block a user