Commit Graph
414 Commits
Author SHA1 Message Date
thomasandClaude Opus 4.8 e28d3bf53d admin: Remove default Chinese welcome message
Build & Push Docker Image / docker (push) Failing after 13s
Empty conf/admin/hello.html so the admin dashboard no longer shows the
"你好 ... 欢迎使用 RustDesk API" welcome card by default.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 13:00:07 +02:00
thomasandClaude Opus 4.8 6dfd40a10f docs: Add self-contained docker-compose.yml.example
Build & Push Docker Image / docker (push) Failing after 13s
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>
2026-06-27 12:46:40 +02:00
thomasandClaude Opus 4.8 05f919777f config: Default language to English (en)
Build & Push Docker Image / docker (push) Failing after 13s
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>
2026-06-27 12:33:05 +02:00
thomasandClaude Opus 4.8 0735892b46 ci: Publish Docker image to Gitea registry only
Build & Push Docker Image / docker (push) Failing after 2m34s
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>
2026-06-27 12:23:06 +02:00
thomasandClaude Opus 4.8 16e97c8efa i18n: Translate all Chinese to English across the codebase
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>
2026-06-27 12:17:04 +02:00
lejianwen c5687e1506 docs: Removed webclient2 because of DMCA 2025-09-29 09:41:07 +08:00
lejianwen 222792419f feat!: Removed webclient2 because of DMCA v2.7 2025-09-28 20:08:28 +08:00
lejianwen 04789e08d5 feat!: Removed webclient2 because of DMCA 2025-09-27 11:30:37 +08:00
lejianwen 929f6ddf20 feat: WebClient 1.4.2 2025-09-12 15:11:49 +08:00
nomoneynolife 6e3b16d425 feat:ldap allow-group (#388) 2025-09-05 12:53:45 +08:00
Tom ce0291a8f9 feat: add TLS configuration option for MySQL (#384) 2025-09-03 19:43:16 +08:00
lejianwen faee954f6d docs: readme 2025-09-01 21:36:27 +08:00
lejianwen f09c898f16 feat(peer): add alias field and support filtering by alias 2025-08-31 13:39:22 +08:00
lejianwen a7c087afbb fix!: Update peer to use ID instead of UUID 2025-08-31 12:46:54 +08:00
lejianwen 07dfba9d59 fix: The callback URL is based on the configured API SERVER because the project might be behind an Nginx reverse proxy. If the Origin/Host is forgotten to configure the reverse proxy, it will be incorrect 2025-08-10 15:48:11 +08:00
lejianwen 448725b760 fix: Normal user can not change the name of their own address book (#341) 2025-08-10 11:17:51 +08:00
Tao Chen b6be4dea21 feat: Optimize login workflow (#345)
* add "disable_pwd" and "auto_oidc" at /admin/login-options

* fix: build RedirectURL by host and scheme, not Origin
2025-07-31 10:46:11 +08:00
caicob 862a1d431e docs: README_EN.md (#340) 2025-07-31 10:42:56 +08:00
startgo 8819c85ef4 feat: Update zh_TW.toml (#322)
Corrected translation to match Taiwanese Traditional Chinese usage
2025-07-19 21:08:40 +08:00
lejianwen e2ec387ba2 feat(captcha): The captcha generates uppercase letter images, but it can only recognize them as lowercase (#319) 2025-07-14 20:36:33 +08:00
lejianwen 1d2d1d4c98 fix: Oauth callback url is fixed to host+/api/oidc/callback (#314) 2025-07-11 09:55:48 +08:00
Plynksiy Nikita 16b941e37f docs: add note about requiring conf and resources directories (or specifying paths via -c and RUSTDESK_API_GIN_RESOURCES_PATH) when running without docker (#311) 2025-07-09 09:43:56 +08:00
lejianwen ff2c79a316 feat(user): add remark field to User model and form (#307) 2025-07-08 12:14:46 +08:00
lejianwen b3aee87655 feat: Update database version constant to 264 2025-07-08 12:13:31 +08:00
k3-cat 73a8461a2d feat: Improve oauth redirect (#303)
* 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
2025-07-04 14:30:07 +08:00
k3-cat af4813db30 feat: better autorenewal (#305) 2025-07-04 14:27:47 +08:00
Plynksiy Nikita 9d2b589faa feat(password): Password hashing with bcrypt (#290)
* feat(password): add configurable password hashing with md5 and bcrypt

* docs: add password hashing algorithm configuration (bcrypt/md5)

* feat(password): better bcrypt fallback and minor refactoring

* feat(password): handle errors in password encryption and verification

* feat(password): remove password hashing algorithm configuration
2025-06-24 17:23:36 +08:00
Plynksiy Nikita aa04b225b9 feat: Use crypto/rand for secure random string generation (#293) 2025-06-18 20:47:24 +08:00
Plynksiy Nikita fb34d0ac83 fix: correct typo in build arg FRONTEND_GIT_REPO (#292) 2025-06-18 20:42:13 +08:00
Plynksiy Nikita f68ec8f3a1 feat(i18n): replace hardcoded messages with translated strings (#289) 2025-06-17 09:05:10 +08:00
lejianwen 4b16ad29bb chore: Update Go version to 1.23 in build configurations 2025-06-16 15:41:16 +08:00
lejianwen c554ff4a31 docs: Update swagger docs 2025-06-16 12:31:48 +08:00
lejianwen 791a1850b8 feat: Add PostgreSQL support and refactor MySQL DSN handling (#284) 2025-06-16 12:26:08 +08:00
lejianwen 175fdc3bd4 feat: Add start time in /api/sysinfover 2025-06-16 12:23:48 +08:00
lejianwen f20414b3a5 fix(admin): Use admin-hello first
(#274) (#255)
2025-06-15 15:33:12 +08:00
puyujian bf39a29e6c feat(oauth): 支持linux.do登录 (#280)
* 支持linux.do登录

* 修正
2025-06-15 15:32:20 +08:00
lejianwen 4ba805ac5f chore: update download links for musl cross-compilers 2025-06-05 12:14:17 +08:00
lejianwen b2d71d4312 fix: Init sqlite fail(#266) 2025-06-04 09:31:43 +08:00
lejianwen a35fa6f9a8 fix(server): Port custom (#257) 2025-05-30 12:27:37 +08:00
lejianwen 83baa140f5 fix: Captcha some problem when users login with same ip 2025-05-27 17:36:20 +08:00
lejianwen b6eaa4b061 docs: Readme 2025-05-25 17:44:29 +08:00
lejianwen d4fdf3785b feat(register): Register status can be set (#223) 2025-05-25 17:03:13 +08:00
lejianwen f2ea022965 feat(login): Captcha upgrade and add the function to ban IP addresses (#250) 2025-05-25 16:52:58 +08:00
Tao Chen fe4a115c9d fix: dn should be case-insensitive (#250) 2025-05-21 09:07:08 +08:00
lejianwen 4412f0309c feat(webclient): Web client to 1.4.0 2025-05-12 20:16:08 +08:00
lejianwen dd78911ed9 fix: PageSize (#225) 2025-05-06 19:08:18 +08:00
lejianwen b23a9bde8e chore: Noelware/docker-manifest-action 2025-04-25 16:20:36 +08:00
lejianwen 3fe7184b4b chore: Noelware/docker-manifest-action 2025-04-25 14:34:45 +08:00
lejianwen 4637879091 style: Oauth page languages 2025-04-24 21:52:43 +08:00
lejianwen 6d1184d332 style: Remove useless configurations 2025-04-15 10:52:46 +08:00