rustdesk
cc482c589c
XDG_SESSION_TYPE as final backup
2024-05-04 17:22:43 +08:00
fufesou
890b735985
fix: test case, test_if_valid_server ( #7903 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-05-04 14:06:41 +08:00
rustdesk
abbd4c8934
fix ci
2024-05-03 03:24:22 +08:00
rustdesk
b5f6a9c91a
fix one flatpak feature missing
2024-05-03 02:52:41 +08:00
fufesou
1dfbaa1e02
fix: test if valid server, control if try test with proxy ( #7858 )
...
* fix: test if valid server, control if try test with proxy
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* fix: build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-28 14:22:21 +08:00
fufesou
22e58d7623
fix: test if valid server ( #7856 )
...
* fix : #7853 , test if valid server
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact comments
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-28 12:17:39 +08:00
Sahil Yeole
3811f41076
Feat: Follow remote cursor and window focus | Auto display switch ( #7717 )
...
* feat: auto switch display on follow remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* feat: auto switch display on follow remote window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build and remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix linux get_focused_window_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* lock show remote cursor when follow remote cursor is enabled
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix config
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* prevent auto display switch on show all display and displays as individual windows
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused function
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unwraps and improve iterations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* set updateCursorPos to false to avoid interrupting remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update lang
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update checks for options and enable in view mode
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use focused display index for window focus service
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use window center for windows display focused
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use libxdo instead of xdotool
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multi monitor check
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* enable show cursor when follow cursor is default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove show_all_displays,use runtime state instead
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix show cursor lock state on default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove view mode with follow options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use separate message for follow current display
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* sciter support for follow remote cursor and window
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add check for ui session handlers count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use cached displays and remove peer info write
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* No follow options when show all displays
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* No follow options when multi ui session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* turn off follow options when not used|prevent msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use window center for switch in linux
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use subbed display count to prevent switch msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* move subbed displays count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add noperms for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add subscribe for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove window_focus message and unsub on multi ui
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add multi ui session field
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-04-25 13:26:02 +08:00
yuluo
43a0a4f8e0
fix: http/https proxy ( #7821 )
...
* add http(s) proxy
* Add front-end translation
* fix ui description
* For linux platform, add rustls support
* fix: Fix the proxy address test function.
* add: Added default prompts for agency agreement and some multi-language translations
* add: Http proxy request client
* fix: add async http proxy func and format the code
* add: Preliminary support for flutter front-end calling rust back-end http request
* Optimize HTTP calls
* Optimize HTTP calls
* fix: Optimize HTTP requests, refine translations, and fix dependencies
* fix: Win and macOS compilation errors
* fix: web platforms
* fix: Optimize import
* fix: Fix web platform issues
* fix: Fix web platform issues
* fix: update ci
* fix: test ci
* test: test CI
* Revert "fix: update ci"
This reverts commit 2e5f247b2e
.
* test: test CI
* test: test CI
* fix: fix lock file
* fix: Optimize imports
2024-04-25 11:46:21 +08:00
Cong Zhang
bc68f400f6
fix: add support for headless in docker ( #7811 )
2024-04-24 09:47:45 +08:00
RustDesk
ac7f8a6447
Revert "http/https proxy ( #7600 )" ( #7801 )
...
This reverts commit da57fcb641
.
2024-04-23 15:26:16 +08:00
yuluo
da57fcb641
http/https proxy ( #7600 )
...
* add http(s) proxy
* Add front-end translation
* fix ui description
* For linux platform, add rustls support
* fix: Fix the proxy address test function.
* add: Added default prompts for agency agreement and some multi-language translations
* add: Http proxy request client
* fix: add async http proxy func and format the code
* add: Preliminary support for flutter front-end calling rust back-end http request
* Optimize HTTP calls
* Optimize HTTP calls
* fix: Optimize HTTP requests, refine translations, and fix dependencies
2024-04-23 15:00:23 +08:00
fufesou
4f47d4482b
refact: win, idd control ( #7789 )
...
* refact: win, idd control
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: win device control, better addr of
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: simple refact
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-22 10:37:08 +08:00
fufesou
d920953df1
typo ( #7783 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-20 15:28:33 +08:00
rustdesk
f02a2e44d8
remove temp support_windows_specific_session
2024-04-20 15:13:04 +08:00
fufesou
fb1aa9c028
Fix. Multi-display connection, resolutions ( #7782 )
...
* fix: multi-display, change resolution
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* fix: multi-displays, resolutions of displays
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* fix: build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: Function rename
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact. Function rename
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-20 14:54:23 +08:00
fufesou
a7a10f4eaa
Refact. Win, file copy paste, default true ( #7719 )
...
* Refact. Win, file copy paste, default true
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Fix. File copy and paste menu, compatible with 1.2.3
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-14 21:25:26 +08:00
21pages
98df2b111e
hwcodec uses one repository ( #7701 )
...
* update hwcodec, gpucodec repo is merged to hwcodec
Signed-off-by: 21pages <pages21@163.com>
* rename gpucodec.rs to vram.rs
Signed-off-by: 21pages <pages21@163.com>
* rename all gpucodec to vram, because vram is a feature of hwcodec
Signed-off-by: 21pages <pages21@163.com>
* use one check process and one config file
* set check encode image size to 720p
Signed-off-by: 21pages <pages21@163.com>
---------
Signed-off-by: 21pages <pages21@163.com>
2024-04-12 17:26:24 +08:00
rustdesk
d8875f381b
protobuf 3.4
2024-04-12 11:38:19 +08:00
fufesou
2e11a8b458
Fix. Linux, run_cmds, trim new line ( #7579 )
...
* Fix. Linux, run_cmds, trim new line
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* add tests
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-02 14:47:13 +08:00
hzhou
7fb2464d84
fix sysinfo update when id change, and add debug info for pk change
2024-04-01 16:21:05 +08:00
21pages
96e1b5b0f6
remove deserializing config option using default config ( #7491 )
...
Signed-off-by: 21pages <pages21@163.com>
Co-authored-by: squarer3 <squalerblack@gmail.com>
2024-03-24 11:20:12 +08:00
rustdesk
1c3a2e475d
safer handle_intranet
2024-03-23 00:56:18 +08:00
Nadahar
2ea853b1e6
Fixed CPU performance montor on non-English Windows ( #7446 )
...
Signed-off-by: Nadahar <Nadahar@users.noreply.github.com>
2024-03-21 10:12:17 +08:00
21pages
41da6d552f
shared address book ( #7229 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-03-20 15:05:54 +08:00
rustdesk
6cbbb6498f
init_log once
2024-03-16 22:20:50 +08:00
rustdesk
fe0de47805
preset password warning
2024-03-16 11:52:48 +08:00
rustdesk
077569dd5d
better option save
2024-03-16 01:51:16 +08:00
fufesou
3d279ec127
fix build ( #7397 )
...
* fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* fmt
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-03-15 17:46:36 +08:00
fufesou
48cd76b938
Fix. Linux run commands, getent passwd ( #7396 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-03-15 17:26:33 +08:00
rustdesk
fc875f7ad6
more on custom client
2024-03-12 21:47:29 +08:00
rustdesk
7060257051
Remove some arc, and add some custom client
2024-03-10 12:48:00 +08:00
rustdesk
262814391a
fix ci
2024-03-08 00:47:21 +08:00
rustdesk
b32cf403e6
overwrite config
2024-03-08 00:22:52 +08:00
21pages
50d080d098
enable retina scale factor ( #7269 )
...
* enable retina scale factor
* enabled only when there are only one video service running
* scale mouse event
* scale cursor position
* scale remote menu display button
* adjust resolution
Signed-off-by: 21pages <pages21@163.com>
* Update server.rs
---------
Signed-off-by: 21pages <pages21@163.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-02-27 22:28:23 +08:00
fufesou
1dde5c5689
Refact. get_version_number support '- patch version' ( #7197 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-24 20:11:27 +08:00
21pages
0f44de7dc3
refactor windows specific session ( #7170 )
...
1. Modify the process to have the control side lead the session switching: After the control side sends a `LoginRequest`, the controlled side will add all session information and the current session ID in the `LoginResponse`. Upon receiving the `LoginResponse`, the control side will check if the current session ID matches the ID in the `LoginConfigHandler`. If they match, the control side will send the current session ID. If they don't match, a session selection dialog will pop up, the selected session id will be sent. Upon receiving this message, the controlled side will restart if different or sub service if same .
2. Always show physical console session on the top
3. Show running session and distinguish sessions with the same name
4. Not sub service until correct session id is ensured
5. Fix switch sides not work for multisession session
6. Remove all session string join/split except get_available_sessions in
windows.rs
7. Fix prelogin, when share rdp is enabled and there is a rdp session,
the console is in login screen, get_active_username will be the rdp's
username and prelogin will be false, cm can't be created an that
causes disconnection in a loop
8. Rename all user session to windows session
Known issue:
1. Use current process session id for `run_as_user`, sahil says it can
be wrong but I didn't reproduce.
2. Have not change tray process to current session
3. File transfer doesn't update home directory when session changed
4. When it's in login screen, remote file directory is empty, because cm
have not start up
Signed-off-by: 21pages <pages21@163.com>
2024-02-18 22:08:25 +08:00
Sahil Yeole
4bf3764b5d
Feat: Windows connect to a specific user session ( #6825 )
...
* feat windows connect to specific user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix import
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multiple user session fields
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix file transfer
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix text color on light theme
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* feat windows connect to specific user session code changes and sciter support
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update texts
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix sciter selected user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add translations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Use Y,N options
* feat windows specific user code changes
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Update dialog.dart
* Update connection.rs
* Update connection.rs
* feat windows specific user code changes
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix sciter
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use lr.union
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused peer options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* select user only when authorised and no existing connection
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* check for multiple users only once
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* optimise and add check for client version
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use misc option message
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update rdp user session proto
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix show cm on user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Update pl.rs
* update on_message
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix cm
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove user_session_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix cm
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multiple connections
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2024-02-14 23:59:17 +08:00
rustdesk
72fc34cd40
upgrade to tokio 1.36
2024-02-14 12:19:18 +08:00
rustdesk
44e6b7dbb0
2fa for unattended access
2024-01-19 15:35:58 +08:00
rustdesk
fdb038c7c9
one byte for future use
2024-01-10 11:48:23 +08:00
rustdesk
f7b35defc9
finish tcp rendezvous keep alive logic following mqtt, but defined by
...
server so that it can be easily to be controlled at server side.
2024-01-09 22:41:11 +08:00
21pages
89150317e1
add zero copy mode hareware codec for windows ( #6778 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-02 16:58:10 +08:00
rustdesk
36ed8f3f73
change REG_INTERVAL to 15 seconds to follow quic
2024-01-02 13:42:32 +08:00
RustDesk
ebb14af488
Revert "use fullrange by default for yuv420p if supported ( #6655 )" ( #6656 )
...
This reverts commit 80afa98d66
.
2023-12-11 22:46:32 +08:00
21pages
80afa98d66
use fullrange by default for yuv420p if supported ( #6655 )
...
1. Explicitly specify the color space as bt601
2. Use fullrange by default for yuv420p if supported
3. Use the pix_fmt space range format to identify codec capabilities, make i444 proto field deprecated, and cause the non-release version of 444 true color to fail.
Signed-off-by: 21pages <pages21@163.com>
2023-12-11 22:31:01 +08:00
21pages
03c8d94024
mobile/desktop use same 'other default settings' ( #6652 )
...
1. mobile add 'reverse mouse wheel' default setting
2. change related menu position
Signed-off-by: 21pages <pages21@163.com>
2023-12-11 15:32:13 +08:00
rustdesk
b6e403a3fb
zstd 0.13
2023-11-23 19:35:42 +08:00
fufesou
83dbf88ffb
feat, win10, virtual display, not support message
...
Signed-off-by: fufesou <shuanglongchen@yeah.ne>
2023-11-20 21:44:25 +08:00
21pages
f9ee0189f0
format log, add space after colon
...
Signed-off-by: 21pages <pages21@163.com>
2023-11-18 09:52:46 +08:00
fufesou
90ac8b7b0b
feat/virtual_display_privacy_mode
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-14 12:11:38 +08:00