0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
Commit graph

68 commits

Author SHA1 Message Date
Gao Sun
b839f6c46f
refactor(core): return roles in organization app get api 2024-06-22 22:58:44 +08:00
wangsijie
d355ac7d20
feat(core): handle access token with organization api resource (#5653) 2024-04-16 09:58:47 +08:00
Gao Sun
fbbe767867
refactor: use silverhand slonik 2024-03-16 19:04:55 +08:00
Gao Sun
54c2b1d1e3
refactor: fix errors 2024-03-16 14:44:32 +08:00
wangsijie
acb7fd3fea
feat(core): case insensitive usernames (#5170)
* feat(core): case insensitive usernames

* test(core): add case insensitive username test cases

---------

Co-authored-by: Tc001 <tc001@t0.lv>
2023-12-28 10:57:47 +08:00
Gao Sun
613c0222f8
chore(core): add comments 2023-10-23 12:46:32 +08:00
Gao Sun
43a655ba67
feat(core): organization apis 2023-10-23 12:18:24 +08:00
Gao Sun
0b45c8f487
refactor: fix schema types (#3379)
by separating CreateSchema and Schema. also no need for explicitly
set generic type for database builders like `buildInsertIntoWithPool()`.
2023-03-14 12:45:13 +08:00
Charles Zhao
88cb4590ba
fix(console): admin user should be able to link google account to profile (#3297) 2023-03-06 16:48:50 +08:00
Gao Sun
54ef69d4f4
refactor: filter out suspended users in hasActiveUsers() 2023-02-24 13:17:37 +08:00
wangsijie
eec39f7d9a
fix(core): list users order by created_at (#3019) 2023-01-29 15:30:05 +08:00
Gao Sun
8624fc8e62
Merge pull request #2913 from logto-io/gao-log-5162-core-remove-deprecated-database-query
refactor: remove deprecated singleton instances
2023-01-12 23:08:59 +08:00
wangsijie
900b87b9a5
feat(core): add pagination and search to role users (#2927) 2023-01-12 09:28:23 +00:00
Gao Sun
f317a917c9
refactor: remove deprecated singleton instances 2023-01-12 16:34:06 +08:00
Gao Sun
a4e2484087
refactor(core): move findUsersByRoleName() to library 2023-01-11 13:44:15 +08:00
Gao Sun
e55ff3d185
refactor(core): remove deprecated query functions 2023-01-11 13:36:35 +08:00
wangsijie
8b8103132e
fix(core): fix findUsersByIds for empty ids case (#2892) 2023-01-10 05:39:15 +00:00
Gao Sun
26f8511f93
refactor(core): use tenant context for route inits 2023-01-09 16:58:02 +08:00
Gao Sun
a68b34971a
refactor(core): users and users roles query factories 2023-01-09 16:43:09 +08:00
wangsijie
bde1cbcc9d
fix(core): prevent empty array to be used by sql in (#2844) 2023-01-07 12:13:13 +08:00
wangsijie
7e507dbc2b
feat(core): user-role related api (#2827) 2023-01-07 12:08:03 +08:00
wangsijie
61f4e7fd2d
feat: add users_roles table and remove role_names (#2525) 2023-01-04 15:39:27 +08:00
Gao Sun
7bf52aa7ad
feat(core)!: enhanced user search params (#2639) 2022-12-14 08:36:57 +00:00
Xiao Yijun
9345c10301
refactor(core): sort users data by createdAt (#2643) 2022-12-13 12:25:08 +08:00
simeng-li
5385a2cdd7
refactor(core): refactor findUserByIdentity (#2537) 2022-11-28 02:37:25 +00:00
Gao Sun
d29dde828e
refactor: use esm (batch 3) 2022-11-22 16:10:53 +08:00
wangsijie
27ce104ec5
fix(core): handle not found error for password sign in (#2383) 2022-11-11 14:54:46 +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
f82d2a8c4f
refactor(core)!: use case insensitive search for emails 2022-11-10 15:23:50 +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
ba09de9b1e
refactor(core,cli): extract common utils to @logto/shared 2022-10-10 23:26:40 +08:00
IceHe
cce2d40160
refactor(core): count new users by created_at (#2027) 2022-09-29 15:32:43 +08:00
Gao Sun
8c451b4e3c
chore: upgrade silverhand packages (#1854) 2022-09-01 17:03:49 +08:00
Gao Sun
4afdf3cb4c
feat(core): set user default roles from env (#1793) 2022-08-19 16:53:19 +08: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
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
Darcy Ye
efa9491749
feat(core): add switch of enabling object fully replace when updating DB (#1107)
* feat(core): add switch of enabling object fully replace when updating DB

* feat(core): assign default jsonbMode value if possible
2022-06-14 21:38:10 +08:00
simeng-li
f6f562a8ba
feat(core): add welcome route (#1080)
* feat(core): add welcome route

add welcome route

* fix(ui): fix some koa middleware

fix some koa middleware

* fix(core): ut fix

ut fix

* refactor(core): refactor welcome user guard

refactor welcome user guard
2022-06-09 11:42:52 +08:00
Darcy Ye
2e08fa3816
chore(core,locale): fix error messages of signing in with non-existing username (#1035)
* chore(core,locale): fix error messages

* chore(core,locale): add input parameter guard and fix comment

* chore(core,locale): add nonempty string guard for username
2022-06-02 08:29:17 +00:00
Gao Sun
dff23b57db
refactor(core): move database pool into env set 2022-04-20 15:56:38 +08:00
Wang Sijie
10fc7e4205
feat(console): support icon in text-input (#458)
* feat(console): support icon in text-input

* feat(console): user search (#460)

* fix: inputValue empty

* fix: remove contional
2022-03-30 14:01:18 +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
Xiao Yijun
dcd84086f6
refactor(core): slonik error handling (#307) 2022-03-02 15:44:57 +08:00
simeng-li
fb6a1dc236
test(core): add ut for queires (#287)
* test(core): add ut for queires

add ut for queries

* test(core): add user query ut

add user query ut

* fix(core): remove test code

remove console log
2022-02-28 14:30:27 +08:00
Xiao Yijun
e63ca4c06f
feat(core): get /users with search (#270) 2022-02-24 12:29:34 +08:00
Xiao Yijun
c1c356c30a
feat(core): delete users/:userid/custom-data (#233) 2022-02-17 14:10:26 +08:00
Xiao Yijun
ee49880845
feat(core): get /users (#237) 2022-02-16 15:55:08 +08:00
simeng-li
cdcadb968f
refactor(core): refactor error handler logic (#220)
* refactor(core): refactor error handler logic

add oidc and slonik custom error handler

* fix(core): fix typo

fix type

* refactor: align core errors

align some old core error definitions
2022-02-14 11:50:47 +08:00