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
Gao Sun
176e70190f
refactor(core): add guards for authn routes ( #3843 )
2023-05-15 07:47:53 +00:00
simeng-li
e62b0bae5e
feat(core): add 401,403 status guard to all management api routes ( #3831 )
...
add 401,403 status guard to all management api routes
2023-05-15 15:36:23 +08: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
Darcy Ye
7598ddefd7
chore(core): update custom phrase PUT API response status ( #3830 )
2023-05-13 00:23:00 +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
Charles Zhao
0e46ddacca
chore: add response guard and integration tests for application APIs ( #3771 )
2023-05-06 04:05:50 +00:00
Charles Zhao
d2e6e1fd5b
fix(core): use correct status code for slonik errors ( #3812 )
2023-05-06 10:17:25 +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
Charles Zhao
9200169f80
chore: add response guard and integration test for .well-known api ( #3769 )
2023-05-05 15:07:26 +08:00
wangsijie
e57fc80bd4
fix(core): fix unpaginated scopes response ( #3810 )
2023-05-05 11:43:33 +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
Gao Sun
1642df7e1c
refactor(core): add response schemas to swagger.json API ( #3801 )
2023-05-04 12:35:55 +08:00
Darcy Ye
5f4a323d26
chore(core): remove legacy commented code ( #3804 )
2023-05-04 10:42:16 +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
renovate[bot]
f4f8224ff9
chore(deps): update dependency http-errors to ^2.0.0 ( #3785 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-29 12:57:21 +00:00
renovate[bot]
13d9acdb8b
fix(deps): update dependency lru-cache to v9 ( #3686 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-29 12:10:05 +00:00
Gao Sun
5a8442712f
refactor: update tracking components ( #3792 )
...
* refactor: update tracking components
* refactor: track once for the same session
2023-04-29 12:02:52 +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
Darcy Ye
64a01f18d8
chore(test): add SIE API guard ( #3774 )
2023-04-28 11:12:57 +08:00
silverhand-bot
4bba658d7b
release: version packages ( #3751 )
2023-04-27 19:11:20 +08:00
wangsijie
e2ce5df9d2
refactor: use transaction to create user ( #3748 )
2023-04-25 10:53:42 +08:00
Darcy Ye
632b8b1d84
refactor(schemas,core,console): use JsonObject instead of ArbitraryObject ( #3730 )
2023-04-24 11:11:27 +08:00
Gao Sun
368d2f3efb
chore(deps): update dependency i18next to v22
2023-04-21 18:21:09 +08:00
silverhand-bot
dd24aafc17
release: version packages ( #3728 )
2023-04-20 17:04:15 +00:00
wangsijie
2ad86d55b3
fix(core): use client s3 sdk ( #3715 )
2023-04-20 15:20:05 +08:00
silverhand-bot
666c4eaaa7
release: version packages ( #3722 )
2023-04-19 22:34:00 +08:00
Gao Sun
352807b16a
feat: setting cloud role name for AppInsights in React ( #3721 )
...
* feat: setting cloud role name for AppInsights in React
* refactor: simplify service role names
2023-04-19 12:39:37 +00:00
Gao Sun
afdbcb39d6
refactor(core,cloud): add ApplicationInsights URL to CSP directive ( #3710 )
2023-04-19 13:48:20 +08:00
Darcy Ye
3e5b8dd796
fix(connector,phrases): cloud sms/email connectors error message ( #3699 )
2023-04-19 11:07:45 +08:00
silverhand-bot
85889031d0
release: version packages ( #3705 )
2023-04-18 21:13:31 +08:00
Darcy Ye
2e036eae1f
refactor(core): reorg connector routes and UTs ( #3700 )
2023-04-18 06:08:52 +00:00
Gao Sun
020a811016
refactor(core): improve cache behavior ( #3706 )
2023-04-18 12:20:07 +08:00
Gao Sun
c55ff367c7
chore: specify versions for workspace protocol ( #3707 )
2023-04-17 10:10:14 +00:00
Xiao Yijun
c5eb3a2ba7
feat(console): create user by multiple identifiers ( #3694 )
2023-04-14 09:48:49 +00:00
Charles Zhao
6b1948592a
feat(core): provide management API to detect if user has password ( #3698 )
...
* feat(core): provide management API to detect if user has password
* chore: add changeset
* chore: add response status to koa guard
Co-authored-by: Gao Sun <gao@silverhand.io>
---------
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-14 12:22:33 +08:00
Gao Sun
83367569fa
refactor: align console log ( #3684 )
...
add a shared ConsoleLog class for unified console logging.
2023-04-10 17:48:19 +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
simeng-li
764d0dd5ac
chore(core,cloud): add cloud route security headers ( #3674 )
...
* chore(core,cloud): add cloud route security headers
add cloud routes security headers
* chore(core,cloud): only allow ws on dev environment
only allow ws on dev environment
* refactor(core,cloud): update using helmetjs package
update using helmetjs package
* chore(core): fix comment
fix comment
2023-04-10 10:23:07 +08:00
Charles Zhao
7af8e9c9b1
feat(core): add management API to verify user password ( #3680 )
...
* feat(core): add management API to verify user password
* chore: add changeset
2023-04-09 22:01:35 +08: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