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

4186 commits

Author SHA1 Message Date
Gao Sun
2aeb575ccd
refactor(cli): use tryThat() to enforce exit (#4267) 2023-07-31 14:53:23 +08:00
Gao Sun
fde330a8b3
feat(cli): translate sync-keys command (#4265)
* feat(cli): `translate sync-keys` command

* refactor(cli): use promise and add comments

* refactor(phrases): fix lint errors

* refactor(cli): fix bugs and add changeset
2023-07-31 12:15:45 +08:00
Darcy Ye
fe54bbafe2
chore(connector): remove Apple/SMTP connector README files CHN part (#4256)
* chore(connector): remove apple/smtp Chinese part from README

* refactor: update README.md

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-29 09:51:22 +00:00
Gao Sun
a8a26a5299
refactor(console): report reddit conversion (#4263)
* refactor(console): report reddit conversion

* refactor(console): update pixel id
2023-07-29 09:44:03 +00:00
Xiao Yijun
28da86bfe4
refactor(console): update upgrade reminder for early adopters (#4257) 2023-07-29 17:29:24 +08:00
Xiao Yijun
f91408ba43
chore(console): update quota table row style rules (#4252) 2023-07-27 16:12:59 +08:00
Xiao Yijun
956d314d03
style(console): fix free plan notification margin-bottom (#4249)
style(console): fix free plan notification margin bottom
2023-07-27 16:06:17 +08:00
Xiao Yijun
1c49e52dee
refactor(console,phrases): update plan selection cta phrases (#4250)
* refactor(phrases): update current plan form card description

* refactor(console,phrases): update plan selection cta phrases
2023-07-27 16:06:08 +08:00
Gao Sun
a427ea05c3
refactor(test): add expectNavigation() (#4254) 2023-07-27 16:04:28 +08:00
Xiao Yijun
0158e9e30c
refactor(phrases): update current plan form card description (#4248) 2023-07-27 16:01:19 +08:00
Darcy Ye
7e577fd3b7
fix(connector): manually add a changelog file for smsaero connector (#4253) 2023-07-27 15:43:10 +08:00
Gao Sun
db91da19bd
feat(console): report LinkedIn conversion (#4251)
* feat(console): report linkedin conversion

* refactor(console): clean up code
2023-07-27 15:42:44 +08:00
Xiao Yijun
5a1c9d3a7b
refactor(console): sort quota list items (#4246) 2023-07-26 11:41:15 +08:00
wangsijie
0aa00307cb
fix(core): exclude demo connector for quota (#4245) 2023-07-26 11:26:35 +08:00
Charles Zhao
16d83dd2f1
refactor(console): allow editing refresh token ttl for non-m2m apps (#4232)
* refactor(console): allow editing refresh token ttl for non-m2m apps

* chore: add changeset
2023-07-26 11:13:15 +08:00
Darcy Ye
605e2b2a81
fix(console): should reset the form every time close CreateTenantModal (#4244) 2023-07-26 10:05:04 +08:00
Darcy Ye
199e747781
fix(console): fix console dark mode logo (#4233) 2023-07-25 15:58:07 +00:00
Darcy Ye
24612e2706
fix(schemas): use pool.query to tolerate empty query results (#4241) 2023-07-25 23:50:47 +08:00
Xiao Yijun
7814f098a8
feat(console): make billing history item clickable (#4239) 2023-07-25 14:58:07 +00:00
Xiao Yijun
9cae293610
refactor(console): add dark image for free plan notification (#4238) 2023-07-25 22:05:13 +08:00
Xiao Yijun
d7cb628366
chore(console): bump @logto/cloud version (#4237) 2023-07-25 21:14:06 +08:00
Xiao Yijun
64b7aed4bd
refactor(console): use plan id to index plan descriptions (#4236) 2023-07-25 12:59:09 +00:00
Xiao Yijun
a935f37d53
refactor(phrases): update hook phrases to webhook (#4235) 2023-07-25 12:55:51 +00:00
Xiao Yijun
491840926c
refactor(console): update plan quota table content (#4234)
* refactor(console): update plan quota table content

* refactor(console): use reserved plan id to index plan-related data
2023-07-25 12:29:54 +00:00
Gao Sun
129d22980f
refactor(console): userEndpoint -> tenantEndpoint (#4228) 2023-07-25 19:06:34 +08:00
wangsijie
b9a05c0034
chore(core): remove pricing feature switch (#4212) 2023-07-25 17:47:54 +08:00
Xiao Yijun
c4f00fd7af
style(console): use large size for the webhook creation modal (#4231) 2023-07-25 09:40:29 +00:00
Xiao Yijun
687a644592
refactor(console): hide pro tag when related features are available (#4229) 2023-07-25 09:19:14 +00:00
Xiao Yijun
59618ef906
fix(console): reset loading state on plan downgraded (#4230) 2023-07-25 09:17:16 +00:00
wangsijie
d696df1683
fix(core): add opaque access token event listener (#4227) 2023-07-25 17:08:16 +08:00
Darcy Ye
6849f87f43
chore(phrases): update onboarding contents (#4217) 2023-07-25 16:58:44 +08:00
Gao Sun
5fd22f394f
Merge pull request #4224 from logto-io/gao-fix-tenant-switching
fix(console): use SWR for user endpoint
2023-07-25 16:43:21 +08:00
Xiao Yijun
56ca8319d8
feat(console): add loading state for stripe actions (#4226) 2023-07-25 08:21:42 +00:00
Xiao Yijun
9eca310f6c
feat(console): add most popular tag for pro plan item (#4225) 2023-07-25 16:13:18 +08:00
Darcy Ye
c83f5251e8
chore(console): remove preview (#4218) 2023-07-25 07:54:17 +00:00
Xiao Yijun
fccc43b99c
style(console): update quota table border radius to 16px (#4221) 2023-07-25 15:24:32 +08:00
Xiao Yijun
48fc9512cd
refactor(console): hide cancel button for not eligible switch plan modal (#4222) 2023-07-25 15:22:01 +08:00
Xiao Yijun
6289b9f820
refactor(console): update free plan get-started notification (#4219) 2023-07-25 15:21:46 +08:00
Gao Sun
3c37db708d
fix(console): use SWR for user endpoint 2023-07-25 15:13:58 +08:00
Xiao Yijun
9d02e1300c
fix(console): avoid reading response error body more than once (#4223) 2023-07-25 14:24:56 +08:00
Xiao Yijun
6bef85fdb1
style(console): fix mau unit price style (#4220) 2023-07-25 03:41:55 +00:00
Darcy Ye
ae4f85bf10
refactor(console,phrases): optimize onboarding process (#4214) 2023-07-25 01:10:13 +08:00
Xiao Yijun
36b5958935
feat(console): display not eligible reminder for plan switching (#4216) 2023-07-24 18:22:52 +08:00
renovate[bot]
28634c5800
fix(deps): update dependency @microsoft/applicationinsights-react-js to v17 (#4207)
* fix(deps): update applicationinsights web dependencies to v3

* refactor: adapt type for the new pacakge

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-24 17:41:09 +08:00
Xiao Yijun
aa6f9ae1a3
chore(console): remove pricing feature switch (#4215) 2023-07-24 17:08:39 +08:00
Xiao Yijun
d90d81688e
feat(console): support open stripe payment management page from console (#4213) 2023-07-24 15:46:34 +08:00
Xiao Yijun
46eafc9881
refactor(console): improve error handling for cloud api request (#4211) 2023-07-24 07:06:59 +00:00
Darcy Ye
350d070ef7
feat(console): should limit only the number of free tenant (#4205)
* fix(console): update free tenant limit

* fix(console): use TenantResponse type

* chore(console): update dependency on @logto/cloud

* chore: remove import as
2023-07-24 06:40:47 +00:00
Darcy Ye
3ef8c06d4a
feat(connector,core): remove email service feature switch (#4165) 2023-07-24 14:29:38 +08:00
wangsijie
3d828f2e6d
fix(core): fix quota guard middleware env flag (#4204) 2023-07-24 14:02:50 +08:00
Xiao Yijun
aded22954e
feat(console): handle subscription related request errors (#4209) 2023-07-24 03:59:13 +00:00
Xiao Yijun
b97b89a34b
fix(console): add origin for getUrl (#4210) 2023-07-24 11:39:55 +08:00
Gao Sun
f8e11b1b34
fix(console): adapt callback and current tenant id logic (#4206)
* fix(console): adapt callback and current tenant id logic

* fix(console): fix cache and onboarding route

* fix(console): fix cache and onboarding route
2023-07-24 11:11:06 +08:00
Xiao Yijun
437be82a27
feat(console): add payment overdue reminder (#4203) 2023-07-23 13:19:51 +08:00
renovate[bot]
7b97571f1c
chore(deps): update dependency nodemon to v3 (#4140)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-22 09:46:09 +00: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
Xiao Yijun
bc2feb6c74
feat(console): add contact us help tip for downgrade modal (#4202) 2023-07-21 17:10:06 +08:00
Xiao Yijun
62c2c2ca8f
feat(console): add mau exceeeded modal (#4195) 2023-07-21 16:09:28 +08:00
Xiao Yijun
41bc73c65d
feat(console): add subscription info for tenant selector (#4200) 2023-07-21 07:29:30 +00:00
Xiao Yijun
a54fd502bd
refactor(console): refactor subscription-related hooks (#4197) 2023-07-21 07:04:44 +00:00
Xiao Yijun
0d2f8edcb9
feat(console): add billing history page (#4160) 2023-07-21 06:31:25 +00: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
Darcy Ye
474cc4c2c6
chore(connector): update the parse of email usage api response (#4201) 2023-07-21 13:52:32 +08:00
simeng-li
088efeef1a
chore(schemas): bump withTyped version (#4199)
bump withTyped version
2023-07-21 03:26:35 +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
Gao Sun
a1214d2eb6
chore(phrases): update content to sentence case (#4188) 2023-07-20 10:04:16 +00:00
wangsijie
34e907d1ec
feat(core): apply all quota guard (#4187) 2023-07-20 09:27:25 +00:00
wangsijie
d5885160cc
refactor(core): create quota library (#4185) 2023-07-20 16:29:39 +08:00
Chukwuemelie Obumse
7cda535629
test: added tests for the koaConsoleRedirectProxy function (#4182)
* test: added tests for the koaConsoleRedirectProxy function

* test: added tests for the koaConsoleRedirectProxy function with clearer descriptions
2023-07-20 15:50:24 +08:00
Xiao Yijun
591f78f743
feat(console): apply quota limit for roles (#4189) 2023-07-20 14:06:09 +08:00
Xiao Yijun
b4d0995901
feat(console): apply subscription cost for current plan info (#4194) 2023-07-20 13:53:44 +08:00
Xiao Yijun
769caeacb1
feat(console): apply quota limit for application creation (#4193) 2023-07-20 11:29:55 +08:00
Xiao Yijun
a7d8aec2e7
feat(console): apply quota limit for resource and scope creation (#4192) 2023-07-20 11:29:26 +08:00
Xiao Yijun
ac2f492dbe
feat(console): apply quota limit for connector creation (#4190) 2023-07-20 11:29:01 +08:00
Darcy Ye
7e47881e21
chore(console,phrases): add logto email service doc links (#4177)
* refactor(console): add logto email service doc links

* refactor(phrases): update logto email service phrases

* chore: adopt review suggestion
2023-07-20 03:08:15 +00:00
Xiao Yijun
db87743ca1
feat(console): apply quota limit for webhooks (#4186) 2023-07-19 18:18:47 +08:00
Xiao Yijun
8dbc3f6b3c
feat(core): support fetching all applications without pagination (#4184) 2023-07-19 17:58:22 +08:00
Xiao Yijun
6e094d959f
feat(console): checkout integration (#4178) 2023-07-19 09:14:10 +00:00
Xiao Yijun
1b0f9be88b
refactor(console): refactor connector creation modal (#4183) 2023-07-19 15:59:12 +08:00
Xiao Yijun
3c51ecc29d
feat(console): apply quota limit for custom domain (#4181) 2023-07-19 13:56:00 +08:00
Xiao Yijun
cbefbd3f57
feat(console): add free plan notification on the get-started page (#4179) 2023-07-19 05:21:18 +00:00
wangsijie
34105e1579
feat(core,phrases): add quota guard middleware (#4153)
feat(core,phrases): add usage guard middleware
2023-07-18 17:05:00 +08:00
Xiao Yijun
e2fc6cb545
feat(console): select plan before tenant creation (#4175) 2023-07-18 08:51:57 +00:00
Xiao Yijun
f241dd3818
chore(phrases): update subscription phrases (#4176) 2023-07-18 15:54:47 +08:00
Darcy Ye
776ea72a0b
fix(console): should block test of invalid connector config (#4172)
* fix(console): should block test of invalid connector config
* refactor: use useContextForm to avoid passing prop to nested components
2023-07-18 03:22:52 +00:00
Xiao Yijun
3a0760c514
chore(phrases): add upsell-related phrases (#4174) 2023-07-18 10:42:23 +08:00
Xiao Yijun
513d56afec
feat(console): add downgrade plan confirm modal (#4161) 2023-07-17 19:16:10 +08:00
Gao Sun
c00cfedcbb
refactor(schemas): add create affiliate scope (#4171) 2023-07-17 15:40:15 +08:00
Xiao Yijun
68a725926e
feat(console): add current plan form for subscription page (#4158) 2023-07-17 14:32:11 +08:00
Darcy Ye
f4a66f74ce
refactor(console): config the allowed mime type for ImageUploader component (#4169) 2023-07-17 13:38:01 +08:00
Xiao Yijun
1b4b73c4fd
feat(console): add switch plan action bar (#4146) 2023-07-17 02:36:09 +00: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
305f1409fd
refactor(schemas): add manage affiliate scope (#4168) 2023-07-14 15:21:08 +08:00
Darcy Ye
3e08f3c94d
refactor(core,connector): store and get fromEmail from logto email connector (#4164) 2023-07-14 03:36:24 +00:00
Darcy Ye
c5b0f9bdc5
feat(console): change free tenant number limit to 10 (#4130) 2023-07-13 17:09:05 +08:00
Xiao Yijun
a030b0817f
chore(console): bump withtyped and @logto/cloud version (#4167) 2023-07-13 14:59:07 +08:00
Xiao Yijun
f58595cd26
chore(phrases): update subscription-related phrases (#4162) 2023-07-12 15:35:46 +08:00
Darcy Ye
99e346e55a
refactor(schemas): update email service data guard (#4159) 2023-07-12 14:32:41 +08:00
Gao Sun
6b54d9190d
refactor(schemas): specify tenants table schema (#4155) 2023-07-12 13:56:39 +08:00
Xiao Yijun
b3e55d1ce6
refactor(console): refactor useSubscriptionPlans hook (#4157) 2023-07-12 11:57:24 +08:00
Xiao Yijun
01557d6bcc
chore(phrases): update subscription-related phrases (#4154) 2023-07-11 17:52:39 +08:00
Darcy Ye
39565e383d
chore(connector,toolkit,console,phrases): align config key and display name (#4150) 2023-07-11 08:16:25 +00:00
Darcy Ye
cd5138fc5f
chore(toolkit,phrases,connector,console): use company info instead of company address (#4143) 2023-07-11 15:54:38 +08:00
Gao Sun
cee1d0dd20
refactor(core,console): fix useCloudSwr type (#4152) 2023-07-11 15:25:45 +08:00
Darcy Ye
b1c1e03203
fix(connector,console): should reset email sent count for new connector (#4148) 2023-07-11 15:19:52 +08:00
Darcy Ye
8d282e083f
fix(core): fix the argument type of createConnectorLibrary (#4147) 2023-07-11 11:08:40 +08:00
wangsijie
3d0715e09e
fix(schemas): remove incorrect tenantInfoGuard type (#4145) 2023-07-11 11:04:58 +08:00
Xiao Yijun
76d8527fb9
fix(console): reset connector form with updated data (#4144) 2023-07-11 10:22:20 +08:00
Xiao Yijun
20ca27009f
refactor(phrases): split subscription phrases file (#4149) 2023-07-11 10:22:01 +08:00
Xiao Yijun
7742c7e3d4
feat(console): add plan quota table (#4137) 2023-07-10 16:38:53 +08:00
Darcy Ye
16925b3df7
chore(console): update email service usage UI (#4136) 2023-07-10 13:52:24 +08:00
Xiao Yijun
5ce23ee7b1
fix(console): avoid updating dirty form data (#4138) 2023-07-10 12:26:38 +08:00
Darcy Ye
50045f27f4
chore(console,connector): update logto email connector related console (#4129) 2023-07-10 11:30:28 +08:00
Xiao Yijun
02ccc24d72
chore(console): block subscritpion route (#4139) 2023-07-08 12:02:49 +08:00
Gao Sun
947de83173
chore: upgrade configs (#4132)
* chore: upgrade configs

* chore: fix lint errors
2023-07-07 17:17:21 +00:00
Darcy Ye
cabbd6ffe8
fix(core,connector): use isProduction as email service feature switch (#4135)
* fix(core,connector): use isProduction as email service feature switch

* refactor(core): reorg code

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-07 23:33:22 +08:00
wangsijie
7eaed24b95
feat(core): add cloud client (#4127) 2023-07-07 16:20:11 +08:00
wangsijie
5ccdd7f31a
feat(core,schemas): record daily active users (#4113) 2023-07-07 15:14:29 +08:00
Gao Sun
04cf242e48
fix(console): fix tenant switching bugs (#4128)
* fix(console): fix tenant switching bugs

* refactor(console): simplify logic per review
2023-07-06 22:08:01 +08:00
Xiao Yijun
034cd69599
feat(console): add subscription page (#4118) 2023-07-06 14:15:53 +08:00
Xiao Yijun
05b948dbb2
chore(phrases): add subscription-related phrases for console (#4114) 2023-07-06 13:53:09 +08:00
Darcy Ye
dd657d3877
feat(schemas): drop m2m credentials in existing logto email connector config (#4126) 2023-07-06 05:47:14 +00:00
Gao Sun
d6dc308fd4
fix(console): disable unnecessary fetchings when switching tenants (#4123) 2023-07-05 21:43:46 +08:00
Darcy Ye
e8492654e7
feat(core,connector): add cloud connection library (#4122) 2023-07-05 12:52:14 +00:00
Gao Sun
736e99fd63
refactor(console): AppEndpointsProvider -> AppDataProvider (#4117) 2023-07-05 17:00:08 +08:00
Gao Sun
99aa43216f
Merge pull request #4116 from logto-io/gao-set-user-default-tenant
feat(console): save and update user default tenant id
2023-07-05 13:49:03 +08:00
Xiao Yijun
b232f8dd39
feat(core): enable email service connector (#4120) 2023-07-05 04:41:33 +00:00
Xiao Yijun
460fb940f2
feat(console): hide the check readme button for the email service connector (#4119) 2023-07-05 12:31:05 +08:00
Xiao Yijun
244537ca03
feat(console): create email service connector (#4108) 2023-07-05 12:09:08 +08:00
renovate[bot]
44c09baba9
chore(deps): update parcel monorepo to v2.9.3 (#4081)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-05 07:15:37 +08:00
Gao Sun
30f427cb3b
refactor(console): update comments 2023-07-04 18:32:19 +08:00
Gao Sun
d2ba119cb6
feat(console): save and update user default tenant id 2023-07-04 18:23:43 +08:00
Darcy Ye
61c49845a6
refactor(core,schemas,cli): save cloud service m2m app credentials (#4109) 2023-07-04 18:14:35 +08:00
Darcy Ye
759adf0f18
refactor(schemas): sync cloud m2m credential to logto config (#4115) 2023-07-04 08:24:41 +00:00
Xiao Yijun
3c14d046c6
feat(console): add usage info for email connectors (#4107) 2023-07-04 14:48:55 +08:00
Danil Tankov
3e72b6d56d
feat(connector): create SMSAero connector (#4096)
* feat(connector): create SMSAero connector

* fix(connector): smsaero connector code review fixes

* chore: add changeset for sms aero

---------

Co-authored-by: wangsijie <wangsijie94@gmail.com>
2023-07-04 12:22:13 +08:00
Xiao Yijun
97fc519ac1
refactor(console): refactor custom connector form initialization (#4110) 2023-07-04 11:13:25 +08:00
Xiao Yijun
bbf0551273
feat(console): implement email service connector details page (#4089) 2023-07-03 16:35:36 +08:00
Darcy Ye
909591f1c5
refactor(core): add extraInfo to connector GET APIs response (#4100) 2023-07-03 06:54:53 +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
Xiao Yijun
b347546f46
chore(phrases): add logto built-in connector phrases (#4084) 2023-07-03 12:26:22 +08:00
Xiao Yijun
3a8f016d6a
fix(console): avoid connector custom config fields conflict with reserved fields (#4088) 2023-07-03 11:55:50 +08:00
renovate[bot]
166ccf93ae
fix(deps): update @withtyped packages (#4105)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-02 20:17:26 +08:00
renovate[bot]
d1a69d8e0f
chore(deps): remove dependency @tsconfig/docusaurus (#4092)
chore(deps): remove dependency @tsconfig/docusaurus

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-01 21:45:25 +08:00
Darcy Ye
7afa5a4760
fix(core): block logto email connector (create and enter detail page) (#4101) 2023-07-01 18:21:44 +08:00
Darcy Ye
e0ee44d5d0
feat(core): add connector usage to GET APIs response (#4097)
* feat: add GET /connectors/:id/usage to get passwordless connector usage
* refactor(core): get usage when possible when transpiling connector
2023-06-30 16:22:34 +08:00
Darcy Ye
876b0687f6
feat(connector): update logto email connector (#4083) 2023-06-30 15:56:28 +08:00
Darcy Ye
e179ae2127
chore(toolkit,core): remove demo tag from logto email connector (1/2) (#4099) 2023-06-30 15:22:35 +08:00
simeng-li
b8001fd6c8
fix(core): add invalid body request error on oidc endpoints (#4095)
* fix(core): add invalid body request error on oidc endpoints

should throw invalid body request error for all oidc endpoints' input syntax error

* chore(core): add some comments
add some comments
2023-06-29 06:06:14 +00:00
Darcy Ye
0a9c6d35cb
fix(schemas): update email service config systems table key (#4094) 2023-06-29 14:02:00 +08:00
simeng-li
476de8d2ff
chore(core,ui): set jest config coverage report to all files (#4090)
set jest config coverage report to all files
2023-06-29 13:59:23 +08:00
silverhand-bot
53131ad5a7
release: version packages (#4033) 2023-06-28 18:57:43 +08:00
Gao Sun
5be498c7ff
Merge pull request #4087 from logto-io/yemq-fix-multi-tenancy-flow
fix(console): fix multi tenancy flow and sync ui-test
2023-06-28 18:20:18 +08:00
Darcy Ye
3d3c82b1c5
fix(schemas): fix sendgrid email service config (#4093) 2023-06-28 18:02:10 +08:00
Gao Sun
c1fa47f280
refactor(console): redirect to current tenant when needed 2023-06-28 15:51:45 +08:00
Darcy Ye
740e482aed
fix(console): text color of docs and help button (#4091) 2023-06-28 15:16:08 +08:00
Darcy Ye
4dc0930e09
feat(schemas): add email service guard and system key (#4079) 2023-06-28 10:59:03 +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
ad6dde7f18
refactor(console): reorg error rendering (#4082)
* refactor(console): reorg error rendering

* refactor(console): reorg error rendering
2023-06-27 11:31:03 +08:00
Darcy Ye
850cd3e342
chore(toolkit): add email service branding config guard (#4085) 2023-06-27 03:21:28 +00:00
simeng-li
752d39b2ab
fix(ui): fix ui preview critical bug (#4086)
* fix(ui): fix ui preview critical bug

fix ui switch platform and theme style messed up bug

* fix: let helmet manage all body classnames
let helmet manage all the body classnames
2023-06-27 10:00:00 +08:00
Xiao Yijun
12b9e7dfe0
refactor(console): add skeleton for custom domain page (#4080) 2023-06-26 19:07:33 +08:00
Gao Sun
71650832d0
Merge pull request #4074 from logto-io/gao-optimize-tenant-hooks
refactor(console): optimize tenant context and hooks
2023-06-26 18:32:15 +08:00
Gao Sun
a942f155f3
refactor(console): apply code review suggestions 2023-06-26 16:44:31 +08:00
Gao Sun
8aab136b41
fix(console): correct onboarding experience 2023-06-25 14:57:16 +08:00
Xiao Yijun
8969d38c54
style(console): set passwordless connector creation modal to large by default (#4072) 2023-06-25 10:48:18 +08:00
Gao Sun
aaa9b47781
refactor(console): fix user data reloading issue 2023-06-24 21:05:12 +08:00
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