Add Slackbot slash command endpoint#223
Merged
Merged
Conversation
- Updated `docs/scripts.md` to include repository-level script conventions, recommended entry points, Kamal command patterns, and a script maintenance checklist. - Modified `TurnstileGate` component tests to check for the appearance attribute in the mocked Turnstile component. - Changed the `TurnstileGate` component to set the appearance option to 'always'. - Expanded API documentation in `endpoints.md` to include new endpoints for static map assets and resource geometry. - Updated parameter documentation in `parameters.md` to reflect changes in resource ID handling and added a new parameter for static map assets.
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.
Summary
Adds a first-class BTAA Geoportal Slackbot slash-command endpoint backed by the existing API search service.
Changes
POST /api/v1/slack/commandswith Slack request signature verification.GET /api/v1/slackstatus/configuration info.SLACK_SIGNING_SECRETandSLACK_BOT_COMMAND.Validation
backend/.venv/bin/ruff check backend/app/services/slackbot_service.py backend/app/api/v1/endpoint_modules/slack.py backend/tests/services/test_slackbot_service.py backend/tests/api/v1/test_slack_endpoints.py backend/app/api/v1/endpoints.pygit diff --checkAPP_ENV=testand rate limiting disabled.Full targeted pytest could not run locally because the backend pytest harness requires the ParadeDB test service, and
dockerwas not available on this shell PATH.