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

427 commits

Author SHA1 Message Date
Gao Sun
4c9aef827b
refactor(console): use global router (#4191)
* refactor(console): use global router

* refactor(console): clean swr cache when switching tenant

* refactor(console): bug fix

* chore(test): increase integration test timeout

* refactor: update packages/console/src/App.tsx

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

---------

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-07-21 06:12:01 +00:00
Gao Sun
0a5aa54bc2
refactor(console): save console redirect after sign-in (#4180)
* refactor(console): save console redirect after sign-in

* test: add integration test for saved redirect
2023-07-20 22:44:14 +08:00
Darcy Ye
e441c089d7
fix(core,connector): fix patch connector api cannot reset config/metadata bug (#4166) 2023-07-14 17:38:56 +08:00
Gao Sun
947de83173
chore: upgrade configs (#4132)
* chore: upgrade configs

* chore: fix lint errors
2023-07-07 17:17:21 +00:00
Gao Sun
e89ccd4d4c
refactor: cloud cleanup (#4103)
* refactor: cleanup cloud

* chore: fix cloud dependencies

* chore: update LICENSE
2023-07-03 14:33:19 +08:00
silverhand-bot
53131ad5a7
release: version packages (#4033) 2023-06-28 18:57:43 +08:00
Darcy Ye
51fb943986
fix(console): fix multi tenancy flow and sync ui-test 2023-06-27 15:38:57 +08:00
Gao Sun
a3e3363b10
refactor: fix test and components 2023-06-23 01:07:33 +08:00
Darcy Ye
013022d24f
fix(console): direct to new created tenant and clear create modal on open (#4051) 2023-06-19 07:06:06 +00:00
Darcy Ye
8f78515976
fix(cloud,test): should block when users trying to create too many tenants (#4048) 2023-06-19 14:45:33 +08:00
Darcy Ye
8770facec1
feat(console): add tenant loading page (#4031) 2023-06-18 16:50:00 +08:00
Darcy Ye
9fa2bc9235
fix(test): fix cloud UI test create new account idling URL mismatch error (#4037) 2023-06-15 14:46:05 +08:00
Gao Sun
298d29c39f
Merge pull request #4026 from logto-io/gao-upgrade-withtyped
refactor(console): use withtyped client for SWR
2023-06-13 18:16:34 +08:00
Gao Sun
8de7e5538d
test: test 2023-06-13 17:33:32 +08:00
Gao Sun
99c98b6654
refactor: minor improvements 2023-06-13 16:01:40 +08:00
Darcy Ye
e96e92b2df
feat(schemas,cloud): align tenant types (#4004) 2023-06-12 18:36:15 +08:00
Darcy Ye
69bd7ac88b
fix(cloud): delete tenant api (#4000) 2023-06-08 14:53:26 +08:00
renovate[bot]
417534e9e4
chore(deps): update dependency got to v13 (#3915)
chore(deps): update dependency got to v13.0.0

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-07 08:10:27 +00:00
silverhand-bot
3acb0d2db1
release: version packages (#3857) 2023-06-06 23:21:29 +08:00
Xiao Yijun
12ae2622b1
refactor(core): return 422 if failed to send a webhook test payload (#3970) 2023-06-05 16:02:43 +08:00
Gao Sun
e8ed876878
test: add default resource integration test 2023-06-04 20:46:43 +08:00
Charles Zhao
f89af550de
test: improve ui test stability and remove unnecessary code (#3945) 2023-06-01 09:35:29 +00:00
Charles Zhao
19ef8c1e35
chore: bump logto js sdks (#3943) 2023-06-01 17:01:00 +08:00
Charles Zhao
1d7330835c
fix(core): verify an empty string password should return 400 instead of 500 (#3939)
* fix(core): verify an empty string password should return 400 instead of 500

* test(core,test): add unit and integration tests for verify password api
2023-06-01 07:10:21 +00:00
renovate[bot]
b1e048772c
chore(deps): update dependency puppeteer to v20 (#3803)
* chore(deps): update dependency puppeteer to v20

* chore(deps): update dependency jest-puppeteer to v9

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-01 12:37:59 +08:00
Xiao Yijun
813e216398
fix(core): trigger reset password hook (#3916) 2023-06-01 12:18:49 +08:00
Xiao Yijun
f38d734e40
test: add ui tests for webhook management (#3923) 2023-05-30 11:18:39 +08:00
Darcy Ye
1b57f26533
feat(cloud,test): add DELETE /tenants/:id API (#3900) 2023-05-30 02:50:06 +00:00
Darcy Ye
47abbd8cb6
feat(cloud,schemas): add PATCH /tenants/:id API (#3881) 2023-05-30 00:54:52 +08:00
Charles Zhao
bb77850e62
chore(phrases): remove unnecessary exclamation points from phrases (#3918)
* chore(phrases): remove unnecessary exclamation points from phrases

* chore: remove unnecessary white spaces
2023-05-29 06:31:07 +00:00
Darcy Ye
62b1ee6b72
feat(cloud,schemas,cli): update cloud service tenant APIs (#3875) 2023-05-29 04:57:10 +00:00
Xiao Yijun
51f61b455a
feat(core): support pagination for GET /hooks api (#3904) 2023-05-29 11:43:08 +08:00
wangsijie
0edd549365
feat(core): add domain routes (#3892) 2023-05-29 11:27:23 +08:00
Xiao Yijun
387e04ec4a
fix(console): allow wrap for toast content (#3910) 2023-05-26 22:19:47 +08:00
Darcy Ye
8cbf87bb73
feat(schemas,cli,core,cloud): add manage tenant self scope (#3865) 2023-05-26 17:38:09 +08:00
Xiao Yijun
9550552438
chore(test): clean up created hooks on test done (#3907) 2023-05-26 10:44:56 +08:00
Xiao Yijun
d3d63b1562
feat(core): test webhook (#3889) 2023-05-25 12:16:29 +08:00
Xiao Yijun
37c3f5952d
refactor(test): split hook integration tests into several files (#3891) 2023-05-24 15:01:32 +08:00
Xiao Yijun
166c6f7da0
feat(core): get hook execution stats (#3882) 2023-05-24 08:28:39 +08:00
Gao Sun
02eee1956f
Merge pull request #3879 from logto-io/gao-feature-updates-for-openai-plugins
feat: updates for openai plugins
2023-05-23 22:55:47 +08:00
Gao Sun
4f1e29aefc
release: version packages 2023-05-23 21:42:01 +08:00
Xiao Yijun
0c79437ba4
feat(core): sign hook payload data (#3854) 2023-05-23 18:02:17 +08:00
Gao Sun
c7ff18bbdf
refactor: fix api tests 2023-05-22 22:47:31 +08:00
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
Xiao Yijun
b92508db3a
feat(core,schemas): support get hook recent logs (#3859) 2023-05-22 19:01:54 +08:00
Charles Zhao
f1730db70b
test(test): add tests for console user management (#3863)
* test(test): add tests for console user management

* chore: remove unused dependency

* chore: remove testing screenshots
2023-05-22 13:31:45 +08:00
Xiao Yijun
9423b273b6
refactor: update webhook API (#3819) 2023-05-19 16:48:05 +08:00
wangsijie
f953289f75
test: remove tests with defaultManagementApi.role.id (#3855) 2023-05-17 15:19:12 +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
Gao Sun
c7bbdb40a0
Merge pull request #3430 from logto-io/gao-cache-well-known-data
refactor: cache well-known data
2023-03-17 15:36:41 +08:00
Xiao Yijun
30ed6ff998
feat(console): add fake social connectors in onboarding (#3455) 2023-03-17 14:00:07 +08:00
Gao Sun
e0fad2dccd
refactor: implement ttl cache 2023-03-17 13:59:59 +08:00