1546 Commits

Author SHA1 Message Date
Yaodong Yu
95f4f4cb6d
feat: refactor out form package and optimize verification code module (#1787)
* refactor: add forms package and optimize verification code module

* chore: add license

* chore: fix lint

* chore: fix lint

* chore: fix lint

* chore: swagger
v1.304.0
2023-04-25 23:05:53 +08:00
Yang Luo
511aefb706 Disable faulty Beego filter 2023-04-25 20:02:13 +08:00
OutOfEastGate
1003639e5b
feat: support for prometheus (#1784) v1.303.0 2023-04-25 16:06:09 +08:00
Yaodong Yu
fe53e90d37
fix: signup page of the app-built-in failed to load (#1785) 2023-04-25 16:00:24 +08:00
OutOfEastGate
8c73cb5395
fix: fix golangci-lint (#1775) v1.302.3 2023-04-23 17:02:29 +08:00
Yang Luo
06ebc04032 Can add/delete chat 2023-04-23 01:19:44 +08:00
Yang Luo
0ee98e2582 Add loading to chat box 2023-04-23 00:25:09 +08:00
Yang Luo
d25508fa56 Improve chat UI 2023-04-22 23:20:40 +08:00
OutOfEastGate
916a55b633
fix: fixed failed to update information when name duplicate (#1773)
* fix: fixed failed to update information when name duplicate

* fix: Use GetOwnerAndNameFromId and GetId functions instead of split

* Update organization.go

* Update role.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.302.2
2023-04-22 21:15:06 +08:00
OutOfEastGate
a6c7b95f97
fix: fixed rows duplicates after sort by column (#1772) v1.302.1 2023-04-22 20:18:38 +08:00
Yaodong Yu
4f8dd771bc
feat: fix bug that can not get application in signup/oauth/ router (#1766) v1.302.0 2023-04-22 18:20:45 +08:00
UsherFall
e0028f5eed
fix: add more events to webhooks (#1771) v1.301.1 2023-04-22 17:11:28 +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
v1.301.0
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
f3ea39d20c Fix result page button link 2023-04-21 23:56:33 +08:00
Yang Luo
e78d9e5d2b Fix local file system storage provider path error 2023-04-21 10:12:09 +08:00
Yaodong Yu
19209718ea
feat: fix wrong CAS login mode (#1762) v1.300.0 2023-04-20 22:18:02 +08:00
Yang Luo
e75d26260a Fix table name in getEnforcer() 2023-04-20 01:33:47 +08:00
Wenpeng Chen
6572ab69ce
fix: fix pemContent decode error bug for WeChat Pay provider (#1751) v1.299.2 2023-04-19 22:13:13 +08:00
Jinhongyu
8db87a7559
fix: function comments (#1757)
Modify the function annotation so that the swagger can parse correctly
v1.299.1
2023-04-19 21:19:48 +08:00
Yaodong Yu
0dcccfc19c
feat: rollback anted to v5.2.3 (#1755) v1.299.0 2023-04-19 11:30:49 +08:00
imp2002
96219442f5
feat: fix Tencent Cloud OSS storage connect incorrect issue (#1752)
* fix: fix Tencent Cloud OSS storage connect incorrect

* Update provider.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.298.0
2023-04-18 21:30:46 +08:00
Yaodong Yu
903745c540
fix: improve LDAP page UI (#1749)
* refactor: improve LDAP sync page

* refactor: update anted version

* chore: i18
v1.297.1
2023-04-17 22:03:05 +08:00
Yang Luo
df741805cd Fix chat send 2023-04-17 20:50:03 +08:00
OutOfEastGate
ee5c3f3f39
feat: fix display name null error during 3rd-party binding (#1747) v1.297.0 2023-04-17 15:39:33 +08:00
Yang Luo
714f69be7b Use HTTP for IP host in getOriginFromHost() 2023-04-17 00:55:40 +08:00
Yang Luo
0d12972e92 Fix "auto single OAuth signin doesn't work" bug 2023-04-17 00:38:48 +08:00
Yang Luo
78b62c28ab Fix the wrong order of g policy in enforce() API 2023-04-16 22:26:22 +08:00
wht
5c26335fd6
feat: add rule option for phone in application's signup page (#1745) v1.296.0 2023-04-16 20:34:06 +08:00
Yang Luo
7edaeafea5 Call refreshAvatar() in addUser() 2023-04-16 01:00:02 +08:00
Yang Luo
336f3f7a7b Add user.refreshAvatar() 2023-04-16 01:00:02 +08:00
Yaodong Yu
47dc3715f9
feat: handle error when parsing samlResponse (#1744)
* fix: handle err from parse samlResponse

* fix: lint
v1.295.0
2023-04-16 00:36:25 +08:00
Yang Luo
7503e05a4a Improve menu style 2023-04-15 18:08:21 +08:00
Yang Luo
b89cf1de07 Add karma to account items 2023-04-15 16:05:33 +08:00
Yang Luo
be87078c25 Fix vi i18n 2023-04-15 14:16:49 +08:00
Yang Luo
faf352acc5 Fix i18n 2023-04-15 11:17:31 +08:00
Yang Luo
0db61dd658 Add empty list item and expand menu by default 2023-04-15 10:54:56 +08:00
Yang Luo
ebe8ad8669 Improve UI effect 2023-04-15 10:54:56 +08:00
Yang Luo
2e01f0d10e Add input box 2023-04-15 10:54:55 +08:00
Yang Luo
754fa1e745 Add chat box 2023-04-15 10:54:55 +08:00
Yang Luo
8b9e0ba96b Add chat page 2023-04-15 10:54:55 +08:00
Yang Luo
b0656aca36 Add chat and message pages 2023-04-15 10:54:54 +08:00
erguotou
623b4fee17
feat: pre-ensure tempFiles folder exists before uploading files (#1739)
When deployed with docker, the user `casdoor` has no permission to mkdir `tempFiles`, so let's create the folder first.
v1.294.0
2023-04-14 19:14:59 +08:00
Yaodong Yu
1b1de1dd01
feat: add LDAP custom filter support (#1719)
* refactor: improve ldap server code

* feat: custom filter

* fix: fix displayName mapping

* feat: add custom filter search fields

* chore: add license

* chore: i18n

* chore: i18n

* chore: update init field
v1.293.0
2023-04-13 14:12:31 +08:00
XDTD
968d8646b2
fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates (#1734) v1.292.1 2023-04-12 21:33:54 +08:00
imp2002
94eef7dceb
feat: fix adapter set organizations invalid bug (#1729) v1.292.0 2023-04-11 22:38:00 +08:00
rune
fe647939ce
fix: fix CAS callback url not match bug (#1728)
Co-authored-by: mfk <mfk@hengwei.com.cn>
v1.291.1
2023-04-11 19:26:57 +08:00
Dzung Do
984a69cb4b
feat: fix wrong Vietnamese flag (#1724)
* fix wrong Vietnam country code

* fix wrong Vietnam country code

* fix wrong Vietnam country code

* fix wrong Vietnam country code
v1.291.0
2023-04-10 22:42:12 +08:00
XDTD
098a1ece68
fix: rollback the version of webauthn in go mod to fix "atob" bug (#1721) v1.290.1 2023-04-10 20:14:27 +08:00
Wenpeng Chen
ad6f2ad2e1
feat: add wechatpay support. (#1710)
* feat: add wechatpay support.

* feat: add wechatpay support.

* Update wechatv3pay.go

* fix: update format.

* Update wechatv3pay.go

* Update wechatv3pay.go

* Update wechatv3pay.go

* fix: update file format.

* fix: improve the front of wechat payment.

* fix: change clientId2 to clientId.

* fix: fix the code format.

* fix: return backend error information to frontend.
v1.290.0
2023-04-10 18:04:10 +08:00