mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 16:58:37 +00:00
Federation: return useful statistic information for nodeinfo (#19561)
Add statistic information for total user count, active user count, issue count and comment count for `/nodeinfo`
This commit is contained in:
@@ -9,9 +9,11 @@ import "code.gitea.io/gitea/modules/log"
|
||||
// Federation settings
|
||||
var (
|
||||
Federation = struct {
|
||||
Enabled bool
|
||||
Enabled bool
|
||||
ShareUserStatistics bool
|
||||
}{
|
||||
Enabled: true,
|
||||
Enabled: true,
|
||||
ShareUserStatistics: true,
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user