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
rustdesk
a8eff641b2
fix ios ci for flutter 3.16
2024-02-19 12:35:12 +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
Kristian Kraljic
d7dcb5feab
Fix build on Windows ( #7161 )
...
`winapi::um::shellapi` is used in https://github.com/rustdesk/rustdesk/blob/master/src/platform/windows.rs but not declared in `Cargo.toml` resulting in a compilation error, when I tried building on Windows, this change adds shellapi as a dependency.
2024-02-17 11:14:44 +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
grummbeer
0d708f64b9
Fix dead link to docs for own server setup ( #7128 )
2024-02-14 17:33:50 +08:00
mehdi-song
222c9de19f
Update fa.rs ( #7124 )
2024-02-14 12:23:13 +08:00
rustdesk
72fc34cd40
upgrade to tokio 1.36
2024-02-14 12:19:18 +08:00
grummbeer
3f7244f23f
Peers. Multiselect. Provide actions only if peers selected ( #7122 )
2024-02-13 22:10:32 +08:00
21pages
dc24868800
fix multiselect does not reset on address book and groups ( #7121 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-13 21:06:42 +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
rustdesk
16db977fd8
fix iOS ci
2024-02-11 10:21:42 +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
Samuel FORESTIER
633076ddd4
Fixes typo for dark theme in French i18n ( #7095 )
2024-02-10 11:55:18 +08:00
21pages
5581248a1e
fix startup crash on windows without adapter ( #7093 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-09 16:53:15 +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