409 Commits

Author SHA1 Message Date
lejianwen
891469909c style: Update peer last online time logic (#173) 2025-03-15 21:02:08 +08:00
lejianwen
6ed75bc517 feat(admin): Add filter by ip and username (#172) 2025-03-15 19:49:49 +08:00
Tao Chen
caea60c732 fix: rm varify password accidentally (#176) 2025-03-15 19:40:02 +08:00
lejianwen
0a78c206de fix: Init database err (#166) 2025-03-04 18:14:25 +08:00
lejianwen
a7f7c76e0e docs: Readme 2025-03-04 16:30:12 +08:00
lejianwen
c10d132b3c fix: templates 2025-03-04 16:14:34 +08:00
lejianwen
8b951065ce style(webclient): ws-host 2025-03-04 15:48:25 +08:00
lejianwen
08420f9db6 feat(config): add ws-host configuration (#156) 2025-03-04 15:43:25 +08:00
Tao Chen
5db3c8bf0b fix: Fix/ldap tls (#162)
* optimize and fix tls of LDAP

* fix
2025-03-02 22:59:01 +08:00
lejianwen
403d9c2233 style(service): refactor global dependencies to use local variables 2025-02-26 19:15:38 +08:00
lejianwen
0f16f61ab3 feat(oauth): Oauth nonce (#148) 2025-02-26 16:36:53 +08:00
lejianwen
0dd92311b2 feat(oauth): Oauth callback page beautification (#115) 2025-02-25 13:51:49 +08:00
lejianwen
ef4af39f94 feat(api): Add device group for 1.3.8 2025-02-23 21:35:42 +08:00
lejianwen
73f3056878 feat(api): Add /device-group/accessible for 1.3.8 2025-02-23 15:32:44 +08:00
lejianwen
f0b4b0d7c6 style(oidc): Oidc style 2025-02-21 09:49:41 +08:00
lejianwen
5d5aae6b3c fix(admin): Admin hello 2025-02-20 19:37:34 +08:00
lejianwen
4b5e316475 style: No need exec sql on version 261 2025-02-20 19:22:22 +08:00
lejianwen
8ff9a12a34 fix: Js content-type 2025-02-19 16:04:03 +08:00
Tao Chen
6f55c5b642 feat(oidc): add pkce (#150) 2025-02-19 09:31:25 +08:00
lejianwen
99e63cadcf docs: Readme 2025-02-17 10:59:38 +08:00
lejianwen
c0346ff9e1 fix(config)!: Token expire time (#145)
将配置中的过期时间单位统一为time.Duration,可以设置为`h`,`m`,`s`
2025-02-17 10:49:59 +08:00
lejianwen
d85a00f748 docs: Readme 2025-02-16 21:06:55 +08:00
lejianwen
6a6a1ed02b feat: Login by pwd can be disable
---

Closes: #141
2025-02-16 13:06:45 +08:00
lejianwen
4b3bbe809d style: middleware name 2025-02-12 22:09:52 +08:00
lejianwen
63cf231bdc fix(admin): Admin web title 2025-02-12 21:10:07 +08:00
lejianwen
6aebf061a4 style: Module name 2025-02-12 19:46:39 +08:00
lejianwen
a2672c9489 style: generate 2025-02-12 16:56:41 +08:00
lejianwen
a304da6e02 style: Remove generate 2025-02-12 16:25:04 +08:00
lejianwen
0e160f110b docs: Docs 2025-02-12 16:14:51 +08:00
lejianwen
32a9eda8ca style: Module name 2025-02-12 16:07:51 +08:00
lejianwen
8622c78da0 fix: Config watchConfig (#135)
---
Closes: #135
2025-02-10 10:13:34 +08:00
lejianwen
7d6bc2a74f fix: User disabled can not work (#133)
---
Closes: #133
2025-02-10 10:13:15 +08:00
Tao Chen
5224c31d61 fix: When OIDC and LDAP work togethar (#132 #134)
* fix OIDC create user if LDAP enable

* `newUser.GroupId = 1` for ldap

* fix
2025-02-10 10:08:49 +08:00
lejianwen
983025538f docs: Readme 2025-02-09 21:13:01 +08:00
Tao Chen
cd5b247356 docs: add LDAP info (#130) 2025-02-09 19:36:31 +08:00
lejianwen
e2d72530b1 docs: Readme 2025-02-07 18:14:12 +08:00
lejianwen
5660d40514 style: Log time 2025-02-07 17:57:28 +08:00
lejianwen
d486444680 feat: Web sso env (#125) 2025-02-07 17:52:40 +08:00
lejianwen
2261a4292a docs: Up readme 2025-02-07 17:52:40 +08:00
lejianwen
829f8799dd style: Up conf 2025-02-07 17:52:40 +08:00
lejianwen
e549416d94 docs: Up readme 2025-02-07 17:52:40 +08:00
lejianwen
ff77014acb feat: Random Initial Password for Admin (#117) 2025-02-07 17:52:39 +08:00
lejianwen
daab7112be fix(build): Fix no admin in deb (#119 #120) 2025-02-03 13:29:35 +08:00
lejianwen
12442f1ba0 fix(api): Add Default Token Expire (#113) 2025-02-03 13:18:08 +08:00
Tao Chen
0e3f204327 feat(ldap): Add LDAP
* rename: Admin to AdminGroup

* update

* cleanup

* tmp save group mapping

* add enableControl(not-test)

* verify username exist before create(for LDAP)

* add getAllGroupsDn()

* rename

* adminGroup

* enable TLS Verify

* init for ldap

---------

Co-authored-by: Tao Chen <iamtaochen@outlook.com>
2025-02-02 23:59:52 +08:00
lejianwen
d9fcfdde6a feat(api): Add api token expire
Resolves #109
2025-01-21 18:23:28 +08:00
lejianwen
44fa22b7e5 feat(api): Add api/version
Resolves #110
2025-01-20 20:04:22 +08:00
lejianwen
59038e27f8 docs: Up Swagger docs 2025-01-20 19:35:47 +08:00
lejianwen
7d23ce3caf style: Add Start Tips 2025-01-20 13:12:45 +08:00
lejianwen
7c528facf9 fix(api): Change tag to alphabetical sorting
Fixes: #108
2025-01-20 13:07:41 +08:00