0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
Commit graph

374 commits

Author SHA1 Message Date
Gao Sun
852bc7b274
feat: add alwaysIssueRefreshToken for web apps 2023-05-22 17:11:09 +08:00
Xiao Yijun
9423b273b6
refactor: update webhook API (#3819) 2023-05-19 16:48:05 +08:00
simeng-li
a265f1f48e
fix(schemas): guard string length for default value field (#3868)
should also guard the string length for non-nullable field with a default value as well
2023-05-19 15:43:44 +08:00
Charles Zhao
497d5b5262
feat(console,phrases): add support to update sign-in identifiers in user details form (#3828)
* feat(console,phrases): add support to update sign-in identifiers in user details form

* chore: add changeset
2023-05-17 08:19:51 +00:00
simeng-li
21d1fa42c7
refactor(schemas,core): enable min string length guard (#3850)
enable min string length guard to all non-null string typed field in Guards
2023-05-17 11:28:22 +08:00
simeng-li
30cd7727de
fix(schemas): remove the notnull string min-length guard from response type (#3844)
remove the notnull string min-length guard from response type
2023-05-15 09:10:40 +00:00
simeng-li
beb6ebad50
test(core): update the resource response guard and integration tests (#3824)
* test(core): update the resouce response guard and integration tests

update the resource response guard and integration tests

* fix(test): fix test

fix resource test

* fix(schemas): add non-empty string type guard (#3826)

* fix(schemas): add non-empty zod guard to the string typed schema field

add non-empty zod guard to the string typed schema field

* fix(schemas): comment out non-empty string guard

comment our non-empty string guard for now

* chore: add change set

add change set

* fix(schemas): remove the guard if has default value
remove the guard if has default value

* refactor(core): replace zod merge using zod extend

replace zod merge using zod extend
2023-05-15 15:12:15 +08:00
Xiao Yijun
af02321ba2
fix(core): compatibility for retries field in HookConfig (#3834) 2023-05-15 11:41:46 +08:00
Xiao Yijun
8fc5b78def
refactor(schemas): update hook schema (#3788) 2023-05-09 09:25:45 +08:00
wangsijie
8baf8e5be6
test(core): add api response guard and error case tests to admin user (#3809)
test(core): add api response guard and error case tests to admin user api
2023-05-05 21:21:09 +08:00
wangsijie
5875d4cb3b
test(core): add api response guard and error case tests to connector api (#3806) 2023-05-05 21:20:58 +08:00
simeng-li
fafe27f87a
test(core): add exception cases for role api and scope api (#3802)
* feat(core): add roles api guard

add roles api guard

* feat(core): add scope api response guard

add scope api response guard

* test(core): add exception cases for role api integration tests

add exception cases for role api integration tests

* fix(console): fix lint error

fix lint error

* fix(core): remove guard status code

remove guard status code

* fix(core): resolve comments

resolve comments

* fix(core): remove useless 401,403 code guard

remove useless 401,403 code guard

* fix(core): fix swagger 422 guard error

fix swagger 422 guard error
2023-05-05 16:18:27 +08:00
wangsijie
e57fc80bd4
fix(core): fix unpaginated scopes response (#3810) 2023-05-05 11:43:33 +08:00
simeng-li
5c0ed8e79e
test(core): add api response guard and error case tests to dashboard api (#3789)
* test(core): add dashboard api response guard

add dashboard api response guard

* test(core): add dashboard integration tests

add dashboard integration tests
2023-05-02 20:58:48 +08:00
Darcy Ye
6e5b48bdcb
chore(schemas,test,core): add IT to ensure mock connectors are installed (#3762) 2023-04-28 15:42:43 +08:00
Darcy Ye
632b8b1d84
refactor(schemas,core,console): use JsonObject instead of ArbitraryObject (#3730) 2023-04-24 11:11:27 +08:00
Gao Sun
aa203308f0
refactor: reorg packages
update `@logto/shared` to a non-business package
and put business components into `@logto/*kit`.
2023-04-04 16:28:48 +08:00
Gao Sun
0e49e43245
refactor: update title in main flow and report pv for console sign-in (#3651) 2023-04-03 07:40:56 +00:00
renovate[bot]
93bc915609
chore(deps): update silverhand configs monorepo packages to v3.0.0 (#3585)
* chore(deps): update silverhand configs monorepo packages to v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-24 16:28:36 +00:00
Gao Sun
a6cb092ff6
refactor: fix initial sie config for cloud 2023-03-20 17:29:20 +08:00
Gao Sun
c2e4226292
refactor: update initial data (#3534) 2023-03-20 16:08:44 +08:00
Gao Sun
f27eb508ed
refactor(console): hide Management API from editing (#3509) 2023-03-20 11:00:16 +08:00
Darcy Ye
ad3611f5a0
refactor(schemas,core,toolkit): remove connector db storage and disable access (#3505) 2023-03-19 11:45:13 +00:00
Xiao Yijun
3404684a61
refactor(console): update get-started tasks (#3439) 2023-03-17 14:19:29 +08:00
wangsijie
5b8d8c8c14
feat(cloud,schemas): add demo social connectors for tenant (#3444) 2023-03-17 10:21:48 +08:00
Charles Zhao
7b394f77c5
feat(console): initials avatar (#3372) 2023-03-16 08:57:23 +00:00
Xiao Yijun
658d905fe0
refactor(console): refactor theme-related types (#3419) 2023-03-16 13:34:23 +08:00
wangsijie
76b49de1f0
feat(core,console): display demo connectors (#3425) 2023-03-15 17:09:26 +08:00
wangsijie
dc175580b9
feat(cloud): limit control for send email (#3418) 2023-03-15 15:55:21 +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
simeng-li
57eb6ee452
feat(schemas,ui): add custom content slot (#3369) 2023-03-14 03:06:01 +00:00
Xiao Yijun
b1b5200876
feat(console): inspire me (#3360) 2023-03-13 13:58:58 +08:00
Gao Sun
fa85b7d0eb
refactor: remove withtyped in core (#3375)
Keeping withtyped will introduce an additional database pool per tenant,
which is not good for performance and it should be more like all-or-nothing choice.
So remove it for core, but keep it in cloud.
2023-03-13 04:01:14 +00:00
Gao Sun
5784cfeb18
feat(schemas,core): add sessionNotFoundRedirectUrl tenant config (#3365) 2023-03-13 03:36:10 +00:00
wangsijie
1f618a3a10
feat(cli,cloud,schemas): seed m2m app for each tenant (#3364) 2023-03-12 09:34:15 +08:00
Xiao Yijun
0971f99e98
feat(console): image uploader (#3323) 2023-03-10 16:35:25 +08:00
Gao Sun
310c543f93
Merge pull request #3333 from logto-io/gao-log-5603-hide-role-for-user-tenant
refactor: hide internal roles for user tenants
2023-03-09 12:41:34 +08:00
Xiao Yijun
105390f004
refactor: remove branding style config (#3326) 2023-03-09 11:23:06 +08:00
Gao Sun
c5da152ddc
refactor: hide internal roles for user tenants
introduce internal roles which name starts with #internal:
with RLS policies to make them read-only.
2023-03-09 00:07:33 +08:00
Charles Zhao
1f0bc8f3f4
refactor(console): polish code by improving data types and API routes (#3324) 2023-03-08 08:28:33 +00:00
Charles Zhao
43470c41f1
fix(core,schemas): add new verification status table (#3312) 2023-03-08 15:21:59 +08:00
Gao Sun
56ffba151b
fix: should return demo app data when query api (#3322)
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-03-08 03:34:40 +00:00
simeng-li
05ada94f95
feat(core,console,schemas,phrases): add privacy policy url (#3315) 2023-03-08 10:56:26 +08:00
simeng-li
04cc1fe69a
feat(console,ui,phrases,schemas): update favicon and html title (#3302) 2023-03-08 02:46:10 +00:00
wangsijie
3c0c82a4bf
feat(core): add s3 storage provider (#3320) 2023-03-08 10:14:28 +08:00
wangsijie
13fcf6f3c2
feat(core,console): handle connector target confict (#3251) 2023-03-07 16:14:23 +08:00
wangsijie
f25a9d343c
feat(core,phrases,schemas): upload user assets with azure storage (#3289) 2023-03-07 06:00:12 +00:00
Gao Sun
08e7b6c6c2
refactor: allow admin to create tenants 2023-03-04 14:52:02 +08:00
Gao Sun
0a3d4bb345
Merge pull request #3274 from logto-io/gao-seed-for-multi-tenancy
refactor: seed data for multi-tenancy
2023-03-03 16:45:02 +08:00
Charles Zhao
84adbf66df
Merge pull request #3252 from logto-io/charles-log-5541-mainflow-like-form-ui-for-change-password
feat(console): add mainflow like modal style for change password
2023-03-03 14:18:23 +08:00
Charles Zhao
ae9edd3ebc
feat(console): add mainflow like modal style for change password 2023-03-02 22:46:11 +08:00
Gao Sun
9775db7af8
refactor: seed data for multi-tenancy 2023-03-02 22:25:13 +08:00
Gao Sun
44909140bf
feat: create tenant for new users (#3255) 2023-03-01 20:55:26 +08:00
Gao Sun
d789a08e41
feat(console): support multi-tenancy (1/2) (#3205) 2023-02-28 16:04:12 +08:00
Xiao Yijun
13f877ca4d
refactor(console): get-started tasks (#3208) 2023-02-27 10:15:55 +08:00
Gao Sun
09d2dac1ea
refactor: move admin console app to database (#3185) 2023-02-22 14:35:17 +00:00
Gao Sun
6858f3c8dc
refactor: move console sie to database (#3171) 2023-02-21 21:24:43 +08:00
Gao Sun
e3f88f5250
refactor: remove demo app db entity (#3165) 2023-02-21 03:45:06 +00:00
Gao Sun
1ef5519e75
feat: custom css (#3155) 2023-02-21 10:55:44 +08:00
Darcy Ye
a13d27a018
feat: enabled connector db read and write (#3127) 2023-02-20 18:54:02 +08:00
Gao Sun
86ecd79b36
refactor(cloud): wrap create tenant in transaction (#3151) 2023-02-20 06:49:08 +00:00
Gao Sun
76a04d97b3
feat(cloud): POST /tenants 2023-02-20 00:27:12 +08:00
Gao Sun
12377665b4
refactor(cloud): implement request auth 2023-02-19 11:31:16 +08:00
Gao Sun
ed4db56254
chore: upgrade configs 2023-02-16 23:49:03 +08:00
Gao Sun
dd5b3037a8
refactor!: adjust packages to adapt admin tenant 2023-02-10 19:57:25 +08:00
Gao Sun
2af6fd114a
refactor!: add admin tenant 2023-02-10 13:06:52 +08:00
Gao Sun
6b09da2f5d
refactor: fix alteration 2023-02-09 18:31:14 +08:00
Gao Sun
99837b4e48
refactor: use RLS 2023-02-08 18:58:45 +08:00
Gao Sun
df1bb9fd38
refactor: update seed data (#3044) 2023-02-02 18:36:18 +08:00
Gao Sun
06e7d6ea9d
refactor(schemas): reorg constants 2023-01-29 23:11:01 +08:00
Gao Sun
d0399eb8a4
refactor!: merge settings into logto configs table 2023-01-29 19:42:19 +08:00
Gao Sun
b07252f9b2
refactor: fix build 2023-01-28 13:05:45 +08:00
Gao Sun
54db878760
refactor: re-org alteration scripts 2023-01-28 12:58:42 +08:00
Gao Sun
ba44eb5fc6
refactor(schemas): init tenant sqls 2023-01-28 12:58:42 +08:00
wangsijie
3e34c51cca
refactor!: remove user roleNames (#2990) 2023-01-20 16:51:29 +08:00
Gao Sun
95a44929a5
feat: init multi-tenancy environment (#2929) 2023-01-18 20:38:05 +08:00
wangsijie
ece866db7c
feat!: migrate application role names to RBAC (#2972) 2023-01-18 15:38:36 +08:00
simeng-li
ace9a01327
refactor(core,ui,schemas)!: refactor social identity verification payload (#2924) 2023-01-16 18:15:31 +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
Gao Sun
f317a917c9
refactor: remove deprecated singleton instances 2023-01-12 16:34:06 +08:00
wangsijie
9ec3a8fcb7
fix(schemas): modify management api default scope name (#2920) 2023-01-12 08:33:14 +00:00
Charles Zhao
10ea2307ad
feat(core): add send and verify APIs for generic type verification code (#2849) 2023-01-12 03:44:07 +00:00
simeng-li
3ff6554c08
refactor(core,console,schemas): remove logDto (#2889) 2023-01-10 05:57:24 +00:00
wangsijie
385966625e
feat(schemas,cli): seed default scope for management api (#2869)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-01-09 15:34:08 +08:00
wangsijie
225ccfed0a
feat(core): count role users and featured users (#2866) 2023-01-09 13:03:28 +08:00
simeng-li
94ed1852b0
refactor(core,ui,schemas,test)!: replace passcode with verification code (#2833) 2023-01-09 09:55:34 +08:00
wangsijie
751f8dffcf
feat(core): add resource to response scopes (#2843) 2023-01-07 04:19:09 +00:00
simeng-li
4af325af03
refactor(core,ui,schemas): replace sms sign-in method with phone (#2825) 2023-01-06 17:43:28 +08:00
wangsijie
cb03d64e12
feat(core): list resources with scopes (#2819) 2023-01-05 07:43:01 +00:00
wangsijie
61f4e7fd2d
feat: add users_roles table and remove role_names (#2525) 2023-01-04 15:39:27 +08:00
simeng-li
5189f6ab9f
feat(core): add interaction api logs (#2794) 2022-12-31 18:18:35 +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
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
92b18c7e3c
feat: hooks schema and APIs 2022-12-20 12:14:15 +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