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 "Historie upozornění"
|
||||
msgid "Alerts"
|
||||
msgstr "Výstrahy"
|
||||
|
||||
#. 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 "Všechny kontejnery"
|
||||
#: 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 "Všechny systémy"
|
||||
|
||||
#: 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 "Opravdu chcete odstranit {name}?"
|
||||
@@ -338,6 +341,10 @@ msgstr "Beszel podporuje OpenID Connect a mnoho poskytovatelů OAuth2 ověřová
|
||||
msgid "Beszel uses <0>Shoutrrr</0> to integrate with popular notification services."
|
||||
msgstr "Beszel používá <0>Shoutrrr</0> k integraci s populárními notifikačními službami."
|
||||
|
||||
#: 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 "Binární"
|
||||
@@ -385,6 +392,7 @@ msgstr "Může zastavit"
|
||||
#: 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 "Zkontrolujte {email} pro odkaz na obnovení."
|
||||
msgid "Check logs for more details."
|
||||
msgstr "Pro více informací zkontrolujte logy."
|
||||
|
||||
#: 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 "Klikněte pro zkopírování"
|
||||
|
||||
#: 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 "Restarty"
|
||||
@@ -1917,8 +1933,8 @@ msgid "SMTP settings"
|
||||
msgstr "Nastavení SMTP"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
#~ msgid "Sort By"
|
||||
#~ msgstr "Seřadit podle"
|
||||
msgid "Sort By"
|
||||
msgstr "Seřadit podle"
|
||||
|
||||
#: src/components/routes/domain.tsx
|
||||
#~ msgid "SSL Certificate"
|
||||
@@ -1929,6 +1945,10 @@ msgstr "Nastavení SMTP"
|
||||
msgid "Start Time"
|
||||
msgstr "Čas začátku"
|
||||
|
||||
#: 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 "Funkční ({upSystemsLength})"
|
||||
msgid "Update"
|
||||
msgstr "Aktualizovat"
|
||||
|
||||
#: 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 "Zobrazit vašich 200 nejnovějších upozornění."
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx
|
||||
#~ msgid "Visible Fields"
|
||||
#~ msgstr "Viditelné sloupce"
|
||||
msgid "Visible Fields"
|
||||
msgstr "Viditelné sloupce"
|
||||
|
||||
#: src/components/routes/domain.tsx
|
||||
#: src/components/routes/monitor.tsx
|
||||
|
||||
Reference in New Issue
Block a user