0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
Commit graph

330 commits

Author SHA1 Message Date
Gao Sun
7e7f292534
refactor: fix api tests 2023-05-22 22:26:52 +08:00
simeng-li
adbed8e47d
refactor(core): sync social email and phone for new registered user
sync social verified email and phone for new registered user
2023-05-22 22:09:18 +08:00
Gao Sun
9c59102f97
chore: add integration tests 2023-05-22 22:04:09 +08:00
Charles Zhao
0023dfe38a
feat(core): add management APIs to help with linking social identities to user (#3821)
* feat(core): add management APIs to help with linking social identities to user

* chore: add changeset

* test: add integration tests

* chore: improve wording

Co-authored-by: Darcy Ye <darcyye@silverhand.io>

* chore: improve wording

Co-authored-by: Darcy Ye <darcyye@silverhand.io>

* refactor: return user identities after update

* chore: rename test filename

* chore: add code annotation

---------

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2023-05-15 19:25:50 +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
wangsijie
ce5377d729
test(core): add integration test for application isAdmin (#3829) 2023-05-15 10:25:02 +08:00
Xiao Yijun
59a6ad3b7d
test(core): add api response guard and error case tests for verification code (#3825) 2023-05-12 17:17:51 +08:00
Xiao Yijun
8fc5b78def
refactor(schemas): update hook schema (#3788) 2023-05-09 09:25:45 +08:00
wangsijie
97363e01dc
test(core): add api response guard and error case tests to log api (#3807) 2023-05-08 03:00:58 +00:00
Darcy Ye
520e0c3df3
chore(core,test): add status code guard for SIE, custom phrase and config APIs (#3813) 2023-05-08 10:43:57 +08:00
Darcy Ye
4d475bfa3b
chore(test): update connector integration tests (#3765) 2023-05-06 10:47:48 +00:00
Charles Zhao
0e46ddacca
chore: add response guard and integration tests for application APIs (#3771) 2023-05-06 04:05:50 +00: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
Charles Zhao
9200169f80
chore: add response guard and integration test for .well-known api (#3769) 2023-05-05 15:07:26 +08:00
simeng-li
f20f65407f
fix(core): add duplicate resource indicator error guard (#3797)
* fix(core): add duplicate resource indicator error guard

add duplicate resource indicator error guard

* fix(core): omit resource indicator from patch api

omit resource indicator from patch api

* fix(test): fix ut

fix ut
2023-05-04 15:33:13 +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
7c2af46cf6
chore(test): complete custom phrase API guard and add ITs (#3772) 2023-04-28 03:41:00 +00:00
renovate[bot]
8abcf079ae
chore(deps): update logto js sdk monorepo packages to v2 (major) (#3766)
chore(deps): update logto js sdk monorepo packages to v2

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-26 17:21:04 +00:00
Darcy Ye
97d0ca6d9f
chore(test): add ITs for logto-config APIs (#3746) 2023-04-25 16:05:22 +08:00
Gao Sun
be373591a9
refactor(ui): use swc for testing (#3726)
* refactor(ui): use swc for testing

* chore: remove unused code
2023-04-20 16:21:21 +00:00
Gao Sun
c55ff367c7
chore: specify versions for workspace protocol (#3707) 2023-04-17 10:10:14 +00:00
renovate[bot]
5beeb5575b
chore(deps): update logto js sdk monorepo packages to v1.1.1 (#3690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:01:54 +00:00
Gao Sun
7f6822893c
Merge pull request #3681 from logto-io/gao-add-cache-tests
test(core): add cache tests
2023-04-11 00:09:42 +08:00
Gao Sun
1df4c91102
Merge pull request #3679 from logto-io/gao-implement-central-cache
feat: central cache
2023-04-11 00:07:34 +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
8deb493d14
test: add integration test 2023-04-07 23:39:03 +08:00
Gao Sun
45cc8f4fb0
test(core): add cache tests 2023-04-07 17:41:22 +08:00
Gao Sun
1548e0732f
chore: add comments and refactor 2023-04-07 14:36:25 +08:00
Gao Sun
4a64d267b6
feat: implement central cache
with Redis as the default choice.
2023-04-07 14:29:35 +08: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
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
silverhand-bot
2f69933d51
release: version core packages (#3564) 2023-03-21 17:56:06 +08:00
Gao Sun
999f8d8b01
refactor(test): increase UI test timeout (#3555) 2023-03-21 10:38:52 +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
renovate[bot]
91c1724656
chore(deps): update logto js sdk monorepo packages to v1.1.0 (#3512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 13:50:39 +08:00
Gao Sun
c4bae2175d
refactor(phrases): update zh-cn translation (#3513) 2023-03-20 11:33:32 +08:00
Darcy Ye
0bfd8509fb
fix(console,core,toolkit): passwordless connector sender tester (#3492) 2023-03-19 14:35:38 +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
29590c6981
refactor(console): update get-started content (#3464) 2023-03-17 16:44:33 +08:00