15 Commits
Author SHA1 Message Date
Morris 347e723583 fix: resolve client IP behind proxy and align upload limits
Verify control plane / verify (pull_request) Canceled after 0s
Bug 1 (high): login rate limiting used request.getRemoteAddr(), which is
always the nginx container address. Every client shared one bucket, so any
anonymous caller could lock the whole platform out of login for 60 seconds.

- Add ClientIp to resolve the real address, honouring X-Real-IP /
  X-Forwarded-For only when the direct peer is a proxy we operate
  (loopback, private or container range). Public peers cannot spoof.
- Prefer X-Real-IP, fall back to the right-most X-Forwarded-For entry so
  client-supplied prefixes are ignored. Guard with an IP literal check so
  a malformed header can never trigger a DNS lookup.
- nginx now overwrites the forwarded headers with $remote_addr instead of
  clearing them, so spoofed values never reach the backend.
- Add a global login ceiling (600/60s) well above the per-address limit.

Bug 2: the landing page had no login entry point on mobile. The collapsed
menu button was permanently display:none and the login link was hidden
below 550px, leaving no way to reach an account.

- Show the menu button below 850px, render nav as a dropdown panel.
- Add a login item inside the collapsed menu.

Bug 3: upload size limits disagreed across three layers. nginx capped
requests at 1m while the backend and UI advertise 25MiB, so any file over
1 MiB failed with nginx's HTML error page.

- Raise client_max_body_size to 26m to match the backend.
- Return 413 as JSON matching the API error shape.

Tests: 153 backend tests pass, including 10 new ClientIpTest cases
covering spoofed headers, right-most entry selection, IPv4-mapped IPv6,
and malformed values.
2026-11-14 09:33:03 +08:00
WebUp Cloud 4401c84f4a Configure encrypted environment for source releases
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-08 23:31:17 +08:00
WebUp Cloud d1d14f0f77 Publish AI workspace source through the isolated runtime
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-08 17:29:54 +08:00
xhgit 03169bd0f6 Merge pull request '支持管理员开启 IP 项目访问入口' (#14) from codex/hosting-ip-entry into main
Verify control plane / verify (push) Canceled after 0s
Reviewed-on: http://git.xhmcl.com/xhgit/webup-cloud/pulls/14
2026-11-08 04:31:47 +00:00
WebUp Cloud 2f93fb023a Add administrator-controlled IP project entry redirects
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-08 12:25:01 +08:00
WebUp Cloud ffb36e3e24 Show the current hosting publication requirements
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-08 12:18:51 +08:00
xhgit 1f25bbd1f9 Merge pull request '上下文压缩日志仅显示状态' (#12) from codex/quiet-context-compaction into main
Verify control plane / verify (push) Canceled after 0s
Reviewed-on: http://git.xhmcl.com/xhgit/webup-cloud/pulls/12
2026-11-08 04:03:07 +00:00
WebUp Cloud 3296d378c9 Show actual file changes recorded for each Agent task
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-08 09:10:32 +08:00
WebUp Cloud 49fe904626 Keep context compaction logs to a status line
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-08 09:05:23 +08:00
WebUp Cloud 891e4896cc Show enabled models and current prices in the member console
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-08 08:57:24 +08:00
xhgit 43b5e24453 Merge pull request 'AI 开发支持确认后手动停止任务' (#4) from codex/confirm-stop-ai-task into main
Verify control plane / verify (push) Canceled after 0s
Reviewed-on: http://git.xhmcl.com/xhgit/webup-cloud/pulls/4
2026-11-07 16:37:22 +00:00
WebUp Cloud fb82821dc7 Confirm manual task stops and protect cancellation state
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-07 23:06:52 +08:00
WebUp Cloud cb896bb0fa Recover transient sandbox connections before executing tools
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2026-11-07 19:07:16 +08:00
WebUp Cloud 6c5224fb6f Follow the latest task logs while reading the tail
Verify control plane / verify (pull_request) Canceled after 0s
Verify control plane / verify (push) Canceled after 0s
2026-11-07 18:48:36 +08:00
WebUp Cloud db82325ed7 Initial import of WebUp Cloud
Verify control plane / verify (push) Canceled after 0s
2026-11-07 13:31:14 +08:00