rustdesk/flutter/lib/models
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
..
ab_model.dart Fix ab merge and sync from recent (#6910) 2024-01-17 14:38:12 +08:00
chat_model.dart cm file delete/create log 2023-11-06 14:24:50 +08:00
cm_file_model.dart fix missing log when removed directory names have same prefix 2023-11-07 10:43:03 +08:00
desktop_render_texture.dart add zero copy mode hareware codec for windows (#6778) 2024-01-02 16:58:10 +08:00
file_model.dart fix #6198 2023-11-06 20:12:01 +08:00
group_model.dart peers view show no more than 1000 after filter 2023-09-25 13:41:23 +08:00
input_model.dart https://github.com/rustdesk/rustdesk/issues/6686 (#6694) 2023-12-17 12:43:47 +08:00
model.dart refactor windows specific session (#7170) 2024-02-18 22:08:25 +08:00
native_model.dart add zero copy mode hareware codec for windows (#6778) 2024-01-02 16:58:10 +08:00
peer_model.dart enable group, show accessible users and peers 2023-09-18 13:44:41 +08:00
peer_tab_model.dart fix #6198 2023-11-06 20:12:01 +08:00
platform_model.dart flutter_desktop: fix global envet stream shading && refactor platform ffi 2022-08-03 22:05:10 +08:00
server_model.dart cm get config 2023-11-09 15:57:47 +08:00
state_model.dart feat, input source, win->win 2023-11-29 20:58:40 +08:00
user_model.dart enable group, show accessible users and peers 2023-09-18 13:44:41 +08:00
web_model.dart update pubspec.lock, remove some deprecated (#7110) 2024-02-12 21:39:19 +08:00