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

636 commits

Author SHA1 Message Date
Darcy Ye
aad3e2c7bb
chore(phrases,test): update M2M RBAC i18n content (#4595)
* chore: m2m rbac app/user details page assign role button sentence case

* chore(phrases,test): update m2m rbac i18n

* chore: remove untranslated tag in en
2023-09-28 11:24:22 +08:00
wangsijie
6a32f50d15
feat(core,schemas,phrases): verify totp to sign in (#4570) 2023-09-27 09:12:25 +08:00
Darcy Ye
acf460290c
chore(console,phrases): fix console UI issues (#4585) 2023-09-27 08:55:26 +08:00
wangsijie
c3f865ac2c
test: add tests for mfa totp flows (#4566) 2023-09-26 14:42:02 +08:00
Gao Sun
827123faa0
feat(core): integrate basic sentinel (#4562)
* feat(core): integrate basic sentinel

* chore: add integration tests

* refactor(test): fix toast matching

* chore: add changeset

* refactor(test): update naming
2023-09-25 08:20:17 +00:00
Darcy Ye
352ca03177
refactor(console,phrases,core): add roles and logs tabs for m2m app details page (#4548) 2023-09-21 16:54:17 +08:00
silverhand-bot
e69f941e38
release: version packages (#4451) 2023-09-18 10:47:19 +00:00
Darcy Ye
19e7292f49
refactor(console): refactor assign role modal (#4503) 2023-09-18 02:34:13 +00:00
Darcy Ye
8366af442a
chore(core,test): enable advanced search params for GET /applications API (#4495)
* chore(core,test): enable advanced search params for GET /applications API

* refactor: add query by app type(s) filter

* refactor: reuse search for app types
2023-09-17 03:48:56 +00:00
Gao Sun
f9322d02dc
fix(console): highlight current tab in sidebar (#4524) 2023-09-15 13:40:11 +00:00
Gao Sun
9eb512b5a4
refactor(test): add cls and dcls util functions (#4513)
To build string for matching class names.
2023-09-15 10:20:51 +00:00
Gao Sun
7f1cc078ba
Merge pull request #4508 from logto-io/gao-rename-ui-to-experience
refactor: ui -> experience (part 1)
2023-09-15 17:57:04 +08:00
Gao Sun
fb100ce0f0
refactor(console): add isDevFeaturesEnabled env const (#4506) 2023-09-15 15:43:03 +08:00
Gao Sun
ea6b475a72
chore: fix lint errors 2023-09-15 01:02:09 +08:00
Gao Sun
092b3d7aea
refactor: ui -> experience (part 1) 2023-09-15 00:50:13 +08:00
Gao Sun
e1fac554db
test: add console tests for password policy (#4493)
* test: add console tests for password policy

* test: increase time duration

* test: fix sequencer

* chore: add jest-pptr config

* ci: separate experience and console tests

* test: skip tests of unpublished features
2023-09-14 17:28:00 +08:00
Xiao Yijun
fcacbbbcc8
feat(console): implement mfa config page (#4492)
* feat(console): implement mfa config page

* test(console): add ui tests for mfa configuration

* chore(console): remove unused eslint command comment
2023-09-13 15:14:59 +08:00
Gao Sun
fa8ac7761d
Merge pull request #4466 from logto-io/gao-add-flows-integration-tests
refactor(test): add flows integration tests
2023-09-12 21:38:07 +08:00
Charles Zhao
2a9a9263ea
feat(console): add guide support in api resource creation process (#4457)
* feat(console): add guide support in api resource creation process

* fix(test): ui integration test
2023-09-12 20:48:56 +08:00
Gao Sun
281fd55e63
refactor(test): fix naming and add comments 2023-09-12 19:07:42 +08:00
Gao Sun
423e799b5d
refactor(test): add flows integration tests 2023-09-12 18:42:15 +08:00
wangsijie
6cdd33bf1c
feat(core): update mfa in sign in experience (#4467) 2023-09-12 17:53:16 +08:00
Gao Sun
d10a23dba4
refactor: refine password policy details 2023-09-12 14:55:49 +08:00
Xiao Yijun
9644fa0615
chore: remove deprecated challenge task flags (#4468) 2023-09-11 17:46:13 +08:00
Darcy Ye
9251c2bb40
feat(core,test,phrases): add application-role related APIs (#4425) 2023-09-11 14:06:40 +08:00
Darcy Ye
285aa745e7
feat(core): add role-application related APIs (#4384)
* feat(core): add role-app related APIs

* chore(core): add search for GET role-application
2023-09-11 14:04:37 +08:00
Gao Sun
668e0e82a0
refactor(test): rename directories 2023-09-11 12:41:12 +08:00
Darcy Ye
f6caeacb5a
refactor(core,phrases,test): add user role APIs guard (#4382)
refactor(core,phrases): update roles API logics since type field is added to roles

refactor(test): add integration test cases

fix(core): should not manually filter out m2m role assigned to user

chore: silently filter out existing entities
2023-09-11 03:51:46 +00:00
Darcy Ye
5d78c7271b
refactor(core,schemas): update roles table schemas, add type column (#4378)
refactor(core,schemas): update roles table schemas, add type col and fix UTs

refactor(test,core,schemas): add role type constraint to DB level to keep the data source clean
2023-09-11 03:27:49 +00:00
Xiao Yijun
d1b92e99aa
refactor(console): display webhook test result on details page (#4453) 2023-09-11 10:05:19 +08:00
Gao Sun
bbdf57b369
Merge pull request #4418 from logto-io/gao-console-others-to-content
refactor(console): update tab name others -> content
2023-09-05 14:28:34 +08:00
Xiao Yijun
8e4e08f731
refactor(console): remove no-data social section from changes alert modal (#4424)
* refactor(console): remove no-data social section from changes alert modal

* test(console): add sign-in config diff ui tests
2023-09-05 10:59:01 +08:00
Gao Sun
cb696d7e44
Merge pull request #4416 from logto-io/gao-implement-password-policy-guard
feat(core): guard password by policy
2023-09-05 00:11:34 +08:00
Xiao Yijun
f87c253128
refactor(phrases): update no-social connector notification (#4426) 2023-09-04 18:12:18 +08:00
Gao Sun
e599e3651c
fix(test): update integration test 2023-09-03 23:20:20 +08:00
Gao Sun
b1f809214c
refactor(core): fix integration tests 2023-09-03 17:45:33 +08:00
Gao Sun
b8a7b900e1
feat(core): guard password by policy 2023-09-03 02:11:22 +08:00
Xiao Yijun
2b39964fd2
test: add ui tests for applications (#4407)
* test: add ui tests for applications

* refactor(test): simplify application ui tests
2023-08-31 06:31:03 +00:00
Xiao Yijun
4f5881304e
refactor(test): add modal ui test helpers (#4412) 2023-08-31 12:14:19 +08:00
renovate[bot]
0007c75df1
chore(deps): update dependency puppeteer to v21 (#4282)
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-08-30 16:17:19 +08:00
Xiao Yijun
1cf2657d7f
refactor(test): improve test codes about save & discard changes (#4401) 2023-08-28 18:27:52 +08:00
Xiao Yijun
c5a3513798
refactor(test): improve waitForToast ui test helper (#4400)
* refactor(test): improve `waitForToaster` ui test helper

* refactor(test): rename `waitForToaster` to `waitForToast`

* refactor(test): reorg connector deletion helper method
2023-08-28 17:30:04 +08:00
Xiao Yijun
4a532a358d
test: add ui tests for sign-in preview (#4377) 2023-08-18 09:15:45 +00:00
Xiao Yijun
462f677cdc
test: add ui tests for sign-up and sign-in settings (#4373) 2023-08-18 16:46:00 +08:00
Xiao Yijun
d958494848
test: add ui tests for sie branding config (#4324) 2023-08-16 17:20:51 +08:00
Xiao Yijun
b10ec5d1e9
test: add ui tests for RBAC operations (#4339) 2023-08-16 17:10:11 +08:00
Xiao Yijun
8354fa87ad
test: add ui tests for passwordless connectors (#4331) 2023-08-16 15:41:59 +08:00
Xiao Yijun
96634b06b7
test: add ui tests for social connectors (#4328) 2023-08-15 15:33:50 +08:00
Xiao Yijun
3c903b4778
test: interaction api counter cases and response status guard (#4306)
* test: add interaction api counter cases and response status guard

* fix(core): fix koa router method type definition
2023-08-14 10:38:05 +08:00
Xiao Yijun
0fcea5ae5e
test: add sad paths for register with identifiers flow (#4299) 2023-08-11 18:40:06 +08:00
Xiao Yijun
56c8436e19
test: add sad paths for sign in with password identifier flow (#4294)
* test: add sad paths for sign in with password identifier flow

* refactor(test): align sie config reset logic for interaction api tests
2023-08-10 13:24:37 +08:00
Xiao Yijun
24686cf0bb
test: add sad paths for reset password flow (#4298) 2023-08-10 11:37:23 +08:00
simeng-li
74849dde22
test(core): add hasActiveUser test case (#4307)
* test(core): add hasActiveUser test case

add hasActiveUser test case

* ci: remove integration-test code owner

remove integration-test code owner
2023-08-10 10:28:35 +08:00
Xiao Yijun
dfde117b6d
test: add sad paths for social interaction flow (#4300) 2023-08-09 12:10:49 +08:00
Xiao Yijun
2660a1e132
test: add sad paths for sign-in with passcode flow (#4296) 2023-08-09 11:17:25 +08:00
Xiao Yijun
ae0322621f
refactor(test): refactor expectRejects helper method to support status code checking (#4292)
* refactor(test): refactor `expectRejects` helper method to support status code checking

* refactor(test): replace `createResponseWithCode` with `expectRejects`
2023-08-07 13:16:09 +08:00
Darcy Ye
028ffae068
refactor(core,console): filter out webhook logs from audit logs list (#4243)
* refactor(core,console): filter out webhook logs from audit logs list

* refactor(core): separate the method of finding audit logs and webhook logs

* refactor(test): update integration tests

* chore: adopt code review suggestions

* refactor(core): refactor build log condition method and update its use cases
2023-08-01 03:23:03 +00:00
Gao Sun
a427ea05c3
refactor(test): add expectNavigation() (#4254) 2023-07-27 16:04:28 +08:00
Gao Sun
6d1ea26cdc
refactor(core): improve error handling (#4198)
* refactor(core): improve error handling

* test(core): add integration tests
2023-07-22 17:32:25 +08:00
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
Gao Sun
db1de6ce4c
refactor(core): honor no-cache header for cached data 2023-03-17 13:59:58 +08:00
Gao Sun
dd91ebddfa
refactor: cache well-known data 2023-03-17 13:59:53 +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
Gao Sun
69d0597315
refactor(core): add response and status guard for hooks apis 2023-03-14 14:54:27 +08: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
6b12d345a7
refactor(cloud): send compressed spa file when possible 2023-03-11 15:24:26 +08:00
Xiao Yijun
fb6a65bd46
refactor(console): extract the onboarding app from the admin console (#3340) 2023-03-10 09:57:30 +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
Gao Sun
1ca42e0573
Merge pull request #3316 from logto-io/gao-add-cloud-api-tests
test(cloud): init cloud unit tests
2023-03-08 11:24:18 +08:00
Gao Sun
716ee5fd5c
Merge pull request #3313 from logto-io/gao-add-ui-cloud-tests
test: add ui cloud tests
2023-03-08 11:10:09 +08:00
Gao Sun
27db553cb4
Merge pull request #3311 from logto-io/gao-use-url-class
refactor: use URL class
2023-03-08 11:04:39 +08:00
simeng-li
05ada94f95
feat(core,console,schemas,phrases): add privacy policy url (#3315) 2023-03-08 10:56:26 +08:00
Gao Sun
c4681b5f7b
test: fix integration test 2023-03-08 10:55:41 +08:00
Gao Sun
af4276e08e
test(cloud): init api tests 2023-03-08 10:49:51 +08:00
Gao Sun
dd40863ca6
test: add ui cloud tests 2023-03-08 10:49:02 +08:00
Gao Sun
3287c2c232
refactor: use URL class 2023-03-08 10:47:10 +08:00
Gao Sun
e5b055f173
Merge pull request #3299 from logto-io/gao-improve-ui-test
test: improve ui test code
2023-03-08 10:44:48 +08:00
renovate[bot]
4eb2d14762
chore(deps): update dependency @silverhand/essentials to v2.4.0 (#3284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 04:25:50 +00:00
Gao Sun
6e5123891f
test: add cloud test cases 2023-03-07 00:26:31 +08:00
Gao Sun
8ce3a993a9
test: improve ui test code 2023-03-06 17:44:48 +08:00
Gao Sun
7946ecd865
test: create first admin for cloud 2023-03-06 14:23:51 +08:00
Gao Sun
bc6b79f783
ci: fix workflow 2023-03-06 13:45:14 +08:00
Gao Sun
94209ada00
ci: fix workflow 2023-03-06 00:48:50 +08:00
Gao Sun
ac065ac60c
refactor: init cloud ui tests 2023-03-05 22:07:02 +08:00
Gao Sun
08e7b6c6c2
refactor: allow admin to create tenants 2023-03-04 14:52:02 +08:00
renovate[bot]
aa25cb1cbd
chore(deps): update logto js sdk monorepo packages to v1.0.0 (#3248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 14:57:06 +08:00
Gao Sun
237df1721c
release: version core packages 2023-02-26 15:03:37 +08:00
silverhand-bot
cda2c821cd
release: version core packages (#3225)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-02-25 23:15:42 +08: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
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
ed4894a19f
feat: init cloud 2023-02-18 13:34:52 +08:00
Gao Sun
f339e86591
refactor: update tsconfig 2023-02-17 13:41:05 +08:00
Gao Sun
ed4db56254
chore: upgrade configs 2023-02-16 23:49:03 +08:00
Charles Zhao
66441b2197
refactor(console): new topbar user menu (#3112) 2023-02-16 12:28:19 +08:00
Gao Sun
ff485db30d
Merge pull request #3100 from logto-io/gao-add-tests
test(core): add tests
2023-02-15 23:53:25 +08:00
Gao Sun
40173bb5e0
Merge branch 'master' into gao-add-admin-tenant 2023-02-15 15:00:04 +08:00
simeng-li
d4182efc8b
refactor(ui): refactor the register flow (#3083) 2023-02-14 15:45:15 +08:00
Gao Sun
bf8e4c0f6e
test: add me api tests 2023-02-13 18:12:11 +08:00
simeng-li
39f35192e0
refactor(ui): use smart input field to replace all password sign-in form (#3065) 2023-02-13 16:35:33 +08:00
Gao Sun
10825ee3ab
refactor!: remove hideAdminUser param in user search 2023-02-11 16:27:30 +08:00
Gao Sun
0481a450be
refactor: decouple admin tenant and user tenant 2023-02-11 14:38:16 +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
f3fb0ec2a4
Merge pull request #3030 from logto-io/gao-separate-console-server
refactor(core)!: separate admin console server
2023-02-07 15:35:47 +08:00
renovate[bot]
cd3759ce8e
chore(deps): update dependency jest-puppeteer to v7 (#3058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 12:18:17 +08:00
Gao Sun
700107f59b
refactor(test): update integration ui test 2023-02-06 17:42:22 +08:00
simeng-li
4a84162722
refactor(ui): update set password form (#3020) 2023-02-06 17:02:07 +08:00
renovate[bot]
4a407ad4de
chore(deps): update logto js sdk monorepo packages to v1.0.0-rc.0 (#3057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-02-06 04:37:52 +00:00
silverhand-bot
b2f4b728de
release: version core packages (#3054) 2023-02-03 09:45:53 +00:00
Gao Sun
2c19a83f0b
release: version packages 2023-02-02 22:21:34 +08:00
Gao Sun
f4b8063bed
chore: manually update to rc 2023-02-02 22:18:08 +08:00
Gao Sun
df1bb9fd38
refactor: update seed data (#3044) 2023-02-02 18:36:18 +08:00
Xiao Yijun
6779a9f15f
refactor(console): use overlay scrollbar in dropdown (#3035) 2023-02-01 12:50:52 +08:00
Charles Zhao
031a2c69de
fix: integration test failure (#3036) 2023-01-31 17:49:04 +08:00
Gao Sun
95a44929a5
feat: init multi-tenancy environment (#2929) 2023-01-18 20:38:05 +08:00
wangsijie
92968c49dd
fix(schemas): set scope description to required (#2954) 2023-01-17 18:04:49 +08:00
wangsijie
39bc1a82f1
feat(core): get all scopes for a role (#2967) 2023-01-17 05:05:07 +00:00
simeng-li
ace9a01327
refactor(core,ui,schemas)!: refactor social identity verification payload (#2924) 2023-01-16 18:15:31 +08:00
wangsijie
9ed66a8593
feat(console,core)!: use rbac scope to control management resource (#2942) 2023-01-16 15:11:40 +08:00
Charles Zhao
cdffd6bf27
test: add integration tests for generic verification APIs (#2941) 2023-01-16 13:57:52 +08:00
wangsijie
f66fad07b9
fix(core): fix getResourceServerInfo userId (#2919) 2023-01-12 20:50:23 +08:00
wangsijie
849c7fb784
feat(core): add pagination and search to user roles api (#2923) 2023-01-12 09:40:45 +00:00
wangsijie
175516a711
test: add integration tests for roles (#2900) 2023-01-11 08:36:31 +00:00
wangsijie
375a8f4842
test: add IT for scopes (#2895) 2023-01-11 08:13:35 +00:00
wangsijie
836a147194
fix(test): fix import file path (#2911) 2023-01-11 08:05:08 +00:00
wangsijie
fe14f0563c
test: add it for admin-user roles (#2881) 2023-01-11 15:34:39 +08:00
simeng-li
c6b2370356
refactor(test): remove all session api tests in integration tests (#2874) 2023-01-10 12:18:49 +08:00
simeng-li
60e78656f9
refactor(core,ui,test): migrate consent api to interaction (#2873) 2023-01-10 11:59:24 +08:00
simeng-li
94ed1852b0
refactor(core,ui,schemas,test)!: replace passcode with verification code (#2833) 2023-01-09 09:55:34 +08:00
Gao Sun
6e2951fafc
chore!: drop Node 16 (#2848) 2023-01-07 20:42:10 +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
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
Gao Sun
f7a2bdf7a8
ci: separate release groups (#2775) 2022-12-30 13:49:00 +08:00
Darcy Ye
8592d22a38
fix: fix IT due to publish of mock connector (#2765) 2022-12-29 21:47:43 +08:00
Gao Sun
06ec86d831
refactor: rename MessageTypes -> VerificationCodeType (#2745) 2022-12-28 06:28:46 +00:00
Charles Zhao
eef8c0c091
test: improve ui test stability (#2733) 2022-12-28 13:22:00 +08:00
simeng-li
d641e201c2
refactor(core): remove the event from sendPasscode API payload (#2742) 2022-12-28 03:53:13 +00: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
simeng-li
54b0574e18
feat(test): add fulfill user profile integration tests (#2710) 2022-12-27 10:29:01 +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
84014b37d2
refactor: add and fix tests 2022-12-26 19:59:33 +08:00