Gao Sun
da2b8cdbfe
chore!: drop Node 16
2023-01-06 22:24:39 +08:00
simeng-li
4af325af03
refactor(core,ui,schemas): replace sms sign-in method with phone ( #2825 )
2023-01-06 17:43:28 +08:00
Gao Sun
27c0cade79
Merge pull request #2837 from logto-io/v1.0.0-beta.19
...
chore: merge back v1.0.0 beta.19
2023-01-06 17:01:19 +08:00
Gao Sun
4d9d16661d
release: version core packages
2023-01-06 16:48:18 +08:00
wangsijie
f371a61460
feat(core): role-scope api ( #2826 )
2023-01-06 15:37:00 +08:00
wangsijie
e73d606053
fix(core): return role names for admin user detail api ( #2828 )
2023-01-06 14:44:00 +08:00
wangsijie
cb03d64e12
feat(core): list resources with scopes ( #2819 )
2023-01-05 07:43:01 +00:00
wangsijie
cf900d4aef
feat(core): resource scopes crud ( #2757 )
2023-01-05 15:24:24 +08:00
wangsijie
9b5dbeea34
feat(core): roles crud ( #2672 )
2023-01-04 17:02:08 +08:00
wangsijie
e38cd36579
feat(toolkit): define optional keys for connector.getUserInfo ( #2716 )
2023-01-04 07:43:54 +00:00
wangsijie
61f4e7fd2d
feat: add users_roles table and remove role_names ( #2525 )
2023-01-04 15:39:27 +08:00
simeng-li
46ebdfe502
fix(demo-app): demo app notificaiton should always follow system language ( #2814 )
2023-01-04 10:33:09 +08:00
Gao Sun
db71cc11ac
refactor: connector loader ( #2809 )
2023-01-03 15:41:29 +08:00
silverhand-bot
9c1b3d77aa
release: version core packages ( #2803 )
2023-01-01 19:55:54 +08:00
Gao Sun
ab54c38cd5
refactor(core): check connector-kit compatibility when load connector ( #2798 )
2023-01-01 18:36:46 +08:00
simeng-li
5189f6ab9f
feat(core): add interaction api logs ( #2794 )
2022-12-31 18:18:35 +08:00
simeng-li
d8deb0285f
fix(core): register with social should not ask for password ( #2793 )
2022-12-31 09:30:07 +08:00
Charles Zhao
95ef24a92b
chore: update testing passcode ( #2796 )
2022-12-30 15:29:43 +00:00
simeng-li
db07e70740
refactor(core): refactor interaction identifier verification flow ( #2790 )
2022-12-30 10:26:38 +00:00
wangsijie
fc6b7cfe2b
Merge pull request #2787 from logto-io/sijie-log-4995-standard-connector-name
...
fix(console): display standard connector name
2022-12-30 17:37:41 +08:00
Darcy Ye
396dce8c3d
feat: pass user agent to connector ( #2770 )
2022-12-30 16:05:32 +08:00
wangsijie
012e4d5b24
fix(console): display standard connector name
2022-12-30 15:41:25 +08:00
simeng-li
fc456f4851
fix(ui): forgotpassword passcode verification page 404 ( #2752 )
2022-12-29 09:12:33 +08:00
simeng-li
be2c65dc0c
refactor(ui): replace social flow api ( #2751 )
2022-12-28 18:24:58 +08:00
simeng-li
e02f7e5ac2
refactor(ui): replace continue api with patchProfile ( #2744 )
2022-12-28 15:33:31 +08:00
Gao Sun
06ec86d831
refactor: rename MessageTypes
-> VerificationCodeType
( #2745 )
2022-12-28 06:28:46 +00:00
simeng-li
d641e201c2
refactor(core): remove the event from sendPasscode API payload ( #2742 )
2022-12-28 03:53:13 +00:00
Darcy Ye
1f7efd3680
chore(phrases,core): change 'passcode' to 'verification code' in content ( #2740 )
2022-12-28 10:29:28 +08:00
simeng-li
a3a861c9cd
refactor(ui): refactor username password register flow ( #2731 )
2022-12-28 10:26:06 +08:00
Gao Sun
16c295c677
Merge pull request #2739 from logto-io/gao-align-message-type
...
refactor!: align `PasscodeType` to `MessageTypes`
2022-12-27 22:28:16 +08:00
Darcy Ye
45800d1cfe
fix(core): should block POST of non-standard social connectors with conflicting target
( #2737 )
2022-12-27 16:23:54 +08:00
Gao Sun
01f718b258
refactor!: align PasscodeType
to MessageTypes
...
refactor: apply suggestions from code review
Co-authored-by: Darcy Ye <darcyye@silverhand.io>
refactor(core): fix type names
2022-12-27 15:29:06 +08:00
simeng-li
54b0574e18
feat(test): add fulfill user profile integration tests ( #2710 )
2022-12-27 10:29:01 +08:00
renovate[bot]
e5dc687ee8
chore(deps): update dependency @silverhand/essentials to v2.1.0 ( #2732 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 20:13:05 +08:00
Gao Sun
3a996cc9d9
refactor: fix esm mock context ( #2725 )
2022-12-26 12:12:19 +00:00
Gao Sun
84014b37d2
refactor: add and fix tests
2022-12-26 19:59:33 +08:00
Gao Sun
f993da8795
test: add integration tests for interaction hooks
2022-12-26 19:44:03 +08:00
Gao Sun
5825620b9b
refactor: rename interaction Event
-> InteractionEvent
( #2718 )
2022-12-26 11:22:56 +00:00
simeng-li
baaa58ca0b
refactor(core): per review
...
add the missing file
refactor: remove unused code
fix(core): rename interactionSie middleware
rename interactionSie middleware
fix(core): update context type name
update context type name
refactor: per review
2022-12-26 19:14:24 +08:00
simeng-li
f8000fe18d
refactor(core): rebase and update interaction hooks middleware
...
rebase and update interaction hooks middleware
2022-12-26 10:28:46 +08:00
Gao Sun
8745886aa0
refactor: add unit tests
2022-12-26 10:26:25 +08:00
Gao Sun
a6342213a9
refactor: cleanup
2022-12-26 10:26:25 +08:00
Gao Sun
464a4a9133
feat: trigger interaction hooks
2022-12-26 10:26:25 +08:00
Darcy Ye
8c5ccac59f
refactor(core): refactor createSocialAuthorizationUrl and verifySocialIdentity ( #2707 )
...
Co-authored-by: simeng-li <simeng@silverhand.io>
2022-12-26 10:23:40 +08:00
Darcy Ye
1b709db854
refactor: move assign/get connector session to interaction path ( #2706 )
...
Co-authored-by: simeng-li <simeng@silverhand.io>
2022-12-26 10:06:39 +08:00
renovate[bot]
c5025fc70b
chore(deps): update dependency @silverhand/essentials to v2.0.0 ( #2723 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-25 13:52:55 +08:00
Gao Sun
c52a66a32d
refactor: remove lodash ( #2715 )
2022-12-23 15:19:49 +00:00
simeng-li
15c7c1605a
refactor(core): refactor interaction API ( #2686 )
2022-12-23 10:01:08 +08:00
Gao Sun
df6eb9e942
chore(deps): upgrade prettier to v2.8.1 ( #2709 )
2022-12-22 16:52:39 +08:00
Darcy Ye
87ebd057ea
chore: response of connector POST API should be ConnectorResponse ( #2699 )
2022-12-22 14:02:15 +08:00
Gao Sun
f50509dfab
Merge pull request #2683 from logto-io/gao-log-4632-core-init-hooks-schemas
...
feat: hooks schema and APIs
2022-12-22 13:11:29 +08:00
Darcy Ye
07f870d774
chore: should clear connector session after getSession() ( #2693 )
2022-12-21 15:15:11 +08:00
Gao Sun
caa75422ad
Merge pull request #2681 from logto-io/gao-refactor-log-types-2
...
refactor: log types 2
2022-12-21 11:01:52 +08:00
Gao Sun
cc18103419
refactor: remove fs-extra ( #2695 )
2022-12-20 12:31:53 +00:00
Gao Sun
cb159ac8bb
Merge pull request #2685 from logto-io/gao-refactor-schemas-export
...
refactor: schema export and id generator
2022-12-20 18:08:13 +08:00
Darcy Ye
ecb7f80826
chore: add social sign-in validation reference to interaction ( #2658 )
2022-12-20 07:05:54 +00:00
Gao Sun
27c80f7d56
refactor(core): fix log
2022-12-20 14:00:03 +08:00
Gao Sun
c24a57f2c4
refactor: update log types in database and console
2022-12-20 13:47:12 +08:00
Gao Sun
a023fe97e5
refactor: add alteration and integration test
2022-12-20 13:02:40 +08:00
Gao Sun
92b18c7e3c
feat: hooks schema and APIs
2022-12-20 12:14:15 +08:00
Gao Sun
0f2548e0c4
refactor: fix build errors
2022-12-20 10:25:47 +08:00
Gao Sun
3a3a107811
refactor: schema export and id generator
2022-12-20 00:02:35 +08:00
Gao Sun
2496b57fef
refactor: minor improvements
2022-12-18 12:11:00 +08:00
Gao Sun
93f4ae10ec
refactor: update comments and fix tests
2022-12-17 22:59:10 +08:00
Gao Sun
981ca84b9b
Merge branch 'master' into gao-refactor-log-types
2022-12-17 19:06:20 +08:00
Gao Sun
b0e1c5368c
refactor: multiple logs and oidc listeners
2022-12-17 19:05:28 +08:00
Gao Sun
1476b8ea3a
refactor(core): use audit log middleware on-demand
2022-12-16 23:41:45 +08:00
Charles Zhao
c2bf25bd0b
refactor: add desktop and mobile views to render profile on different platforms ( #2642 )
2022-12-16 14:50:13 +00:00
Gao Sun
854e1e5751
refactor(core): fix dashboard queries
2022-12-16 17:31:26 +08:00
Gao Sun
9c04da0ffe
refactor: add comments and fix build
2022-12-16 16:43:48 +08:00
Gao Sun
1183e66f95
refactor: log types
2022-12-16 13:54:37 +08:00
Xiao Yijun
bc5f4b541a
refactor: replace termsOfUse
with termsOfUseUrl
( #2665 )
2022-12-15 17:04:42 +08:00
Darcy Ye
f3baaf919f
fix: connector metadata update should be optional ( #2666 )
2022-12-15 15:18:49 +08:00
Gao Sun
bed00c4918
Merge pull request #2663 from logto-io/gao-bring-back-toolkit
...
refactor: bring back toolkit packages
2022-12-15 12:18:53 +08:00
Gao Sun
5b647cf7cb
refactor(core): remove query-string
( #2667 )
2022-12-15 10:54:03 +08:00
Gao Sun
49682afdb5
test(toolkit): use native ESM
2022-12-15 01:50:29 +08:00
Gao Sun
4cc7664148
refactor: fix script and code
2022-12-15 01:24:32 +08:00
Gao Sun
32fa807d16
refactor: bring back toolkit packages
2022-12-14 16:40:22 +08:00
Gao Sun
7bf52aa7ad
feat(core)!: enhanced user search params ( #2639 )
2022-12-14 08:36:57 +00:00
Darcy Ye
a134ea14b9
fix: correct error messages ( #2656 )
2022-12-14 11:38:53 +08:00
Gao Sun
48b777374f
chore: upgrade packages ( #2648 )
2022-12-13 18:11:51 +08:00
Gao Sun
500b985d31
Merge branch 'master' into gao-fix-sie-forget-pwd-enabled
2022-12-13 16:21:08 +08:00
Gao Sun
8a32d7aad0
release: version packages
2022-12-13 16:18:49 +08:00
Gao Sun
7b87a3d2e6
Merge branch 'master' into gao-test-native-esm-2
2022-12-13 14:51:52 +08:00
Xiao Yijun
9345c10301
refactor(core): sort users data by createdAt
( #2643 )
2022-12-13 12:25:08 +08:00
Darcy Ye
14f86c01d5
fix: target can not be updated ( #2609 )
2022-12-13 10:19:42 +08:00
Gao Sun
a805124437
refactor: misc. issue fix
2022-12-12 21:53:39 +08:00
Gao Sun
51647cf4ca
test: update to native ESM (batch 2)
2022-12-12 21:53:38 +08:00
Gao Sun
1d1e6e3244
test: update to native ESM (batch 1)
2022-12-12 21:52:55 +08:00
Gao Sun
25f0a2e158
test: use native ESM ( #2621 )
2022-12-12 13:43:23 +08:00
Darcy Ye
ce1aaeeae3
fix: should block add of social connector when original target and platform exists ( #2610 )
2022-12-09 12:13:22 +08:00
simeng-li
698610a12f
refactor(core): refactor the user account verification ( #2607 )
2022-12-09 12:12:32 +08:00
Charles Zhao
efc1cd607d
refactor: user related error messages ( #2598 )
2022-12-07 22:00:58 +08:00
Gao Sun
42f288d97b
refactor: fix workspace dep version ( #2606 )
2022-12-07 21:39:32 +08:00
simeng-li
ed62c106d9
refactor(core): refactor interaction verification flow ( #2579 )
2022-12-07 10:35:14 +00:00
Gao Sun
5a634a6683
test: mock esm modules if needed
2022-12-07 13:35:24 +08:00
renovate[bot]
924a9a47c1
fix(deps): update dependency chalk to v5
2022-12-07 04:41:22 +00:00
Darcy Ye
f989cc8ef1
feat: prohibit multiple same-platform social connectors to share same target ( #2577 )
2022-12-07 03:57:20 +00:00
Xiao Yijun
dac1f5cb49
refactor(core,console): replace deduplicate logic with deduplicate
util ( #2600 )
2022-12-07 11:28:49 +08:00
wangsijie
a64816422e
feat(core,console): prevent target change after created ( #2589 )
2022-12-06 10:03:29 +00:00
Darcy Ye
57234cee66
fix: drop empty string, undefined and null fields of connector configurable metadata ( #2576 )
2022-12-06 17:04:36 +08:00
Gao Sun
f16824acc2
Merge pull request #2562 from logto-io/gao-merge-beta-16
...
chore: merge v1.0.0-beta.16
2022-12-06 12:08:02 +08:00
Gao Sun
732421582a
chore: upgrade toolkit
2022-12-06 11:56:56 +08:00
wangsijie
e3bc924c86
feat(console): edit standard connector ( #2568 )
2022-12-05 06:54:48 +00:00
Charles Zhao
0c9e8cba0d
refactor(core): promote profile apis from session routes to its own api routes ( #2583 )
2022-12-05 14:14:21 +08:00
simeng-li
0e402fdcd3
refactor(core): add required profile validation ( #2561 )
2022-12-03 14:33:10 +00:00
Xiao Yijun
aafae8e02b
fix(core): checkRequiredProfile
should work correctly when sign up identifier is emailOrSms
( #2572 )
2022-12-02 15:08:43 +08:00
Xiao Yijun
b8f0b0cca2
chore(core): remove unused checkMissingRequiredSignUpIdentifiers
( #2571 )
2022-12-02 12:20:21 +08:00
Xiao Yijun
bb53b32c1d
refactor: sign up settings schema ( #2559 )
2022-12-02 09:52:01 +08:00
simeng-li
e4b007da38
refactor(core): add profile verification ( #2551 )
2022-12-01 09:48:24 +08:00
Gao Sun
5aaec268de
chore: fix deps
2022-11-30 19:43:39 +08:00
Gao Sun
73cb2360e0
Merge branch 'master' into gao-merge-beta-16
2022-11-30 19:41:02 +08:00
Gao Sun
66fbb4316a
release: version packages
2022-11-30 17:11:09 +08:00
wangsijie
63f9ec57eb
Merge pull request #2547 from logto-io/sijie-remove-connector-enable
...
refactor: remove connector enabled state in database
2022-11-30 12:00:23 +08:00
wangsijie
549cb66a92
fix(core,schemas): fix continue flow with log and interaction merge
2022-11-30 11:42:13 +08:00
simeng-li
cd7fdb7d82
refactor(core): refactor interaction guard ( #2544 )
2022-11-30 01:54:51 +00:00
Gao Sun
3b0aa43975
release: version packages
2022-11-29 20:06:17 +08:00
wangsijie
ed8cc25b50
chore: bump connector kit version
2022-11-29 19:43:23 +08:00
Darcy Ye
356aeabb54
refactor: fix integration tests and import order
2022-11-28 19:39:51 +08:00
wangsijie
c3a361c437
refactor: use connector factories and remove enabled
2022-11-28 18:37:25 +08:00
Darcy Ye
7ba40a7782
feat: remove enabled
from table connectors
( #2513 )
2022-11-28 18:37:24 +08:00
simeng-li
23d2a3fe80
refactor(core): add send passcode api ( #2527 )
2022-11-28 10:04:13 +00:00
Darcy Ye
00653bb846
feat: remove old same type passwordless connectors before posting ( #2516 )
2022-11-28 04:32:50 +00:00
Darcy Ye
efd404e9aa
feat: update available social targets after connector deletion ( #2524 )
2022-11-28 12:17:35 +08:00
simeng-li
5385a2cdd7
refactor(core): refactor findUserByIdentity ( #2537 )
2022-11-28 02:37:25 +00:00
Darcy Ye
896a8d2eff
fix: connector loading path not found error ( #2529 )
2022-11-25 12:30:58 +08:00
Darcy Ye
c93200f431
feat: add GET /connector-factories ( #2480 )
2022-11-24 17:35:39 +08:00
simeng-li
6b909f033f
refactor(core): update the interaction guard ( #2521 )
2022-11-24 17:15:16 +08:00
Darcy Ye
746077ec79
feat: update PATCH /connectors/:id ( #2475 )
2022-11-24 12:32:36 +08:00
simeng-li
fb6fd19021
refactor(ui): add password identifier verification ( #2515 )
2022-11-24 11:39:01 +08:00
wangsijie
3f41278a24
feat(schemas): add roles and permissions ( #2494 )
2022-11-24 11:09:03 +08:00
simeng-li
14b717801f
refactor(core): add interactionGuard middleware ( #2497 )
2022-11-23 16:49:35 +08:00
Darcy Ye
f0f9bec107
feat: update virtual connector loading to getConfig by id ( #2508 )
2022-11-23 14:11:13 +08:00
Gao Sun
b48bfd3762
refactor: upgrade toolkit and update test config
2022-11-22 16:47:17 +08:00
Gao Sun
e7b0de43b7
chore: fix build
2022-11-22 16:11:31 +08:00
Gao Sun
d0d9321e79
refactor: use esm (batch 5)
2022-11-22 16:11:29 +08:00
Gao Sun
8c93cbb650
refactor: use esm (batch 4)
2022-11-22 16:10:55 +08:00
Gao Sun
1a4101ca81
refactor: fix tests
2022-11-22 16:10:55 +08:00
Gao Sun
d29dde828e
refactor: use esm (batch 3)
2022-11-22 16:10:53 +08:00
Darcy Ye
536a8d7e82
feat: add DELETE /connectors/:id ( #2478 )
2022-11-22 11:54:51 +08:00
Darcy Ye
eac8b19245
feat: add POST /connectors ( #2477 )
2022-11-22 11:04:08 +08:00
Charles Zhao
800a019689
chore: remove unnecessary console log ( #2492 )
2022-11-22 01:59:37 +00:00
Charles Zhao
add9fb12c2
Merge pull request #2470 from logto-io/charles-log-4079-log-4080-log-4081-social-related-profile-session-apis
...
feat(core): social related profile session apis
2022-11-21 16:49:14 +08:00
Charles Zhao
89ad89cb42
feat(core): social related profile session apis
2022-11-21 16:39:48 +08:00
simeng-li
ea0200b795
fix(core): hot fix getConnectors bug ( #2476 )
2022-11-18 11:01:53 +00:00
Darcy Ye
4dc4322504
feat: update PATCH /connectors/:id ( #2469 )
2022-11-18 08:36:53 +00:00
Darcy Ye
8a7a9e418e
feat: update connectors table and load connector logic ( #2468 )
...
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-11-18 12:06:53 +08:00
Charles Zhao
3e9694bd69
feat: profile API to change other insensitive user info
2022-11-16 19:46:23 +08:00
Gao Sun
98e99c4cc0
Merge pull request #2461 from logto-io/patch/gao-fix-alteration-scripts
...
fix: alteration scripts
2022-11-16 19:23:23 +08:00
Gao Sun
47a6915bc4
release: version packages (beta)
2022-11-16 18:21:18 +08:00