refac: article reads, story delete, no leaks, stored SEO status, rate limit, cleanup (%site%, article repo split, old lang repos, one default per site rule to domain)

This commit is contained in:
Florian Sylvain committed 2026-11-03 16:01:52 +01:00
1 parent 9d284e65a9
commit 7c15206170
85 files changed
+1788 -593

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ import (
"encoding/json"
"net/http"
"reflect"
"slices"
"strconv"
"strings"
"testing"
@@ -107,7 +108,7 @@ func TestArticleStoryLifecycleHTTP(t *testing.T) {
}
}
}
if strings.Contains(response.text(), "Kosten") || strings.Contains(response.text(), `"de"`) {
if strings.Contains(response.text(), "Kosten") || slices.Contains(languagesIn(translations), "de") {
t.Errorf("the hidden version leaks: %s", response.text())
}
})