feat: add Campfire channel support#18
Draft
frankdierolf wants to merge 1 commit intocoollabsio:mainfrom
Draft
Conversation
Add env var configuration for Campfire channel (CAMPFIRE_BOT_KEY, CAMPFIRE_BASE_URL, CAMPFIRE_WEBHOOK_PATH, CAMPFIRE_GROUP_POLICY, CAMPFIRE_GROUP_ALLOW_FROM). Add nginx webhook auth bypass for channels that use HTTP webhooks (Campfire, Slack HTTP mode, Telegram webhook mode). These paths skip basic auth since the gateway does not auth-protect plugin HTTP handlers — the channel plugins validate payloads themselves. The bypass blocks restrict to POST only via limit_except for defence-in-depth. Depends on: openclaw/openclaw#7883
03d65c9 to
1333566
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hola 👋
here Frank. this is a draft. I will come back if the native campfire integration lands. I assume this will take a bit. Almost 3k PR, not issues, PRs xD Hilarious. Yeah, lets see.
Thank you for the work on coolify!
Its a amazing product and thanks for the native openclaw service. You did a great job there. I did myself previously and it was not that neat. Well done. 😁
Best regards,
Frank ✌️
AI Pull Request Summary
Summary
Add support for the Campfire channel (37signals self-hosted chat) in the Docker image.
Depends on: openclaw/openclaw#7883 (Campfire channel plugin — now open for review)
Changes
scripts/configure.jsCAMPFIRE_BOT_KEY,CAMPFIRE_BASE_URL,CAMPFIRE_WEBHOOK_PATH,CAMPFIRE_GROUP_POLICY,CAMPFIRE_GROUP_ALLOW_FROMscripts/entrypoint.shAUTH_PASSWORDis set, nginx basic auth blocks external webhook POSTs. These location blocks bypass basic auth for webhook paths while maintaining security:limit_except POST { deny all; }rejects non-POST requests at nginx levelserver-http.ts:501-522only gates/api/channels/*), so webhooks reach the channel plugin directlyEnvironment variables
CAMPFIRE_BOT_KEY{id}-{token})CAMPFIRE_BASE_URLhttps://campfire.example.com)CAMPFIRE_WEBHOOK_PATH/campfire)CAMPFIRE_GROUP_POLICYdisabled,allowlist, oropenCAMPFIRE_GROUP_ALLOW_FROMNote
This PR is a draft because it depends on the Campfire channel plugin being merged into openclaw first (openclaw/openclaw#7883). Once that lands and a new base image is built, this will work end-to-end.