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