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:
kyle
2026-06-12 11:17:51 -07:00
parent aa06394aa9
commit 5b521afec1
10 changed files with 544 additions and 251 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ Go to **Settings → Admin → NCdiscordhook**:
Each configured room gets a webhook URL:
```
https://your-server.com/apps/ncdiscordhook/webhook/<room-token>/<auth-token>
https://your-server.com/apps/ncdiscordhook/bot-webhook/<room-token>/<auth-token>
```
Copy the auth token from the app settings for each room.
@@ -92,7 +92,7 @@ Copy the auth token from the app settings for each room.
Each room gets its own webhook URL with a unique auth token:
```
/webhook/<room-token>/<auth-token>
/bot-webhook/<room-token>/<auth-token>
```
- **Room token** — identifies which Talk room to post to (from `occ talk:room:list`)