Yang Luo
ea7718d7b7
Use Casvisor for records
2023-08-20 00:44:01 +08:00
UsherFall
914128a78a
fix: Support Telegram Notification provider ( #2225 )
...
* fear: support telegram provider
* fix: fix telegram logo
* fix: fix telegram bot package
* Update telegram.go
* Update notification.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-08-19 12:33:00 +08:00
珩
8ff0cfd6ec
feat: support dashboard in homepage ( #2207 )
...
* feat: support dashboard
* feat: support dashboard
2023-08-14 15:31:29 +08:00
Yang Luo
01e58158b7
feat: Remove useless code
2023-08-08 19:16:55 +08:00
Yang Luo
2fb9674171
Fix file not exist panic in StaticFilter()
2023-07-30 19:03:21 +08:00
Yang Luo
f879170663
Remove AI related code
2023-07-30 14:39:27 +08:00
haiwu
eefa1e6df4
fix: fix paypal payment provider and refactor payment code ( #2159 )
...
* feat: support paypal payment provider
* feat: support paypal flow
* feat: use owner replace org for payment
* feat: update paypal logic
* feat: gofumpt
* feat: update payment
* fix: fix notify
* feat: delete log
2023-07-30 11:54:42 +08:00
Yaodong Yu
026fb207b3
fix: remove model in adapter page ( #2161 )
2023-07-29 23:42:08 +08:00
Yaodong Yu
ea10f8e615
feat: make hard-coded authz adapter editable, rename adapter to ormer ( #2149 )
...
* refactor: rename casbinAdapter to casdoorAdapter
* feat: add initEnforcer
* fix: router
* refactor: make hard-coded code configurable
* fix: data type
* feat: support sqlite3
* feat: disable delete and edit name for built in resources
* feat: optimize code
* fix: init
* fix: e2e
* fix: remove datasourcename
* fix: revert rename
* refactor: change all ORM's Adatper to Ormer
* refactor: name
2023-07-29 15:07:04 +08:00
Yang Luo
6c628d7893
Fix static path not changed bug in makeGzipResponse()
2023-07-29 12:23:48 +08:00
Yang Luo
a38896e4d8
Improve swagger docs
2023-07-29 11:35:03 +08:00
Baihhh
5e4ba4f338
feat: add authorize button and defaultValue ( #2152 )
...
Signed-off-by: baihhh <2542274498@qq.com>
2023-07-27 23:55:35 +08:00
June
b5e9084e5d
feat: en/decodeURI in permission/role name ( #2137 )
2023-07-26 13:08:35 +08:00
Yaodong Yu
949feb18af
feat: add basic enforcer manager ( #2130 )
...
* feat: add basic enforcer manager
* chore: generate swagger
2023-07-25 17:17:59 +08:00
Yang Luo
09f40bb5ce
Fix id of "/api/get-resource" API
2023-07-23 11:33:48 +08:00
Yang Luo
bd06996bab
Improve CorsFilter for login API
2023-07-15 19:29:48 +08:00
Yang Luo
ba97458edd
feat: fix StaticFilter issue
2023-07-05 17:54:39 +08:00
Alex OvsInc
6ebca6dbe7
fix: Gosec/sec fixes ( #2004 )
...
* Customization of the initialization file
* fix: G601 (CWE-118): Implicit memory aliasing in for loop
* fix: G304 (CWE-22): Potential file inclusion via variable
* fix: G110 (CWE-409): Potential DoS vulnerability via decompression bomb
2023-06-21 18:55:20 +08:00
Yang Luo
b01ba792bb
Rename to accessSecret
2023-06-16 20:42:15 +08:00
Yaodong Yu
7058a34f87
feat: complete group tree ( #1967 )
...
* feat: complete group tree
* feat: ui
* fix: i18n
* refactor code
* fix: support remove user from group
* fix: format code
* Update organization.go
* Update organization.go
* Update user_group.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-14 23:27:46 +08:00
XDTD
967fa4be68
feat: add access key and secret key for user ( #1971 )
2023-06-13 22:18:17 +08:00
Yaodong Yu
0e14a2597e
feat: Add tree structure to organization page ( #1910 )
...
* rebase master
* feat: add group in userEditPage
* feat: use id as the pk
* feat: add groups item in user
* feat: add tree component
* rebase
* feat: ui
* fix: fix some bug
* fix: route
* fix: ui
* fix: improve ui
2023-06-12 09:27:16 +08:00
Yang Luo
e0d2bc3dc9
Return error in GetProviderFromContext()
2023-06-10 15:51:26 +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
leoil
34151c0095
feat: Support uploading roles and permssions via xlsx files. ( #1899 )
...
* Support uploading roles and permissions via xlsx file.
* Template xlsx file for uploading users and permissions.
* reformat according to gofumpt.
* fix typo.
2023-05-28 11:29:43 +08:00
Yaodong Yu
8ede4993af
feat: specify login organization
2023-05-27 19:02:54 +08:00
jump2cn
df61a536c1
feat: add gzip support for static filter ( #1875 )
...
* feat: add gzip support for static filter
* Update static_filter.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-22 22:40:46 +08:00
Yang Luo
c84150cede
Fix getObject() bug for some API
2023-05-21 11:07:01 +08:00
Ilya Sulimanov
88c0856d17
feat: add subscription managment ( #1858 )
...
* feat: subscription managment
* fix: remove console log
* fix: webhooks
* fix linter
* fix: fix via gofumpt
* fix: review changes
* fix: Copyright 2023
* Update account.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-20 15:56:21 +08:00
Yang Luo
79bd58e0e6
Use util.GetId()
2023-05-19 14:26:32 +08:00
Yang Luo
3d9b305bbb
Add /api/health API
2023-05-16 21:47:34 +08:00
XDTD
cb542ae46a
feat: fix org admin permissions ( #1822 )
2023-05-09 00:06:52 +08:00
Yaodong Yu
eb39e9e044
feat: add multi-factor authentication (MFA) feature ( #1800 )
...
* feat: add two-factor authentication interface and api
* merge
* feat: add Two-factor authentication accountItem and two-factor api in frontend
* feat: add basic 2fa setup UI
* rebase
* feat: finish the two-factor authentication
* rebase
* feat: support recover code
* chore: fix eslint error
* feat: support multiple sms account
* fix: client application login
* fix: lint
* Update authz.go
* Update mfa.go
* fix: support phone
* fix: i18n
* fix: i18n
* fix: support preferred mfa methods
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-05 21:23:59 +08:00
Yang Luo
2cd6f9df8e
Add /api/get-message-answer API
2023-05-01 23:15:51 +08:00
OutOfEastGate
e4c36d407f
feat: fix prometheus filter bugs ( #1792 )
...
* fix: fix prometheus
* fix: count latency with prefix api
* fix: latency should not be counted when startTime is nil
2023-04-26 22:18:48 +08:00
OutOfEastGate
1003639e5b
feat: support for prometheus ( #1784 )
2023-04-25 16:06:09 +08:00
XDTD
6d6cbc7e6f
feat: add dynamic mode for provider to enable verification code when the login password is wrong ( #1753 )
...
* fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates
* feat: enable verification code when the login password is wrong
* fix: only enable captcha when login in password
* fix: disable login error limits when captcha on
* fix: pass "enableCaptcha" as an optional param
* fix: change enbleCapctah to optional bool param
2023-04-22 16:16:25 +08:00
Yang Luo
ee8c2650c3
Remove useless "/api/login/oauth/code" API and update Swagger
2023-04-22 09:47:52 +08:00
Yang Luo
e78d9e5d2b
Fix local file system storage provider path error
2023-04-21 10:12:09 +08:00
Yang Luo
2d55252261
Add chat and message pages
2023-04-09 15:54:22 +08:00
Yaodong Yu
b99a0c3ca2
feat: optimize the "forget password" page ( #1709 )
2023-04-06 23:06:18 +08:00
Gucheng Wang
989fec72bf
Add /api/user API for Flarum's FoF Passport plugin
2023-03-24 01:02:04 +08:00
Gucheng Wang
eeba21bf0d
Support acme-challenge
2023-03-16 00:25:03 +08:00
Gucheng Wang
5e47406e09
Enable CORS for "OPTIONS" request
2023-03-16 00:24:18 +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
Gucheng Wang
07dc6bf7cd
Refactor sysinfo page
2023-03-09 17:17:12 +08:00
Yaodong Yu
e21087aa50
feat: refactor reset password api and forgetPage.js ( #1601 )
2023-03-01 15:57:42 +08:00
Yang Luo
3ae81716b9
Fix getLdaps() GET
2023-02-18 16:27:47 +08:00
Yang Luo
842d4865b2
Fix router error message's i18n
2023-02-18 16:11:23 +08:00
imp2002
14fa914e6f
feat: add IsDemoMode
for frontend ( #1555 )
...
* feat: add `IsDemoMode` for frontend
* fix: add i18n
* fix: support autologin and go same page
* fix: use i18n for button text
2023-02-16 20:36:30 +08:00