Commit Graph

2445 Commits

Author SHA1 Message Date
fufesou
9ecf0e3f89 refactor elevate on macOS
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 16:14:08 +08:00
fufesou
31b96a44de remove assert
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 16:11:45 +08:00
RustDesk
5f0f4957b9
Merge pull request #4389 from fufesou/refact/remove_all_assert
remove all assert in non-test code
2023-05-16 15:26:22 +08:00
RustDesk
07484e00f4
Merge pull request #4386 from fufesou/feat/plugin_framework
Feat/plugin framework
2023-05-16 15:26:04 +08:00
fufesou
edf6b00f13 remove all assert in non-test code
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 14:40:33 +08:00
fufesou
2a6bcf80d7 remove unused comment
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 13:50:05 +08:00
fufesou
cc46fd59fc plugin_framework, add peer id for plugin signature
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 13:47:19 +08:00
fufesou
d985bd5607 plugin_framework, ignore loading uninstalled plugins
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 12:15:37 +08:00
fufesou
97e9682757 plugin_framework, remove unused mut
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 09:56:31 +08:00
fufesou
522f6f3309 plugin_framewor, support plugin signature verification
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 09:48:33 +08:00
fufesou
1747766f73 plugin_framework, uninstall
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-15 19:07:55 +08:00
fufesou
d417149949 plugin_framework, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-15 09:57:13 +08:00
Kingtous
56f1b75b52 fix: port forward & RDP check 2023-05-15 00:33:58 +08:00
Kingtous
6af19262e8 opt: uniform install process with flutter in sciter 2023-05-15 00:33:58 +08:00
rustdesk
400aa61c6a fix nat test, must reuse the local address, to fix #4348 2023-05-14 23:31:32 +08:00
rustdesk
baecf3edb8 enc punch 2023-05-14 18:17:02 +08:00
mehdi-song
962ab6d304
Update fa.rs 2023-05-14 04:19:23 +00:00
Mr-Update
cd57009a46
Update de.rs 2023-05-13 22:47:48 +02:00
rustdesk
6c15dd6fd5 refactor to prepare for client <-> rendevous encryption 2023-05-13 21:40:53 +08:00
rustdesk
49ddd9655d remove meaningless log info for users 2023-05-13 19:52:28 +08:00
rustdesk
c1b2b55c53 fix ci 2023-05-13 19:07:08 +08:00
RustDesk
daf7bb6193
Update connection.rs 2023-05-13 18:56:24 +08:00
fufesou
ff810ac5dc sleep to ensure the message is received
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-13 18:51:03 +08:00
fufesou
75cdab0ab2 fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-13 18:36:48 +08:00
fufesou
4cd025fcf3 try fix check privacy mode on conn
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-13 18:19:52 +08:00
rustdesk
c6bb6955dc refactor 2023-05-13 18:02:06 +08:00
FastAct
7288c51343
Update nl.rs 2023-05-13 07:42:49 +02:00
ilGigioVr88
f9ffc314f6
Update it.rs 2023-05-12 11:29:58 +02:00
RustDesk
305a04a785
Merge pull request #4344 from fufesou/feat/linux_exec_privileged
Feat/linux exec privileged
2023-05-12 16:51:54 +08:00
fufesou
59987f637c linux, wrap pkexec
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 16:08:15 +08:00
RustDesk
744097a562
Merge pull request #4343 from 21pages/fix
fix android build
2023-05-12 14:41:48 +08:00
21pages
5738f3a949 fix android build
Signed-off-by: 21pages <pages21@163.com>
2023-05-12 14:01:56 +08:00
solokot
a2277e83a6
Update ru.rs 2023-05-12 08:45:43 +03:00
fufesou
0b3fae81d8 fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 09:59:52 +08:00
fufesou
83c110e528 fix build linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 09:10:26 +08:00
fufesou
bff54a61f8 plugin_framework, update lang
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:53:43 +08:00
fufesou
8a70bddd76 plugin_framework, test macos
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:49:19 +08:00
fufesou
7190d451d4 plugin_framework, plugin manager, debug linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:46 +08:00
fufesou
8e117b6dde plugin_framework, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:45 +08:00
fufesou
095ac46255 plugin_framework, test plugin manager, uninstall is not fully tested
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:42 +08:00
fufesou
4ee0fd9676 plugin_framework, test install plugin
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
fufesou
b06fad0e43 plugin_framework, handle plugin list
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
fufesou
4eb6bd82a4 plugin_framework, handle plugin list
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
fufesou
db71dd039d plugin_framework, manager, install plugin
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
fufesou
6f5ff0ac0e plugin_framework, Remove plugin enable option
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
rustdesk
302f1c48d3 update crates, test on mac only 2023-05-11 12:04:38 +08:00
Mr-Update
ce9f97aa1f
Update de.rs 2023-05-10 22:54:15 +02:00
FastAct
8c767cb67e
Update nl.rs 2023-05-09 19:03:12 +02:00
mehdi-song
69af09202f
Update fa.rs 2023-05-09 09:12:34 +00:00
RustDesk
4ab3f5c94f
Merge pull request #4310 from solokot/master
Updated Russian translation
2023-05-09 17:12:18 +08:00
rustdesk
084ca8e59d linux is_installed 2023-05-09 17:09:51 +08:00
solokot
16f55807fc
Updated Russian translation 2023-05-09 11:58:46 +03:00
RustDesk
f96c010424
Merge pull request #4306 from HeCorr/complete-ptbr
Complete Brazilian Portuguese translations
2023-05-09 09:41:14 +08:00
HeCorr
765c5bc1a4
complete Brazilian Portuguese translations
including tips, plus a few uppercase tweaks to better match the English version.
2023-05-08 15:47:41 -03:00
HeCorr
516a009caf
fix English typo 2023-05-08 15:37:52 -03:00
bovirus
f95b3aaf67
Update italian language 2023-05-08 10:50:58 -07:00
Kingtous
229df038fc feat: add entry in left panel 2023-05-08 13:10:39 +08:00
Kingtous
77fa807b57 feat: implement dialog callback 2023-05-08 12:34:19 +08:00
rustdesk
472448ec9c fix ci 2023-05-06 09:27:58 +08:00
Kingtous
1e03dfb1d0 feat: add general ui handler 2023-05-06 01:31:19 +07:00
fufesou
4d16d9566a fix cursor active, portable service
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-05 08:24:08 -07:00
fufesou
13fe997447 add comment
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-05 20:22:34 +08:00
fufesou
3aabd8f5ae fix cursor active in portable service, update peer input cursor time
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-05 20:16:54 +08:00
fufesou
5dc83359a5 add cursor active logic for portable service
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-05 18:11:04 +08:00
fufesou
8f0d696304 plugin_framework, return C structure
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-05 13:37:43 +08:00
RustDesk
6643b8c830
Merge pull request #4270 from fufesou/feat/plugin_framework
Feat/plugin framework
2023-05-04 20:04:35 +08:00
fufesou
db683c6664 plugina_framework, comment out native call for tmp
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-04 19:53:44 +08:00
fufesou
1243d8f434 Revert "plugin_framework, change return type"
This reverts commit 9c6b303fa2.
2023-05-04 19:21:13 +08:00
fufesou
9c6b303fa2 plugin_framework, change return type
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-04 18:02:34 +08:00
rustdesk
e3ee957370 ok to remove curl, because reqwest does not depend on openssl anymore, #4218 2023-05-04 17:24:58 +08:00
fufesou
6dc02084c2 plugin_framework, test block_input
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-04 17:13:48 +08:00
fufesou
c05e87b3b6 plugin_framework, block_input, ready to debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-04 17:13:48 +08:00
fufesou
71d64a2def plugin_framework, add block input support
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-04 17:13:48 +08:00
RustDesk
08446afc53
Merge pull request #4269 from fufesou/fix/cursor_move
fix cursor move on macOS
2023-05-04 15:09:22 +08:00
fufesou
1db40da812 fix build win
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-04 15:02:05 +08:00
fufesou
477cbff489 fix cursor move on macOS
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-04 14:38:04 +08:00
Kingtous
34314e50f7 feat: callbacks and flutter msg bridge 2023-05-04 13:18:19 +08:00
Kingtous
3980e52a88 opt: close main window when exit from tray on macOS 2023-05-02 23:48:49 +08:00
Kingtous
7a82070420 fix: make event loop in tray compatible with main window 2023-05-02 12:52:27 +08:00
RustDesk
c7a6828307
Merge pull request #4215 from madpilot78/Fix_Windows_Renamed_File_2
Reimplement code extracting information from file name.
2023-04-29 22:05:02 +08:00
Mateusz Prais
1a0fe5f459 Add missing Polish translations and improve Linux session tip 2023-04-29 15:42:54 +02:00
Guido Falsi
1b899a5ce8 Add test for host and name extraction from filename. 2023-04-29 12:40:59 +02:00
Guido Falsi
5a25573125 Reimplement code extracting information from file name.
This code tokenizes the file name based on commas and extracts
relevant parts sequentially.

`host=` is expected to be the first part.

Since Windows renames files adding (1), (2) etc. before the .exe
in case of duplicates, which causes the host or key values to be
garbled.

This allows using a `,` (comma) symbol as a final delimiter.

Fixes #4162
2023-04-29 12:40:59 +02:00
rustdesk
96560d9199 fix #4218 2023-04-29 12:50:17 +08:00
fufesou
c315924ef7 plugin_framework, fix dup ui widgets
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-29 12:34:34 +08:00
21pages
ccb02d779b fix file transfer always connecting because of FingerPrintState not
initialized

Signed-off-by: 21pages <pages21@163.com>
2023-04-29 10:13:27 +08:00
RustDesk
114b004192
Merge pull request #4221 from Kingtous/feat/plugins
feat: add native handlers for plugins
2023-04-28 23:27:39 +08:00
21pages
190c99aebc fix portable service parameter sync
Signed-off-by: 21pages <pages21@163.com>
2023-04-28 22:41:54 +08:00
Kingtous
6da5bef064 fix: ignore session hook on android/ios 2023-04-28 19:17:20 +08:00
21pages
6e0f75cbde minisize portable service sleep time
Signed-off-by: 21pages <pages21@163.com>
2023-04-28 19:01:34 +08:00
21pages
ca7487350f send SwitchDisplay using the same channel with VideoFrame
Signed-off-by: 21pages <pages21@163.com>
2023-04-28 17:12:46 +08:00
Kingtous
5c0f249390 feat: add cb for ffi 2023-04-28 15:14:28 +08:00
Kingtous
952598af25 feat: add session related function 2023-04-28 14:55:40 +08:00
Kingtous
c140bcfed6 feat: add native call 2023-04-28 13:49:58 +08:00
Kingtous
3774f8308f feat: add native session handlers 2023-04-28 13:49:58 +08:00
Kingtous
4acc3052cc feat: add callable trait 2023-04-28 13:49:58 +08:00
Kingtous
ed64813aa0 opt: move api to plugins 2023-04-28 13:49:58 +08:00
RustDesk
c64d0a5424
Merge pull request #4220 from fufesou/fix/win_headless
fix plugout virtual monitor
2023-04-28 13:27:45 +08:00
fufesou
6b84106aff remove warn
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 13:22:31 +08:00
fufesou
84ab9ba48e fix plugout virtual monitor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 13:19:48 +08:00
fufesou
fc50a3e49d set fmt and stride to private in ImageRgb
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 12:35:46 +08:00
fufesou
e3b66af8af fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 12:03:44 +08:00
fufesou
6b1645f44d set width,height,stride together with the rgba data for rendering
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 11:44:52 +08:00
fufesou
7e8e55d307 fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-27 14:46:14 +08:00
fufesou
226d200143 trival changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-27 14:42:55 +08:00
fufesou
12ab0a433a plugin_framework, debug listen event
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-27 14:41:53 +08:00
fufesou
9a457894b3 plugin_framework, add event listening
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-27 11:24:19 +08:00
RustDesk
404525759e
Merge pull request #4205 from flusheDData/master
Update es.rs
2023-04-27 08:59:09 +08:00
Miguel F. G
59a1335d2f
Update es.rs
A few term modifications based on the actual context
2023-04-26 17:32:04 +02:00
happy-coder
d474621f50
Update header.tis
Adding display switching hotkey '^' (just goes to next display)
2023-04-26 14:37:55 +02:00
fufesou
45d07686b9 plugin_framework, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-26 16:07:58 +08:00
fufesou
82bfa9ca29 plugin_framework, split call function to server side and client side
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-26 13:29:55 +08:00
Miguel F. G
98c33ef476
Update es.rs
New terms added
2023-04-25 17:00:47 +02:00
fufesou
c009f40152 plugin_framework, change func log to plugin_log
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-25 21:44:40 +08:00
fufesou
3d9afbb12a plugin_framework, add debug info
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-25 21:04:25 +08:00
RustDesk
865253b478
Merge pull request #4187 from SergeyMy/patch-2
Update index.tis
2023-04-25 16:02:53 +08:00
SergeyMy
7fe4432b2f
Update index.tis 2023-04-25 12:52:56 +05:00
SergeyMy
a71a6b7bdb
Update index.tis
About (translate)
2023-04-25 12:44:04 +05:00
fufesou
2051dca5b4 plugin_framework, support log callback
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-25 15:35:56 +08:00
RustDesk
ce1ce19567
Merge pull request #4165 from awalon/master
Fix for #4136 connection to linux refused by using wrong Xauthority file
2023-04-25 09:42:08 +08:00
RustDesk
c015b66da0
Update linux.rs 2023-04-25 09:41:02 +08:00
Awalon
82c44d71f9
Fix for #4136 connection to linux refused by using wrong Xauthority file.
This PR handles comments of 2nd review for initial PR #4165.
Reduced number of info/log messages
2023-04-24 23:45:23 +02:00
fufesou
d8dc56a743 plugin_framework, debug config, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-24 19:57:20 +08:00
Awalon
9bf058bb32
Merge remote-tracking branch 'origin/master' 2023-04-23 23:58:23 +02:00
Awalon
dcc9337f86
Fix for #4136 connection to linux refused by using wrong Xauthority file.
This PR handles comments of review for PR #4165.
2023-04-23 23:58:04 +02:00
fufesou
cbeebea7a5 plugin_framework, show remote toolbar widget
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-23 20:53:51 +08:00
Awalon
a0d9c741f4
Merge branch 'rustdesk:master' into master 2023-04-23 12:30:15 +02:00
RustDesk
eb96b0d451
Merge pull request #4166 from fufesou/feat/plugin_framework
plugin_framework, load plugin
2023-04-23 16:47:31 +08:00
fufesou
260c671d6c plugin_framework, load plugin
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-23 15:40:55 +08:00
Awalon
028767da8b
Fix for #4136 connection to linux refused by using wrong Xauthority file
Solution:
1. Get file from sddm-greeter and startplasma-x11 (aka KDE) processes as well
2. Get users home dir from system instead of hard coded pattern /home/<user>
3. Prefer XAUTHORITY environment variable over Xorg -auth if available
2023-04-23 03:43:47 +02:00
RustDesk
9cc09c620f
fix #4163 2023-04-23 07:33:03 +08:00
fufesou
ae789ff5f1 plugin_framework, plugin manager
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-22 22:21:02 +08:00
fufesou
b1b867dd9d more granular control over ui option update.
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-21 23:25:00 +08:00
RustDesk
23bdb38e9a
Merge pull request #4151 from fufesou/feat/plugin_framework
plugin_framework, flutter event handlers
2023-04-21 22:09:28 +08:00
rustdesk
b467b9d657 fix #4143 2023-04-21 22:07:07 +08:00
fufesou
67413b7419 plugin_framework, flutter event handlers
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-21 21:41:24 +08:00
滅ü
7e217580c1
Update tw.rs 2023-04-21 17:32:23 +08:00
RustDesk
5b629d7c91
Merge pull request #4144 from fufesou/fix/translate_mode_caret
fix translate mode, simulate unicode
2023-04-21 16:18:24 +08:00
fufesou
e833f92219 fix translate mode, simulate unicode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-21 16:03:14 +08:00
RustDesk
87c98ac8a5
Merge pull request #4129 from sj6219/theta
ios build
2023-04-21 13:09:30 +08:00
RustDesk
15612069f1
Merge pull request #4137 from 21pages/audio-rechannel
Audio rechannel
2023-04-21 08:59:43 +08:00
21pages
f1cf865ef8 try host audio channel first to avoid no need rechannel
Signed-off-by: 21pages <pages21@163.com>
2023-04-21 07:47:47 +08:00
21pages
0d8fe1b7b8 audio rechannel
Signed-off-by: 21pages <pages21@163.com>
2023-04-21 07:43:32 +08:00
RustDesk
e967294f1a
Merge branch 'master' into master 2023-04-20 23:28:45 +08:00
FastAct
75b4e96d62 Update nl.rs 2023-04-20 17:19:49 +02:00
fufesou
1b303b7b27 plugin_framework, ui tmp
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-20 22:55:27 +08:00
fufesou
9a08e0bed4 add ui event
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-20 22:55:26 +08:00
RustDesk
803ed68d42
Merge pull request #4124 from madpilot78/Fix_Windows_Renamed_File
Skip anything after an # symbol in the filename.
2023-04-20 22:20:59 +08:00
Pavel Krivanek
d3766b49d9 Change translation of Map mode to Zuordnungsmodus 2023-04-20 15:34:18 +02:00
sjpark
261f98774b ios build 2023-04-20 22:30:09 +09:00