feat: 1.4.1 pagination, network probes, survival by blocker, report polish
Release / Publish tags (push) Successful in 18s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Successful in 1m47s
Release / Build image (amd64) (push) Successful in 21s
Release / Build image (arm64) (push) Successful in 28s
CI / Format and vet (push) Successful in 23s
CI / Tests (Linux, race detector) (push) Successful in 1m24s
CI / Dependency audit (push) Successful in 24s
CI / Docker image (build and smoke test) (push) Skipped
Release / Gitea release (push) Successful in 5s
Release / Publish tags (push) Successful in 18s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Successful in 1m47s
Release / Build image (amd64) (push) Successful in 21s
Release / Build image (arm64) (push) Successful in 28s
CI / Format and vet (push) Successful in 23s
CI / Tests (Linux, race detector) (push) Successful in 1m24s
CI / Dependency audit (push) Successful in 24s
CI / Docker image (build and smoke test) (push) Skipped
Release / Gitea release (push) Successful in 5s
Backend pagination with one pager for sessions, IPs, campaigns and events; network probe source (port-scan, T1046, second firewall reason port-scan); host kit logs inbound probes; urutau call on the report cover. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f27d8441a9
commit
432f521ed1
40 files changed
+927
-136
No files matched your search
@@ -18,7 +18,14 @@ func init() {
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
writeJSON(w, 200, store.CampaignsOf(p))
|
||||
out := store.CampaignsOf(p)
|
||||
page, per := pageParams(r.URL.Query())
|
||||
from, to := window(len(out.Campaigns), page, per)
|
||||
out.Campaigns = out.Campaigns[from:to]
|
||||
writeJSON(w, 200, struct {
|
||||
store.CampaignsOut
|
||||
pageMeta
|
||||
}{out, metaOf(out.Total, page, per)})
|
||||
}
|
||||
})
|
||||
registerUserRoute("GET /api/v1/campaigns/{id}", func(s *Server) http.HandlerFunc {
|
||||
|
||||
Reference in new issue
Block a user