fufesou
2459bcd206
Fix. Multi sub windows, sync peer options ( #7247 )
...
* Fix. Multi window, sync peer options
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Remove unused `use`
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-23 22:49:53 +08:00
fufesou
09325fadaf
Fix. Text clipboard is not working correctly ( #7226 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-22 13:44:44 +08:00
21pages
bf5abdb520
refactor windows specific session, file transfer and waiting for image ( #7184 )
...
* refactor windows specific session, file transfer and waiting for image
1. File transfer doesn't show directory until correct session id is ensured
2. Fix file transfer, caused by `pi.username = self.lc.read().unwrap().get_username(&pi);` in `handle_peer_info` override empty username and `get_active_username` doesn't return currect session username
* Fix home directory not change when session changed, or wrong home directory
* Fix show empty remote directory rather than error messagbox when current session is in login screen
3. Show `Connected, waiting for image` after user choose the same
session id
Signed-off-by: 21pages <pages21@163.com>
* update translations
Signed-off-by: 21pages <pages21@163.com>
* Update connection.rs
---------
Signed-off-by: 21pages <pages21@163.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-02-19 10:32:13 +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
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
fufesou
ab28acd709
fix, android switch display. Remove old display video subscription.
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-30 16:27:20 +08:00
dignow
02bc5e3111
debug, query_onlines_block_thread
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-11-16 10:32:22 +08:00
dignow
5a51284550
fix, query onlines, block current ffi thread
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-11-16 10:32:22 +08:00
rustdesk
d7e8d4d5c3
fix #6198
2023-11-06 20:12:01 +08:00
21pages
663d355a48
cm file delete/create log
...
Signed-off-by: 21pages <pages21@163.com>
2023-11-06 14:24:50 +08:00
fufesou
c871af2711
fix build
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-01 21:03:57 +08:00
fufesou
58d073b516
fix, remove unused capturer when switching display
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-01 19:53:37 +08:00
21pages
f05f86dc80
444
...
Signed-off-by: 21pages <pages21@163.com>
2023-10-30 18:46:56 +08:00
fufesou
725a44abd8
feat, win virtual display
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-10-27 20:12:33 +08:00
dignow
fe3924b432
try stop video capturing, on close window
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-18 20:50:20 +08:00
dignow
2cc0bf22cb
fix, non-texture render, next_rgba
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-16 00:20:41 +08:00
dignow
013d307bcd
feat, multi_flutter_ui_sessions
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-14 12:26:24 +08:00
fufesou
06987c4ca9
refact, flutter sessions lock
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-10-03 09:51:21 +08:00
dignow
7fcb3d70bb
fix, reconnect deadlock, introduce connection round control
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-30 22:07:14 +08:00
dignow
69062dca16
fix, dialog button, reconnect cancel in a short time
...
1. Two `reconnect` is called.
2. The window cannot be closed.
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-29 21:42:49 +08:00
RustDesk
78f5b1e607
Merge pull request #5623 from 21pages/cm_file
...
add file log page to cm
2023-09-07 20:33:00 +08:00
21pages
2afce3f1f4
add file log page to cm
...
* Only send and receive logs are shown
* For older version, client send to server doesn't have size information, because server side doesn't know the total_size
* Not switch tabs automatically when new files are transferred
* If cm side page is open, not pop up automatically when new files are transferred
* Show unread message count
* The cm tab remains open when closed if a file transfer has previously occurred
Signed-off-by: 21pages <pages21@163.com>
2023-09-07 19:51:25 +08:00
rustdesk
5b802e9edd
Merge branch 'ios_1.2.2'
2023-09-03 00:16:08 +08:00
dignow
7671ed857d
ios add dummy call and remove some lookup functions
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-30 13:49:10 +08:00
RustDesk
66ad519dbd
Merge pull request #5386 from dignow/refact/tab_2_window_flutter_data
...
Refact/tab 2 window flutter data
2023-08-23 12:52:19 +08:00
dignow
fad88c2718
refact, tab to window, remove rust cache data
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-14 21:04:24 +08:00
dignow
6368ab691c
simple refactor, move code from flutter_ffi.rs to flutter.rs
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 16:08:30 +08:00
21pages
52bffd4030
fix waiting for image, should not await dialogManager.show
...
Signed-off-by: 21pages <pages21@163.com>
2023-08-09 15:12:24 +08:00
RustDesk
7f7e8692a8
Merge pull request #5274 from 21pages/fix
...
remove flutter extra "waiting for image"
2023-08-07 10:44:33 +08:00
21pages
186f5ed39c
remove flutter extra "waiting for image"
...
Signed-off-by: 21pages <pages21@163.com>
2023-08-07 09:23:08 +08:00
dignow
46233a0f4c
fix, event stream key
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-07 09:12:43 +08:00
dignow
7dcb28ce33
fix, separate window, event stream leak
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-07 09:01:31 +08:00
RustDesk
152616a261
Merge pull request #5256 from dignow/refact/separate_remote_window
...
Refact/separate remote window
2023-08-06 09:31:05 +08:00
21pages
bc039a31c5
try fix waiting for image when already shown
...
Signed-off-by: 21pages <pages21@163.com>
2023-08-05 22:13:11 +08:00
dignow
1970795093
refact, separate remote window, tmp commit
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-05 18:01:07 +08:00
dignow
f495bf105f
refact, separate remote window
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-05 18:01:05 +08:00
21pages
aa740f4263
remove many unwrap and enum_value_or_default
...
Signed-off-by: 21pages <pages21@163.com>
2023-07-23 20:00:58 +08:00
dignow
e80da4af0d
debug, win, privacy mode, broker
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-09 02:06:24 +08:00
dignow
32c349dd8b
tmp commit
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-09 02:06:24 +08:00
dignow
1648895156
fix, win privacy mode, broker process
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-09 02:06:24 +08:00
rustdesk
9fa9128892
exit directly in rustdesk_core_main for macos
2023-06-28 12:05:27 +08:00
fufesou
23784eddd3
version-compatible original resolution
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-06-17 18:34:55 +08:00
21pages
2ececed0c1
use uuid as session id
...
Signed-off-by: 21pages <pages21@163.com>
2023-06-08 07:24:02 +08:00
fufesou
07500013ff
resolution, mid commit, to debug
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-18 23:46:53 +08:00
fufesou
edf6b00f13
remove all assert in non-test code
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 14:40:33 +08:00
Kingtous
56f1b75b52
fix: port forward & RDP check
2023-05-15 00:33:58 +08:00
Kingtous
34314e50f7
feat: callbacks and flutter msg bridge
2023-05-04 13:18:19 +08:00
fufesou
c315924ef7
plugin_framework, fix dup ui widgets
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-29 12:34:34 +08:00
Kingtous
6da5bef064
fix: ignore session hook on android/ios
2023-04-28 19:17:20 +08:00