k3-cat
73a8461a2d
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
af4813db30
feat: better autorenewal ( #305 )
2025-07-04 14:27:47 +08:00
Plynksiy Nikita
9d2b589faa
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
175fdc3bd4
feat: Add start time in /api/sysinfover
2025-06-16 12:23:48 +08:00
puyujian
bf39a29e6c
feat(oauth): 支持linux.do登录 ( #280 )
...
* 支持linux.do登录
* 修正
2025-06-15 15:32:20 +08:00
lejianwen
a35fa6f9a8
fix(server): Port custom ( #257 )
2025-05-30 12:27:37 +08:00
lejianwen
d4fdf3785b
feat(register): Register status can be set ( #223 )
2025-05-25 17:03:13 +08:00
Tao Chen
fe4a115c9d
fix: dn should be case-insensitive ( #250 )
2025-05-21 09:07:08 +08:00
lejianwen
fb8ef8a1fd
feat: Peer share to group
2025-04-14 19:12:40 +08:00
lejianwen
ae59b6a733
feat: Add SysInfoVer endpoint and AppService for version retrieval
2025-04-07 16:38:21 +08:00
lejianwen
35be09b37c
fix: Get Uuids
2025-03-15 21:02:47 +08:00
Tao Chen
caea60c732
fix: rm varify password accidentally ( #176 )
2025-03-15 19:40:02 +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
ef4af39f94
feat(api): Add device group for 1.3.8
2025-02-23 21:35:42 +08:00
lejianwen
f0b4b0d7c6
style(oidc): Oidc style
2025-02-21 09:49:41 +08:00
Tao Chen
6f55c5b642
feat(oidc): add pkce ( #150 )
2025-02-19 09:31:25 +08:00
lejianwen
c0346ff9e1
fix(config)!: Token expire time ( #145 )
...
将配置中的过期时间单位统一为time.Duration,可以设置为`h`,`m`,`s`
2025-02-17 10:49:59 +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
32a9eda8ca
style: Module name
2025-02-12 16:07:51 +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
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
7c528facf9
fix(api): Change tag to alphabetical sorting
...
Fixes : #108
2025-01-20 13:07:41 +08:00
lejianwen
56014d35bd
feat(server): Rustdesk Id Server Port & Relay Server Port #104
2025-01-16 20:57:00 +08:00
lejianwen
a4433e6113
fix: Jwt
2025-01-15 20:26:26 +08:00
lejianwen
edb095ab0b
feat!: Add JWT
...
- `RUSTDESK_API_JWT_KEY`如果设置,将会启用JWT,token自动续期功能将失效
- 此功能是为了server端校验token的合法性
2025-01-15 19:25:28 +08:00
lejianwen
a5671e692d
feat(server): Add Rustdesk Relay Server Commands
2025-01-04 20:49:44 +08:00
lejianwen
63f2fd2f07
style(server): fmt print to log
2025-01-02 21:49:37 +08:00
lejianwen
d1fc0036cb
feat(server): Add Rustdesk Command
...
And add build full s6 image for rustdesk command
2024-12-31 23:16:15 +08:00
lejianwen
18312336a4
refactor(admin): Move Admin Web Route to user model
2024-12-27 19:27:33 +08:00
lejianwen
72e3a9a841
feat(admin): Add My Login log
2024-12-27 19:25:59 +08:00
lejianwen
ef0410a8b9
add share record manage
2024-12-13 12:32:36 +08:00
lejianwen
8c0ac5621a
add batch add ab from peer
...
add batch update ab tags
2024-12-06 19:45:41 +08:00
lejianwen
1c5cd3ae62
add batch delete user token
2024-12-06 10:36:27 +08:00
ljw
49eaa831ed
add batch delete log #57
2024-11-12 09:08:10 +08:00
ljw
4915cfa9ba
fix #55
2024-11-09 20:14:14 +08:00
ljw
70a03f1aba
fix #52 & add auto refresh token #53
2024-11-07 10:46:00 +08:00
Tao Chen
34a27ba073
add error information
2024-11-06 15:06:15 +08:00
Tao Chen
956700c27f
fix: cannot delete user
2024-11-06 14:36:12 +08:00
ljw
daeae19194
up oauth re
2024-11-05 11:48:35 +08:00
Tao Chen
3acfb36c5d
modify google ro re-use oidc
2024-11-04 21:30:58 +08:00
Tao Chen
5a53f180e4
fix: delete check
2024-11-03 22:23:24 +08:00
Tao Chen
ca79a63492
fix: call us.IsAdmin(u) to check admin
2024-11-03 21:59:17 +08:00
Tao Chen
9dfe745629
fix google
2024-11-03 18:04:28 +08:00
Tao Chen
aee25a6c99
fix: last admin shouldn't be deleted, disabled or demoted
2024-11-03 17:19:05 +08:00
Tao Chen
da7b70c471
add err for RegisterByOauth
2024-11-03 16:49:03 +08:00