feat(discovery): more work on discovery plus a few fixes

This commit is contained in:
Hampus Kraft committed 2026-02-17 15:41:08 +00:00
1 parent b19e9fb243
commit 302c0d2a0c
137 files changed
+7116 -2047

No files matched your search

+21
View File
@@ -168,6 +168,11 @@
"$ref": "#/$defs/proxy",
"default": {}
},
"discovery": {
"description": "Guild discovery listing configuration.",
"$ref": "#/$defs/discovery",
"default": {}
},
"attachment_decay_enabled": {
"type": "boolean",
"description": "Whether to automatically delete old attachments.",
@@ -570,6 +575,22 @@
}
}
},
"discovery": {
"type": "object",
"description": "Guild discovery listing configuration.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether guild discovery is enabled on this instance.",
"default": true
},
"min_member_count": {
"type": "number",
"description": "Minimum number of members a guild needs before it can apply for discovery listing.",
"default": 50
}
}
},
"domain": {
"type": "object",
"description": "Configuration for domains and ports used to construct public URLs.",
@@ -0,0 +1,19 @@
{
"discovery": {
"type": "object",
"description": "Guild discovery listing configuration.",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether guild discovery is enabled on this instance.",
"default": true
},
"min_member_count": {
"type": "number",
"description": "Minimum number of members a guild needs before it can apply for discovery listing.",
"default": 50
}
}
}
}
+5
View File
@@ -132,6 +132,11 @@
"$ref": "#/$defs/proxy",
"default": {}
},
"discovery": {
"description": "Guild discovery listing configuration.",
"$ref": "#/$defs/discovery",
"default": {}
},
"attachment_decay_enabled": {
"type": "boolean",
"description": "Whether to automatically delete old attachments.",