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

+1
View File
@@ -12,6 +12,7 @@ import '../data/agent_service.dart';
class AgentModel extends ChangeNotifier {
AgentModel(this.repository);
final AgentRepository repository;
String get adminToken => repository.api.adminToken;
void Function(String)? onLog;
List<ManagedAgent> _agents = [];
List<ManagedAgent> get agents => List.unmodifiable(_agents);