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

3869 commits

Author SHA1 Message Date
Gao Sun
9f9446ecda
refactor(console): reuse useCurrentUser for useMeCustomData 2023-06-24 18:32:56 +08:00
Gao Sun
3cbfd7e712
refactor(console): set current tenant validated to false when resetting 2023-06-24 17:55:17 +08:00
Gao Sun
d7f96a6559
refactor(console): reorg hooks and data checking logics 2023-06-24 17:23:41 +08:00
renovate[bot]
5ed7750de7
fix(deps): update dependency lru-cache to v10 (#4045)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-23 11:59:39 +00:00
Gao Sun
a3e3363b10
refactor: fix test and components 2023-06-23 01:07:33 +08:00
Gao Sun
c4e13ff525
refactor(console): optimize tenant context and hooks
remove the use of useSWR and make the tenant context as the single
source of truth for tenant data. also reorg deduplicate hook logics.
2023-06-22 15:13:49 +08:00
Gao Sun
cfe4fce51c
fix: support circular reference when normalizing errors (#4069) 2023-06-21 16:05:33 +08:00
Darcy Ye
b557f9cc56
chore(console,phrases,toolkit): polish ui styles and phrases (#4068)
* chore(console,phrases,toolkit): polish ui styles and phrases

* chore(phrases): use settings key for create tenant modal for ssot

* chore(phrases): add i18n for docs and help button text

* chore(phrases): merge tenants and tenant_settings phrases file

* chore(phrases): use tenant phrases for delete modal content
2023-06-21 07:25:23 +00:00
Xiao Yijun
4122056145
refactor(console): reorg connector-related files (#4071) 2023-06-21 14:58:53 +08:00
Charles Zhao
e9c2c9a6de
feat(toolkit): add new font tokens in core-kit (#4065)
* feat(toolkit): add new font tokens in core-kit

* chore: code clean-up
2023-06-21 14:48:34 +08:00
Darcy Ye
3a0944444a
fix(console): should not block admin tenant owner from creating more tenants (#4066) 2023-06-21 12:49:28 +08:00
Xiao Yijun
370b97ff36
refactor(console): reorder passwordless connectors in the list (#4063) 2023-06-21 11:15:56 +08:00
Gao Sun
dea0b7aa57
chore(deps): upgrade Logto React SDK (#4070) 2023-06-21 09:35:45 +09:00
Gao Sun
608289ec88
chore: update conversion id (#4036) 2023-06-21 01:00:30 +08:00
Darcy Ye
a7e58837b2
fix(console): landing page placeholder css (#4064) 2023-06-20 22:53:12 +08:00
Darcy Ye
7902c1b0e3
chore(console): remove toast for creating tenant (#4067) 2023-06-20 10:40:48 +00:00
Darcy Ye
da6f9eef5c
refactor(console): remove use tenant hook and use cloud SWR instead (#4060) 2023-06-20 15:41:13 +08:00
Xiao Yijun
42d844f258
fix(console): correct domain settings page meta (#4062) 2023-06-20 07:34:19 +00:00
Xiao Yijun
41bf863e5e
feat(console): add custom domain related links (#4061) 2023-06-20 07:31:57 +00:00
Xiao Yijun
234a2a4abb
chore(console): update illustrations (#4053) 2023-06-20 02:25:04 +00:00
Darcy Ye
f34ff9119a
feat(console): add scrollbar for tenant selector (#4054) 2023-06-19 10:02:33 +00:00
Darcy Ye
d1cf786bf8
chore(console): update tenant landing page LM image (#4057) 2023-06-19 09:56:16 +00:00
Xiao Yijun
f03e497327
refactor(console): rename props name for table component (#4055) 2023-06-19 16:40:38 +08:00
Darcy Ye
b877309f99
fix(console): tenant with access token should be redirected (#4056) 2023-06-19 16:29:15 +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
wangsijie
ad44f0875a
fix(core): update domain cache (#4017) 2023-06-19 15:45:42 +09: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
Danil Tankov
2d7c0aa3c3
fix(core): s3 region fallback (#4049)
Signed-off-by: Danil Tankov <danil.tankoff@yandex.ru>
2023-06-19 14:15:07 +08:00
wangsijie
160f861800
fix(core): fix session not found redirect hostname (#4018) 2023-06-19 11:31:10 +09:00
Gao Sun
019cb6cadd
chore(schemas,phrases): make zod peer dependency (#4050) 2023-06-19 11:21:13 +09:00
Darcy Ye
8770facec1
feat(console): add tenant loading page (#4031) 2023-06-18 16:50:00 +08:00
Xiao Yijun
1236799862
chore(console): classify console components (#4047) 2023-06-16 22:26:13 +08:00
Xiao Yijun
734dec0f1b
chore(console): reorg console svg assets (#4046) 2023-06-16 16:05:39 +08:00
simeng-li
c743cef429
fix(ui): fix preview classname overwrite bug (#4038)
fix(ui): fix preview mode user can interact bug

fix preview mode user can interact bug
2023-06-15 18:56:32 +08:00
Xiao Yijun
bf0f3e133e
style(console): update min-width of the sie page (#4042) 2023-06-15 15:55:54 +08:00
Xiao Yijun
0ab8b57e9e
refactor(console): update management api settings description (#4041) 2023-06-15 15:50:21 +08:00
Xiao Yijun
205bb5f44d
chore(console): update light loading illustration (#4040) 2023-06-15 15:28:16 +08:00
Xiao Yijun
6d1013e573
feat(console): add alternative endpoint for application get started guide (#4039) 2023-06-15 07:25:09 +00:00
Xiao Yijun
6cac3ee3f9
feat(console): add custom domain notes for endpoints and social callback uri (#4034) 2023-06-15 15:08:19 +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
Xiao Yijun
5c3c8434f3
fix(console): ensure optional fields exist in the sie form data (#4030) 2023-06-14 10:53:27 +08:00
wangsijie
ab8c26226e
fix(schemas): modify domain table unique index (#3954) 2023-06-14 11:12:08 +09:00
simeng-li
4a983f97e9
refactor(ui): align enum key pascal case (#4022)
align enum key pascal case
2023-06-13 18:46:12 +08:00
simeng-li
1b4fbc2df5
fix: remove unsafe-inline and unsafe-eval (#4020)
remove unsafe-inline and unsafe-eval allowance
2023-06-13 18:46:02 +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
b0a126bbd7
Merge pull request #4028 from logto-io/gao-app-improvements
feat: various application improvements
2023-06-13 18:02:38 +08:00
Gao Sun
ae4ca7b7c5
refactor(console): resolve rebase errors 2023-06-13 17:47:26 +08:00
Gao Sun
8de7e5538d
test: test 2023-06-13 17:33:32 +08:00
Gao Sun
ff06ead917
refactor(cloud): add prepack script 2023-06-13 17:33:32 +08:00
Gao Sun
0d510cf7a4
refactor(console): use withtyped client for SWR
also enables auto type inference for SWR hooks and mutation APIs
2023-06-13 17:33:32 +08:00
Darcy Ye
8e92cb1fe3
feat(console): create tenant modal (#4019) 2023-06-13 16:57:40 +08:00
Darcy Ye
0e2664aea5
feat(console): add tenant list dropdown (#3988) 2023-06-13 08:06:26 +00:00
Gao Sun
99c98b6654
refactor: minor improvements 2023-06-13 16:01:40 +08:00
Gao Sun
c68de569d5
chore(phrases): translate new phrases 2023-06-13 15:54:40 +08:00
Darcy Ye
c774107980
fix(console): set RHF default value (#4027) 2023-06-13 04:21:34 +00:00
Xiao Yijun
2c21832793
chore(console): remove redundant useSWR params from custom domain request (#4025) 2023-06-13 11:35:16 +08:00
Xiao Yijun
89f8476751
refactor(console): update change custom domain notice (#4024) 2023-06-13 11:34:39 +08:00
Xiao Yijun
6726bcaa0f
fix(console): reset form state when the submit handler throws (#4029) 2023-06-13 11:28:41 +08:00
renovate[bot]
9a9d1d2ed4
fix(deps): update dependency helmet to v7 (#3814)
* fix(deps): update dependency helmet to v7

* fix: fix lock file

fix lock file

* fix: fix helmetjs upgrade exceptions

fix helmetjs upgrade exceptions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-06-13 10:05:47 +08:00
Gao Sun
f33d3bf92e
refactor(phrases): refine tips 2023-06-13 01:18:54 +08:00
Gao Sun
e3e3f2c729
feat: various application improvements
- show OpenID Provider configuration endpoint in Console
- configure "Rotate Refresh Token" in Console
- configure "Refresh Token TTL" in Console
- refactor code for OIDC default values
2023-06-13 00:59:23 +08:00
Darcy Ye
4ed72121b8
feat(console): enable icon in modal header (#4023) 2023-06-12 11:11:14 +00:00
Xiao Yijun
1c38ad374d
refactor(phrases): update custom domain related phrases (#4021) 2023-06-12 18:39:13 +08:00
Darcy Ye
e96e92b2df
feat(schemas,cloud): align tenant types (#4004) 2023-06-12 18:36:15 +08:00
Darcy Ye
d2f7c94167
feat(console): add tenant deletion card and delete modal (#4016) 2023-06-12 03:48:07 +00:00
lleyton
048c5cdb09
feat: enable OIDC introspection endpoint (#3996)
feat: enable introspection endpoint
2023-06-11 15:28:44 +00:00
Xiao Yijun
4d10d3d582
chore(console): add appInsights for custom domain page (#4014) 2023-06-11 12:50:15 +08:00
Darcy Ye
690cd37e71
feat(console): add tenant settings page (#3938) 2023-06-10 14:39:03 +00:00
renovate[bot]
a187503213
fix(deps): update dependency @withtyped packages to ^0.11.0 (#4007)
* fix(deps): update dependency @withtyped packages to ^0.11.0

* refactor: fix build

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-10 16:21:12 +08:00
renovate[bot]
9e036bc0e8
chore(deps): update parcel monorepo to v2.9.2 (#4011)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-10 16:00:50 +08:00
Gao Sun
8c5b492381
refactor(console): apply no-unused-modules (#4010) 2023-06-09 21:56:20 +08:00
Gao Sun
2338cb692e
refactor(core): apply no-unused-modules (#4009) 2023-06-09 21:55:15 +08:00
Xiao Yijun
a4cae18151
feat(console): enable custom domain feature (#4013) 2023-06-09 13:20:49 +08:00
Xiao Yijun
cd679359e1
refactor(console): remove redundant ssl dns config for custom domain (#4012) 2023-06-09 02:50:58 +00:00
wangsijie
81f053dfd8
feat(core,schemas): get fallback origin from cf api (#4005) 2023-06-09 02:35:28 +00:00
Xiao Yijun
0511055d23
feat(console): add update endpoint notice for custom domain (#3992) 2023-06-09 10:19:42 +08:00
Xiao Yijun
eb4a5da9d2
feat(console): add activation error for custom domain (#3994) 2023-06-09 10:19:01 +08:00
renovate[bot]
66ba526040
fix(deps): update @withtyped monorepo to ^0.10.0 (#4008)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-08 14:56:31 +00:00
Gao Sun
7546e04eef
refactor(ui): add utm params to powered by link (#3990) 2023-06-08 22:33:10 +08:00
Xiao Yijun
4cdcb9185c
refactor(phrases): update change endpoint notice for custom domain (#4006) 2023-06-08 16:47:00 +08:00
Xiao Yijun
ab40f242c5
chore(console): reorg tenant settings directory structures (#4001) 2023-06-08 15:14:43 +08:00
Xiao Yijun
071bbfae24
refactor(console): improve the original Alert component (#4003) 2023-06-08 07:13:16 +00:00
Darcy Ye
69bd7ac88b
fix(cloud): delete tenant api (#4000) 2023-06-08 14:53:26 +08:00
Darcy Ye
c73a07e7f2
feat(phrases): add phrases for tenant selector and create modal (#4002) 2023-06-08 14:23:02 +08:00
Xiao Yijun
2bc880e204
refactor(console): remove redundant domain status guard (#3999) 2023-06-08 03:39:46 +00:00
wangsijie
62d3acfc7b
fix(schemas): set domain status enum guard (#3958) 2023-06-08 12:07:15 +09:00
Xiao Yijun
d13cb277eb
refactor(phrases): update custom domain notice phrases (#3993) 2023-06-08 11:03:43 +08:00
wangsijie
71f1fe4436
fix(core,schemas): use http method for cloudflare ssl (#3986) 2023-06-08 02:59:34 +00:00
Xiao Yijun
2cde8254b6
fix(console): use process.env.NODE_ENV to get node env for console (#3991) 2023-06-08 02:57:02 +00:00
wangsijie
b4857dbf7b
fix(cli): polish translate prompts (#3955) 2023-06-08 11:23:31 +09:00
Xiao Yijun
ec6e266705
feat(console): implement active custom domain process (#3965) 2023-06-07 17:31:21 +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
Xiao Yijun
902a5cf088
refactor(phrases): update custom domain phrases (#3980) 2023-06-07 14:11:07 +08:00
Xiao Yijun
b5b8486105
fix(console): close confirm modal on the location path changed (#3981) 2023-06-07 11:29:37 +08:00
silverhand-bot
3acb0d2db1
release: version packages (#3857) 2023-06-06 23:21:29 +08:00
Gao Sun
2e2ba5daf3
fix: clone error for AppInsights (#3985) 2023-06-06 22:56:57 +08:00
simeng-li
be43ecd49b
fix(console): fix github avatar broken issue (#3982)
* fix(console): fix github avatar broken issue

remove the crossOrigin settings on the avatar image element

* fix(core): update the OSS  crossOriginEmbedderPolicy

 update the OSS crossOriginEmbedderPolicy
2023-06-06 10:33:10 +00:00
Xiao Yijun
acdaf75fb8
feat(console): add custom domain header (#3963) 2023-06-06 09:50:46 +00:00
Xiao Yijun
6fcc2a875c
feat(console): add custom domain form (#3962) 2023-06-06 09:24:48 +00:00
Darcy Ye
0c1744e77d
fix(console): doc button and get help link (#3976) 2023-06-06 17:03:57 +08:00