feat: update for Nextcloud 33 and refactor Talk integration
Channel list working, url generation, just need posting working now - Update dependency to Nextcloud 33 and add `spreed` dependency - Change webhook route from `/webhook` to `/bot-webhook` - Add `NavigationProvider` to add app to admin settings menu - Refactor `TalkService` to query Talk DB directly for room listing (public channels) - Update `postToRoom` to use Talk Chat API with Basic Auth for `talk-bot` user - Add debug helper methods to `TalkService` for room debugging - Enhance `debug` endpoint with detailed system and Talk configuration info - Update admin settings UI with "Default Sender Name" field and improved room selection - Add localization strings to admin settings - Update documentation (`INSTALL.md`, `README.md`) for new route and bot admin requirement - Improve `getBaseUrl` logic to prioritize `trusted_domains` for Docker compatibility
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@
|
||||
<category>integration</category>
|
||||
|
||||
<dependencies>
|
||||
<nextcloud min-version="28" max-version="33"/>
|
||||
<nextcloud min-version="33" max-version="33"/>
|
||||
<app>spreed</app>
|
||||
</dependencies>
|
||||
|
||||
<background-jobs>
|
||||
|
||||
+3
-6
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'routes' => [
|
||||
[
|
||||
'name' => 'webhook#receive',
|
||||
'url' => '/webhook/{roomToken}/{authToken}',
|
||||
'url' => '/bot-webhook/{roomToken}/{token}',
|
||||
'verb' => 'POST',
|
||||
],
|
||||
[
|
||||
@@ -25,11 +26,7 @@ return [
|
||||
'name' => 'webhook#debug',
|
||||
'url' => '/debug',
|
||||
'verb' => 'GET',
|
||||
],
|
||||
[
|
||||
'name' => 'webhook#debugTables',
|
||||
'url' => '/debug-tables',
|
||||
'verb' => 'GET',
|
||||
'type' => 'noCsrf',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user