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

1552 commits

Author SHA1 Message Date
Xiao Yijun
5c3c8434f3
fix(console): ensure optional fields exist in the sie form data (#4030) 2023-06-14 10:53:27 +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
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
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
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
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
Gao Sun
8c5b492381
refactor(console): apply no-unused-modules (#4010) 2023-06-09 21:56:20 +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
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
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
Xiao Yijun
2bc880e204
refactor(console): remove redundant domain status guard (#3999) 2023-06-08 03:39:46 +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
Xiao Yijun
ec6e266705
feat(console): implement active custom domain process (#3965) 2023-06-07 17:31:21 +08:00
Xiao Yijun
b5b8486105
fix(console): close confirm modal on the location path changed (#3981) 2023-06-07 11:29:37 +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
Xiao Yijun
1ad17bcb38
feat(console): add default domain content for domains page (#3961) 2023-06-06 17:01:59 +08:00
Xiao Yijun
df8dc69f69
feat(console): add tenant settings page (#3975) 2023-06-06 16:39:15 +08:00
Xiao Yijun
92f6f9f371
fix(console): fix fallback image in image uploader (#3984) 2023-06-06 16:22:54 +08:00
Darcy Ye
e6ea8fde54
chore(console): reorganize console page (#3930) 2023-06-05 18:27:36 +08:00
Gao Sun
4e3b2ce351
refactor: add learn more link for Default API switch (#3972) 2023-06-05 17:46:49 +08:00
simeng-li
5599667576
fix(console): hide some log headers for webhook event (#3971)
* fix(console): hide some log headers for webhook event

hide some log headers for webhook event

* fix(console): address typo

address typo
2023-06-05 17:27:45 +08:00
Gao Sun
0fcd7969a9
Merge pull request #3922 from logto-io/gao-support-default-resource
feat: support default API Resource
2023-06-05 13:35:46 +08:00
Darcy Ye
6ee0682f8a
refactor(console): card selector (#3968) 2023-06-05 13:29:47 +08:00
Gao Sun
08c5771a85
chore(phrases): keep API Indicator phrases original 2023-06-04 23:29:37 +08:00
Gao Sun
6dad8e9e3d
refactor(console): show default api tag 2023-06-04 21:51:15 +08:00
Gao Sun
c933bf58f7
feat: support default API Resource 2023-06-04 20:46:36 +08:00
Tc001
fb2bb527aa
fix(console): use correct vanillajs isAuthenticated method in guide (#3947)
fix(console): correct code sample in vanilla-js guide
2023-06-02 09:16:46 +00:00
Xiao Yijun
6f6941b9ba
refactor(console): replace tsx svg components with svg files (#3952) 2023-06-02 15:40:35 +08:00
Charles Zhao
44e18c081a
fix(console): generated passwords should pass the regex checks (#3925) 2023-06-01 22:33:45 +08:00
Darcy Ye
06709179ee
chore(console): remove get started progress dropdown (#3931) 2023-06-01 10:47:04 +08:00
Gao Sun
f1d73af537
Merge pull request #3905 from logto-io/gao-add-google-tag
refactor: add google tag conversion report
2023-05-30 13:27:21 +08:00
Gao Sun
1c80a95aee
refactor(console): pring debug info only when event is triggered 2023-05-30 13:12:54 +08:00
Darcy Ye
62b1ee6b72
feat(cloud,schemas,cli): update cloud service tenant APIs (#3875) 2023-05-29 04:57:10 +00:00
Xiao Yijun
708303349e
feat(console): support pagination for webhooks page (#3914) 2023-05-29 03:57:57 +00:00
Xiao Yijun
43dd5e6d11
fix(console): fix toggle tip z-index on modal layer (#3917) 2023-05-29 10:50:16 +08:00
Xiao Yijun
a9c34cd0b6
fix(console): enforce SSOT for webhook signing key (#3909) 2023-05-28 09:22:15 +08:00
Xiao Yijun
2b409fcefe
fix(console): should not check duplicated keys when key is empty (#3911) 2023-05-26 22:20:13 +08:00
Xiao Yijun
387e04ec4a
fix(console): allow wrap for toast content (#3910) 2023-05-26 22:19:47 +08:00
Xiao Yijun
292e6ebc6f
refactor(console): update the eye icon of CopyToClipboard (#3908) 2023-05-26 22:19:12 +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
ff4fb5e56f
refactor(console): replace confirm modal with useConfirmModal hook (#3906) 2023-05-26 10:45:15 +08:00
Xiao Yijun
d369e0c863
refactor(console): remove webhook creation limit (#3903) 2023-05-26 10:44:41 +08:00
Gao Sun
5125da67f2
refactor: fix gtag reporting 2023-05-25 22:21:08 +08:00
Gao Sun
ef6b1f4e66
refactor: update CSP 2023-05-25 19:04:32 +08:00
Gao Sun
46746f8285
refactor(console): restrict gtag report to production 2023-05-25 17:25:40 +08:00
Gao Sun
b94136d571
refactor: add google tag conversion report 2023-05-25 17:04:00 +08:00
Xiao Yijun
b160452c71
feat(console): enable webhook management feature (#3901) 2023-05-25 13:53:45 +08:00
Xiao Yijun
9ae570cbbc
feat(console): test webhook (#3886) 2023-05-25 12:16:47 +08:00
Xiao Yijun
ab38cbffeb
fix(console): refresh hook on data updated (#3898) 2023-05-25 10:59:36 +08:00
Xiao Yijun
e7ee0a9523
fix(console): hide success rate on the hook details page when no request happened (#3897) 2023-05-25 10:39:03 +08:00
Charles Zhao
3955658c05
style(console): sidebar item should align to top (#3885) 2023-05-24 10:44:03 +08:00
Xiao Yijun
86dee64576
feat(console): display webhook execution stats (#3883) 2023-05-24 08:31:26 +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
Charles Zhao
c6821aab77
feat(console): add hover tooltip for micro user avatars (#3861) 2023-05-23 16:30:45 +08:00
Xiao Yijun
af42e87bc0
feat(console): add webhook logs page (#3862) 2023-05-22 14:19:15 +00:00
Gao Sun
852bc7b274
feat: add alwaysIssueRefreshToken for web apps 2023-05-22 17:11:09 +08:00
Xiao Yijun
85fb03651c
feat(console): regenerate signing key (#3866) 2023-05-22 10:49:49 +08:00
Charles Zhao
497d5b5262
feat(console,phrases): add support to update sign-in identifiers in user details form (#3828)
* feat(console,phrases): add support to update sign-in identifiers in user details form

* chore: add changeset
2023-05-17 08:19:51 +00:00
Xiao Yijun
1b6bb9b1cf
feat(console): add webhook creation limit reminder (#3852) 2023-05-17 16:17:00 +08:00
Xiao Yijun
05b3729260
feat(console): implement tag component (#3853) 2023-05-17 11:30:08 +08:00
Xiao Yijun
9ddf0d7578
chore(console): add app insights for webhook pages (#3845) 2023-05-16 11:08:04 +08:00
Darcy Ye
a65bc9b13b
fix(console): ignore empty number input box in connector config (#3822) 2023-05-15 15:43:54 +08:00
Xiao Yijun
af02321ba2
fix(core): compatibility for retries field in HookConfig (#3834) 2023-05-15 11:41:46 +08:00
Xiao Yijun
124e0bca0d
feat(console): support editing webhook custom headers in the console (#3823) 2023-05-12 11:58:50 +08:00
Xiao Yijun
6c3a5a6899
feat(console): implement webhook basic details page (#3820) 2023-05-10 13:51:02 +08:00
Xiao Yijun
b91b0f3835
feat(console): list and create webhooks (#3790) 2023-05-09 15:14:56 +08:00
Charles Zhao
1066e5c707
fix(console): main content should take 100% available height (#3818) 2023-05-08 10:53:51 +00:00
Charles Zhao
260f39f72d
refactor(console): remove superstruct dependency from console (#3808) 2023-05-05 17:32:40 +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
Darcy Ye
cf1dd17dd6
fix(console): trim trailing spaces in app guide code sample (#3811) 2023-05-05 11:54:15 +08:00
Xiao Yijun
cd19ff8bf5
fix(console): fix the back link of the log details page (#3805) 2023-05-04 12:33:38 +08: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
Xiao Yijun
858854b9b1
refactor(console): list pages (#3753) 2023-04-28 12:05:43 +08:00
Xiao Yijun
467c6d8321
feat(console): add CheckboxGroup (#3745) 2023-04-28 12:05:24 +08:00
Charles Zhao
db4bc9e3ba
feat: add overlay scrollbar on sidebar and main content (#3764) 2023-04-28 10:07:25 +08:00
Gao Sun
3796866b67
fix(console): eliminate unexpected /token calls (#3757)
refactor: fix AppInsights context extra rendering issue
2023-04-27 18:34:38 +08:00
Charles Zhao
9a795c8ecd
fix(console): language dropdown height should be calculated properly on first load (#3763) 2023-04-26 10:19:07 +08:00
Gao Sun
c4864d6562
refactor(console): add useMemo to resources and scopes (#3756) 2023-04-24 13:00:53 +00:00
Charles Zhao
e665d5990c
fix(console): set height limit to language dropdown (#3752) 2023-04-24 09:15:27 +00:00
Gao Sun
20418dc4f9
refactor(console,ui,demo-app): fix i18next types (#3743)
* refactor(console,ui,demo-app): fix i18next types

disable allowObjectInHTMLChildren for safer typing. use <DynamicT /> for
all dynamic translations.

* fix(console): i18n key in UserAccountInformation

* refactor(console,ui): update <DynamicT /> and add tests
2023-04-24 16:05:26 +08:00
Darcy Ye
ac95eb3ffa
fix(console): code editor error and line number header width (#3731) 2023-04-24 14:27:44 +08:00
Darcy Ye
632b8b1d84
refactor(schemas,core,console): use JsonObject instead of ArbitraryObject (#3730) 2023-04-24 11:11:27 +08:00
Charles Zhao
dbbd766220
fix(console): switch component (#3736) 2023-04-24 10:18:09 +08:00
Gao Sun
9f14e065e8
Merge pull request #3733 from logto-io/renovate/i18next-22.x
chore(deps): update i18next series packages
2023-04-23 17:47:58 +08:00
Gao Sun
5ef299866d
fix(console): fix react data router (#3737) 2023-04-22 22:24:06 +08:00
Gao Sun
c72f4ac0ee
refactor(console,ui): fix errors 2023-04-22 00:55:17 +08:00
Gao Sun
748878ce5b
feat(app-insights): add React context provider and hook
and fix AppInsights init issue for frontend projects.
2023-04-21 00:29:53 +08:00
Charles Zhao
0acda89071
fix(console): remove react warning from connector config form (#3720) 2023-04-20 11:45:33 +08:00
Charles Zhao
e0649aa81a
fix(console): remove react warning from Switch component (#3719) 2023-04-20 11:45:14 +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
renovate[bot]
e97fe2e1f3
chore(deps): update dependency react-router-dom to v6.10.0 (#3238)
* chore(deps): update dependency react-router-dom to v6.10.0

* fix: lockfile

* fix: react router

* chore: add annotations about the type definition file

* fix: bump version number for ui package

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-04-19 18:05:57 +08:00
Xiao Yijun
ddde9c597e
style(console): update permission table style (#3709) 2023-04-18 15:48:58 +08:00
Xiao Yijun
5ccce59c73
style(console): update modal overlay paddings (#3708) 2023-04-18 15:48:45 +08:00
Xiao Yijun
8565ab3dba
refactor(console): add user title display rule (#3701) 2023-04-17 09:55:04 +00:00
Charles Zhao
457cb28224
fix(console): adding social connector should mark related get-started action item as completed (#3693)
* fix(console): adding social connector should mark related get-started action item as completed

* chore: add changeset
2023-04-15 08:10:42 +08:00
Xiao Yijun
c5eb3a2ba7
feat(console): create user by multiple identifiers (#3694) 2023-04-14 09:48:49 +00:00
Xiao Yijun
5553425fcd
feat(console): suspend user (#3696) 2023-04-14 16:44:37 +08:00
Darcy Ye
6bb4098409
feat(console): should mask confidential connector config values by default (#3645) 2023-04-11 16:11:10 +08:00
Darcy Ye
e4fc54000e
chore(console): update non-standard social connector target content (#3688) 2023-04-11 15:14:30 +08:00
Darcy Ye
d3b4a0e792
chore(console): connector guide page should use global scrollbar (#3649) 2023-04-11 13:52:05 +08:00
Xiao Yijun
0edb2de4e8
refactor(console): guard file types in the file input dialog box (#3673) 2023-04-10 14:27:49 +08:00
Xiao Yijun
4220f554db
refactor(console): remove redundant hasError prop from text input (#3672) 2023-04-10 11:20:49 +08:00
Gao Sun
9847fdc098
Merge pull request #3676 from logto-io/gao-reorg-pacakges
refactor: reorg packages
2023-04-07 01:22:17 +08:00
Gao Sun
6cbc90389f
fix(console): log event filter (#3678) 2023-04-06 11:32:46 +08:00
Xiao Yijun
d816734b20
refactor(console): disable invalid pagination labels (#3675) 2023-04-04 16:39:32 +08:00
Gao Sun
aa203308f0
refactor: reorg packages
update `@logto/shared` to a non-business package
and put business components into `@logto/*kit`.
2023-04-04 16:28:48 +08:00
Gao Sun
ca11392512
refactor: conditional import app insights sdk (#3664) 2023-04-03 16:49:02 +08:00
Gao Sun
0e49e43245
refactor: update title in main flow and report pv for console sign-in (#3651) 2023-04-03 07:40:56 +00:00
Xiao Yijun
6773a3ae35
refactor(console): improve color picker (#3648) 2023-04-03 10:38:31 +08:00
simeng-li
1c431e7a59
feat(core): apply standard security headers 1/2 (#3590)
* feat(core): add some basic security headers

add some basic security headers

* chore(core): add some comments

add some comments

* chore(core): update the refererPolicy configs

update the refererPolicy configs

* chore(core): update helmet middleware

update helmet middleware

* feat(core): add csp headers to the mainflow and ac http requests 2/2 (#3613)

* feat(core): add csp headers to the mainflow requests

add csp headers to the mainflow requests

* chore(core): add ui and console security headers

add ui and console security headers

* fix(core): remove unused middleware

remove unused middleware

* fix(ui): set terms iframe sandbox

set terms iframe sandbox allow same origin

* fix(core): update security headers middleware

update security headers middleware

* chore(core): add changesets

* chore(core): address rebase conflict

address rebase conflict
2023-04-03 10:24:50 +08:00
wangsijie
2ed3e672de
fix(console): remove url queries for social demo callback (#3621) 2023-03-30 18:17:44 +08:00
Xiao Yijun
9663852f1e
refactor(console): hide native preview when no social target supports native (#3626) 2023-03-30 09:44:46 +00:00
Darcy Ye
457116ee52
chore(console): add href to Button component (#3619) 2023-03-30 07:28:28 +00:00
Darcy Ye
870b86a218
feat(cloud): replace schedule meeting with send email (#3614) 2023-03-30 07:17:18 +00:00
Gao Sun
c200169886
refactor: add app insights package (#3637)
* refactor: add app insights package

* refactor: fix dependencies
2023-03-30 13:36:46 +08:00
Charles Zhao
8132ae7f97
fix(console): temp disable link account feature in open source version (#3638) 2023-03-30 10:37:12 +08:00
Gao Sun
541a5a249d
Merge pull request #3630 from logto-io/gao-add-ja-language
feat(phrases): add ja language
2023-03-29 18:32:53 +08:00
Darcy Ye
35998d4140
fix(console): connector create guide padding (#3593) 2023-03-29 10:27:16 +00:00
Darcy Ye
ee074de3ce
fix(console): app insights wrapper direct children style (#3633) 2023-03-29 18:22:02 +08:00
Gao Sun
362f6a5863
refactor(phrases): fix type issue 2023-03-29 18:00:39 +08:00
Xiao Yijun
8ffe82c4e2
refactor(console): change number input appearance to text input (#3620) 2023-03-29 17:43:26 +08:00
Darcy Ye
7845872196
fix(console): code editor line wrap (#3634) 2023-03-29 17:03:00 +08:00
Xiao Yijun
2fc9c87553
refactor(console): add connector loading state (#3622) 2023-03-29 16:55:11 +08:00
Xiao Yijun
bb9cfe55d5
fix(console): generate user password (#3615) 2023-03-29 05:29:43 +00:00
Gao Sun
ee51478618
refactor(console): update page title and manually track pv (#3625) 2023-03-28 17:51:14 +00:00
Xiao Yijun
5f1c9a579b
fix(console): add missing loading state for confirm modals (#3610) 2023-03-28 17:54:44 +08:00
wangsijie
14143415f0
fix(console): fix connector form validation for switch (#3617) 2023-03-28 11:09:02 +08:00
Xiao Yijun
4ccd6b836e
style(console): remove logo border-radius (#3611) 2023-03-28 10:56:49 +08:00
Xiao Yijun
7a493abfca
refactor(console): support navigating back by the browser when onboarding (#3612)
refactor(console): support navigate back by the browser when onboarding
2023-03-28 10:56:20 +08:00
Gao Sun
e87ff837cd
refactor(console): update admin endpoint pattern (#3605) 2023-03-27 13:51:34 +00:00