Tao Chen
6f092472b1
feat: Optimize login workflow ( #345 )
...
* add "disable_pwd" and "auto_oidc" at /admin/login-options
* fix: build RedirectURL by host and scheme, not Origin
2025-07-31 10:46:11 +08:00
k3-cat
c52706e621
feat: Improve oauth redirect ( #303 )
...
* fix: redirects after oauth can potentially misalign with server's actually hostname
* feat: remove `RedirectURL` from oauth config, as it should checked by provider rather than client
* feat: align oauth endpoint with the hostname in requests
2025-07-04 14:30:07 +08:00
k3-cat
17dcff4f43
feat: better autorenewal ( #305 )
2025-07-04 14:27:47 +08:00
Plynksiy Nikita
0b39c4e104
feat(password): Password hashing with bcrypt ( #290 )
...
* feat(password): add configurable password hashing with md5 and bcrypt
* docs: add password hashing algorithm configuration (bcrypt/md5)
* feat(password): better bcrypt fallback and minor refactoring
* feat(password): handle errors in password encryption and verification
* feat(password): remove password hashing algorithm configuration
2025-06-24 17:23:36 +08:00
lejianwen
ca068816ae
feat: Add start time in /api/sysinfover
2025-06-16 12:23:48 +08:00
puyujian
8a8abd5163
feat(oauth): 支持linux.do登录 ( #280 )
...
* 支持linux.do登录
* 修正
2025-06-15 15:32:20 +08:00
lejianwen
7a5d141ce8
fix(server): Port custom ( #257 )
2025-05-30 12:27:37 +08:00
lejianwen
323364b24e
feat(register): Register status can be set ( #223 )
2025-05-25 17:03:13 +08:00
Tao Chen
527260d60a
fix: dn should be case-insensitive ( #250 )
2025-05-21 09:07:08 +08:00
lejianwen
0dedaf6824
feat: Peer share to group
2025-04-14 19:12:40 +08:00
lejianwen
ab231b3fed
feat: Add SysInfoVer endpoint and AppService for version retrieval
2025-04-07 16:38:21 +08:00
lejianwen
746e2a6052
fix: Get Uuids
2025-03-15 21:02:47 +08:00
Tao Chen
fd7e022e88
fix: rm varify password accidentally ( #176 )
2025-03-15 19:40:02 +08:00
Tao Chen
77d7b43e21
fix: Fix/ldap tls ( #162 )
...
* optimize and fix tls of LDAP
* fix
2025-03-02 22:59:01 +08:00
lejianwen
7410b539a0
style(service): refactor global dependencies to use local variables
2025-02-26 19:15:38 +08:00
lejianwen
0403d71502
feat(oauth): Oauth nonce ( #148 )
2025-02-26 16:36:53 +08:00
lejianwen
76281ad761
feat(api): Add device group for 1.3.8
2025-02-23 21:35:42 +08:00
lejianwen
448e7460a9
style(oidc): Oidc style
2025-02-21 09:49:41 +08:00
Tao Chen
c75320f4f4
feat(oidc): add pkce ( #150 )
2025-02-19 09:31:25 +08:00
lejianwen
49cf954d4a
fix(config)!: Token expire time ( #145 )
...
将配置中的过期时间单位统一为time.Duration,可以设置为`h`,`m`,`s`
2025-02-17 10:49:59 +08:00
lejianwen
99db5f7190
fix(admin): Admin web title
2025-02-12 21:10:07 +08:00
lejianwen
18eff791b2
style: Module name
2025-02-12 19:46:39 +08:00
lejianwen
472524f836
style: Module name
2025-02-12 16:07:51 +08:00
Tao Chen
8a5b20685c
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
01f697d279
fix(api): Add Default Token Expire ( #113 )
2025-02-03 13:18:08 +08:00
Tao Chen
ae32915565
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
d9e2e247ea
feat(api): Add api token expire
...
Resolves #109
2025-01-21 18:23:28 +08:00
lejianwen
f4cb9beda5
fix(api): Change tag to alphabetical sorting
...
Fixes : #108
2025-01-20 13:07:41 +08:00
lejianwen
a876078a9c
feat(server): Rustdesk Id Server Port & Relay Server Port #104
2025-01-16 20:57:00 +08:00
lejianwen
a951b982b3
fix: Jwt
2025-01-15 20:26:26 +08:00
lejianwen
f41b9d5887
feat!: Add JWT
...
- `RUSTDESK_API_JWT_KEY`如果设置,将会启用JWT,token自动续期功能将失效
- 此功能是为了server端校验token的合法性
2025-01-15 19:25:28 +08:00
lejianwen
d7f2d54faa
feat(server): Add Rustdesk Relay Server Commands
2025-01-04 20:49:44 +08:00
lejianwen
7db4b03634
style(server): fmt print to log
2025-01-02 21:49:37 +08:00
lejianwen
240c44aa07
feat(server): Add Rustdesk Command
...
And add build full s6 image for rustdesk command
2024-12-31 23:16:15 +08:00
lejianwen
5082ab1893
refactor(admin): Move Admin Web Route to user model
2024-12-27 19:27:33 +08:00
lejianwen
e8b2425222
feat(admin): Add My Login log
2024-12-27 19:25:59 +08:00
lejianwen
2d6f0a116a
add share record manage
2024-12-13 12:32:36 +08:00
lejianwen
9b4fa679c2
add batch add ab from peer
...
add batch update ab tags
2024-12-06 19:45:41 +08:00
lejianwen
b2b7f60fd5
add batch delete user token
2024-12-06 10:36:27 +08:00
ljw
aced098982
add batch delete log #57
2024-11-12 09:08:10 +08:00
ljw
30d254eaef
fix #55
2024-11-09 20:14:14 +08:00
ljw
07450416ed
fix #52 & add auto refresh token #53
2024-11-07 10:46:00 +08:00
Tao Chen
ab30b3407b
add error information
2024-11-06 15:06:15 +08:00
Tao Chen
7a4c735803
fix: cannot delete user
2024-11-06 14:36:12 +08:00
ljw
d4d39eecaa
up oauth re
2024-11-05 11:48:35 +08:00
Tao Chen
3af92d03e8
modify google ro re-use oidc
2024-11-04 21:30:58 +08:00
Tao Chen
f17d891302
fix: delete check
2024-11-03 22:23:24 +08:00
Tao Chen
51623436b0
fix: call us.IsAdmin(u) to check admin
2024-11-03 21:59:17 +08:00
Tao Chen
1b7c7eef8f
fix google
2024-11-03 18:04:28 +08:00
Tao Chen
120ab132a9
fix: last admin shouldn't be deleted, disabled or demoted
2024-11-03 17:19:05 +08:00