Commit Graph

105 Commits

Author SHA1 Message Date
yuluo
43a0a4f8e0
fix: http/https proxy (#7821)
* add http(s) proxy

* Add front-end translation

* fix ui description

* For linux platform, add rustls support

* fix: Fix the proxy address test function.

* add: Added default prompts for agency agreement and some multi-language translations

* add: Http proxy request client

* fix: add async http proxy func and format the code

* add: Preliminary support for flutter front-end calling rust back-end http request

* Optimize HTTP calls

* Optimize HTTP calls

* fix: Optimize HTTP requests, refine translations, and fix dependencies

* fix: Win and macOS compilation errors

* fix: web platforms

* fix: Optimize import

* fix: Fix web platform issues

* fix: Fix web platform issues

* fix: update ci

* fix: test ci

* test: test CI

* Revert "fix: update ci"

This reverts commit 2e5f247b2e.

* test: test CI

* test: test CI

* fix: fix lock file

* fix: Optimize imports
2024-04-25 11:46:21 +08:00
RustDesk
ac7f8a6447
Revert "http/https proxy (#7600)" (#7801)
This reverts commit da57fcb641.
2024-04-23 15:26:16 +08:00
yuluo
da57fcb641
http/https proxy (#7600)
* add http(s) proxy

* Add front-end translation

* fix ui description

* For linux platform, add rustls support

* fix: Fix the proxy address test function.

* add: Added default prompts for agency agreement and some multi-language translations

* add: Http proxy request client

* fix: add async http proxy func and format the code

* add: Preliminary support for flutter front-end calling rust back-end http request

* Optimize HTTP calls

* Optimize HTTP calls

* fix: Optimize HTTP requests, refine translations, and fix dependencies
2024-04-23 15:00:23 +08:00
rustdesk
1c3a2e475d safer handle_intranet 2024-03-23 00:56:18 +08:00
rustdesk
fc875f7ad6 more on custom client 2024-03-12 21:47:29 +08:00
rustdesk
0f3db29e75 fix https://github.com/rustdesk/rustdesk/discussions/7045 2024-02-29 11:27:21 +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
rustdesk
964c2ed2b5 smaller timeout for android and self-hosting 2024-02-17 16:50:03 +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
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
rustdesk
46b4e21e8c less udp message if failure 2024-01-26 18:58:05 +08:00
rustdesk
286181ca04 tcp rendezvous works now 2024-01-11 14:47:53 +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
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
dignow
02bc5e3111 debug, query_onlines_block_thread
Signed-off-by: dignow <linlong1265@gmail.com>
2023-11-16 10:32:22 +08:00
dignow
5a51284550 fix, query onlines, block current ffi thread
Signed-off-by: dignow <linlong1265@gmail.com>
2023-11-16 10:32:22 +08:00
21pages
d0173fbdc5 install service period protection
how to reproduce:
install, click stop service, click start service and click no
on uac, it'll show "Service is not running" but can be connected.

Signed-off-by: 21pages <pages21@163.com>
2023-09-11 16:04:51 +08:00
fufesou
55972bfac5 refact, linux headless option, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-07-29 15:51:42 +08:00
fufesou
c15e3c306e refact, option, allow linux headless
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-07-29 15:50:29 +08:00
21pages
aa740f4263 remove many unwrap and enum_value_or_default
Signed-off-by: 21pages <pages21@163.com>
2023-07-23 20:00:58 +08:00
rustdesk
07137ac566 sys info 2023-07-22 14:30:47 +08:00
rustdesk
2ec773e9bf issue #5062 2023-07-20 10:40:26 +08:00
rustdesk
e48f36a227 prepare device_info upload, change sync interval from 30s to 15s, also
enable android
2023-07-19 21:46:15 +08:00
rustdesk
d285773219 remove more dead code 2023-06-16 20:45:22 +08:00
rustdesk
3c2fd6253c remove dead code 2023-06-16 20:04:12 +08:00
rustdesk
baecf3edb8 enc punch 2023-05-14 18:17:02 +08:00
fufesou
afe07dde6f do not enable linux_headless when flatpak or appimage is enabled
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-09 11:35:14 +08:00
fufesou
b207468795 tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:59 +08:00
fufesou
73358502e9 linux headless feature, tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:58 +08:00
fufesou
30375a9853 refact linux desktop env
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:51 +08:00
fufesou
5e79481860 linux, refact desktop env
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:51 +08:00
fufesou
10eddc139c linux virtual display, init commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:49 +08:00
Josh Soref
996ed5398e spelling: rendezvous
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
rustdesk
72162c9a31 fix get relay server for ipv6 2023-01-04 20:27:18 +08:00
rustdesk
55962f2fc9 ipv6 support for direct connection, todo: UI input check, relay port
change based on ipv6
2023-01-04 18:35:31 +08:00
rustdesk
9859b4f27d fix ipv6 refactory 2022-12-29 22:31:01 +08:00
rustdesk
67ad937fdd fix nat64 and refactor ipv6 2022-12-29 20:34:52 +08:00
rustdesk
cfaeb6ac0a fix ci 2022-12-29 00:16:41 +08:00
rustdesk
08b8f40397 nat64 2022-12-28 13:52:13 +08:00
rustdesk
12390a66e8 shorter punch 2022-12-09 21:04:49 +08:00
rustdesk
cb640e48c5 refactor punch hole 2022-12-09 20:59:25 +08:00
21pages
dd04f76ec0 close all connections when stop service
Signed-off-by: 21pages <pages21@163.com>
2022-11-09 17:43:14 +08:00
asur4s
b6e0cc8e74 Fix warning 2022-09-05 12:39:11 -04:00
Asura
41241867b7 Fix compile warning 2022-09-02 01:20:48 -07:00
fufesou
74a2929bc9 flutter_desktop_connection_2: debug lan
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-08-02 13:10:09 +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
fufesou
0ba8b4079b flutter_desktop_online_state: refactor connection page
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-28 11:11:13 +08:00