Commit Graph

396 Commits

Author SHA1 Message Date
rustdesk
a28c9f8f36 remove more "rustdesk" built-in 2024-02-25 13:29:06 +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
21pages
1f557888f5
update pubspec.lock, remove some deprecated (#7110)
* fix some warnings and some deprecated reported by `flutter analyze`

Signed-off-by: 21pages <pages21@163.com>

* pubspec.lock changes from flutter 3.16.9

Signed-off-by: 21pages <pages21@163.com>

* pubspec.lock changes from `flutter pub upgrade`

Signed-off-by: 21pages <pages21@163.com>

---------

Signed-off-by: 21pages <pages21@163.com>
2024-02-12 21:39:19 +08:00
21pages
a19d4d6686
upgrade flutter to 3.16.9 (#7099)
Signed-off-by: 21pages <pages21@163.com>
2024-02-11 00:15:11 +08:00
21pages
00fe3a76c8
add popupMenuTheme (#6617)
Signed-off-by: 21pages <pages21@163.com>
2023-12-05 11:34:54 +08:00
21pages
b9a5c6ff31
showToast theme (#6603)
Signed-off-by: 21pages <pages21@163.com>
2023-12-03 22:56:47 +08:00
rustdesk
93aac0bc99 fix #616: support QR for uri link 2023-12-03 22:33:52 +08:00
rustdesk
7fe58afa9c fix #616: make ?key and /r work in uri 2023-12-03 22:18:11 +08:00
rustdesk
9d0f8d9886 Fix #616: add rustdesk://password/<password> for android only 2023-12-03 20:51:53 +08:00
rustdesk
aa7d0471db Fix #616, add rustdesk://config/<config_string> 2023-12-03 20:31:48 +08:00
fufesou
570ce7d28d Refactor, optional parameter 'updateCursorPos'
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-12-02 22:01:05 +08:00
fufesou
99ed1b729e Fix. Do not update cursor pos when switching display on toolbar when 'Show monitors on toolbar'
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-12-02 21:23:19 +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
fufesou
f11104fcb5 tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-29 20:58:39 +08:00
fufesou
90ac8b7b0b feat/virtual_display_privacy_mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-14 12:11:38 +08:00
Sahil Yeole
1365df898f support connect, play & file-transfer on mobile uri
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-11-03 18:31:30 +05:30
Sahil Yeole
6d264b4394 remove extra line
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-11-03 01:51:40 +05:30
Sahil Yeole
284330ed5f use desktop uri format for mobile
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-11-03 01:46:51 +05:30
Sahil Yeole
c14c27970f cold boot uni link mobile
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-11-02 23:57:31 +05:30
Sahil Yeole
b1682d5794 listen and connect to uni link mobile
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-11-02 23:57:31 +05:30
Sahil Yeole
2cdfeb8dd0 fix id field ui not updating on peer card connection
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-10-25 02:36:23 +05:30
21pages
c268a0ab14 show reconnect timeout and dismiss all dialog when show reconnecting
Signed-off-by: 21pages <pages21@163.com>
2023-10-21 15:25:01 +08:00
dignow
676b02c8de fix, macos, close sessions, confirm dialog and then hide
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-20 09:15:53 +08:00
dignow
fb12ba8a2b Change the offset depending on the platform
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-19 12:36:21 +08:00
dignow
80951a8e6e open individual window, add offset
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-19 07:50:59 +08:00
dignow
f9f463e799 fix, use RxBool to sync fullscreen state (remote toolbar)
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-17 14:29:14 +08:00
dignow
af906fac03 debug, open multi windows
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-17 11:11:45 +08:00
dignow
19945df0b3 open_multi_windows, check before move and set fullscreen
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-17 11:11:44 +08:00
dignow
bf83d552f8 feat, open multi windows
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-17 11:11:42 +08:00
dignow
fde8196874 fix several bugs
1. updateCurDisplay, canvas origin (x,y)
2. Do not show "Show displays as individual windows" on non-texture
   render version.

Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-16 07:26:55 +08:00
dignow
b52cf070f5 multi flutter ui sessions, refact 'Show displays as individual windows'
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-14 12:31:57 +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
b15d84359b https://github.com/rustdesk/rustdesk/issues/5986
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-10-12 23:11:11 +08:00
21pages
70c0edcbe7 mobile peer tab right actions dropdown
Signed-off-by: 21pages <pages21@163.com>
2023-10-03 09:27:35 +08:00
dignow
3581e0beed Add comment
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-30 14:21:11 +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
21pages
3eeb0628f5 adjust scrollbar style, peers view support touch pad scroll, settings tab
remove horizontal touch pad scroll

Signed-off-by: 21pages <pages21@163.com>
2023-09-27 10:25:49 +08:00
RustDesk
230eb76532
Merge pull request #5822 from 21pages/me
show username followed by a 'Me' tag
2023-09-26 18:18:01 +08:00
21pages
93f2b288b5 show username followed by a 'Me' tag, use first letter as avatar
Signed-off-by: 21pages <pages21@163.com>
2023-09-26 18:01:33 +08:00
21pages
e000fdfb50 desktop tab lable format: id/alias@hostname
Signed-off-by: 21pages <pages21@163.com>
2023-09-26 15:11:31 +08:00
21pages
b2a4f11e0b enable group, show accessible users and peers
Signed-off-by: 21pages <pages21@163.com>
2023-09-18 13:44:41 +08:00
dignow
88e1245d10 fix, set scrollbar thickness to 12
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-13 21:02:21 +08:00
21pages
a5dcac137f fix dark theme error banner background color
Signed-off-by: 21pages <pages21@163.com>
2023-09-11 11:18:26 +08:00
dignow
5293e3b277 fix, macos, remote fullscreen mode
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-07 21:50:03 +08:00
dignow
55fc0cb63b feat, remember remote window fullscreen state
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-07 13:39:20 +08:00
dignow
ea41a60057 fix, the session image covers android toolbar
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-04 14:17:54 +08:00
dignow
4fc65aac84 Remote window restore, add 300 milliseconds delay for maximizing after the frame is restored
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-03 22:27:42 +08:00
21pages
b27c3ff169 change tag color
Signed-off-by: 21pages <pages21@163.com>
2023-08-22 19:07:01 +08:00
21pages
6045b5fead fix search alias doesn't match in address book
Signed-off-by: 21pages <pages21@163.com>
2023-08-17 17:20:08 +08:00
21pages
e01377e100 tag color same as tag name if name is color, remove yellow random tag color
Signed-off-by: 21pages <pages21@163.com>
2023-08-15 10:22:34 +08:00
RustDesk
b60d2501cb
Merge pull request #5373 from 21pages/fix
fix macos minisized after checking permission
2023-08-14 12:01:24 +08:00
21pages
a5bba37cae add tag color
Signed-off-by: 21pages <pages21@163.com>
2023-08-14 11:58:18 +08:00
21pages
ae640dda56 fix macos minisized after checking permission
Signed-off-by: 21pages <pages21@163.com>
2023-08-13 17:50:19 +08:00
dignow
f5493ab0c4 fix, window maximized state
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-11 19:03:09 +08:00
dignow
d66b10b508 fix windowOnTop, maxmized state
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-11 15:54:21 +08:00
dignow
14cbd842f5 fix https://github.com/rustdesk/rustdesk/issues/5340
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-11 15:03:06 +08:00
dignow
26cd24d92f fix saving frame, maximized
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-11 15:03:06 +08:00
RustDesk
c749ebff46
Merge pull request #5334 from sahilyeole/master
Improve tooltip consistency
2023-08-11 08:07:49 +08:00
dignow
7f6b18fc9c change ffi flutter_config to flutter_option
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 22:27:35 +08:00
Sahil Yeole
66b90c2a08 add global tooltip wait duration
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-08-10 18:32:10 +05:30
dignow
7921be45f5 fix saving peer window pos
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 19:48:26 +08:00
RustDesk
8645e92951
Merge pull request #5316 from 21pages/select
refactor peer card multi select
2023-08-10 08:32:07 +08:00
21pages
3fd58bb69d opt peer card multi select
Signed-off-by: 21pages <pages21@163.com>
2023-08-10 08:23:34 +08:00
dignow
28cbe0f464 fix, set window position before show when reusing window
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-09 18:37:09 +08:00
RustDesk
38d4f29e51
Merge pull request #5298 from 21pages/opt
opt peercard order
2023-08-09 10:52:46 +08:00
dignow
dcad52cf52 add comments
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-08 21:34:46 +08:00
21pages
21cf2a01c7 update idController when create new connection
Signed-off-by: 21pages <pages21@163.com>
2023-08-08 21:20:06 +08:00
dignow
7defb54f15 save window pos
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-08 19:58:30 +08:00
dignow
32fe330946 restore window pos
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-08 18:14:01 +08:00
dignow
ac88f55f25 refact, peer card menu, open in tabs or windows
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-08 13:10:01 +08:00
dignow
dab956fe85 common oidc
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-07 17:25:46 +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
902f56c499 refact, separate remote window, add offset
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-05 18:01:06 +08:00
dignow
1a8463015f refact, separate remote window, connect(separate window)
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-05 18:01:06 +08:00
dignow
688ecef4cc refact, separate remote window, save session position
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-05 18:01:06 +08:00
dignow
773a74e2a9 refact, separate remote window, try active session
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-05 18:01:05 +08:00
dignow
f495bf105f refact, separate remote window
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-05 18:01:05 +08:00
dignow
f64dd3794a better restore window size
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-03 18:15:50 +08:00
RustDesk
2ab513893d
Merge pull request #5166 from dignow/feat/minimize_on_fullscreen
add minimize button on fullscreen toolbar
2023-07-30 19:23:26 +08:00
rustdesk
dd4f52b63d move closing-tabs to local config, and add glgetstring to stack check 2023-07-30 12:16:00 +08:00
dignow
9321a4f486 refact fullscreen and minimize button
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-27 22:19:38 +08:00
dignow
4d2036512a add minimize button on fullscreen toolbar
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-27 20:45:29 +08:00
dignow
6467b14486 window, pos save and restore, add min window space to the top
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-27 09:17:07 +08:00
dignow
88ce98e716 debug
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-27 09:13:39 +08:00
dignow
343bcbb363 adjust window offset on start
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-27 09:11:43 +08:00
dignow
731aa5e9f3 support negative window position
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-26 21:29:35 +08:00
RustDesk
88efd13acb
Merge pull request #5125 from dignow/fix/window_save_pos
Fix/window save pos
2023-07-26 10:21:43 +08:00
RustDesk
71ffa21db0
Merge pull request #5121 from dignow/fix/android_mouse_mode
Fix/android mouse mode
2023-07-26 09:23:16 +08:00
dignow
b7123c5be8 fix, window save pos, debug
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-26 07:52:40 +08:00
dignow
5e9841e7ab fix window save pos, debug win
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-26 00:40:03 +08:00
dignow
20cdb87e28 try fix android mouse mode
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-25 15:32:42 +08:00
dignow
b80051bb35 fix, settings on main window
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-23 17:07:30 +08:00
21pages
3db0f90af9 revert cm fixed width
Signed-off-by: 21pages <pages21@163.com>
2023-07-11 10:05:31 +08:00
21pages
745f33a8c1 opt mobile unread and autoSizeTextField
Signed-off-by: 21pages <pages21@163.com>
2023-07-10 22:21:01 +08:00
RustDesk
8028b23086
Merge pull request #4934 from 21pages/fix_chat
opt mobile chat page
2023-07-10 13:27:09 +08:00
21pages
6c6f6c081e mobile unread chat
Signed-off-by: 21pages <pages21@163.com>
2023-07-10 12:57:38 +08:00
dignow
e21502e6a5 refact, remote toolbar, menu
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-09 14:40:16 +08:00
rustdesk
685d960b1e revert back to old window_on_top, it works fine in my test 2023-07-07 22:18:14 +08:00