0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
Commit graph

512 commits

Author SHA1 Message Date
wangsijie
751f8dffcf
feat(core): add resource to response scopes (#2843) 2023-01-07 04:19:09 +00:00
Charles Zhao
0decdb796d
refactor(schemas): alter passcodes table and set jti to nullable 2023-01-06 22:47:29 +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
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
61f4e7fd2d
feat: add users_roles table and remove role_names (#2525) 2023-01-04 15:39:27 +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
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
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
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
Gao Sun
8745886aa0
refactor: add unit tests 2022-12-26 10:26:25 +08:00
Gao Sun
464a4a9133
feat: trigger interaction hooks 2022-12-26 10:26:25 +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
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
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
c24a57f2c4
refactor: update log types in database and console 2022-12-20 13:47:12 +08:00
Gao Sun
33faa41f0d
refactor(schemas): fix type path 2022-12-20 13:33:53 +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
42a305b6b2
refactor(schemas): update interaction log keys 2022-12-17 13:16:31 +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
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
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
14a235eabf
refactor(schemas): remove eslint in generate script (#2669) 2022-12-15 04:02:51 +00:00
Gao Sun
93cd6a27d0
refactor(schemas): add name index on users (#2668) 2022-12-15 10:50:48 +08:00
Gao Sun
49682afdb5
test(toolkit): use native ESM 2022-12-15 01:50:29 +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
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
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
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
simeng-li
0e402fdcd3
refactor(core): add required profile validation (#2561) 2022-12-03 14:33:10 +00:00
Xiao Yijun
bb53b32c1d
refactor: sign up settings schema (#2559) 2022-12-02 09:52:01 +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
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
6b909f033f
refactor(core): update the interaction guard (#2521) 2022-11-24 17:15:16 +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
renovate[bot]
2b393afb28
chore(deps): update dependency camelcase to v7 (#2498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 14:15:56 +00:00
Gao Sun
b48bfd3762
refactor: upgrade toolkit and update test config 2022-11-22 16:47:17 +08:00
Gao Sun
1a4101ca81
refactor: fix tests 2022-11-22 16:10:55 +08:00
Gao Sun
a7dbeb9c77
refactor: use esm (batch 1) 2022-11-22 16:06:04 +08: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
Gao Sun
47a6915bc4
release: version packages (beta) 2022-11-16 18:21:18 +08:00
silverhand-bot
38550e0c9b
release: version packages (beta) (#2329) 2022-11-15 04:31:13 +00:00
wangsijie
9740b9d392
feat(console): add suspended label (#2435) 2022-11-15 11:51:46 +08:00
wangsijie
4a4a59f44d
Merge pull request #2320 from logto-io/feature/suspend
feat: suspend user
2022-11-14 11:47:22 +08:00
wangsijie
6680a9c418
fix(schemas): add missing log types for continue with passwordless (#2409) 2022-11-11 18:07:25 +08:00
wangsijie
854e373b81
Merge branch 'master' into merge/suspend 2022-11-09 11:05:32 +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
cbf75359c8
chore: enable Node 18 2022-11-07 21:25:34 +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
wangsijie
1c50efe632
feat: remove forgot password control (#2291) 2022-11-03 10:31:57 +08:00
wangsijie
415c24aace
feat(core): password sign in with phone or email (#2266) 2022-10-28 15:05:02 +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
9b97775fc0
chore: merge master into feature/sie-v2 2022-10-24 13:50:26 +08:00
renovate[bot]
380d2e5af4
fix(deps): update dependency @logto/core-kit to v1.0.0-beta.20 (#2234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-24 12:51:24 +08:00
Xiao Yijun
bab7a607db
refactor: update language kit (#2232) 2022-10-24 12:26:11 +08:00
renovate[bot]
a1fb85ca67
fix(deps): update dependency @logto/core-kit to v1.0.0-beta.19 (#2130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-21 15:11:06 +08:00
Gao Sun
f56b5b5c48
refactor: fix lint errors 2022-10-21 14:03:35 +08:00
renovate[bot]
4e74bcf0a4
chore(deps): update silverhand configs monorepo packages to v1.3.0 2022-10-21 14:03:31 +08:00
Gao Sun
19666e0401
chore: introduce changesets (#2215) 2022-10-21 13:59:08 +08:00
wangsijie
5959372325
Merge branch master into merge/sie-v2
merge
2022-10-21 10:43:56 +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
Gao Sun
365b80ab13
chore: update contributing (#2209) 2022-10-19 14:47:59 +00:00
Charles Zhao
103b80a84e
Merge pull request #2197 from logto-io/renovate/logto-connector-kit-1.x
fix(deps): update dependency @logto/connector-kit to v1.0.0-beta.19
2022-10-19 16:59:26 +08:00
silverhand-bot
c0fb59881e
release: v1.0.0-beta.12 2022-10-19 08:28:21 +00:00
Gao Sun
61336dfbc8
fix: handle versioning when no next-*.ts found (#2202) 2022-10-19 08:01:49 +00:00
Gao Sun
79c6c1de93
refactor: require database name in URL (#2198) 2022-10-19 07:38:56 +00:00
Gao Sun
582f3d6158
fix: add tables to schemas files 2022-10-19 15:15:24 +08:00
Gao Sun
e24fd0479b
fix: make packages public 2022-10-19 15:10:50 +08:00
renovate[bot]
91c047ed8b
fix(deps): update dependency @logto/connector-kit to v1.0.0-beta.19 2022-10-19 06:21:35 +00:00
silverhand-bot
33c10ce216
release: v1.0.0-beta.11 2022-10-19 06:19:36 +00:00
Xiao Yijun
e32b144369
chore: bump @logto/language-kit to v1.0.0-beta.19 (#2196) 2022-10-19 06:17:28 +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
Gao Sun
9ebb3ddfd9
fix: alteration script in dev 2022-10-18 15:40:36 +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
Gao Sun
24f8afaf80
chore(deps): upgrade jest 2022-10-14 14:57:27 +08:00
renovate[bot]
9ac4a77b33
chore(deps): update dependency @silverhand/jest-config to v1.2.2 2022-10-14 05:59:40 +00:00
Gao Sun
39a5347ac9
chore: upgrade Silverhand configs (#2153) 2022-10-14 03:46:33 +00:00
Gao Sun
0fbe261a6e
chore: revert lerna version bump (#2150) 2022-10-13 22:50:16 +08:00
Gao Sun
5cf97af865
Merge pull request #2143 from logto-io/gao-fix-dev-script
refactor: fix dev script
2022-10-13 22:49:59 +08:00
Gao Sun
0843e8fdfc
refactor: fix dev script 2022-10-13 14:39:09 +08:00
Charles Zhao
c419e00dcb
chore: bump toolkit version and update color tokens 2022-10-13 13:17:19 +08:00
Gao Sun
c16970f450
chore: using pnpm workspace 2022-10-13 11:15:10 +08:00
Xiao Yijun
01fdc4ba11
refactor: remove deprecated fixedLanguage property from LanguageInfo (#2111) 2022-10-11 20:25:35 +08:00
Gao Sun
e36ed7bd1a
chore: upgrade essentials 2022-10-10 23:28:39 +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
Gao Sun
696e7f181d
chore: merge branch 'master' into feature/manage-language 2022-10-10 15:52:06 +08:00
wangsijie
c67d4a382f
feat(schemas): add sie v2 alteration (#2077) 2022-10-10 14:04:00 +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
4134547cca
refactor(cli): flatten OIDC config keys 2022-10-09 15:16:19 +08:00
Gao Sun
911117a785
feat(cli): db seed oidc command 2022-10-08 23:27:43 +08:00
Gao Sun
9696060997
refactor: remove alteration from core 2022-10-08 17:34:58 +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
Gao Sun
a5280a2afd
feat(cli): db alteration deploy command 2022-10-07 19:48:17 +08:00
Gao Sun
441e9e9262
chore: fix package scripts (#2044) 2022-10-06 17:34:21 +08:00
Gao Sun
0eff1e3591
feat(cli): get/set db config key 2022-10-05 22:46:52 +08: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
bd0596f035
chore(schemas): add db alteration script to repair user created_at column by user logs (#2031) 2022-09-30 10:27:06 +08: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
silverhand-bot
11381afdc5
release: v1.0.0-beta.10 2022-09-28 14:30:24 +00:00
IceHe
df18d87103
chore(schemas): add custom phrases database alteration script (#2016) 2022-09-27 09:15:56 +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
bb4bfd3d41
feat(core,schemas): use timestamp to version migrations 2022-09-26 11:27:12 +08:00
Gao Sun
082e82b3bf
refactor(schemas): decouple migration scripts 2022-09-23 15:03:32 +08:00