53 Commits

Author SHA1 Message Date
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
8b8f50ed0f fix syninfo, add ab two menutiems: sync ab with recent sessions and sort tags 2023-07-26 19:53:57 +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
10508a41b1 manage network state for both user info and user group
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-06-21 16:37:27 +08:00
90a43a5110 add content-type to api/ab/get 2023-03-27 17:02:46 +02: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
880a0d4209 add group peer card
Signed-off-by: 21pages <pages21@163.com>
2022-12-14 11:25:31 +08:00
6f7eb17c48 ab: read respectively and sync when set
Signed-off-by: 21pages <pages21@163.com>
2022-12-06 12:12:10 +08:00
5616b20879 opt add ab id
Signed-off-by: 21pages <pages21@163.com>
2022-12-06 12:12:08 +08:00
9788f3684f judge attribute when parse ab json
Signed-off-by: 21pages <pages21@163.com>
2022-12-04 20:03:35 +08:00
csf
8d23c11312 fix abModel multi request and state didn't refresh bug 2022-10-09 19:41:50 +09:00
csf
c418a33384 fix: del selectedTags before tags 2022-10-08 19:56:04 +09:00
csf
a13c4c5907 AbModel use getx only 2022-10-08 17:13:24 +09:00
csf
ee1a7fb791 fix ab peers state 2022-10-08 16:53:03 +09:00
csf
729f4c0733 remove unused of model.dart 2022-09-27 17:52:36 +08:00
910fb84857 opt: more error catch on address book 2022-09-19 10:22:40 +08:00
088e31d80f fix: add null catch on address book request 2022-09-15 11:06:44 +08:00
0488eb31f5 flutter_desktop: remove unnecessary control flow
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-08-03 22:13:40 +08:00
7a2de5d280 flutter_desktop: fix global envet stream shading && refactor platform ffi
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-08-03 22:05:10 +08:00
6b99d4d82e add: peer rename
Signed-off-by: Kingtous <kingtous@qq.com>
2022-07-29 12:03:24 +08:00
06cb05f796 feat: user login/logout with UserModel
Signed-off-by: Kingtous <kingtous@qq.com>
2022-07-27 14:29:47 +08:00