mirror of
https://github.com/WeblateOrg/weblate.git
synced 2026-07-30 20:27:03 +08:00
Rework GitHub App webhook delivery, configuration and backend availability so an App is identified explicitly and resolves reliably across worker processes. - Add a dedicated authenticated webhook endpoint /hooks/integrations/<uuid:integration_token>/ served by a new IntegrationHookView. The opaque webhook_token (stored on GitHubAppCredentials and baked into the App manifest at registration) maps a delivery to exactly one integration, so its signature is verified against a single secret with no host or repository guessing. - Configure GitHub Apps only through the in-app manifest flow (database). Remove the GITHUB_APP_CREDENTIALS setting, the WEBLATE_GITHUB_APP_* environment variables and get_env_github_app_credentials. - Always register the GitHubAppRepository backend (is_configured() is no longer gated on the database-backed credentials, which the process-wide VCS registry cache would otherwise freeze stale until a restart - hiding the backend and making the import button preselect the wrong VCS). Git availability still gates it. Whether to offer it in the UI is decided per request via github_app_is_configured(). |
||
|---|---|---|
| .. | ||
| steps | ||
| docker.rst | ||
| kubernetes.rst | ||
| openshift.rst | ||
| source.rst | ||
| venv-debian.rst | ||
| venv-macos.rst | ||
| venv-redhat.rst | ||
| venv-suse.rst | ||