fufesou
25afdda2b2
Fix/arboard clipboard context timeout ( #7217 )
...
* Fix. Set custom timeout for arboard clipboard
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Do not block tokio runtime
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-21 22:05:27 +08:00
bovirus
c690d5e940
Italian language update ( #7211 )
2024-02-21 11:30:06 +08:00
Kleofass
243a8b60b1
Update lv.rs ( #7210 )
2024-02-21 11:29:54 +08:00
grummbeer
c987bed965
Automate year of copyright ( #7206 )
2024-02-20 18:00:07 +08:00
fufesou
582db9d542
Refact. Remove idd driver ( #7068 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-02-19 19:55:04 +08:00
21pages
9a1fd1aa4f
windows specific session, fix sciter empty file directory or wrong home ( #7189 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-19 17:08:15 +08:00
21pages
58ddac63d2
judge failure of get_current_process_session_id with None rather than 0 ( #7188 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-19 13:06:06 +08:00
21pages
d723c10a3b
add space after ":" ( #7187 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-19 11:06:01 +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
fufesou
4f1a4dc6a5
Refact. Better ThrottledInterval
( #7174 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-18 21:54:07 +08:00
fufesou
8c108065eb
Refact. Replace all tokio::time::interval()
( #7173 )
...
* Refact. Replace all `tokio::time::interval()`
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Refact Better min_interval for `ThrottledInterval`.
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-18 21:18:00 +08:00
FastAct
5fdcc748e1
Update nl.rs ( #7163 )
2024-02-18 14:25:50 +08:00
rustdesk
bf03156dd9
fix ci
2024-02-17 16:59:43 +08:00
rustdesk
964c2ed2b5
smaller timeout for android and self-hosting
2024-02-17 16:50:03 +08:00
fufesou
e942c80afb
Fix. Potential dead lock, interval.tick() & named pipe ( #7162 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-17 16:35:38 +08:00
rustdesk
39d41486d6
fix ci
2024-02-17 00:24:58 +08:00
rustdesk
b85526ce54
add relay in --config https://github.com/rustdesk/rustdesk/discussions/7118
2024-02-17 00:09:03 +08:00
21pages
2a0c081380
fix windows ci ( #7156 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-16 15:24:43 +08:00
Kleofass
1db4236f23
Update lv.rs ( #7153 )
2024-02-16 12:40:55 +08:00
Mr-Update
6749595afe
Update de.rs ( #7152 )
2024-02-16 12:40:46 +08:00
jxdv
e65c43a292
update cs.rs ( #7151 )
2024-02-16 12:40:37 +08:00
jxdv
00b13bf918
update sk.rs ( #7150 )
...
* update sk.rs
* remove comma
2024-02-16 12:40:29 +08:00
rustdesk
f7f3bc8bee
fix mac tray icon to use template icon, no need to know theme any more
2024-02-16 12:29:32 +08:00
rustdesk
51c603a3a6
improve for https://github.com/rustdesk/rustdesk/issues/4162
2024-02-16 00:43:08 +08:00
rustdesk
5fb026b8d5
fix https://github.com/rustdesk/rustdesk/discussions/7143
2024-02-15 21:12:24 +08:00
Andrzej Rudnik
f7530b16b8
Update pl.rs ( #7138 )
2024-02-15 16:55:31 +08:00
bovirus
db47209362
Update Italian language ( #7136 )
2024-02-15 16:55:20 +08:00
rustdesk
f375cbd871
fix bg
2024-02-15 16:54:52 +08:00
Nevaran
0474c8fb03
Update lang.rs ( #7140 )
...
added bg into the list
2024-02-15 16:52:32 +08:00
Nevaran
c00d23846a
Added bg file ( #7137 )
...
Bulgarian translation
2024-02-15 16:52:24 +08:00
fufesou
a3d5ea8fb8
Fix. Set peers offline when the server is unreachable. ( #7139 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-15 16:51:39 +08:00
solokot
7525a6ed6a
Update ru.rs ( #7134 )
2024-02-15 12:51:34 +08:00
XLion
dd93416cf7
Update tw.rs ( #7131 )
...
455,541,550: Fix typo
540: delete space
Add translation
2024-02-15 12:45:31 +08:00
21pages
73d429d064
windows specific session, fix conn count ( #7133 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-15 10:44:32 +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
236687ae53
fix some broken link
2024-02-14 19:49:06 +08:00
mehdi-song
222c9de19f
Update fa.rs ( #7124 )
2024-02-14 12:23:13 +08:00
rustdesk
16db977fd8
fix iOS ci
2024-02-11 10:21:42 +08:00
Samuel FORESTIER
633076ddd4
Fixes typo for dark theme in French i18n ( #7095 )
2024-02-10 11:55:18 +08:00
flusheDData
a4393b8f90
New terms ( #7053 )
...
* Update es.rs
New terms added
* Update es.rs
mistype correction
* Update es.rs
New term added
* Update es.rs
New terms added
2024-02-05 13:30:02 +08:00
XLion
406d8469d8
Update tw.rs ( #7047 )
...
* Update tw.rs
Add new translation.
* Optimize tw.rs
2024-02-05 13:29:43 +08:00
fufesou
0cf4711515
Refact, remove avoidable clone ( #7040 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-03 00:09:39 +08:00
Andrzej Rudnik
a2ba50c4ff
Updated Polish translation ( #7021 )
...
* Update pl.rs
* Update pl.rs
* Update pl.rs
* Update pl.rs
---------
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-02-02 22:01:11 +08:00
wesley800
c97cc15c0e
Warn on MIT-SHM not working on Linux X11 ( #6856 )
...
* Clarify video capture method
* fix improper level of pointer usage of xcb_generic_error_t
* add ffi of xcb_shm_query_version
* throw a warn about MIT-SHM not working
* add missing #[cfg]
* checks SHM validity on the fly, rather than cache on creation
---------
Co-authored-by: root <root@localhost>
Co-authored-by: rustdesk-fork <rustdesk@fork.com>
2024-01-31 17:49:09 +08:00
rustdesk
750f1a1884
smaller MAX_FAILS
2024-01-30 18:03:46 +08:00
rustdesk
2cf83b41cc
refactor reg_timeout to reduce fail try
2024-01-30 15:38:30 +08:00
mehdi-song
1f16b5236b
Update fa.rs ( #6999 )
2024-01-29 14:15:50 +08:00
rustdesk
46b4e21e8c
less udp message if failure
2024-01-26 18:58:05 +08:00
FastAct
a0d79dd26d
Update nl.rs ( #6979 )
2024-01-26 11:07:24 +08:00
bovirus
9f40a0b490
Update Italian language ( #6973 )
2024-01-24 11:40:54 +08:00
jxdv
23430bee97
update cs.rs ( #6969 )
2024-01-24 11:40:34 +08:00
jxdv
04691a3b6c
update sk.rs ( #6967 )
2024-01-24 11:40:24 +08:00
fufesou
2118b6dd7d
Fix. sciter, switch display. Close unused display services after switching. ( #6962 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-01-23 15:30:57 +08:00
21pages
71d7398ae7
video handler holds only one decoder of the current codec format ( #6939 )
...
1. For example: when receiving h264 video frames, only 1 decoder is created, vram > ram
2. For creation and decoding failed:
* Remove real_supported_decodings, this will update real existing decoders, replace it with the "mark_unsupported" vector. After creating the decoder failure, marks the codec as unsupported and updates supported decoding to the controlled side
* Add `fail_counter` in the decoder. When decoding 10 consecutive frames failed, adding codec type to 'mark_unsupported' vector
* The controlled end always ignores the unavailability of VP9
Signed-off-by: 21pages <pages21@163.com>
2024-01-22 20:01:17 +08:00
21pages
2e16a2be56
fix port forward 2fa ( #6956 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-22 19:57:23 +08:00
Mr-Update
ed24f432c3
Update de.rs ( #6955 )
2024-01-22 18:45:36 +08:00
21pages
669e8d5f8e
fix last commit ( #6952 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-22 16:40:23 +08:00
21pages
016f4abb32
sciter 2fa setting ( #6951 )
...
not add qr code text line as it's not selectable, and selectable input will steal the focus.
Signed-off-by: 21pages <pages21@163.com>
2024-01-22 16:29:08 +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
fufesou
a42df9a27b
Refact, verification login with secret ( #6943 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-01-22 11:14:28 +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
Integral
5770aeee26
Update cn.rs ( #6935 )
2024-01-21 15:22:32 +08:00
FastAct
28f01784c1
Update nl.rs ( #6932 )
2024-01-21 15:21:33 +08:00
Kleofass
29eefbcc25
Update lv.rs ( #6931 )
2024-01-21 15:21:23 +08:00
solokot
846db4e689
Update ru.rs ( #6926 )
2024-01-21 15:19:57 +08:00
rustdesk
68afb89b99
a quick fix for 2fa
2024-01-21 15:19:18 +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
Mr-Update
d39129887b
Update de.rs ( #6923 )
2024-01-20 12:42:49 +08:00
rustdesk
e5379bb073
send2fa in sciter
2024-01-19 19:29:04 +08:00
rustdesk
44e6b7dbb0
2fa for unattended access
2024-01-19 15:35:58 +08:00
Theofanis Sarmidis
0cccbc438b
Update el.rs ( #6869 )
2024-01-15 15:59:16 +08:00
Andrzej Rudnik
558e7cb5ac
Updated Polish translation ( #6858 )
...
* Update pl.rs
* Update pl.rs
* Update pl.rs
---------
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-01-15 15:58:57 +08:00
rustdesk
286181ca04
tcp rendezvous works now
2024-01-11 14:47:53 +08:00
Integral
467e6dfd16
Update cn.rs ( #6844 )
...
* Update cn.rs
* Update cn.rs
---------
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-01-10 09:44:06 +08:00
Mr-Update
8c40c28fe0
Update de.rs ( #6843 )
2024-01-10 09:43:18 +08:00
jxdv
9e25049fe8
update cs.rs ( #6842 )
2024-01-10 09:43:08 +08:00
jxdv
e170153090
update sk.rs ( #6841 )
2024-01-10 09:42:58 +08:00
FastAct
99e8753629
Update nl.rs ( #6839 )
2024-01-10 09:42:45 +08:00
solokot
d5b0829065
Update ru.rs ( #6836 )
2024-01-10 09:42:29 +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
Yevhen Popok
e471c01269
Update Ukrainian translation ( #6831 )
...
Co-authored-by: Yevhen Popok <xalt7x.service@gmail..com>
2024-01-09 10:30:42 +08:00
Kleofass
5dfaa10709
Update lv.rs ( #6830 )
2024-01-09 10:30:31 +08:00
bovirus
7506f94a53
Update Italian language ( #6827 )
...
* Update Italian language
* Update italian language
2024-01-09 10:30:19 +08:00
21pages
a2d08fa40d
opt mac sciter dark theme ( #6824 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-08 11:35:55 +08:00
rustdesk
396d7680d3
fix possible id mismatch bug because of register_pk udp packet lost
2024-01-07 20:23:00 +08:00
rustdesk
7e93a5d3cf
refactor to prepare for tcp rendezvous
2024-01-07 19:01:35 +08:00
rustdesk
955c55b6cc
fix code merge
2024-01-07 13:25:19 +08:00
rustdesk
b2b30b0cf5
https://github.com/rustdesk/rustdesk/pull/6805
2024-01-07 13:21:38 +08:00
solokot
6352b3a594
Update ru.rs ( #6814 )
2024-01-07 09:45:42 +08:00
mehdi-song
5be684d2e5
Update fa.rs ( #6810 )
2024-01-07 09:45:29 +08:00
Kleofass
0f5aaac1f5
Update lv.rs ( #6806 )
2024-01-07 09:45:02 +08:00
Integral
35fa75f9c9
Add cn translation for 2FA code ( #6805 )
2024-01-07 09:44:44 +08:00
21pages
2b4a72897e
Specify cmd.exe explicitly to avoid the replacement of cmd commands ( #6818 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-06 20:56:40 +08:00
21pages
cdc31b7fc7
Execute the .bat file directly on install to avoid the replacement of cmd ( #6817 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-06 20:28:46 +08:00
FastAct
f4ef1455c4
Update nl.rs ( #6803 )
2024-01-06 11:12:22 +08:00
bovirus
fe94512dd1
Update Italian language ( #6798 )
2024-01-06 11:12:10 +08:00
Juraj Virgovič
ae25542ce9
update sk.rs ( #6796 )
2024-01-06 11:11:59 +08:00
Juraj Virgovič
6c030a5230
update cs.rs ( #6795 )
2024-01-06 11:11:47 +08:00
Juraj Virgovič
14676e9618
fix 2fa_tip ( #6797 )
2024-01-04 20:34:35 +08:00