feat: add command to toggle debug mode

- Add lib/Command/DebugToggle.php to enable/disable debug endpoint via CLI
- Update lib/Controller/WebhookController.php to check debug status
- Add support for base64 attachments in lib/Service/TalkService.php
- Bump version in appinfo/info.xml to 1.1.0
- Update INSTALL.md and README.md documentation
This commit is contained in:
kyle
2026-06-12 17:42:36 -07:00
parent 88ad358eef
commit 28d0187760
6 changed files with 193 additions and 2 deletions
+5 -1
View File
@@ -5,7 +5,7 @@
<name>NCdiscordhook</name>
<summary>Discord webhook bridge for Nextcloud Talk with image support</summary>
<description>Accepts Discord webhook-style JSON payloads and posts them into Nextcloud Talk rooms, preserving image attachments. Each room gets its own webhook URL with an auth token for security.</description>
<version>1.0.0</version>
<version>1.1.0</version>
<licence>AGPL-3.0-or-later</licence>
<author homepage="https://github.com/Mr-Newlove/nc_bot_webhooks/kyle">Kyle</author>
<namespace>NCdiscordhook</namespace>
@@ -24,5 +24,9 @@
<admin>OCA\NCdiscordhook\Settings\Admin</admin>
</settings>
<commands>
<command>OCA\NCdiscordhook\Command\DebugToggle</command>
</commands>
<bugs>https://github.com/Mr-Newlove/nc_bot_webhooks/issues</bugs>
</info>