Commit Graph

366 Commits

Author SHA1 Message Date
21pages
53f496c0e4 avoid changing id manually
Signed-off-by: 21pages <pages21@163.com>
2022-08-01 18:06:49 +08:00
Kingtous
c4451b3cc7 fix: merge conflict 2022-08-01 14:33:08 +08:00
Kingtous
3b9c62b05d Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	.github/workflows/ci.yml
#	Cargo.lock
#	Cargo.toml
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/mobile/pages/server_page.dart
#	flutter/lib/mobile/pages/settings_page.dart
#	flutter/lib/mobile/widgets/dialog.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/server_model.dart
#	src/client.rs
#	src/common.rs
#	src/ipc.rs
#	src/mobile_ffi.rs
#	src/rendezvous_mediator.rs
#	src/ui.rs
2022-08-01 10:44:05 +08:00
Kingtous
3458c164fb fix: add version key to detect specific send/recv logic 2022-08-01 09:50:23 +08:00
fufesou
2a6cd5853e fix_proto_defs: fix protobuf definitions
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-31 22:31:17 +08:00
sirtemporary
f3f48d3cf4
Update linux.rs 2022-07-30 15:19:41 -04:00
sirtemporary
f9d0974fc5
Update linux.rs
Fix for #921 
in mx linux, when started with non-systemd init, loginctl returns null string to stdout (and an error message to stderr).  this patch will use XDG_SESSION_TYPE and XDG_SESSION_ID environment variables if the loginctl code fails to determine these.
2022-07-30 15:03:49 -04:00
rustdesk
1a4f0507a2 fix on last refactory 2022-07-30 09:29:01 +08:00
rustdesk
040267e7f2 remove key_pair pub attr 2022-07-30 02:27:03 +08:00
rustdesk
125f6dd810 refactor password deadlock and password_security 2022-07-30 02:01:40 +08:00
RustDesk
06a4eaed10
Merge pull request #1104 from Heap-Hop/master
fix: android build & CONFIG deadlock
2022-07-29 18:59:34 +08:00
csf
2fbcbc6543 make sure no gen_keypair more than once 2022-07-29 16:30:55 +08:00
csf
da2906c95f fix: android build & CONFIG deadlock 2022-07-28 22:06:59 +08:00
fufesou
0ba8b4079b flutter_desktop_online_state: refactor connection page
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-28 11:11:13 +08:00
21pages
551bf5030b password: ensure encrypt only once
Signed-off-by: 21pages <pages21@163.com>
2022-07-28 07:43:14 +08:00
21pages
9f22f55a1f password: decrypt password when import user config
Signed-off-by: 21pages <pages21@163.com>
2022-07-27 21:27:46 +08:00
RustDesk
00d2381bc0
Merge pull request #1059 from 21pages/restart
feat: pc restart
2022-07-27 10:31:47 +08:00
21pages
461a87bce9 feat: pc restart
Signed-off-by: 21pages <pages21@163.com>
2022-07-27 08:49:10 +08:00
rustdesk
a71fa3f7ac RS_PUB_KEY 2022-07-27 00:39:02 +08:00
21pages
903fb77e70 refactor password
1. random password -> temporary password
2. security password -> permanent password
3. remove onetime password
4. add temporary password length setting
5. remove unnecessary ipc
6. always update temporary password after connection
7. show dots if permanent password is not empty
8. recover password style

Signed-off-by: 21pages <pages21@163.com>
2022-07-24 21:53:51 +08:00
Asura
a46df491e5 Merge branch 'master' of https://github.com/rustdesk/rustdesk 2022-07-23 06:33:15 -07:00
RustDesk
eda5a94e33
Merge pull request #1013 from 21pages/hwcodec
Hwcodec: codec preference
2022-07-22 01:24:41 +08:00
RustDesk
416832a1ed
Merge pull request #982 from twmsh/master
update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte
2022-07-21 18:09:14 +08:00
tom
9ab955bb8e enable serde feature of bytes, modify struct WriteBlock using Bytes 2022-07-21 16:07:19 +08:00
Asura
ce3434fd37 Merge branch 'master' of https://github.com/rustdesk/rustdesk 2022-07-20 19:51:09 -07:00
21pages
7aa431d349 hwcodec: codec preference
Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:14:58 +08:00
21pages
1b1f28b872 hwcodec: check when server or each client starts
and refactor hwcodec::best()

Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:10:58 +08:00
fufesou
00dc473703 linux_wayland_support: dup detecting function of x11 or wayland
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-20 10:44:27 -07:00
tom
16b7c7c716 upgrade bytes to 1.2 2022-07-21 00:39:20 +08:00
Asura
02b4d7f1d9 Refactor keyboard mode by enum 2022-07-19 15:43:13 +08:00
21pages
66e04c9fe7 keep session when network interrupt
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 22:16:59 +08:00
21pages
8667d68c6f crypt peer/peer_rdp/peer_os/socks5 password
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 21:27:59 +08:00
21pages
e46019a171 password: safe/random personal password
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 21:27:56 +08:00
tom
6db3a2e85c
Merge branch 'master' into master 2022-07-18 14:25:33 +08:00
Asura
7c24f6bb12 Refactor listening keyboard to support switching keyboard modes 2022-07-17 14:14:51 -07:00
fufesou
52f4f274b2 lan_discovery_WOL: remove unused struct MyConfig
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-17 22:46:55 +08:00
tom
ae839bd5bf update linux.rs & macos.rs with bytes:Byte
issues:958
2022-07-17 00:59:56 +08:00
tom
efa6b5972d update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte
issues:958
2022-07-16 00:45:23 +08:00
fufesou
3613f27afc lan_discovery_WOL: fix udp set_nonblocking twice and lan refactor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 20:39:42 +08:00
fufesou
13406cd359 lan_discovery_WOL: sort by online status
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 12:16:15 +08:00
fufesou
8fd4830710 lan_discovery_WOL: Win10 test done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:07 +08:00
fufesou
897d2b8e57 lan_discovery_WOL: remove discovered peer
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:01 +08:00
fufesou
cbb34fb021 lan_discovery_WOL: lan discovery almost done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:27:39 +08:00
rustdesk
d3fc6ccd9c upgrade tokio 2022-07-15 01:29:52 +08:00
rustdesk
9498b77c0a minor version 2022-07-14 23:26:03 +08:00
tom
c6c5d2cb98 upgrade protobuf to 3.1.0 and use with-bytes feature, issues:958 2022-07-14 17:20:01 +08:00
rustdesk
4e45bc0ee0 fix tcp 2022-07-12 23:32:37 +08:00
rustdesk
f1724820b1 missed socket.set_nonblocking for tcp 2022-07-12 23:28:32 +08:00
rustdesk
7db82a22a9 udp bug which causes us a lot of trouble 2022-07-12 23:22:27 +08:00
rustdesk
1a9b25588d https://github.com/rustdesk/rustdesk/issues/906 2022-07-10 23:26:44 +08:00
21pages
ce89e7fd8c
Merge branch 'hwcodec' into hwcodec 2022-07-06 10:39:00 +08:00
21pages
ba034a56af maint hwcodec config file directly
Signed-off-by: 21pages <pages21@163.com>
2022-07-06 10:19:13 +08:00
csf
5bd08bf0a7 client side handle codec format 2022-07-05 22:17:34 +08:00
21pages
c4b4ef9576 score equals 0 if codec unsupported
Signed-off-by: 21pages <pages21@163.com>
2022-07-05 16:31:48 +08:00
21pages
76e1ca91df unify the protobuf message of vp9/h264/h265
Signed-off-by: 21pages <pages21@163.com>
2022-07-05 16:16:08 +08:00
csf
eaaeefd90b sync codec format 2022-06-30 00:03:17 +08:00
csf
47469dd971 fix ImageQuality compatibility 2022-06-27 22:24:56 +08:00
csf
21a90c5de8 abr update Windows 2022-06-27 03:30:46 -07:00
csf
83e5028cc9 Merge branch 'master' into hwcodec 2022-06-27 15:28:49 +08:00
csf
085356c0b3 Merge branch 'abr' into hwcodec 2022-06-27 15:21:31 +08:00
csf
ece86cda9e abr 2022-06-27 15:08:43 +08:00
Kingtous
4a89469b84 Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	build.rs
#	flutter/.gitignore
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/native_model.dart
#	flutter/lib/models/server_model.dart
#	flutter/pubspec.lock
#	flutter/pubspec.yaml
#	src/client.rs
#	src/client/file_trait.rs
#	src/flutter.rs
#	src/mobile_ffi.rs
#	src/ui.rs
2022-06-27 11:18:53 +08:00
rustdesk
2ef9a9b842 upgrade seria 2022-06-25 02:44:19 +08:00
21pages
847c4acb07 Merge branch 'hwcodec' into master 2022-06-14 13:08:39 +08:00
rustdesk
c1caa4a7cd more error 2022-06-12 22:07:04 +08:00
rustdesk
933578e660 https://github.com/rustdesk/rustdesk/issues/665 2022-06-12 15:39:58 +08:00
rustdesk
f36f0f7530 https://github.com/rustdesk/rustdesk/issues/701 2022-06-10 18:25:25 +08:00
21pages
42c7c5982c scrap: check hwconfig in another process
Signed-off-by: 21pages <pages21@163.com>
2022-06-10 12:17:06 +08:00
rustdesk
b88b4151bc 1.2.0 -> 1.1.10 2022-06-09 19:45:53 +08:00
21pages
70968638bf scrap: add hwcodec
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:50 +08:00
fufesou
c269d1c831 privacy_mode: win10 magnifier
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 12:08:28 +08:00
Kingtous
a364e7f808 demo: use mobile_ffi to get id for desktop version 2022-05-25 14:12:40 +08:00
Kingtous
c4663ecbf3 fix: linux <- windows subfolder collepsed 2022-05-20 10:53:10 +08:00
csf
a071eeb710 fix audio latency 2022-05-19 18:39:13 +08:00
Kingtous
42f2ebc8e6 opt: clean code 2022-05-18 15:45:45 +08:00
Kingtous
fc39c0ffc0 add: android file transfer logic 2022-05-17 23:03:55 +08:00
Kingtous
39eb1b7211 opt: add resume btn 2022-05-16 14:45:17 +08:00
Kingtous
c96c0df645 fix: rebase conflict 2022-05-16 14:45:17 +08:00
Kingtous
52fd312ff3 opt: clean code 2022-05-16 14:45:17 +08:00
Kingtous
a2bc2a21bb add: file_num offset 2022-05-16 14:45:17 +08:00
Kingtous
77bb821ecf fix: to string 2022-05-16 14:45:17 +08:00
Kingtous
b3f523f65e fix: serde 2022-05-16 14:45:17 +08:00
Kingtous
11e0d2cbf1 add: job logic 2022-05-16 14:45:17 +08:00
Kingtous
83c75409e8 add: msg 2022-05-16 14:45:17 +08:00
Kingtous
74a3799b78 add: meta info 2022-05-16 14:45:17 +08:00
Kingtous
02f214e39a opt: name, imports 2022-05-16 14:45:17 +08:00
Kingtous
74b3cb1c58 fix: skip issue 2022-05-16 14:45:17 +08:00
Kingtous
cdecb3589a refactor: change version to 1.2.0 2022-05-16 14:45:17 +08:00
Kingtous
4975c9b54d add: overwrite version limit, remove debug log 2022-05-16 14:45:17 +08:00
Kingtous
c17e77148e add: remote ret back override confirmation 2022-05-16 14:45:16 +08:00
Kingtous
51caeafebd add: server override 2022-05-16 14:45:16 +08:00
kingtous
8854fcbe85 add: automatic accept confirm log 2022-05-16 14:45:16 +08:00
kingtous
b08877031f feat: server connections 2022-05-16 14:45:16 +08:00
kingtous
f4c6c4f6c4 feat: add file digest 2022-05-16 14:45:16 +08:00
rustdesk
c1bad84a86 100% open source 2022-05-12 17:35:25 +08:00
rustdesk
b5395d954a refactor config sync 2022-05-04 20:39:07 +08:00
rustdesk
3566b0ee7a new mac service and local config 2022-04-26 11:19:45 +08:00
rustdesk
3ea33f7203 improve file write to cm 2022-03-26 03:05:15 +08:00
rustdesk
75c9bbb30f refactor IdPk 2022-03-26 00:06:06 +08:00
rustdesk
1e0a347893 refactor signed_pk 2022-03-20 20:20:32 +08:00
fufesou
b734e8aee9 add virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:43:26 +08:00
open-trade
8460c1ac42 format 2022-02-24 14:40:33 +08:00
fufesou
5a07701b90 remove remote conn id
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 11:32:14 +08:00
rustdesk
933969d1fe refactor cliprdr, not tested on windows yet 2022-02-15 14:46:08 +08:00
fufesou
6672087f7c windows clipboard
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-15 11:18:53 +08:00
open-trade
6c05f72d90 refactor should_exit 2022-02-07 18:39:49 +08:00
rustdesk
3ec69b6d97 refactor video_ack_required 2022-02-05 01:19:24 +08:00
rustdesk
5a0f8d008e video_ack_required for web 2022-02-04 22:18:48 +08:00
rustdesk
a3511d9157 update crates, and set new default #cpu 2022-01-24 02:26:07 +08:00
rustdesk
bf578e768b set_nodelay 2022-01-23 20:53:55 +08:00
rustdesk
a474f904b1 for back compatibility 2022-01-21 02:06:33 +08:00
open-trade
326eed5ee0 make tcp sync 2022-01-19 16:40:05 +08:00
open-trade
92a1bb04e9 make proto compatible to c++ 2022-01-17 16:53:17 +08:00
rustdesk
6bd730bc67 unwrap -> ok to avoid unintended crash 2022-01-15 19:11:19 +08:00
rustdesk
35816d4fbb polish block input 2022-01-15 18:27:15 +08:00
fufesou
25492c815c simple privacy mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-01-15 16:57:07 +08:00
rustdesk
8f998771c9 refactor process id 2022-01-15 14:08:24 +08:00
rustdesk
f47dcd1a8b remove psutil which is too old 2022-01-15 13:47:57 +08:00
rustdesk
d069b73303 refactor 2022-01-15 02:16:00 +08:00
rustdesk
95239fc148 change back to broadcast, because multicast has big problem if multiple
interface with 0.0.0.0 binding
2022-01-14 23:02:08 +08:00
open-trade
0a2bc1cf8a try out muliticast on multiple interface 2022-01-14 18:16:00 +08:00
chenbaiyu
f45a2c7a94 Add user and root config sync action 2022-01-13 16:33:51 +08:00
rustdesk
8ea5d80f01 new lan discovery https://github.com/rustdesk/rustdesk/issues/261 2022-01-12 03:10:15 +08:00
open-trade
65eef2b579 raw lan discovery 2022-01-11 16:24:35 +08:00
open-trade
9c9855877d bind_multicast 2022-01-10 18:58:51 +08:00
open-trade
9a92b6ac4a revert back from lan discovery merge 2022-01-10 18:05:42 +08:00
RustDesk
dfeb9a29c1
Merge branch 'master' into lan_discovery 2022-01-10 17:34:51 +08:00
rustdesk
3f56c82c7b revert keysym back, enigo's Layout can do this 2022-01-09 21:05:00 +08:00
rustdesk
0a294d9ff3 https://github.com/rustdesk/rustdesk/issues/292 2022-01-09 19:56:24 +08:00
open-trade
26d161f827 working on keysym 2022-01-07 18:03:55 +08:00
rustdesk
1931cb8c7c https://github.com/rustdesk/rustdesk/issues/356 2022-01-05 23:50:13 +08:00
rustdesk
32c5437c5d more equal check in config 2022-01-05 21:12:07 +08:00
open-trade
b24e16d6c1 bug fix for msgbox, todo: test more for msgbox in file_transfer.tis 2022-01-05 16:32:45 +08:00
open-trade
6767dda246 refactor 2022-01-05 15:59:01 +08:00
open-trade
5f61c2442a bug fix 2022-01-05 15:47:04 +08:00
open-trade
5631ffac4c fix 2022-01-05 15:09:36 +08:00
rustdesk
1d8cdb5e93 refactor target address 2022-01-05 13:21:14 +08:00
open-trade
3e590b8212 refactor to_socket_addr and dns_check 2022-01-04 19:49:44 +08:00
fufesou
875570e040 refactor udp framed
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-01-04 00:44:50 +08:00
fufesou
6d506cbb64 socks5 support
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-01-03 22:50:43 +08:00
rustdesk
1552402907 working on fav 2022-01-02 21:56:04 +08:00
open-trade
66e39b62a2 https://github.com/rustdesk/rustdesk/issues/223 2021-12-28 18:33:36 +08:00
rustdesk
dbdff120bc move get_version_number to hbb_common 2021-12-27 00:24:57 +08:00
rustdesk
51f4f736bc update package 2021-12-26 15:34:10 +08:00
rustdesk
4703a7d332 https://github.com/rustdesk/rustdesk/issues/327 2021-12-24 19:13:11 +08:00
csf
5f190297a9 adjust #[warn(unreachable_code)] position 2021-12-21 16:35:18 +08:00
fufesou
d00352f4e4 lan discovery almost done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2021-12-21 00:34:10 +08:00
fufesou
5682b088de lan discovery will be done soon
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2021-12-21 00:34:10 +08:00
fufesou
87f50a6318 lan discovery in socket_cs
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2021-12-21 00:34:09 +08:00
Arash Hatami
70a4ee4318
Merge branch 'rustdesk:master' into master 2021-11-14 18:52:51 +03:30
Arash Hatami
7f13edd14a
Fix misspelled words 2021-11-14 18:52:05 +03:30
rustdesk
e6bd5b0698 pb in version 2021-11-07 10:18:10 +08:00
Arash Hatami
2894a5ab7b
Format rust files 2021-10-01 22:48:04 +03:30
rustdesk
2df4da89dc somebody not tidy, but like tidy code, :), https://github.com/rustdesk/rustdesk/issues/198 2021-08-16 21:28:59 +08:00
rustdesk
44f6233df0 tokio 1.10 2021-08-13 13:02:03 +08:00
rustdesk
ab4843b76e fixing win key problem https://github.com/rustdesk/rustdesk/issues/35 2021-08-08 01:44:37 +08:00
rustdesk
e6744d031d connection type 2021-07-27 23:53:12 +08:00
rustdesk
6922a1de4c refactor and upgrade sciter 2021-07-24 18:25:07 +08:00
rustdesk
dc3fcda2c9 tokio1, windows not test yet 2021-06-25 19:42:51 +08:00
rustdesk
51903ede3d rs-ny.rustdesk.com 2021-06-15 11:21:10 +08:00
rustdesk
fda1e5e231 https://github.com/rustdesk/rustdesk/issues/58 2021-06-14 18:27:09 +08:00
rustdesk
31e6108f40 move confy here 2021-06-02 09:55:38 +08:00
rustdesk
8708fb366a righ key mapping and fix mac crash 2021-05-26 12:42:21 +08:00
rustdesk
b7ab1405ee fix home path issue on some linux build 2021-05-21 19:11:09 +08:00
rustdesk
539cf03ad5 make local connection secured 2021-05-11 19:02:18 +08:00
rustdesk
d1013487e2 source code 2021-03-29 15:59:14 +08:00