Commit Graph

80 Commits

Author SHA1 Message Date
rustdesk 08b8f40397 nat64 2022-12-28 13:52:13 +08:00
fufesou 50c33450b9 fix keyboard type store
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-27 18:16:29 +08:00
fufesou 48e684335e choose keyboard layout type, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-27 18:16:29 +08:00
rustdesk 633253647f ipv6 mangle 2022-12-26 16:41:33 +08:00
Asura 3b60304d14 refactor: keyboard of client 2022-12-08 09:03:41 +08:00
fufesou 387a7f2df4 ios get data dir
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-01 21:48:19 +08:00
fufesou 02c1bc6080 hide zoom-cursor if view-style is original
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-24 11:21:36 +08:00
rustdesk c1af464203 minor improve 2022-11-23 22:34:17 +08:00
Robin Fackler f20679f24a Fix crash if id == "base64_" 2022-11-23 15:29:28 +01:00
Robin Fackler d6544e74ff Merge remote-tracking branch 'upstream/master' 2022-11-23 15:21:54 +01:00
Robin Fackler 29978f1a3e If an ID contains invalid filename characters, encode it using base64 2022-11-23 15:07:56 +01:00
fufesou 75d8168070 enable rust default option
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-17 19:33:58 +08:00
fufesou 6b3c2f3beb fix android build errors and warnings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-13 18:29:05 +08:00
Robin Fackler e1516d809f Use "_" instead of ":" in PeerConfig filenames 2022-11-11 00:00:49 +01:00
fufesou 50d885d3e7 Remove SharedPreferences, debug win
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-10 23:33:24 +08:00
Saverio Miroddi b2f7e7ece5 hbb_common: Fix CONFIG locks unintentionally not acquired
Variables defined as `_` only are released immediately; see compile error:

    error: non-binding let on a synchronization lock
      --> libs/hbb_common/src/config.rs:798:13
        |
    798 |         let _ = CONFIG.read().unwrap(); // for lock
        |             ^   ^^^^^^^^^^^^^^^^^^^^^^ this binding will immediately drop the value assigned to it
        |             |
        |             this lock is not assigned to a binding and is immediately dropped
        |
        = note: `#[deny(let_underscore_lock)]` on by default

By appending a phony suffix to the variable name, the lock stays in scope.
2022-11-01 15:08:21 +01:00
fufesou 77de0d05f9 msgbox & translations
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-17 22:00:44 +08:00
rustdesk c1b9a3f53d unsafe 2022-10-11 14:56:08 +08:00
21pages 265acd3122 add new field enc_id
Signed-off-by: 21pages <pages21@163.com>
2022-09-29 16:50:35 +08:00
rustdesk f0208c759b https://github.com/rustdesk/rustdesk/pull/1562 2022-09-18 13:13:45 +08:00
csf e3a5218eb1 global HW_CODEC_CONFIG 2022-09-16 19:41:04 +08:00
21pages f9db9fc87a Merge branch 'master' into flutter_desktop 2022-08-25 13:41:25 +08:00
21pages 0649a49d17 fix 10054: change direct to relay when RST
Signed-off-by: 21pages <pages21@163.com>
2022-08-24 16:26:09 +08:00
RustDesk 3394975aa2 Merge pull request #1110 from 21pages/enc-id
avoid modify id manually
2022-08-20 21:08:40 +08:00
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
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
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 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
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
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
fufesou 52f4f274b2 lan_discovery_WOL: remove unused struct MyConfig
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-17 22:46:55 +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
rustdesk 1a9b25588d https://github.com/rustdesk/rustdesk/issues/906 2022-07-10 23:26:44 +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 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