UsherFall
7f298efebc
feat: fix Apple OAuth issue ( #2338 )
...
* feat: fix sign in with apple bug
* fix username
2023-09-18 17:04:03 +08:00
Yang Luo
411a85c7ab
Remove useless GetMaxLenStr()
2023-09-09 15:40:35 +08:00
Tower He
bbf2db2e00
feat: support to use a different db schema for pg ( #2281 )
2023-09-01 18:02:13 +08:00
Yang Luo
8073dfa88c
Remove tmpFiles folder usage
2023-08-24 22:03:36 +08:00
Yaodong Yu
a41f6880a2
feat: move policy table from adapter to enforcer and improve it ( #2228 )
...
* feat: improve policiy table
* feat: add connection test in AdapterEditPage.js
* feat: update button style
2023-08-18 19:00:21 +08:00
Baihhh
80b0d26813
fix: synchronize update the syncers ( #2201 )
...
Signed-off-by: baihhh <2542274498@qq.com>
2023-08-13 22:30:57 +08:00
Yaodong Yu
558bcf95d6
feat: save policy in adapter edit page ( #2190 )
...
* fix: save policy in adapter
* fix: disable edit for builtin adapter
2023-08-09 00:12:53 +08:00
Yaodong Yu
3d4ca1adb1
feat: support custom user mapping ( #2029 )
...
* feat: support custom user mapping
* fix: parse id to string
* Update data.json
* Update data.json
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-07-05 20:35:02 +08:00
haiwu
35e1f8538e
feat: fix panic when url.Parse() fails to parse URL ( #2034 )
2023-07-03 12:35:22 +08:00
haiwu
807aea5ec7
feat: add tags to application ( #2027 )
...
* feat: add tags to application
* fix: fix for merge master
* feat: update i18n(backend&frontend) for application tags
2023-06-30 00:04:12 +08:00
Yaodong Yu
1c42b6e395
fix: refactor the idp and regex code ( #2030 )
...
* refactor: validate util and idp
* chore: clean code
* chore: clean code
2023-06-29 21:44:14 +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
Yaodong Yu
65716af89e
feat: deprecate the user group relation table ( #1990 )
...
* fix: deprecate the user group relation table
* fix: clean code
* fix: fix trigger
* Update group.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-19 19:08:45 +08:00
June
edc6aa0d50
feat: get all role/permission of an user ( #1978 )
2023-06-16 22:44:21 +08:00
guangwu
54e4747dbc
refactor: code-optimization ( #1885 )
...
* refactor: code-optimization
* fix: restoring code style
* fix: gofmt
2023-05-23 17:54:51 +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
Yang Luo
3a6ab4cfc6
Support mobile in DingTalk userinfo
2023-04-29 01:24:45 +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>
2023-04-18 21:30:46 +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
2023-04-13 14:12:31 +08:00
Yaodong Yu
b99a0c3ca2
feat: optimize the "forget password" page ( #1709 )
2023-04-06 23:06:18 +08:00
Yang Luo
98a99f0215
Fix bug in getMemoryUsage()
2023-04-02 10:50:41 +08:00
longxu0509
da7336a9a4
feat: support getting versionInfo in docker ( #1673 )
...
* feat: support getting versionInfo in docker
* fix: fix build
* fix: fix build
* fix: fix system
2023-03-21 20:46:17 +08:00
Gucheng Wang
07dc6bf7cd
Refactor sysinfo page
2023-03-09 17:17:12 +08:00
longxu0509
2de3f6772d
fix: add aheadCnt in sysinfo ( #1632 )
...
* feat: add sync module to bi-sync mysql
* feat: fix the delay problem
* feat: fix go mod
* feat: fix the varchar(100) parse error
* fix: fix go.mod space inconsistency
* fix: fix go.mod space inconsistency
* fix: use sql builder instead of concatenation
* fix: remove serverId
* fix: fix file is not `gofumpt`-ed (gofumpt) error
* feat: add mysql bi-sync
* feat: fix some data inconsistency problems
* feat: add function atuo get server uuid
* fix: encapsulate the struct to optimize the code
* fix: fix incorrect Casdoor version in system info page
* fix: fix incorrect root path
* Update sysytem_test.go
* feat: add aheadCnt means that the commit is ahead of version several times
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-03-09 16:07:13 +08:00
longxu0509
3f623570fd
feat: fix incorrect Casdoor version in system info page ( #1631 )
...
* feat: add sync module to bi-sync mysql
* feat: fix the delay problem
* feat: fix go mod
* feat: fix the varchar(100) parse error
* fix: fix go.mod space inconsistency
* fix: fix go.mod space inconsistency
* fix: use sql builder instead of concatenation
* fix: remove serverId
* fix: fix file is not `gofumpt`-ed (gofumpt) error
* feat: add mysql bi-sync
* feat: fix some data inconsistency problems
* feat: add function atuo get server uuid
* fix: encapsulate the struct to optimize the code
* fix: fix incorrect Casdoor version in system info page
* fix: fix incorrect root path
* Update sysytem_test.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-03-09 13:28:23 +08:00
Yaodong Yu
5caceb4ae2
feat: fix bug that signup country code is undefined ( #1590 )
...
* feat: fix signup country code is undefined
* refactor: valid phone number in CN
2023-02-27 20:10:59 +08:00
Yaodong Yu
f2f962b893
fix: refactor functions and code ( #1559 )
2023-02-18 09:31:58 +08:00
Yaodong Yu
eb72c9f273
feat: support multiple country codes for sending SMS ( #1557 )
...
* feat: support multiple country code
* feat: improve UI
* feat: migrate accountItem
* fix: Aliyun compatible
* fix: phone validate
* fix: typo
2023-02-16 22:53:28 +08:00
June
dc7b66822d
feat: change token ExpiresIn to second ( #1550 )
2023-02-14 09:18:30 +08:00
Zayn Xie
9256791420
feat: app session control and db migrate ( #1539 )
...
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process (#1533 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
* fix: migrate err
* fix: migrate err
* feat: app session control and db migrate
* feat: app session control and db migrate
* feat: app session control and db migrate
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
2023-02-12 09:33:24 +08:00
Yaodong Yu
5d9b17542f
feat: end-user log out ( #1356 )
2023-01-17 22:57:05 +08:00
Yaodong Yu
b525210835
feat: destroy session after delete user ( #1441 )
...
* fix: destroy session after delete user
* feat: visual session
* fix: go lint
* feat: add translation
* feat: auto flush after offline
* fix: delete one session
* fix: move 403 page to baseListPage
2023-01-06 15:04:13 +08:00
Yaodong Yu
b10fb97c92
feat: finish policy list management ( #1317 )
2022-11-25 16:02:20 +08:00
Yaodong Yu
b337b908ea
feat: fix the bug that admin cannot upload avatar for other users ( #1323 )
2022-11-25 09:36:47 +08:00
Gucheng Wang
04709f731b
Update beego to v1.12.11
2022-09-29 19:45:17 +08:00
Gucheng Wang
e295da774f
Improve record list page
2022-09-18 23:11:40 +08:00
Gucheng Wang
e2921419b9
Add TestDeployStaticFiles()
2022-08-23 21:17:58 +08:00
q1anx1
ef4c3833a4
feat: add system info page ( #1033 )
...
* feat: add system info page
* feat: add some code
* fix
2022-08-20 21:22:46 +08:00
Mikey
79119760f2
style: golint ( #988 )
2022-08-09 16:50:49 +08:00
q1anx1
2ea58cd639
chore(style): use gofumpt
to fmt go code ( #967 )
2022-08-07 12:26:14 +08:00
Resulte Lee
4ea482223d
feat: add geetest captcha ( #953 )
2022-08-04 20:55:04 +08:00
Yixiang Zhao
117dec4542
feat: failed to sync keycloak users in the PostgreSQL database ( #886 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-07-16 12:14:35 +08:00
Resulte Lee
a0e11cc8a0
feat: add aliyun captcha ( #833 )
...
* feat: add aliyun captcha provider
* Rename App key
* fix typo
* Rename HMACSHA1 & Reused clientId2 and clientSecret2
* Update ProviderEditPage.js
* Delete unused import
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-06-29 11:31:32 +08:00
akkuman
0bc8c2d15f
fix: recover when goroutine panic that will kill main program ( #692 )
...
* fix #684
recover when goroutine panic that will kill main program
* Update util.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-04-22 21:59:06 +08:00
Yixiang Zhao
801302c6e7
feat: support user migration from Keycloak using syncer ( #645 )
...
* feat: support user migration from Keycloak using syncer
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: add more Keycloak columns
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-04-06 20:38:14 +08:00
Nekotoxin
ade64693e4
fix: support lower go version(1.15) ( #599 )
...
* fix: support lower go version(1.15)
* fix: support lower go version(1.15)
* fix: support lower go version(1.15)
2022-03-21 21:55:16 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
Yixiang Zhao
9f7924a6e0
fix: mask email and phone number on the backend ( #563 )
...
* fix: mask email and phone number on the backend
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: login with masked email or phone
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: improve regex
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-15 12:54:57 +08:00
Yang Luo
5de417ecf7
Add gc provider.
2022-03-14 00:32:36 +08:00