Yaodong Yu
a6f803aff1
feat: refactor code to use responseOK everywhere ( #2111 )
...
* refactor: use responseOK return frontend format json data
* revert handle error
* revert handle error
2023-07-23 09:49:16 +08:00
珩
f923a8f0d7
fix: provide detailed description of ldap in swagger ( #2094 )
...
* provide detailed description of ldap in swagger
* modify the directory of swagger
fix: provide detailed description of ldap in swagger
2023-07-20 12:32:48 +08:00
Yang Luo
666ff48837
Use id param in /sync-ldap-users API
2023-07-13 00:14:18 +08:00
Yang Luo
438c999e11
Add password mask to /get-ldaps and /get-ldap APIs
2023-07-12 23:21:47 +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
Yaodong Yu
65dcbd2236
feat: compatible different uid of LDAP server ( #1860 )
...
* feat: compatible different uid of LDAP server
* Update organization.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-19 02:34:25 +08:00
Yaodong Yu
6455734807
fix: fix incorrect LDAP sync status ( #1859 )
2023-05-18 22:03:53 +08:00
Yaodong Yu
903745c540
fix: improve LDAP page UI ( #1749 )
...
* refactor: improve LDAP sync page
* refactor: update anted version
* chore: i18
2023-04-17 22:03:05 +08:00
Yaodong Yu
1b1de1dd01
feat: add LDAP custom filter support ( #1719 )
...
* refactor: improve ldap server code
* feat: custom filter
* fix: fix displayName mapping
* feat: add custom filter search fields
* chore: add license
* chore: i18n
* chore: i18n
* chore: update init field
2023-04-13 14:12:31 +08:00
Yaodong Yu
295a69c5f7
feat: support LDAP with SSL/TLS enabled ( #1655 )
2023-03-15 11:12:31 +08:00
Yaodong Yu
2cca1c9136
feat: refactor LDAP backend code and improve frontend operation ( #1640 )
...
* refactor: simplify ldap backend code and improve frontend operation
* chore: add skipCi tag in sync_test.go
* fix: ui
2023-03-12 11:12:51 +08:00
Yaodong Yu
a5dfe54a33
feat: fix LDAP page crash ( #1630 )
2023-03-08 21:31:55 +08:00
Yang Luo
3ae81716b9
Fix getLdaps() GET
2023-02-18 16:27:47 +08:00
Yaodong Yu
f2f962b893
fix: refactor functions and code ( #1559 )
2023-02-18 09:31:58 +08:00
Yaodong Yu
5d9b17542f
feat: end-user log out ( #1356 )
2023-01-17 22:57:05 +08:00
Mr Forest
1bb3d2dea9
feat: refactor backend i18n ( #1373 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
* feat: refactor translation error message
* feat: use json intsead of ini file
* remove useless translation
* fix translate problems
* remove useless addition
* fix pr problems
* fix pr problems
* fix split problem
* use gofumpt to fmt code
* use crowdin to execute backend translation
* fix pr problems
* refactor: change translation file structure same as frontend
* delete useless output
* update go.mod
2022-12-07 13:13:23 +08:00
Mr Forest
d86f3c88c7
feat: support i18n in backend err messages ( #1232 )
...
* feat: support i18n in backend err messages
* use gofumpt to fmt code
* fix review problems
* support auto generate err message
* delete beego/i18n moudle
* fix Github action test problems
* fix review problems
* use gofumpt to format code
* use gofumpt to fmt code
2022-10-23 15:16:24 +08:00
疯魔慕薇
67a5adf585
feat: replace panic with details json error payload. ( #1039 )
...
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
2022-08-20 21:09:32 +08:00
Mikey
79119760f2
style: golint ( #988 )
2022-08-09 16:50:49 +08:00
q1anx1
2ea58cd639
chore(style): use gofumpt
to fmt go code ( #967 )
2022-08-07 12:26:14 +08:00
Yixiang Zhao
c05fb77224
fix: set sync ldap user default attributes ( #721 )
...
* fix: set the password of the sync ldap user to empty
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: set sync ldap user default attributes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-04-29 21:44:13 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
Yixiang Zhao
4122c94205
feat: add pagination for LdapSyncPage and fix the bug Ldap auto-sync cannot disable ( #496 )
...
* feat: add pagination for LdapSyncPage
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: Ldap auto sync cannot disable
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-02-15 23:03:53 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Gucheng Wang
c22ab44894
Update import path.
2022-01-20 14:11:46 +08:00
Товарищ программист
f43d01c5c2
feat: implement automatic synchronization for ldap users ( #371 )
...
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-15 17:45:11 +08:00
Товарищ программист
07fa438348
feat: update swagger api json with tags ( #347 )
...
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-03 20:42:36 +08:00
Yang Luo
d16569d461
Use c.ResponseError() for all places.
2021-08-14 14:19:33 +08:00
sh1luo
8c66ef6860
fix: improve code specification ( #231 )
2021-08-14 14:18:08 +08:00
sh1luo
c632c3c307
fix: replace casdoor with casbin ( #194 )
...
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 09:34:25 +08:00
WindSpiritSR
705d2ede6b
feat: support LDAP ( #160 )
...
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-07-19 10:13:23 +08:00