73 Commits

Author SHA1 Message Date
d7b47b49d2 opt password sync, opt ab widgets (#7582)
* Opt sync conctrl with password source, add some comments
* For sync from recent, legacy ab remove forceRelay, rdpPort, rdpUsername,
  because it's not used, personal ab add sync hash
* Opt style of add Id dialog

Signed-off-by: 21pages <pages21@163.com>
2024-04-02 22:08:47 +08:00
1cfc9b6139 chore: fix some typos (#7585)
Signed-off-by: redistay <wujunjing@outlook.com>
2024-04-02 21:41:54 +08:00
4b0e88ce46 fix not saving cache after changing current address book (#7544)
and get address book mode from cache

Signed-off-by: 21pages <pages21@163.com>
2024-03-28 20:50:53 +08:00
0c32a889a9 fix ab cache not work, set current ab name after load cache (#7542)
Signed-off-by: 21pages <pages21@163.com>
2024-03-28 19:37:25 +08:00
22356940d9 ab show loading LinearProgressIndicator (#7538)
* Display the LinearProgressIndicator at the top of ab if the current ab is both empty and in a loading state.
* Add pull error like the legacy ab.
* When forcefully reading the 'ab' list, retrieve the personal ab guid to judge the current mode  to prevent server upgrades while the main window remains open

Signed-off-by: 21pages <pages21@163.com>
2024-03-27 21:28:21 +08:00
c0c110fe7e opt pull ab (#7509)
* get ab settings only on new mode
* avoid pull dummpy current ab if list not initialized

Signed-off-by: 21pages <pages21@163.com>
2024-03-25 20:38:26 +08:00
3dc6e576df check isDisableAccount and isDisableAb before pull ab / group 2024-03-25 20:14:34 +08:00
49f717fcf8 opt pull ab (#7508)
1. Test legacy/new mode only upon logging out.
2. Avoid pulling all data unnecessarily:
* On startup: Retrieve list, current, and personal data.
* On refresh: Retrieve list and current data.
* On changing AB/switching tabs: Attempt to pull current data if not initialized.
3. Cache only personal and current AB.
4. Synchronize current AB from recent.
5. Remove AB loading CircularProgressIndicator.

Signed-off-by: 21pages <pages21@163.com>
2024-03-25 19:59:21 +08:00
96c8d4de6a fix restore ab afer pullAb (#7480)
* Opt ab name drop downdrop, more width

Signed-off-by: 21pages <pages21@163.com>
2024-03-22 23:32:59 +08:00
285e298a8b fix ab tag flashing when refreshing (#7471)
* opt isFull, fix web console menu

Signed-off-by: 21pages <pages21@163.com>

* fix ab tag flashing when refreshing

Signed-off-by: 21pages <pages21@163.com>

---------

Signed-off-by: 21pages <pages21@163.com>
2024-03-22 11:02:22 +08:00
67bc26ed57 remove address book operation code, as it duplicates the the functionality of web console (#7451)
Signed-off-by: 21pages <pages21@163.com>
2024-03-21 14:01:18 +08:00
4e060203ad ab share rules, use user/group name rather than level (#7443)
Signed-off-by: 21pages <pages21@163.com>
2024-03-21 07:23:08 +08:00
41da6d552f shared address book (#7229)
Signed-off-by: 21pages <pages21@163.com>
2024-03-20 15:05:54 +08:00
6548f9f0ed Fix ab merge and sync from recent (#6910)
* fix missing platform when merge ab

Signed-off-by: 21pages <pages21@163.com>

* sync from recent after ab initialized

Signed-off-by: 21pages <pages21@163.com>

---------

Signed-off-by: 21pages <pages21@163.com>
2024-01-17 14:38:12 +08:00
1416197b62 add option filter ab by intersection
Signed-off-by: 21pages <pages21@163.com>
2023-10-11 16:50:48 +08:00
69062dca16 fix, dialog button, reconnect cancel in a short time
1. Two `reconnect` is called.
2. The window cannot be closed.

Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-29 21:42:49 +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
51b62ea467 merge info from group when add id to addressbook
Signed-off-by: 21pages <pages21@163.com>
2023-09-21 16:34:04 +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
da9fb46b6a fix pushAb
Signed-off-by: 21pages <pages21@163.com>
2023-08-23 12:20:19 +08:00
b27c3ff169 change tag color
Signed-off-by: 21pages <pages21@163.com>
2023-08-22 19:07:01 +08:00
b5411b686d recent/ab password keep same: sync connected password to addressbook anyway, delete recent password
also delete ab password

Signed-off-by: 21pages <pages21@163.com>
2023-08-21 10:04:16 +08:00
df02292338 restore online status after pullAb
Signed-off-by: 21pages <pages21@163.com>
2023-08-19 15:28:53 +08:00
ce5abfc3cd fix missing await in pullAb
Signed-off-by: 21pages <pages21@163.com>
2023-08-18 19:46:50 +08:00
24e6b54650 don't use Offstage as widget of animated loading, reuse refresh as
loading

Signed-off-by: 21pages <pages21@163.com>
2023-08-18 12:58:37 +08:00
2279c1ce70 fix ab ui update on every time callback
Signed-off-by: 21pages <pages21@163.com>
2023-08-17 21:17:31 +08:00
81bf4bc028 Merge pull request #5425 from 21pages/ab
fix searching alias doesn't take effect in address book
2023-08-17 19:24:13 +08:00
d7f0acd96d ab: unremember password in ab also unremember password in recent, and set alias also sync to recent
Signed-off-by: 21pages <pages21@163.com>
2023-08-17 19:20:07 +08:00
8e9f3e2b4d fix ab sync judge
Signed-off-by: 21pages <pages21@163.com>
2023-08-17 08:28:51 +08:00
da4679f0ae ab: add full check in pullAb && sync recent check login
Signed-off-by: 21pages <pages21@163.com>
2023-08-16 15:39:56 +08:00
6f8483aecd ab: full check for adding peers from recent/batch operation
Signed-off-by: 21pages <pages21@163.com>
2023-08-16 13:30:38 +08:00
1e75b172d6 ab: opt reaction and message hint
Signed-off-by: 21pages <pages21@163.com>
2023-08-16 12:09:01 +08:00
553a3798a1 ab: sync all recent peers if option enabled
Signed-off-by: 21pages <pages21@163.com>
2023-08-16 11:36:16 +08:00
29c661d919 ab: fix ui not updating immediately
Signed-off-by: 21pages <pages21@163.com>
2023-08-16 11:35:42 +08:00
4c25f94bd1 fix gzip threshold changed by mistake
Signed-off-by: 21pages <pages21@163.com>
2023-08-15 12:55:54 +08:00
d45def7cbe opt ab json decode
Signed-off-by: 21pages <pages21@163.com>
2023-08-15 12:09:33 +08:00
57b8ec178c sync ab alias
Signed-off-by: 21pages <pages21@163.com>
2023-08-15 10:22:33 +08:00
b2f5e2f927 ab:deal push error, show error banner, fix splash empty by remove reset
Signed-off-by: 21pages <pages21@163.com>
2023-08-15 10:22:31 +08:00
bea88f31e0 use ab cache init show and show custom loading when ab not emtpy
Signed-off-by: 21pages <pages21@163.com>
2023-08-11 15:39:42 +08:00
eb8231af14 delete ab cache and show login button on http 401
Signed-off-by: 21pages <pages21@163.com>
2023-08-10 17:38:51 +08:00
54a396ed1b fix tag rename
Signed-off-by: 21pages <pages21@163.com>
2023-08-10 11:12:58 +08:00
db45552a05 rename tag
Signed-off-by: 21pages <pages21@163.com>
2023-08-10 10:35:46 +08:00
2f5ae54c08 simple ab store and add batch operation toast
Signed-off-by: 21pages <pages21@163.com>
2023-08-04 15:32:09 +08:00
5a0865559c peer card batch operation
Signed-off-by: 21pages <pages21@163.com>
2023-08-03 21:35:16 +08:00
cd5658f01d refactor addressbook sync
Signed-off-by: 21pages <pages21@163.com>
2023-08-02 22:25:54 +08:00
831a50e702 fix addressbook pull uri
Signed-off-by: 21pages <pages21@163.com>
2023-07-31 17:22:41 +08:00
dd4f52b63d move closing-tabs to local config, and add glgetstring to stack check 2023-07-30 12:16:00 +08:00
e5bdbffbcf ab compression 2023-07-28 17:53:02 +08:00
791645fa59 add ab full check 2023-07-26 20:43:18 +08:00