Full stack example (hbbs + hbbr + rustdesk-api) with everything inline:
public endpoints, a fixed Ed25519 key pair (secret on the servers, public
on the API) and the JWT key. No .env required.
The included key is an example and should be regenerated for production.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Change the default app language from zh-CN to en so that the i18n-seeded
default group names ("Default Group"/"Share Group" instead of 默认组/共享组)
and all backend i18n responses default to English.
Note: existing databases already seeded under zh-CN keep their Chinese
group names and must be renamed manually.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add .gitea/workflows/docker.yml that builds the image via Dockerfile.dev
and pushes it to the Gitea container registry at
git.hackner.dev/thomas/rustdesk-api on pushes to master and on v*.*.* tags.
Remove the GitHub Actions workflows (build.yml, build_test.yml): they push
to Docker Hub and GHCR (not wanted) and rely on GitHub-only features
(GITHUB_TOKEN, GitHub Releases, changelogithub) that do not work on Gitea.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Translate Chinese comments, log/error messages, validator labels and
Swagger annotations to English throughout the source code, generated
Swagger docs, config files and CI workflows.
Make the English README primary: README.md now holds the English docs
and README_EN.md holds the Chinese version, with cross-language links
updated accordingly.
Note: the generated docs/ swagger files were translated in place; run
`go generate ./...` (swag init) to regenerate them from the now-English
annotations when a Go toolchain is available.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* fix: redirects after oauth can potentially misalign with server's actually hostname
* feat: remove `RedirectURL` from oauth config, as it should checked by provider rather than client
* feat: align oauth endpoint with the hostname in requests