Release 4.0.1+1: remove account binding / centralized provisioning (no panel credentials in binary; configs via user's own subscription URL); add recommended-services block on About page; Windows 4.0.1.1.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Navis
2026-08-01 20:31:29 +03:00
co-authored by Cursor
parent 1144fab54d
commit 5f768c7732
26 changed files with 237 additions and 1255 deletions
-15
View File
@@ -4,7 +4,6 @@ import (
"io"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"strings"
"testing"
@@ -88,17 +87,3 @@ func TestSaveProfileKeepsNaiveLink(t *testing.T) {
t.Fatalf("naive profile broken: %+v", p)
}
}
func TestProvisionConfigured(t *testing.T) {
m := newTestManager(t)
if m.ProvisionConfigured() {
t.Fatal("should be false without remnawave-api.json")
}
path := filepath.Join(filepath.Dir(m.ConfigPath()), "remnawave-api.json")
if err := os.WriteFile(path, []byte(`{}`), 0o600); err != nil {
t.Fatal(err)
}
if !m.ProvisionConfigured() {
t.Fatal("should be true with remnawave-api.json present")
}
}