[xwiki-contrib/ai-llm] 123169: [Misc] MCP: enable endpoints and main-wiki reach b...
Branch: refs/heads/main Home: https://github.com/xwiki-contrib/ai-llm Commit: 1231692418fb2a8d70198486edb8cce1609b19b8 https://github.com/xwiki-contrib/ai-llm/commit/1231692418fb2a8d70198486edb8c... Author: Paul Pantiru <[email protected]> Date: 2026-07-07 (Tue, 07 Jul 2026) Changed paths: M application-ai-llm-mcp/application-ai-llm-mcp-server/src/main/java/org/xwiki/contrib/llm/mcp/internal/MCPServerConfiguration.java M application-ai-llm-mcp/application-ai-llm-mcp-server/src/main/java/org/xwiki/contrib/llm/mcp/script/MCPFarmScriptService.java M application-ai-llm-mcp/application-ai-llm-mcp-server/src/test/java/org/xwiki/contrib/llm/mcp/internal/MCPServerConfigurationTest.java M application-ai-llm-mcp/application-ai-llm-mcp-server/src/test/java/org/xwiki/contrib/llm/mcp/script/MCPFarmScriptServiceTest.java M application-ai-llm-mcp/application-ai-llm-mcp-ui/src/main/resources/AI/MCP/Code/MCPServerConfig.xml M application-ai-llm-mcp/application-ai-llm-mcp-ui/src/main/resources/AI/MCP/Code/MCPServerConfigClass.xml M application-ai-llm-mcp/application-ai-llm-mcp-ui/src/main/resources/AI/MCP/Code/MCPServerConfigSheet.xml M application-ai-llm-mcp/application-ai-llm-mcp-ui/src/main/resources/AI/MCP/Code/Translations.xml Log Message: ----------- [Misc] MCP: enable endpoints and main-wiki reach by default, config sheet fixes * MCP endpoints are now enabled by default on every wiki. * The main wiki has cross-wiki reach on by default. A new hidden reachInitialized marker (read via getIntValue, so a materialised-but-empty reach list cannot defeat it) gates the default: until the reach dashboard is first saved only the main wiki reaches the farm. initializeReachDefaults() seeds the list with the main wiki and sets the marker on that first apply, after which the list is authoritative and may itself exclude the main wiki. Robust to renamed main wikis (getMainWikiId at runtime). * Fixed the config sheet <label for=...> targets (enabled, serverName, serverDescription, allowRenderedContent, spaceFilterMode) to the real platform-generated field ids, so clicking a label focuses or toggles its input. * Renamed the farm dashboard "Apply changes" button to "Save". To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/ai-llm/settings/notifications
participants (1)
-
XWiki Notifications