Commit Graph

63 Commits

Author SHA1 Message Date
21pages
d7b47b49d2
opt password sync, opt ab widgets (#7582)
* Opt sync conctrl with password source, add some comments
* For sync from recent, legacy ab remove forceRelay, rdpPort, rdpUsername,
  because it's not used, personal ab add sync hash
* Opt style of add Id dialog

Signed-off-by: 21pages <pages21@163.com>
2024-04-02 22:08:47 +08:00
fufesou
6e44a91d0b
Refact. Flutter web desktop (#7539)
* Refact. Flutter web desktop

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Flutter web, prevent default context menu

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-03-28 11:38:11 +08:00
fufesou
85cafda168
Refact. Flutter web, mid commit (#7494)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-03-24 11:23:06 +08:00
21pages
41da6d552f
shared address book (#7229)
Signed-off-by: 21pages <pages21@163.com>
2024-03-20 15:05:54 +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
fufesou
b1a946ec20
Fix. Connection, 2FA dialog, esc & enter (#6946)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-01-22 13:44:10 +08:00
21pages
48102e9c53
opt 2fa (#6942)
1. switch sides not check 2fa
2. let self.authorized=true ahead of return, call try_start_cm when 2fa confirmed for updating authorized state
3. flutter 2fa dialog button color

port forward check and sciter will be later on

Signed-off-by: 21pages <pages21@163.com>
2024-01-21 21:53:29 +08:00
fufesou
cb102a5a61
Refact. Verification code, keyboardType (#6934)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-01-21 15:22:05 +08:00
fufesou
9e3633f1e4
Fix. Avoid invalid verification code attempts. (#6925)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-01-20 16:03:07 +08:00
fufesou
06b3894249
Refact/verification code input check (#6924)
* Refact, login verification code, input check

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Refact, settings, enable 2fa, dialog input

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Refact. Connect, 2fa code, input check

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* refact, 2Fa text field, input formatter, only digits

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* refact, error message

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-01-20 15:36:32 +08:00
rustdesk
44e6b7dbb0 2fa for unattended access 2024-01-19 15:35:58 +08:00
21pages
26cebd2aeb
request focus again when android account password obtain focus (#6744)
Signed-off-by: 21pages <pages21@163.com>
2023-12-24 16:16:47 +08:00
21pages
1b08adb178 not use max fps by default
Signed-off-by: 21pages <pages21@163.com>
2023-11-13 21:33:51 +08:00
RustDesk
94f2751902
Revert "Remove manual adjustment of fps, automatically adjusted to the maximum already" 2023-11-09 15:24:57 +08:00
21pages
a0beba4e20 remove fps manual adjust, which can only limit fps
Signed-off-by: 21pages <pages21@163.com>
2023-11-09 10:20:31 +08:00
rustdesk
d7e8d4d5c3 fix #6198 2023-11-06 20:12:01 +08:00
21pages
017c73132c condition show more quality
Signed-off-by: 21pages <pages21@163.com>
2023-11-03 11:52:43 +08:00
dignow
013d307bcd feat, multi_flutter_ui_sessions
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-14 12:26:24 +08:00
21pages
17a56bbf48 elevation: keyboard permission required and remove foreground filter
Signed-off-by: 21pages <pages21@163.com>
2023-10-01 08:50:29 +08:00
21pages
0a0653358c auto disconnect
Signed-off-by: 21pages <pages21@163.com>
2023-09-13 13:57:57 +08:00
rustdesk
5b802e9edd Merge branch 'ios_1.2.2' 2023-09-03 00:16:08 +08:00
21pages
54de5b0300 mobile add default display, merge set server and custom quality code
Signed-off-by: 21pages <pages21@163.com>
2023-09-01 15:04:36 +08:00
21pages
54310b925d close elevation request dialog on submit to avoid frequent request
Signed-off-by: 21pages <pages21@163.com>
2023-08-30 20:50:42 +08:00
21pages
979203cbdb replace offstage with if-else for LinearProgressIndicator in dialog
Signed-off-by: 21pages <pages21@163.com>
2023-08-18 16:16:21 +08:00
21pages
db45552a05 rename tag
Signed-off-by: 21pages <pages21@163.com>
2023-08-10 10:35:46 +08:00
21pages
312c6324d2 opt delete dialog title
Signed-off-by: 21pages <pages21@163.com>
2023-08-08 21:20:08 +08:00
21pages
5a0865559c peer card batch operation
Signed-off-by: 21pages <pages21@163.com>
2023-08-03 21:35:16 +08:00
21pages
fa420c4825 fix sciter more bitrate, change max bitrate to 2000%
Signed-off-by: 21pages <pages21@163.com>
2023-07-27 21:55:49 +08:00
Bob Weinand
63bf4b5fa8 Add flutter support for extended bitrate 2023-07-27 18:34:06 +08:00
dignow
437b5f2ca3 debug
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-04 20:26:43 +08:00
dignow
b75edd9710 fix os password
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-04 19:43:39 +08:00
21pages
89071a4fdb fix connection note
Signed-off-by: 21pages <pages21@163.com>
2023-07-01 09:40:04 +08:00
21pages
08762ca727 fix note dialog
Signed-off-by: 21pages <pages21@163.com>
2023-06-29 06:48:11 +08:00
21pages
2ececed0c1 use uuid as session id
Signed-off-by: 21pages <pages21@163.com>
2023-06-08 07:24:02 +08:00
grummbeer
56540ec7b6 Dialogs. Cleanup request elevation dialog. 2023-06-07 15:14:25 +02:00
fufesou
a8b1e3ff7e fix login
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-06-04 14:29:00 +08:00
Kingtous
77fa807b57 feat: implement dialog callback 2023-05-08 12:34:19 +08:00
21pages
b2c0590898 merge mobile/desktop remote toobar code
Signed-off-by: 21pages <pages21@163.com>
2023-04-13 09:22:29 +08:00
fufesou
5fcb30d3c7 restore lang
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:57 +08:00
fufesou
86c063eecb remember os account
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:56 +08:00
fufesou
8aa5f3a2a7 mobile, edit os account
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:53 +08:00
fufesou
888c851167 desktop, remote toolbar, os account
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:53 +08:00
fufesou
3fd1da05f4 tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:53 +08:00
fufesou
9448e35b46 update dialog style
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:52 +08:00
fufesou
461aa622f8 fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:50 +08:00
fufesou
db6513818d some comments
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-25 16:34:41 +08:00
fufesou
a6cfed3f11 fix connect dialog, check controller null
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-24 19:09:50 +08:00
fufesou
98f24bb85a better connect dialog tips
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-24 16:22:05 +08:00
fufesou
8ebfd3f628 refactor dialog
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-24 15:21:14 +08:00