wangsijie
955812c7ed
chore: merge branch master into feature/suspend
2022-11-11 15:20:18 +08:00
wangsijie
8dc2be1eee
feat(core): revoke tokens when user is suspended ( #2407 )
2022-11-11 15:17:12 +08:00
wangsijie
3bcd29ec89
feat(core): update user suspended ( #2326 )
2022-11-11 13:39:48 +08:00
Charles Zhao
8f3de6aa0b
fix(core): fix field updating issues in patch user management api
2022-11-11 01:07:05 +08:00
Gao Sun
b466d10de0
Merge pull request #2367 from logto-io/gao-use-case-insensitive-email-search
...
refactor(core)!: use case insensitive search for emails
2022-11-10 16:46:30 +08:00
Gao Sun
c03844f12e
chore: fix tests and add changeset
2022-11-10 16:37:12 +08:00
Charles Zhao
33b5e2e6b0
refactor(core): remove SIE identifier check from user management API
2022-11-10 15:41:43 +08:00
Gao Sun
fd0b1d0717
refactor(test): revert unexpected changes
2022-11-10 15:36:12 +08:00
Gao Sun
4b6d3c584a
refactor(core,test): allow create user with email and add tests
...
- Allow create user with email or username for admin user route
- Add integration tests for email and password sign-in
2022-11-10 15:36:09 +08:00
Charles Zhao
25048a6604
refactor(core): allowing more editable properties for patch user API
2022-11-10 12:19:25 +08:00
Gao Sun
877eb892c9
refactor(core): use isTrue()
to check params ( #2321 )
2022-11-04 22:25:58 +08:00
İhsan Güldür
938608e72b
feat: add case insensitive user search ( #2300 )
...
Co-authored-by: wangsijie <wangsijie94@gmail.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-11-04 10:47:54 +08:00
Gao Sun
f56b5b5c48
refactor: fix lint errors
2022-10-21 14:03:35 +08:00
Gao Sun
d4fc7b3e5f
refactor(core)!: update koaAuth()
to inject detailed auth info ( #1977 )
...
* refactor(core)!: update `koaAuth()` to inject detailed auth info
* test(core): add auth context to unit test requester
2022-09-22 15:48:11 +00:00
Gao Sun
42586eff88
refactor: remove shared packages ( #1946 )
...
* refactor: remove shared packages
* refactor: fix error
2022-09-16 11:25:43 +00:00
Gao Sun
4afdf3cb4c
feat(core): set user default roles from env ( #1793 )
2022-08-19 16:53:19 +08:00
Gao Sun
2c6171c2f9
refactor(core,console)!: remove /me
apis ( #1781 )
...
* refactor(core,console)!: remove `/me` apis
* fix(phrases): add missing fr phrase
2022-08-15 20:45:29 +08:00
Darcy Ye
82ed2fe169
chore: remove TODOs with linear issues ( #1495 )
...
* chore: remove TODOs with linear issues
* chore: remove simeng TODOs
* chore: remove simeng TODOs
2022-07-08 14:47:55 +00:00
Wang Sijie
be0d9326e4
refactor(core): remove InvalidInputError ( #1477 )
2022-07-08 17:19:53 +08:00
Xiao Yijun
a3d3a79dd9
fix(console): update user data ( #1184 )
2022-06-22 03:36:43 +00:00
Wang Sijie
9194a6ee54
feat(console,core): hide admin user ( #1182 )
...
* feat(console,core): hide admin user
* fix: extract hideAdminUser
* test: add tests for hideAdminUser
2022-06-22 02:22:15 +00:00
Darcy Ye
ad86bc8e12
fix(core,console): delete specific user identities by target ( #1176 )
2022-06-21 23:26:23 +08:00
Wang Sijie
3cf34b5911
fix(core): align jsonb replace mode ( #1138 )
2022-06-17 14:45:39 +08:00
Darcy Ye
41e37a7995
feat(core): identities key should use target not connectorId ( #1115 )
...
* feat(core): identities key should use target not connectorId
* refactor(core): make test file size in limit
* feat(console): use target in user connectors (#1134 )
Co-authored-by: Wang Sijie <wangsijie@silverhand.io>
2022-06-17 11:00:02 +08:00
Wang Sijie
a790248c09
fix(core): remove name regex ( #1109 )
2022-06-14 11:36:03 +08:00
Xiao Yijun
b9ca929ccc
refactor(core): remove unused /users/:userId/custom-data
APIs ( #1086 )
2022-06-09 16:23:56 +08:00
Gao Sun
f2b44b49f9
feat: use user level custom data to save preferences ( #1045 )
...
* feat: use user level custom data to save preferences
* fix(console): bugs
* refactor(console): per review
* refactor(core): update return order
* fix(core): error constructor
2022-06-07 16:05:24 +08:00
Xiao Yijun
d65999514f
fix(core): update role names ( #913 )
2022-05-20 17:59:55 +08:00
Xiao Yijun
85a407c5f6
feat: update field check rules ( #854 )
2022-05-18 04:12:51 +00:00
Gao Sun
5909727ebc
refactor(core): use argon2 for password encryption ( #738 )
...
* refactor(core): use argon2 for password encryption
* refactor(core): adjust time cost
2022-05-06 16:38:38 +08:00
Wang Sijie
8e13dd5746
feat(console): user role select ( #589 )
2022-04-21 12:38:54 +08:00
Darcy Ye
82d104a0d3
feat(core): add DELETE /users/:userId/identities/:connectorId ( #437 )
...
* feat(core): add DELETE /users/:userId/identities/:connectorId
* feat(core): add user query methods UT cases for better testing coverage
* feat(core): rewrite deletion of connector info from user identities using postgresql operator
2022-03-25 15:48:53 +08:00
Wang Sijie
c4a0299b1c
feat(console): user details settings ( #403 )
2022-03-21 11:48:27 +08:00
Xiao Yijun
3a583e81e4
fix(core): patch /users/:userId
should not fail if only name
or avatar
is provided
2022-02-28 13:18:17 +08:00
Xiao Yijun
755176e252
refactor(core): add regex for commonly used fields ( #288 )
2022-02-28 13:16:02 +08:00
Xiao Yijun
76aba43ae3
refactor(core): replace arbitrary data guard type with arbitrary object guard ( #290 )
2022-02-28 11:22:48 +08:00
Xiao Yijun
e63ca4c06f
feat(core): get /users
with search ( #270 )
2022-02-24 12:29:34 +08:00
simeng-li
8fa169cba1
test(core): add admin-user route UT ( #252 )
...
* test(core): add admin-user route ut
add admin-user route ut
* fix(ut): remove redundent code
remove mockKoaAuthMiddleware
* feat(core): update pnpm.lock
update pnpm.lock
2022-02-21 10:45:31 +08:00
Xiao Yijun
9e30b41028
feat(core): delete user and update user password api ( #248 )
2022-02-18 17:02:08 +08:00
Xiao Yijun
77b520deba
feat(core): patch /users/:userId
( #246 )
2022-02-18 14:34:22 +08:00
Xiao Yijun
c1c356c30a
feat(core): delete users/:userid/custom-data
( #233 )
2022-02-17 14:10:26 +08:00
Xiao Yijun
d69bbeebb2
feat(core): patch /user/:userId/custom-data
( #232 )
2022-02-16 18:06:08 +08:00
Xiao Yijun
56c9f00440
feat(core): post /users
( #238 )
2022-02-16 16:34:32 +08:00
Xiao Yijun
dd55c66644
feat(core): get ( #236 )
2022-02-16 15:56:51 +08:00
Xiao Yijun
ee49880845
feat(core): get /users
( #237 )
2022-02-16 15:55:08 +08:00
simeng-li
0105d19d99
feat(core): add user roles related api ( #204 )
...
* feat(core): add user role related api
add user roles related api
* fix: insert array to db fix
insert array to db fix
* feat(core): add role related routes config
add role related routes config
* fix(core): update user role patch error type
update user role patch error type
* fix(core): cr fix
cr fix
* fix(core): cr fix
cr fix
* fix(core): cr fix
cr fix
2022-01-28 13:33:57 +08:00