29 Commits

Author SHA1 Message Date
ec0456e606 clear the accessible devices tab when retrieving accessible devices disabled (#11913)
* clear the accessible devices tab when retrieving accessible devices is disabled

Signed-off-by: 21pages <sunboeasy@gmail.com>

* Update group_model.dart

---------

Signed-off-by: 21pages <sunboeasy@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2025-05-29 17:07:32 +08:00
8b9a7a3506 refact: optimize, ID search peers (#10853)
* refact: optimize, preload peers

Signed-off-by: fufesou <linlong1266@gmail.com>

* Update dialogs.dart

---------

Signed-off-by: fufesou <linlong1266@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2025-02-20 18:31:12 +08:00
cefda0dec1 device group (#10781)
1. Rename `Group` tab to `Accessible devices`
2. Add accessible device groups at the top of search list
3. option `preset-device-group-name` and command line `--assign --device_group_name`

Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-02-15 12:13:11 +08:00
ffc73f86a0 fix ab peers view, all peer tab use global peers model (#9475)
Use ChangeNotifierProvider<Peers>.value, and each peer tab has a global unique `Peers` model, then `load peers` and `build
peers` will always be the same one.

Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-09-26 22:08:32 +08:00
7e8d3bd2ac remove calling refreshCurrentUser when connect status become ready (#8849)
When refreshCurrentUser throw error, show check network in ab and group
tab.

Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-07-28 10:15:09 +08:00
df74a38b90 disable-group-panel for https://github.com/rustdesk/rustdesk-server-pro/issues/250 2024-05-28 20:10:12 +08:00
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 2e5f247b2ed0cc63a6f6f7bbaaffd0a1223712e5.

* test: test CI

* test: test CI

* fix: fix lock file

* fix: Optimize imports
2024-04-25 11:46:21 +08:00
ac7f8a6447 Revert "http/https proxy (#7600)" (#7801)
This reverts commit da57fcb6418f27672ef0c35c3408f70c75fc1bd4.
2024-04-23 15:26:16 +08:00
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
5236dcfe52 peers view show no more than 1000 after filter
Signed-off-by: 21pages <pages21@163.com>
2023-09-25 13:41:23 +08:00
a437524c8f await loadCache
Signed-off-by: 21pages <pages21@163.com>
2023-09-25 13:41:23 +08:00
d83d8c18fc remove ab pull error toast, translate group pull error
Signed-off-by: 21pages <pages21@163.com>
2023-09-24 09:00:24 +08:00
0246f050e2 fix group peers read
Signed-off-by: 21pages <pages21@163.com>
2023-09-19 16:18:59 +08:00
738ad474c1 fix upgrade prompt condition
Signed-off-by: 21pages <pages21@163.com>
2023-09-18 14:36:55 +08:00
b2a4f11e0b enable group, show accessible users and peers
Signed-off-by: 21pages <pages21@163.com>
2023-09-18 13:44:41 +08:00
56c8e00b8b unify name 2023-08-03 22:06:09 +08:00
31eea1482b remove stupid group, bad implementation, buggy, and not usable 2023-06-23 17:05:48 +08:00
58e4d66b44 add force, quiet to pullAb, no force pull while switch tab, this may be
not good, because data not updated, have to do with refresh button, we
may change to quiet pull in the future
2023-06-23 15:10:10 +08:00
c02a502a7f peer tab use icon
Signed-off-by: 21pages <pages21@163.com>
2023-06-22 08:49:58 +08:00
0bda66dd7f peer ab/group tab refresh, animated refresh icon
Signed-off-by: 21pages <pages21@163.com>
2023-06-21 12:11:41 +08:00
ec9062f505 filter group peers without http request
Signed-off-by: 21pages <pages21@163.com>
2023-06-21 09:43:09 +08:00
ca19246f30 decode json with utf8 from names and show account info
Signed-off-by: 21pages <pages21@163.com>
2023-06-18 14:11:35 +08:00
8b7a145c61 fix group visit
Signed-off-by: 21pages <pages21@163.com>
2023-06-17 22:43:26 +08:00
40d0ea016b refactor peer tab with model, make it scrollable
Signed-off-by: 21pages <pages21@163.com>
2023-02-06 12:54:32 +08:00
csf
3e357159f3 refactor user login:
1. opt request json type.
2. desktop and mobile use same loginDialog.
3. opt loginDialog UI style.
4. opt login request Exception catch.
2023-01-06 19:26:19 +09:00
54ce0a9775 refactor audit field
Signed-off-by: 21pages <pages21@163.com>
2022-12-26 09:48:44 +08:00
csf
c5ad9893ff request other user's peers in sam
e group
2022-12-19 22:38:33 +09:00
e1bfd73ca1 fix group model pull error
Signed-off-by: 21pages <pages21@163.com>
2022-12-14 12:27:57 +08:00
880a0d4209 add group peer card
Signed-off-by: 21pages <pages21@163.com>
2022-12-14 11:25:31 +08:00