85 Commits

Author SHA1 Message Date
RustDesk
c943117b2b
Update config.rs 2025-05-07 16:30:04 +08:00
RustDesk
4eca5b45b9
Merge pull request #148 from fufesou/fix/build_crate
fix: build
2025-04-30 20:55:32 +08:00
RustDesk
368dc1ab56 Update Cargo.toml 2025-04-30 20:51:38 +08:00
fufesou
8c2381278b fix: build
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-04-30 20:35:44 +08:00
RustDesk
bfddd5bb19
Merge pull request #147 from fufesou/feat/hostname_as_id
feat: hostname as id
2025-04-30 14:09:45 +08:00
fufesou
8e1dd7f88f feat: hostname as id
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-04-30 12:50:22 +08:00
RustDesk
42aad01a51
Merge pull request #144 from fufesou/feat/screenshot
feat: screenshot
2025-04-28 19:29:51 +08:00
fufesou
b08c92ad34 feat: screenshot
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-04-28 18:34:59 +08:00
RustDesk
3afaf64944
Merge pull request #143 from YinMo19/main
[enhance] add from method
2025-04-27 17:58:50 +08:00
YinMo19
96b41b552a [enhance] add from method 2025-04-27 16:50:43 +08:00
RustDesk
d04ae289c8
Merge pull request #137 from YinMo19/main
[enhance] Add websocket support.
2025-04-25 11:21:02 +08:00
YinMo19
d8f907a0d9 [enhance] implement inline func and neat import. 2025-04-25 11:11:53 +08:00
YinMo19
6be5600b77 [enhance] split into stream.rs. 2025-04-25 11:03:16 +08:00
YinMo19
512f67f25e [merge] merge conflict 2025-04-24 22:34:44 +08:00
YinMo19
3ef70f0e4d [clean] test passed.
- clean unused.
2025-04-24 22:27:16 +08:00
YinMo19
880365cab0 [bug fix] add enc logic. 2025-04-24 21:49:39 +08:00
YinMo19
608eb5983f [bug fix] add logic 2025-04-24 21:25:00 +08:00
YinMo19
7110634c09 [debug] add debug. 2025-04-24 20:53:58 +08:00
YinMo19
e9813ffdd6 [test] add test debug info. 2025-04-24 19:36:07 +08:00
RustDesk
ebb4d4a48c
Merge pull request #136 from fufesou/feat/linux_is_locked
feat: linux, is locked
2025-04-24 15:25:02 +08:00
fufesou
04772abbef feat: linux, is locked
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-04-24 14:00:53 +08:00
YinMo19
7d5cc2ed47 [enhance] test ver. Add text for test. 2025-04-24 03:11:54 +08:00
YinMo19
29a322e6e3 [test] temp stop proxy. 2025-04-24 00:27:54 +08:00
YinMo19
bac2ffd31e [enhance] rewrite websocket next. 2025-04-24 00:16:14 +08:00
YinMo19
13ffda490d [enhance] remove time ticking. 2025-04-23 21:36:17 +08:00
YinMo19
836dbbc144 [fallback] remove pingpong 2025-04-23 11:42:53 +08:00
YinMo19
5c6b12c438 [enhance] add ping pong send (ver.2) 2025-04-23 10:58:28 +08:00
YinMo19
f31d1ec1b8 [enhance] add ping pong send. 2025-04-23 10:42:34 +08:00
YinMo19
0d6948c97b [test] fix bug: twice enc. add ping pong log. 2025-04-23 09:58:20 +08:00
YinMo19
4ff800a8be [test] websocket should be determined in runtime. 2025-04-23 09:00:29 +08:00
YinMo19
b1dd3bb9c8 [add log] add log and add ws scheme 2025-04-23 08:44:02 +08:00
YinMo19
6798bf3780 [test] tcp success. Websocket test. (temp ver.) 2025-04-23 08:33:01 +08:00
YinMo19
d299e4909f [fix bug] fix twice enc.
- fix twice enc.
- enable proxy (temp ver.)
- rewite websocket::next.
2025-04-22 02:55:17 +08:00
RustDesk
2f8cf74865
Merge pull request #123 from tomty89/manager_session
Fixes related to systemd manager class session
2025-04-19 09:47:31 +08:00
Tom Yan
a27b28504d Ignore the session type when started as a user unit
If a user for reasons start the program as user unit (instead of
as a system unit or in a session), /proc/self/sessionid may result
in the inferred session type being "unspecified" and prevent
XDG_SESSION_TYPE from being leveraged (and its "x11" fallback).
2025-04-19 01:32:41 +08:00
Tom Yan
514ef6ac08 Ignore unspecified type session(s) when look through all active sessions
With modern systemd versions, there is a manager class session,
which is of type "unspecified", for each logged-in / lingering
user. Such session should be ignored when attempt to find an
appropriate session from all (non-seated) sessions, otherwise it
will prevent XDG_SESSION_TYPE (and its "x11" fallback) from being
leveraged.
2025-04-19 01:09:53 +08:00
RustDesk
1ed5a469cf
Update config.rs 2025-04-18 11:31:59 +08:00
YinMo19
2d65c24e4b [enhance] remove cfg select. 2025-04-18 11:31:46 +08:00
YinMo19
58103659e7 [enhance] add websocket NOT a config feature. 2025-04-18 02:53:39 +08:00
YinMo19
d00dd60e4c
Merge pull request #1 from YinMo19/websocket
[enhance] websocket
2025-04-17 11:56:52 +08:00
YinMo19
c156d2eef7 [enhance] websocket 2025-04-17 11:42:58 +08:00
RustDesk
9e4b3f9696
Update Cargo.toml 2025-04-14 12:00:55 +08:00
RustDesk
5cc7db2676
Update Cargo.toml 2025-04-14 11:40:10 +08:00
RustDesk
a26f25a045
tokio 1.44 2025-04-13 23:39:02 +08:00
RustDesk
5921946f75
Merge pull request #112 from fufesou/feat/conf_key_auto_update
conf key, auto update
2025-04-13 17:59:06 +08:00
fufesou
805fe3ee99 conf key, auto update
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-04-09 13:55:57 +08:00
RustDesk
81b932b7bf
Merge pull request #85 from fufesou/fix/fs_flush_before_getting_buf
fix: fs, flush before getting the buf
2025-03-28 17:35:00 +08:00
fufesou
77113964cf fix: fs, flush before getting the buf
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-03-28 17:26:41 +08:00
RustDesk
9ede5d49f6
Merge pull request #84 from fufesou/feat/remote_printer_fs
refact: fs, buf stream
2025-03-27 14:25:03 +08:00
fufesou
c907ad8fb2 refact: fs, buf stream
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-03-27 09:50:43 +08:00