16 Commits

Author SHA1 Message Date
Yang Luo
0033ae1ff1 Improve syncer code 2023-10-08 20:50:28 +08:00
Yang Luo
d06d7c5c09 Fix batch methods like AddUsersInBatch() 2023-10-08 19:33:28 +08:00
Yang Luo
1e5ce7a045 Fix crash in syncUsersNoError() 2023-08-28 01:51:06 +08:00
Baihhh
b19be2df88
fix: change the id to key in syncer (#2263) 2023-08-27 20:57:27 +08:00
Yang Luo
988b26b3c2 Return error for RunSyncer() 2023-08-27 02:22:37 +08:00
Baihhh
80b0d26813 fix: synchronize update the syncers (#2201)
Signed-off-by: baihhh <2542274498@qq.com>
2023-08-13 22:30:57 +08:00
XDTD
68f032b54d fix: add isReadOnly for syncer (#2015)
* feat: add read only mod for syncer

* feat: change readOnlyEnable to isReadOnly
2023-06-24 17:56:41 +08:00
yehong
02e692a300
feat: return most backend API errors to frontend (#1836)
* feat: return most backend API errros to frontend

Signed-off-by: yehong <239859435@qq.com>

* refactor: reduce int type change

Signed-off-by: yehong <239859435@qq.com>

* feat: return err backend in token.go

Signed-off-by: yehong <239859435@qq.com>

---------

Signed-off-by: yehong <239859435@qq.com>
2023-05-30 15:49:39 +08:00
Yixiang Zhao
fb9b8f1662
fix: skip the duplicated users when sync users (#928)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-07-30 22:24:23 +08:00
Gucheng Wang
db37f53d6c Update license headers. 2022-02-13 23:39:27 +08:00
Gucheng Wang
9fd175eefd Add ErrorText to syncer. 2022-01-17 21:17:42 +08:00
Yang Luo
4b4c9be71b Fix other bugs in syncer. 2021-12-25 00:05:54 +08:00
Yang Luo
8dcb56ea71 Fix affiliationMap null bug. 2021-12-22 21:09:13 +08:00
Yang Luo
e64f181e28 Add getCasdoorColumns(). 2021-12-20 00:26:46 +08:00
Yang Luo
5ee5299a68 Improve syncer code. 2021-12-19 22:30:54 +08:00
Gucheng Wang
318cf52b33 Refactor the original db code. 2021-12-18 01:08:03 +08:00