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

549 commits

Author SHA1 Message Date
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
silverhand-bot
4bba658d7b
release: version packages (#3751) 2023-04-27 19:11:20 +08:00
Darcy Ye
632b8b1d84
refactor(schemas,core,console): use JsonObject instead of ArbitraryObject (#3730) 2023-04-24 11:11:27 +08:00
silverhand-bot
dd24aafc17
release: version packages (#3728) 2023-04-20 17:04:15 +00:00
silverhand-bot
666c4eaaa7
release: version packages (#3722) 2023-04-19 22:34:00 +08:00
silverhand-bot
85889031d0
release: version packages (#3705) 2023-04-18 21:13:31 +08:00
Gao Sun
c55ff367c7
chore: specify versions for workspace protocol (#3707) 2023-04-17 10:10:14 +00:00
Charles Zhao
457cb28224
fix(console): adding social connector should mark related get-started action item as completed (#3693)
* fix(console): adding social connector should mark related get-started action item as completed

* chore: add changeset
2023-04-15 08:10:42 +08:00
renovate[bot]
e07355c42e
fix(deps): update dependency @withtyped/server to ^0.9.0 (#3587)
fix(deps): update withtyped packages to ^0.9.0

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-08 10:01:53 +00:00
renovate[bot]
901ef8ecd6
chore(deps): update silverhand configs monorepo packages to v3.0.1 (#3683)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-07 16:17:14 +00: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
silverhand-bot
ad13427c37
release: version core packages (#3644) 2023-03-30 19:44:40 +08: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
296cad8fc5
release: version packages 2023-03-22 16:25:32 +08:00
Gao Sun
5b4da1e3dd
chore: force bump to fix npm publishment
as we published and unpublished schemas to v1.0.6 long time ago.
2023-03-22 16:23:20 +08:00
silverhand-bot
a43e72d177
release: version core packages (#3578) 2023-03-22 14:58:19 +08:00
renovate[bot]
11e302b2fa
chore(deps): update dependency typescript to v5 (#3463)
* chore(deps): update dependency typescript to v5

* refactor: fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-21 19:37:51 +08:00
Gao Sun
959d1f02dd
refactor: use caret range for workspace dependencies (#3566) 2023-03-21 19:33:08 +08:00
Gao Sun
28e9fa4290
release: core v1.0.0 (#3554)
* chore: move changesets

* release: core v1.0.0

* chore: update workflow
2023-03-20 23:57:04 +08: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
Gao Sun
169c4450eb
refactor: use essentials tryThat and trySafe 2023-03-18 13:02:51 +08:00
renovate[bot]
fa3c13a68d
chore(deps): update dependency @silverhand/essentials to v2.5.0 2023-03-17 18:41: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
renovate[bot]
565a0aead2
chore(deps): update dependency @silverhand/essentials to v2.4.1 (#3421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 21:36:02 +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
wangsijie
47881b6d6e
feat(schemas): add service logs table (#3390) 2023-03-14 15:15:45 +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
Charles Zhao
9896390065
fix(core,schemas): remove sessionId usage from verification status table (#3345) 2023-03-13 11:20:52 +08:00
Gao Sun
eed6e80e45
Merge pull request #3362 from logto-io/gao-use-compressed-file-when-possible
refactor(cloud): send compressed spa file when possible
2023-03-12 21:31:57 +08:00