Commit Graph

34 Commits

Author SHA1 Message Date
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
lejianwen
791a1850b8 feat: Add PostgreSQL support and refactor MySQL DSN handling (#284) 2025-06-16 12:26:08 +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
lejianwen
f2ea022965 feat(login): Captcha upgrade and add the function to ban IP addresses (#250) 2025-05-25 16:52:58 +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
c0346ff9e1 fix(config)!: Token expire time (#145)
将配置中的过期时间单位统一为time.Duration,可以设置为`h`,`m`,`s`
2025-02-17 10:49:59 +08:00
lejianwen
6a6a1ed02b feat: Login by pwd can be disable
---

Closes: #141
2025-02-16 13:06:45 +08:00
lejianwen
6aebf061a4 style: Module name 2025-02-12 19:46:39 +08:00
lejianwen
8622c78da0 fix: Config watchConfig (#135)
---
Closes: #135
2025-02-10 10:13:34 +08:00
lejianwen
d486444680 feat: Web sso env (#125) 2025-02-07 17:52:40 +08:00
lejianwen
829f8799dd style: Up conf 2025-02-07 17:52:40 +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
56014d35bd feat(server): Rustdesk Id Server Port & Relay Server Port #104 2025-01-16 20:57:00 +08:00
lejianwen
a7e4ce4f72 refactor(config): Up Config Load 2025-01-16 20:40:42 +08:00
lejianwen
edb095ab0b feat!: Add JWT
- `RUSTDESK_API_JWT_KEY`如果设置,将会启用JWT,token自动续期功能将失效
- 此功能是为了server端校验token的合法性
2025-01-15 19:25:28 +08:00
lejianwen
88765302e8 feat(webclient): add new query_online function
There may be a loss of performance
Therefore, it is not enabled by default
2024-12-21 21:15:06 +08:00
lejianwen
c298ddea0c add show-swagger config #83 2024-12-18 12:50:09 +08:00
ljw
7bb2ce0a43 add admin conf 2024-11-11 22:26:15 +08:00
ljw
5609a1a618 add cmd 2024-11-08 15:54:49 +08:00
ljw
c5e3482538 load key from file 2024-11-01 14:56:11 +08:00
ljw
e2fda47cbb add register 2024-10-31 15:14:30 +08:00
Tao Chen
4105f14a3f try add oidc 2024-10-29 11:51:01 +08:00
Oganneson
0091a9dd7f Add oauth callback via proxy
Improved support for environment variables and configuration files, and standardized default behaviors
2024-10-20 17:56:11 +08:00
ljw
b4965e8885 add login fail warn &
add web client on/off &
up admin peer filter &
upgrade web client
2024-10-14 10:43:29 +08:00
ljw
c99261c12d add i18n 2024-09-25 22:41:57 +08:00
ljw
c485035e74 add personal apis 2024-09-24 14:43:27 +08:00
ljw
a4b413dadb add oauth loginlog & fix bugs 2024-09-19 10:44:49 +08:00
ljw
3006f5bd7c up env 2024-09-13 22:39:00 +08:00
ljw
d9ed2127da up env 2024-09-13 22:09:46 +08:00
ljw
c53df223d1 first 2024-09-13 15:57:29 +08:00