Gucheng Wang
907d18d2e9
Fix missing roles and permissions in user table
2023-01-23 00:36:55 +08:00
Yaodong Yu
9ca686b240
feat: disable role and permission update and checks when updating user ( #1466 )
2023-01-12 11:40:32 +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
WangGuan
ae130788ec
feat: add Line support as OAuth 3rd-party login ( #1413 )
2022-12-21 02:25:58 +08:00
Mr Forest
a8381e875b
feat: change all occurrences when a object name is changed ( #1252 )
2022-11-02 00:17:38 +08:00
Yaodong Yu
6a1ec51978
feat: fix SSRF when download avatar ( #1193 )
2022-10-20 14:47:08 +08:00
Gucheng Wang
e1331f314d
Add RequireSignedInUser()
2022-09-18 15:43:49 +08:00
Gucheng
5707e38912
feat: add batchSize to conf ( #1120 )
2022-09-13 20:31:22 +08:00
Gucheng Wang
4536fd0636
Use app.conf value in getOriginFromHost()
2022-09-03 15:12:34 +08:00
conghuhu
a383af0ebc
feat: fix token info not contains roles and permissions ( #1060 )
...
* fix: fix token info not contains roles and permissions
feat: remove repeated code for obtaining roles and permissions in user controller
* Update user.go
* Update user.go
* Update token.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-08-24 01:41:26 +08:00
Resulte Lee
1f11d22c1c
fix: add managed account table for supporting Chrome extension to auto login ( #1030 )
...
* feat: add manage accounts table(support chrome extension to auto login)
* fix go lint err
* rename manageAccounts to managedAccounts
* expand up&down buttom column width
* rename ManagedAccountsTable to ManagedAccountTable
2022-08-22 00:25:39 +08:00
q1anx1
aedef1eea1
feat(login): add login limit ( #1023 )
...
* feat(login): add login limit
* chore: rename vars
* chore: use `string`
* fix: clear the signin error times after succeessfull login
* chore: modify code position
2022-08-17 01:39:53 +08:00
Mikey
79119760f2
style: golint ( #988 )
2022-08-09 16:50:49 +08:00
Mikey
802995ed16
refactor: remove WeChat unionId to properties ( #985 )
2022-08-08 18:43:12 +08:00
Artem
aafdc546fa
fix: panic when creating a user in a non-existent org ( #969 )
2022-08-06 22:30:56 +08:00
Mikey
293283ed25
feat: add get user by phone ( #934 )
...
* fix: check reset phone & email modify rules
* Update verification.go
* Update organization.go
* feat: add get user by phone
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-07-31 01:02:28 +08:00
q1anx1
9cb519d1e9
fix: Admins should not be allowed to add third-party login for their members ( #932 )
...
* feat: admin can unlink the other user
* feat: global admin can unlink other user
* fix
2022-07-30 23:11:02 +08:00
Resulte Lee
155660b0d7
feat: get user api return roles and permissions ( #929 )
2022-07-30 17:31:56 +08:00
waltcow
895cdd024d
fix: Typo in user model xorm tag ( #883 )
2022-07-15 12:01:27 +08:00
q1anx1
f0b0891ac9
feat: query user by userId
( #879 )
...
* feat: add `getUserByUserId` func
* Update user.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-07-14 21:46:13 +08:00
Товарищ программист
7f3b2500b3
feat: support webauthn ( #407 )
...
* feat: support webauthn
* Update init.go
* Update user_webauthn.go
* Update UserEditPage.js
* Update WebauthnCredentialTable.js
* Update LoginPage.js
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-07-12 20:06:01 +08:00
greenhandatsjtu
98f77960de
feat: add Douyin OAuth provider ( #753 )
2022-05-15 20:59:21 +08:00
Jiakuan Li
3ad4b7a43c
feat: add Bilibili OAuth ( #720 )
...
* implemented bilibili oauth
* add bilibili oauth
* add document address
* add frontend page
* uncheck
2022-05-12 10:07:52 +08:00
greenhandatsjtu
8efd964835
fix: unchanged masked client_secret/password updated to ***
( #749 )
2022-05-10 17:37:12 +08:00
greenhandatsjtu
fc0ca4cceb
Add Okta OAuth provider ( #729 )
2022-05-01 18:31:42 +08:00
halozhy
287f60353c
feat: try to support custom OAuth provider ( #667 )
...
* feat: try to support private provider
* fix: modify code according to code review
* feat: set example values for custom params
2022-04-16 17:17:45 +08:00
Yi Zhan
b92d03e2bb
feat: add wechat mini program support ( #658 )
...
* feat: add wechat mini program support
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: accept suggestions.
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: error message and code level modification
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: simplify the use process
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-04-15 11:49:56 +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
halozhy
8d13bf7e27
feat: add Alipay support as idp ( #638 )
...
* feat: add alipay support as idp
* fix: rename a static svg icon
* fix: sort imports
* fix: no longer use pkcs8 package
2022-04-02 22:37:13 +08:00
Yixiang Zhao
0fc0ba0c76
feat: support global admin to modify the email and phone of other users ( #633 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-30 20:27:23 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
Yi Zhan
e8b9c67671
feat: add casdoor as itself idp support ( #578 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-03-18 18:28:46 +08:00
Yang Luo
4a87b4790e
Avoid panic in AddUsers().
2022-03-13 20:53:05 +08:00
Nekotoxin
4d48517be9
fix: fix the No.0 bug(for all sign up methods) ( #535 )
2022-03-04 13:06:21 +08:00
Nekotoxin
759a1421e5
feat: add the 'karma' prop to table User ( #518 )
...
* feature: feat : add the 'karma' prop to table User
* feat: add the 'karma' prop to table User
2022-02-28 16:25:09 +08:00
Yang Luo
21392dcc14
Support user's first name and last name.
2022-02-27 14:02:52 +08:00
Steve0x2a
a33076ada4
feat: add AD-FS support ( #505 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-20 15:01:48 +08:00
Steve0x2a
274096fe9d
fix: empty iss return ( #503 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-18 12:36:11 +08:00
Steve0x2a
661abd6b6e
feat: add steam support ( #497 )
...
* feat: add steam support
Signed-off-by: 0x2a <stevesough@gmail.com>
* fix: wrong name
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-16 19:57:46 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Steve0x2a
f85f4c0cf8
feat: add infoflow idp support ( #472 )
...
* feat: add infoflow internal backend support
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* feat: add infoflow idp support
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: copyright and comment
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-05 21:54:38 +08:00
Yixiang Zhao
5ec0c7a890
fix: fix the SQL injection vulnerability in field filter ( #442 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-01-26 19:36:36 +08:00
Steve0x2a
02c06bc93c
feat: add baidu support as idp ( #438 )
...
* feat: add baidu support as idp
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: add license
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-01-22 19:36:44 +08:00
Gucheng Wang
c22ab44894
Update import path.
2022-01-20 14:11:46 +08:00
Gucheng Wang
f24d9ae251
Don't update password in AddUsers().
2022-01-17 13:26:30 +08:00
Gucheng Wang
dee9bac110
Show signupApplication in user edit page.
2022-01-15 18:29:10 +08:00
Gucheng Wang
e7a6986b62
Add index to User.Id
2022-01-14 17:42:11 +08:00
Gucheng Wang
b91b4aec91
Allow global admin to modify username.
2022-01-13 23:20:10 +08:00
Gucheng Wang
69e0f4e40d
Add idCard in GetUserByFields().
2022-01-04 19:52:29 +08:00
Yang Luo
519fd655cf
Add GetMaskedApplication() and GetMaskedApplications().
2021-12-29 20:04:39 +08:00