diff --git a/agent/go/cmd/rmm-agent/main.go b/agent/go/cmd/rmm-agent/main.go index cb4fd3e..1e557ee 100644 --- a/agent/go/cmd/rmm-agent/main.go +++ b/agent/go/cmd/rmm-agent/main.go @@ -23,7 +23,7 @@ import ( "time" ) -const agentVersion = "0.5.0" +const agentVersion = "0.5.1" type config struct { ServerURL string diff --git a/agent/go/cmd/rmm-agent/main_test.go b/agent/go/cmd/rmm-agent/main_test.go index 79291ad..d30ec37 100644 --- a/agent/go/cmd/rmm-agent/main_test.go +++ b/agent/go/cmd/rmm-agent/main_test.go @@ -8,7 +8,7 @@ import ( ) func TestAgentVersionIsStable(t *testing.T) { - if agentVersion != "0.5.0" { + if agentVersion != "0.5.1" { t.Fatalf("unexpected agent version %q", agentVersion) } } diff --git a/agent/package/luci-app-rmm-agent/README.md b/agent/package/luci-app-rmm-agent/README.md index 511e63e..3ea2f41 100644 --- a/agent/package/luci-app-rmm-agent/README.md +++ b/agent/package/luci-app-rmm-agent/README.md @@ -67,7 +67,7 @@ application to the router. Do not copy or install the shell runtime at the same cd dist/rmm-openwrt-25.12.4-ramips-mt7621 sha256sum -c SHA256SUMS scp \ - rmm-agent-go-production-0.5.0-r2.apk \ + rmm-agent-go-production-0.5.1-r1.apk \ luci-app-rmm-agent-0.1.0-r1.apk \ root@ROUTER_IP:/tmp/ ``` @@ -76,7 +76,7 @@ Then install the locally built, unsigned packages over SSH: ```sh apk add --allow-untrusted \ - /tmp/rmm-agent-go-production-0.5.0-r2.apk \ + /tmp/rmm-agent-go-production-0.5.1-r1.apk \ /tmp/luci-app-rmm-agent-0.1.0-r1.apk /etc/init.d/rpcd restart /etc/init.d/uhttpd restart diff --git a/agent/package/rmm-agent-go-production/Makefile b/agent/package/rmm-agent-go-production/Makefile index 50ae4d2..1f74845 100644 --- a/agent/package/rmm-agent-go-production/Makefile +++ b/agent/package/rmm-agent-go-production/Makefile @@ -1,8 +1,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rmm-agent-go-production -PKG_VERSION:=0.5.0 -PKG_RELEASE:=2 +PKG_VERSION:=0.5.1 +PKG_RELEASE:=1 PKG_MAINTAINER:=RMM OpenWrt PKG_LICENSE:=MIT diff --git a/agent/package/rmm-agent-go/Makefile b/agent/package/rmm-agent-go/Makefile index 8a42eef..d0d9faf 100644 --- a/agent/package/rmm-agent-go/Makefile +++ b/agent/package/rmm-agent-go/Makefile @@ -1,8 +1,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rmm-agent-go -PKG_VERSION:=0.5.0 -PKG_RELEASE:=2 +PKG_VERSION:=0.5.1 +PKG_RELEASE:=1 PKG_MAINTAINER:=RMM OpenWrt PKG_LICENSE:=MIT diff --git a/web/app.js b/web/app.js index 0e537ca..a27ef79 100644 --- a/web/app.js +++ b/web/app.js @@ -28,7 +28,7 @@ const state = { previousMobileRoute: "fleet", }; -const EXPECTED_AGENT_VERSION = "0.5.0"; +const EXPECTED_AGENT_VERSION = "0.5.1"; const els = { loginView: document.querySelector("#loginView"), diff --git a/web/apple-touch-icon.png b/web/apple-touch-icon.png new file mode 100644 index 0000000..5e50ceb Binary files /dev/null and b/web/apple-touch-icon.png differ diff --git a/web/favicon-16x16.png b/web/favicon-16x16.png new file mode 100644 index 0000000..e5c25cc Binary files /dev/null and b/web/favicon-16x16.png differ diff --git a/web/favicon-32x32.png b/web/favicon-32x32.png new file mode 100644 index 0000000..43ee460 Binary files /dev/null and b/web/favicon-32x32.png differ diff --git a/web/favicon.ico b/web/favicon.ico new file mode 100644 index 0000000..96300a8 Binary files /dev/null and b/web/favicon.ico differ diff --git a/web/favicon.svg b/web/favicon.svg new file mode 100644 index 0000000..db46eb3 --- /dev/null +++ b/web/favicon.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/web/index.html b/web/index.html index c9cfab8..2d149e3 100644 --- a/web/index.html +++ b/web/index.html @@ -3,7 +3,13 @@ + OpenWrt RMM + + + + + @@ -764,6 +770,6 @@ - + diff --git a/web/site.webmanifest b/web/site.webmanifest new file mode 100644 index 0000000..bfcea05 --- /dev/null +++ b/web/site.webmanifest @@ -0,0 +1,23 @@ +{ + "name": "OpenWrt RMM", + "short_name": "RMM", + "description": "Мониторинг и удалённое управление OpenWrt-роутерами", + "start_url": "/", + "display": "standalone", + "background_color": "#071019", + "theme_color": "#071019", + "icons": [ + { + "src": "/web-app-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/web-app-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + } + ] +} diff --git a/web/web-app-192.png b/web/web-app-192.png new file mode 100644 index 0000000..ed5db5e Binary files /dev/null and b/web/web-app-192.png differ diff --git a/web/web-app-512.png b/web/web-app-512.png new file mode 100644 index 0000000..35458fb Binary files /dev/null and b/web/web-app-512.png differ