Add relay node management and pin manager header layout

- server: add, delete and set-default node endpoints writing cluster.json with validation

- deploy: grant ads-server write access to /etc/ads

- flutter: relay node page with admin token plumbing, stop reconnecting devices removed from device list

- flutter: fixed header heights and strut so tab switching never shifts refresh/notice
This commit is contained in:
tongtong committed 2026-11-16 16:44:58 +08:00
1 parent e12cb76d68
commit 0a04d5990f
9 files changed
+606 -75

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ import 'package:ads_manager/ui/agent_view.dart';
class FakeApi implements AgentApi {
@override
String connectionKey = 'first-center';
@override
String adminToken = '';
final calls = <JsonMap>[];
Completer<List<JsonMap>>? pending;
JsonMap status(String id) => {