rustdesk-undercover/src
RustDesk ab64a32f30
avatar (#14440)
* avatar

* refactor avatar display: unify rendering and resolve at use time

  - Extract buildAvatarWidget() in common.dart to share avatar rendering
    logic across desktop settings, desktop CM and mobile CM
  - Add resolve_avatar_url() in Rust, exposed via FFI (SyncReturn),
    to resolve relative avatar paths (e.g. "/avatar/xxx") to absolute URLs
  - Store avatar as-is in local config, only resolve when displaying
    (settings page) or sending (LoginRequest)
  - Resolve avatar in LoginRequest before sending to remote peer
  - Add error handling for network image load failures
  - Guard against empty client.name[0] crash
  - Show avatar in mobile settings page account tile

Signed-off-by: 21pages <sunboeasy@gmail.com>

* web: implement mainResolveAvatarUrl via js getByName

Signed-off-by: 21pages <sunboeasy@gmail.com>

* increase ipc Data enum size limit to 120 bytes

Signed-off-by: 21pages <sunboeasy@gmail.com>

---------

Signed-off-by: 21pages <sunboeasy@gmail.com>
Co-authored-by: 21pages <sunboeasy@gmail.com>
2026-03-04 21:43:19 +08:00
..
client feat(fs): delegate win --server file reading to CM (#13736) 2025-12-28 15:39:35 +08:00
hbbs_http avatar (#14440) 2026-03-04 21:43:19 +08:00
lang Update ko.rs (#14418) 2026-02-27 20:14:14 +08:00
platform fix(update): macos, test before update (#14446) 2026-03-03 10:47:32 +08:00
plugin refact: remove unnecessary printing (#12000) 2025-06-06 14:52:01 +08:00
privacy_mode feat(macos): initial privacy mode support [a simple try] (#14102) 2026-01-27 16:38:37 +08:00
server avatar (#14440) 2026-03-04 21:43:19 +08:00
ui avatar (#14440) 2026-03-04 21:43:19 +08:00
whiteboard feat: cursor, linux, Xwayland (#12859) 2025-09-06 20:35:51 +08:00
auth_2fa.rs trust this device to skip 2fa (#9012) 2024-08-12 18:08:33 +08:00
cli.rs revert back to async_trait since having to use 1.75 because of win7 2024-03-27 03:36:33 +08:00
client.rs avatar (#14440) 2026-03-04 21:43:19 +08:00
clipboard.rs fix: correct typos and improve code clarity (#14341) 2026-02-17 14:29:50 +08:00
clipboard_file.rs feat: clipboard files, audit (#12730) 2025-08-25 22:29:53 +08:00
common.rs fix(update): revert check (#14423) 2026-02-28 16:33:54 +08:00
core_main.rs feat: windows, custom client, update (#13687) 2026-02-27 21:50:20 +08:00
custom_server.rs A=b, A case insensitive (#9976) 2024-11-20 19:44:24 +08:00
flutter.rs fix: wayland controlled side, cursor misalignment (#13537) 2025-11-18 00:37:15 +08:00
flutter_ffi.rs avatar (#14440) 2026-03-04 21:43:19 +08:00
hbbs_http.rs refact: tls, native-tls fallback rustls-tls (#13263) 2025-11-03 23:21:01 +08:00
ipc.rs avatar (#14440) 2026-03-04 21:43:19 +08:00
kcp_stream.rs fix kcp_stream 2025-06-13 00:30:21 +08:00
keyboard.rs feat: Add relative mouse mode (#13928) 2026-01-09 10:03:14 +08:00
lan.rs refact: suppress warns on macos (#12449) 2025-08-18 15:09:11 +08:00
lang.rs fix: custom client, contains RustDesk (#13783) 2025-12-11 21:17:42 +08:00
lib.rs feat: Add relative mouse mode (#13928) 2026-01-09 10:03:14 +08:00
main.rs refact: rust backtrace logs (#13467) 2025-11-10 15:43:46 +08:00
naming.rs fix: http/https proxy (#7821) 2024-04-25 11:46:21 +08:00
port_forward.rs change port forward listen to localhost 2026-02-24 21:57:55 +08:00
privacy_mode.rs feat(macos): initial privacy mode support [a simple try] (#14102) 2026-01-27 16:38:37 +08:00
rendezvous_mediator.rs feat: windows, custom client, update (#13687) 2026-02-27 21:50:20 +08:00
server.rs Fix some single device multiple ids scenarios on MacOS (#14196) 2026-02-15 16:12:26 +08:00
service.rs missed file 2025-01-01 23:11:38 +08:00
tray.rs fix hide-tray=Y causing The application “RustDesk.app” is not open anymore. https://github.com/rustdesk/rustdesk/discussions/10210 (#14127) 2026-01-23 19:09:33 +08:00
ui.rs Allow configuring remote control permissions for different users (#13974) 2026-01-09 00:21:28 +08:00
ui_cm_interface.rs avatar (#14440) 2026-03-04 21:43:19 +08:00
ui_interface.rs avatar (#14440) 2026-03-04 21:43:19 +08:00
ui_session_interface.rs feat: Add relative mouse mode (#13928) 2026-01-09 10:03:14 +08:00
updater.rs feat: windows, custom client, update (#13687) 2026-02-27 21:50:20 +08:00
virtual_display_manager.rs fix: uninstall, idd (#13142) 2025-10-12 09:14:21 +08:00