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
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
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
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
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
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
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
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
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
simeng-li
ed62c106d9
refactor(core): refactor interaction verification flow ( #2579 )
2022-12-07 10:35:14 +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
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
73cb2360e0
Merge branch 'master' into gao-merge-beta-16
2022-11-30 19:41:02 +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
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
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
Charles Zhao
1073ce4363
feat: phone related profile session APIs
2022-11-16 14:35:38 +08:00
Charles Zhao
6ac6992000
feat: email session apis
2022-11-16 14:07:04 +08:00
Charles Zhao
1a7bb4c4e7
feat(core): add change password session api
2022-11-15 17:06:30 +08:00
Charles Zhao
793046868e
feat(core): add change username session api
2022-11-15 16:13:57 +08:00
wangsijie
9740b9d392
feat(console): add suspended label ( #2435 )
2022-11-15 11:51:46 +08:00
wangsijie
d81b751f9b
fix(core): throw invalid credentials for empty password users ( #2436 )
2022-11-15 10:56:48 +08:00
wangsijie
d634cb1b0e
fix(core): get per app sie ( #2433 )
2022-11-14 17:57:47 +08:00
wangsijie
7d11172a8f
fix(core): remove ts from tests ( #2428 )
2022-11-14 14:01:25 +08:00
wangsijie
4a4a59f44d
Merge pull request #2320 from logto-io/feature/suspend
...
feat: suspend user
2022-11-14 11:47:22 +08:00
Charles Zhao
21e649af81
refactor(core): change session health validation method for session APIs
2022-11-11 19:28:40 +08:00
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
27ce104ec5
fix(core): handle not found error for password sign in ( #2383 )
2022-11-11 14:54:46 +08:00
wangsijie
3bcd29ec89
feat(core): update user suspended ( #2326 )
2022-11-11 13:39:48 +08:00
wangsijie
b9a1ded63f
Merge branch master into merge/suspend
2022-11-11 10:46:54 +08:00
Charles Zhao
ebb34ff923
Merge pull request #2398 from logto-io/charles-bug-fix-patch-user-management-api
...
fix(core): fix field updating issues in patch user management api
2022-11-11 10:46:01 +08:00
wangsijie
651436fbd9
fix(core): fix user password and identities check ( #2379 )
2022-11-11 10:35:46 +08:00
wangsijie
d99d67b9b2
fix(core): require connector when verification code is enabled ( #2394 )
2022-11-11 10:33:33 +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
f875ee6970
Merge pull request #2386 from logto-io/charles-remove-sie-identifier-check-from-user-management-api
...
refactor(core): remove SIE identifier check from user management API
2022-11-10 15:53:37 +08:00
wangsijie
f75d5e605e
feat(core): block suspended user from sign in ( #2366 )
2022-11-10 15:49:26 +08:00
wangsijie
697b84f3eb
fix(core): sign in method requires at least one factor ( #2384 )
2022-11-10 15:45:21 +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
Gao Sun
f82d2a8c4f
refactor(core)!: use case insensitive search for emails
2022-11-10 15:23:50 +08:00
Charles Zhao
970e7a626a
Merge pull request #2359 from logto-io/charles-log-4570-improve-admin-patch-user-api
...
refactor(core): allowing more editable properties for patch user API
2022-11-10 12:42:52 +08:00
Charles Zhao
25048a6604
refactor(core): allowing more editable properties for patch user API
2022-11-10 12:19:25 +08:00
wangsijie
6e4e5ffc0d
fix(core): add check required profile to password routes ( #2357 )
2022-11-09 08:36:11 +00:00
Charles Zhao
d015aa934c
feat(core,phrases): add re-authentication check function for protected access ( #2327 )
2022-11-09 15:38:07 +08:00
Charles Zhao
ec36266a1b
feat(core): add sign-in timestamp in session interaction ( #2325 )
2022-11-09 15:10:37 +08:00
wangsijie
854e373b81
Merge branch 'master' into merge/suspend
2022-11-09 11:05:32 +08:00
wangsijie
55dd05862e
Merge pull request #2171 from logto-io/feature/sie-v2
...
feat: sie v2
2022-11-09 10:18:20 +08:00
wangsijie
c8a7efb0cc
Merge branch 'feature/sie-v2' into merge/sie-v2
2022-11-09 08:45:19 +08:00
wangsijie
e699e3fb62
fix(core,schemas): fix email and sms verification for continue route ( #2349 )
2022-11-08 22:59:43 +08:00
wangsijie
5c81d6f147
Merge branch master into merge/sie-v2
2022-11-08 22:58:36 +08:00
Gao Sun
60a23f1b19
refactor(core): throw proper error in OIDC functions ( #2331 )
2022-11-08 12:30:51 +00:00
Gao Sun
183ebfd856
refactor(core): reuse connector reading function in cli ( #2332 )
2022-11-08 12:29:26 +00:00
Xiao Yijun
22cb416713
feat(core): remove unavailable social connector targets in the sie ( #2328 )
2022-11-08 19:10:22 +08:00
Gao Sun
b3a91141a7
Merge pull request #2343 from logto-io/gao-log-4346-replace-dayjs-with-something-better
...
refactor: replace dayjs with date-fns
2022-11-08 16:54:34 +08:00
Gao Sun
494c4ae483
refactor(core): optimize translation strictly partial check ( #2333 )
2022-11-07 19:29:19 +08:00
Gao Sun
931750f468
refactor: replace parse()
with native Date
2022-11-07 14:44:40 +08:00
Gao Sun
15bb084b6e
refactor: replace dayjs with date-fns
2022-11-07 14:33:47 +08:00
Gao Sun
877eb892c9
refactor(core): use isTrue()
to check params ( #2321 )
2022-11-04 22:25:58 +08:00
simeng-li
6f58f30ed0
feat(ui): add forgot password link
...
add forgot password link
2022-11-04 17:31:12 +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
wangsijie
73bb938c3c
feat(schemas): add user is suspended column ( #2305 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-11-04 10:10:01 +08:00
wangsijie
5e571936c9
chore: remove old sign in methods ( #2295 )
2022-11-03 18:23:12 +08:00
Xiao Yijun
42de419f44
Merge branch master
into merge/sie-v2
2022-11-03 11:31:42 +08:00
wangsijie
1c50efe632
feat: remove forgot password control ( #2291 )
2022-11-03 10:31:57 +08:00
wangsijie
386e021e76
feat(core): check username ( #2290 )
2022-11-01 16:52:57 +08:00
wangsijie
f419fc8279
feat(core): continue sign in with social ( #2281 )
2022-11-01 10:08:47 +08:00
Gao Sun
229a786255
feat(core): hasura unauthed access support ( #2278 )
2022-10-31 18:18:13 +08:00
wangsijie
bf73837839
feat(core): require set a password ( #2272 )
2022-10-31 11:37:06 +08:00
wangsijie
415c24aace
feat(core): password sign in with phone or email ( #2266 )
2022-10-28 15:05:02 +08:00
wangsijie
95cf53b59a
refactor(core): rename username password routes ( #2263 )
2022-10-27 15:45:00 +08:00
wangsijie
50170cfcbf
feat(core): enable forgot password check ( #2257 )
2022-10-27 11:50:48 +08:00
simeng-li
b5512b9213
refactor(core): rename phone signInMethod to sms ( #2252 )
...
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-10-26 14:47:13 +08:00
Xiao Yijun
9271f4e3dc
chore: fix type import lint error
2022-10-24 14:57:20 +08:00
Xiao Yijun
9b97775fc0
chore: merge master into feature/sie-v2
2022-10-24 13:50:26 +08:00
Xiao Yijun
bab7a607db
refactor: update language kit ( #2232 )
2022-10-24 12:26:11 +08:00
Gao Sun
f56b5b5c48
refactor: fix lint errors
2022-10-21 14:03:35 +08:00
wangsijie
5959372325
Merge branch master into merge/sie-v2
...
merge
2022-10-21 10:43:56 +08:00
simeng-li
e0aaf64f82
fix(core): let ac SIE language load from default SIE language settings
...
let ac SIE language load from default SIR language settings
2022-10-20 18:40:45 +08:00
wangsijie
06ae2aff15
Revert "chore: merge master into sie-v2 ( #2182 )" ( #2216 )
2022-10-20 17:03:18 +08:00
wangsijie
2e5f332edc
feat(core): limit sign in method ( #2213 )
2022-10-20 15:36:50 +08:00
wangsijie
387bc21384
feat(core): control forgot password ( #2212 )
2022-10-20 14:41:41 +08:00
Darcy Ye
d38543122d
Merge pull request #2039 from logto-io/feature/decouple-passcode-verification
...
refactor(core,phrases,schemas): decouple passcode verification
2022-10-20 11:17:48 +08:00
wangsijie
55eb5f038d
feat(core): guard sign up methods ( #2194 )
2022-10-20 10:57:49 +08:00
Gao Sun
365b80ab13
chore: update contributing ( #2209 )
2022-10-19 14:47:59 +00:00
Gao Sun
79c6c1de93
refactor: require database name in URL ( #2198 )
2022-10-19 07:38:56 +00:00
wangsijie
e5f8139880
chore: merge master into sie-v2 ( #2182 )
...
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
Co-authored-by: IceHe <icehe@silverhand.io>
Co-authored-by: Gao Sun <gao@silverhand.io>
Co-authored-by: simeng-li <simeng@silverhand.io>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
Co-authored-by: Mahesh Vagicherla <59088937+b4s36t4@users.noreply.github.com>
Co-authored-by: FlurryNight <47457170+FlurryNight@users.noreply.github.com>
Co-authored-by: Lukas <lukas@slucky.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 15:44:49 +08:00
Xiao Yijun
8bb82e981e
fix(schemas): field name in sie db data type should be camel-case ( #2178 )
...
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-10-18 11:52:15 +08:00
Darcy Ye
025456c16d
chore: merge master and fix conflicts
2022-10-14 17:55:58 +08:00
wangsijie
5823e063d1
feat(core): update sie ( #2128 )
2022-10-14 13:26:04 +08:00
Gao Sun
39a5347ac9
chore: upgrade Silverhand configs ( #2153 )
2022-10-14 03:46:33 +00:00
simeng-li
5f8875c688
refactor(ui): refactor passwordless flow
...
refactor passwordless flow
2022-10-13 19:05:21 +08:00
simeng-li
e4914c9451
fix(core): remove log
...
remove log
2022-10-13 14:17:27 +08:00
simeng-li
2295946791
refactor(core): refactor passwordless route
...
refactor passwordless route
2022-10-13 14:13:03 +08:00
Charles Zhao
c419e00dcb
chore: bump toolkit version and update color tokens
2022-10-13 13:17:19 +08:00
Gao Sun
343456f44d
Merge pull request #2124 from logto-io/gao-clean-up-core-inquiry
...
refactor(core): remove parameters
2022-10-12 11:47:46 +08:00
Gao Sun
a8b0290700
Merge pull request #2121 from logto-io/gao-remove-connector-command-in-core
...
refactor: remove connector commands in core
2022-10-12 11:44:43 +08:00
wangsijie
37c8e703da
feat(core): validate sign in ( #2114 )
2022-10-12 11:04:28 +08:00
Gao Sun
216fc9ed85
refactor(core): remove parameters
2022-10-11 22:14:09 +08:00
Xiao Yijun
01fdc4ba11
refactor: remove deprecated fixedLanguage
property from LanguageInfo
( #2111 )
2022-10-11 20:25:35 +08:00
Gao Sun
36d26091e0
refactor: fix connector directory
2022-10-11 18:27:05 +08:00
Gao Sun
64a0936a77
refactor(core): remove connector commands
2022-10-11 18:10:57 +08:00
Darcy Ye
9f1c34bd4e
refactor: merge master to feature to resolve conflicts
2022-10-11 16:01:37 +08:00
Darcy Ye
2c0c49e1fb
refactor(core): sign-in and register flow share verification session ( #2109 )
2022-10-11 06:49:33 +00:00
Darcy Ye
9dba4b14a0
refactor(ui,phrases,core): forgot password reuse verification flow ( #2105 )
2022-10-11 06:31:26 +00:00
wangsijie
766e867297
feat(core): validate sign up ( #2093 )
2022-10-11 14:16:05 +08:00
Gao Sun
d7e42a5aef
Merge pull request #2081 from logto-io/gao-log-4313-cli-clean-up-to-dos
...
refactor(core,cli): extract common utils and upgrade essentials
2022-10-11 13:59:24 +08:00
Xiao Yijun
633ec8f5bc
refactor(core): use fallback language as default in demo app ( #2095 )
2022-10-11 10:30:17 +08:00
Gao Sun
ba09de9b1e
refactor(core,cli): extract common utils to @logto/shared
2022-10-10 23:26:40 +08:00
Mahesh Vagicherla
4b0970b6d8
fix: add redirectURI validation on frontend & backend ( #1874 )
...
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2022-10-10 21:20:20 +08:00
wangsijie
a17c0ae81f
refactor(core): split sign in experience lib
2022-10-10 16:20:10 +08:00
Gao Sun
696e7f181d
chore: merge branch 'master' into feature/manage-language
2022-10-10 15:52:06 +08:00
Darcy Ye
d3d189aa77
refactor(core,ui,test): sign-in and register flows mount on passwordless APIs ( #2054 )
2022-10-10 14:21:39 +08:00
Gao Sun
7f761203b7
refactor(core): fix tests
2022-10-09 22:23:50 +08:00
Gao Sun
7d7f5283ca
refactor(core): read OIDC configs from database
2022-10-09 17:22:34 +08:00
wangsijie
78eca37e87
feat(schemas): add sie2 schema ( #2056 )
2022-10-09 15:31:40 +08:00
Gao Sun
8c73067b48
refactor: improve dx
2022-10-08 17:35:01 +08:00
Gao Sun
9696060997
refactor: remove alteration from core
2022-10-08 17:34:58 +08:00
Gao Sun
ff900c3a65
Merge pull request #2051 from logto-io/gao-log-4312-core-remove-database-seed
...
refactor: remove database seed from core
2022-10-08 17:24:05 +08:00
Gao Sun
5f61450400
Merge pull request #2050 from logto-io/gao-log-4314-cli-alteration-deploy-command
...
feat(cli): `db alteration deploy` command
2022-10-08 17:08:31 +08:00
Gao Sun
7412faa728
Merge pull request #2045 from logto-io/gao-log-4311-cli-db-key-command
...
feat(cli): get/set db config key
2022-10-08 16:22:19 +08:00
simeng-li
11b605a3e7
fix(core): fix deletePasscodeByIds bug ( #2049 )
2022-10-08 14:47:30 +08:00
Gao Sun
a3dc967442
refactor: remove database seed from core
2022-10-07 23:08:25 +08:00
Gao Sun
c324e29df3
refactor(core): use config key enum
2022-10-07 20:26:50 +08:00
Gao Sun
0eff1e3591
feat(cli): get/set db config key
2022-10-05 22:46:52 +08:00
Darcy Ye
0960afc97d
refactor(core,phrases): add send/verify passcode via email/sms routes and corresponding UTs ( #2035 )
...
* refactor(core,phrases): add send/verify passcode via email/sms routes and corresponding UTs
* refactor(core,phrases): flow to reuse PasscodeType
2022-09-30 08:55:55 +00:00
Darcy Ye
753e8ebdfd
refactor(core,schemas): refactor log types with zod ( #2034 )
2022-09-30 03:48:12 +00:00
IceHe
3eb44e1e56
refactor(core,console,phrases,schemas): replace language key with language tag ( #2026 )
2022-09-30 10:30:32 +08:00
IceHe
1271cd162e
refactor(core,phrases): rm empty strings and check structure in PUT /custom-phrase ( #2022 )
2022-09-29 09:14:20 +00:00
IceHe
cce2d40160
refactor(core): count new users by created_at ( #2027 )
2022-09-29 15:32:43 +08:00
IceHe
a4cb138c12
refactor(core,phrases,schemas): validate fallback language before updating sign-in experience ( #2023 )
2022-09-29 15:28:58 +08:00
Darcy Ye
eea4d4cd3e
refactor(core): should not use login to store session info ( #2017 )
2022-09-28 21:01:10 +08:00
Xiao Yijun
2c1610d665
refactor(console,core,phrases): replace LanguageKey
with LangaugeTag
in phrase-ui related code ( #2024 )
2022-09-28 18:16:23 +08:00
Gao Sun
2db331e19f
refactor(core): copy alteration scripts before executing ( #2021 )
2022-09-28 15:25:54 +08:00
Gao Sun
5bd54484b4
refactor(core): update filename to alteration ( #2015 )
2022-09-27 07:52:39 +00:00
IceHe
7ce55a8458
feat(core,phrases): add GET /phrase route ( #1959 )
2022-09-27 07:36:03 +00:00
Gao Sun
2d069cbebf
refactor(schemas): auto update next alteration scripts ( #2008 )
...
* refactor(schemas): auto update next alteration scripts
* refactor(schemas): update eslint config
* refactor(core): log when alteration is done
2022-09-27 14:43:17 +08:00
wangsijie
10c1be6eb7
fix(core,schemas): move alteration types into schemas src ( #2005 )
2022-09-26 17:29:44 +08:00
wangsijie
2cb4091039
refactor(core,schemas): rename migration to alteration ( #2002 )
2022-09-26 16:38:27 +08:00
wangsijie
af1ccf6ffa
Merge pull request #2001 from logto-io/sijie-log-4238-create-tables-state
...
feat(core): update migration state after db init
2022-09-26 15:56:54 +08:00
wangsijie
f904b88f56
feat(core): update migration state after db init
2022-09-26 15:44:48 +08:00
wangsijie
450130b4b8
Merge pull request #1990 from logto-io/sijie-log-4232-migration-timestamp
...
feat(core,schemas): use timestamp to version migrations
2022-09-26 13:54:46 +08:00
Darcy Ye
ec3fa4715d
chore(core): remove unnecessary updateLastSignInAt ( #1982 )
2022-09-26 03:28:18 +00:00
wangsijie
bb4bfd3d41
feat(core,schemas): use timestamp to version migrations
2022-09-26 11:27:12 +08:00
wangsijie
bf1d281905
feat(core): check migration state before app start ( #1979 )
2022-09-23 16:31:46 +08:00
wangsijie
f4cf89fb8d
fix(core): filter out connector-kit ( #1987 )
2022-09-23 07:38:31 +00:00
Gao Sun
082e82b3bf
refactor(schemas): decouple migration scripts
2022-09-23 15:03:32 +08:00
Gao Sun
88b1384ccb
refactor(core): use default import for migration scripts
2022-09-23 15:03:32 +08:00
Gao Sun
b367cd3380
refactor(core): add migration scripts for #1973
2022-09-23 15:03:32 +08:00
simeng-li
ddb0e47950
feat(ui): add passwordless switch ( #1976 )
...
add passwordless switch
2022-09-23 10:33:00 +08:00
wangsijie
9a89c1a200
feat(core): deploy migration in transaction mode ( #1980 )
2022-09-23 10:22:13 +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
cd9c6978a3
feat(core): machine to machine apps
2022-09-22 22:12:16 +08:00
Darcy Ye
acdc86c856
feat(core): add POST /session/forgot-password/reset ( #1972 )
2022-09-22 03:30:45 +00:00
wangsijie
7cc2f4d142
feat(core,schemas): migration deploy cli ( #1966 )
2022-09-22 10:35:23 +08:00
simeng-li
5f81cd1ef5
refactor(core): refactor admin user auth check logic ( #1970 )
...
* refactor(core): refactor admin user auth check logic
refactor admin user auth check logic
* test(core): add ut
add ut
* test(core): add integration test
add integration test
* fix(test): fix integration test
fix integration test
2022-09-21 11:18:00 +08:00
Darcy Ye
1ea39f3463
feat(core): add POST /session/forgot-password/{email,sms}/verify-passcode ( #1968 )
2022-09-20 08:38:08 +00:00
Darcy Ye
af2600d828
feat(core): add POST /session/forgot-password/{email,sms}/send-passcode ( #1963 )
2022-09-20 14:14:27 +08:00
IceHe
a1aef26905
feat(core): cannot delete custom phrase used as default language in sign-in exp ( #1951 )
2022-09-19 10:18:03 +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
wangsijie
0ca0096d0d
chore: revert "Merge pull request #1927 from logto-io/sijie-log-4160-… ( #1939 )
...
* chore: revert "Merge pull request #1927 from logto-io/sijie-log-4160-protected-access"
This reverts commit 0567fc6347
, reversing
changes made to c01384141d
.
* chore: revert "feat(core): add ts to interaction result (#1917 )"
This reverts commit e01042cbcd
.
2022-09-16 17:01:34 +08:00
IceHe
5fe0cf4257
feat(core): add GET /custom-phrases route ( #1935 )
2022-09-15 20:15:33 +08:00
IceHe
0ae13f091b
feat(core): add PUT /custom-phrases/:languageKey route ( #1907 )
2022-09-15 14:49:23 +08:00
Gao Sun
8d22b5c468
refactor(core)!: update user scopes ( #1922 )
...
* refactor(core)!: update user scopes
* refactor(core): add tests
* refactor: update per review
2022-09-15 11:12:33 +08:00
wangsijie
0567fc6347
Merge pull request #1927 from logto-io/sijie-log-4160-protected-access
...
feat(core,phrases): add check protected access function
2022-09-14 18:13:39 +08:00
wangsijie
e405ef7bb8
feat(core,phrases): add check protected access function
2022-09-14 16:58:09 +08:00