0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
Commit graph

3328 commits

Author SHA1 Message Date
simeng-li
14eb677a61
style(ui): fix secondary page spacing (#3406) 2023-03-14 22:20:51 +08:00
simeng-li
cc7f3fcdab
style(ui): hide back CTA for root error pages (#3407) 2023-03-14 22:20:05 +08:00
wangsijie
2bd5f36fc3
refactor(core,toolkit): extract connector loading code to toolkit (#3400) 2023-03-14 20:26:42 +08:00
Gao Sun
1d1cd46ccf
Merge pull request #3383 from logto-io/gao-optimize-tenant-disposal
refactor(core): optimize tenant disposal
2023-03-14 20:05:56 +08:00
Gao Sun
7366bfee2b
Merge pull request #3380 from logto-io/gao-add-response-guard
refactor(core): add response and status guard for hooks apis
2023-03-14 20:04:05 +08:00
Darcy Ye
f31887344e
chore: remove dirty code (#3398) 2023-03-14 20:01:06 +08:00
Gao Sun
b58765c79c
refactor(console): use in-place navigation for in-app links (#3385) 2023-03-14 20:00:14 +08:00
Gao Sun
96691234ed
refactor(console): hide error toast in language modal (#3384) 2023-03-14 19:59:56 +08:00
wangsijie
2bb570da4b
feat(cloud): init service route (#3397) 2023-03-14 17:59:30 +08:00
simeng-li
0978db5790
fix(test): remove jest-matcher-specific-error (#3402) 2023-03-14 09:31:48 +00:00
Xiao Yijun
e359479ad5
refactor(console): add inspire me button hover background (#3395) 2023-03-14 15:58:54 +08:00
Xiao Yijun
c01ad88dab
refactor(console): add AppThemeProvider (#3387) 2023-03-14 15:58:16 +08:00
renovate[bot]
50aaf4db40
chore(deps): update dependency @types/koa__cors to v4 (#3392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 15:32:09 +08:00
wangsijie
47881b6d6e
feat(schemas): add service logs table (#3390) 2023-03-14 15:15:45 +08:00
Gao Sun
6171082825
refactor(core): store tenant promise in pool
when multiple concurrency requests for the same tenant arrives
it would create a lot of promises for the same tenant which
is unexpected. directly store the tenant creating promise to
avoid it.
2023-03-14 15:06:02 +08:00
Gao Sun
69d0597315
refactor(core): add response and status guard for hooks apis 2023-03-14 14:54:27 +08:00
Gao Sun
172cf16cc3
refactor(core): fix koa-guard for configs with body
by enabling response and status check.
2023-03-14 14:54:26 +08:00
Xiao Yijun
67da65be9b
refactor(console): update onboarding welcome page image and description (#3394) 2023-03-14 14:21:24 +08:00
Gao Sun
096c0debb2
chore: update blog url and title (#3386) 2023-03-14 14:15:24 +08:00
Gao Sun
0b45c8f487
refactor: fix schema types (#3379)
by separating CreateSchema and Schema. also no need for explicitly
set generic type for database builders like `buildInsertIntoWithPool()`.
2023-03-14 12:45:13 +08:00
Darcy Ye
68ca4ae7a8
feat(console): add custom css editor debounce (#3378) 2023-03-14 12:44:41 +08:00
simeng-li
57eb6ee452
feat(schemas,ui): add custom content slot (#3369) 2023-03-14 03:06:01 +00:00
Xiao Yijun
b470e0efb7
feat(console): add demo state to connectors (#3382) 2023-03-13 21:05:44 +08:00
Xiao Yijun
8e12abea4f
refactor(console): fix onboarding about page (#3381) 2023-03-13 19:20:43 +08:00
Charles Zhao
d2769823da
refactor(console): add dedicated routes to AC guides (#3358) 2023-03-13 16:01:12 +08:00
Gao Sun
9db5729cfd
refactor(core): optimize tenant middleware function 2023-03-13 15:52:38 +08:00
Gao Sun
3e9ba19fa2
refactor(core): optimize tenant disposal 2023-03-13 15:44:01 +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
dfc1f20d27
refactor(core)!: move phrases api to well-known path (#3374) 2023-03-13 03:43:27 +00:00
Darcy Ye
268679b02e
feat(console): enable AC config and real-time live preview on customCss (#3325) 2023-03-13 03:41:57 +00:00
Gao Sun
5784cfeb18
feat(schemas,core): add sessionNotFoundRedirectUrl tenant config (#3365) 2023-03-13 03:36:10 +00:00
Charles Zhao
9896390065
fix(core,schemas): remove sessionId usage from verification status table (#3345) 2023-03-13 11:20:52 +08:00
Gao Sun
f9c00f6dc5
Merge pull request #3373 from logto-io/gao-end-connection-when-dispose
refactor(core): update cache size and end pool when tenant disposes
2023-03-13 11:20:07 +08:00
Gao Sun
5a5f14e00c
Merge pull request #3363 from logto-io/gao-disable-index-cache
refactor(core,cloud): disable cache for index files
2023-03-13 11:19:28 +08:00
Gao Sun
e191beb29f
Merge pull request #3361 from logto-io/gao-fix-api-issues
refactor(core): fix api issues
2023-03-13 11:19:11 +08:00
Xiao Yijun
e89b82d27a
fix(ui): theme adaption (#3350) 2023-03-13 11:08:08 +08:00
Charles Zhao
16b3c580e6
fix(console): add auto focus to inputs in ac profile modals (#3339) 2023-03-13 11:07:24 +08:00
Xiao Yijun
2ec21a778b
refactor(console): optimize adaptation rules of sie preview (#3370) 2023-03-13 11:04:51 +08:00
Gao Sun
d32904d538
refactor(core): update cache size and end pool when tenant disposes 2023-03-13 00:42:37 +08:00
Gao Sun
eed6e80e45
Merge pull request #3362 from logto-io/gao-use-compressed-file-when-possible
refactor(cloud): send compressed spa file when possible
2023-03-12 21:31:57 +08:00
wangsijie
1f618a3a10
feat(cli,cloud,schemas): seed m2m app for each tenant (#3364) 2023-03-12 09:34:15 +08:00
Charles Zhao
922e3a3a38
fix(console): text input value should display properly (#3366) 2023-03-11 13:33:09 +00:00
Gao Sun
533504ab4d
refactor(core): add etag to all GET APIs 2023-03-11 18:08:19 +08:00
Gao Sun
844d6d2e8c
refactor(core,cloud): disable cache for index files 2023-03-11 17:11:05 +08:00
Gao Sun
41925cef6f
Merge branch 'master' into gao-optimize-response 2023-03-11 16:15:06 +08:00
Gao Sun
6acd42305f
refactor(ui): preload data (#3342) 2023-03-11 15:56:09 +08:00
Gao Sun
6b12d345a7
refactor(cloud): send compressed spa file when possible 2023-03-11 15:24:26 +08:00
Gao Sun
51ee250536
refactor(core): fix api issues 2023-03-11 13:44:43 +08:00
Gao Sun
aba5c42d6a
refactor(core,ui,console): compress response when possible 2023-03-11 00:30:47 +08:00
Gao Sun
649a78a09e
Merge pull request #3357 from logto-io/rany-sie-modify-default-language
refactor(phrases): update multiple phrases
2023-03-10 23:38:04 +08:00
Guamian Li
5cb483423f
refactor(phrases): update ko phrases (#3354)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-10 23:36:57 +08:00
Gao Sun
fc1a3bc0b3
refactor(phrases): fix lint errors 2023-03-10 22:32:15 +08:00
Rany
ff2fe21e4e
refactor(phrases): update multiple phrases
Update pt-br.ts

Update pt-pt.ts

Update ru.ts

Update tr-tr.ts

Update zh-cn.ts

Update pt-br.ts

Update pt-pt.ts

Update pt-br.ts

Update ru.ts

Update tr-tr.ts

Update zh-cn.ts
2023-03-10 22:32:15 +08:00
simeng-li
f654c4170b
refactor(ui): reorg the ui page layout structure (#3355) 2023-03-10 08:35:47 +00:00
Xiao Yijun
0971f99e98
feat(console): image uploader (#3323) 2023-03-10 16:35:25 +08:00
Guamian Li
07fab67c24
refactor(ui): update en phrases (#3352) 2023-03-10 08:21:33 +00:00
Guamian Li
ebd153eafd
refactor(ui): update fr phrases (#3353)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-10 08:17:59 +00:00
Guamian Li
392432aade
refactor(phrases): update de phrases (#3349)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-10 08:15:16 +00:00
simeng-li
394637f200
refactor(core): refactor backend password regex rule (#3346) 2023-03-10 13:41:54 +08:00
Xiao Yijun
fb6a65bd46
refactor(console): extract the onboarding app from the admin console (#3340) 2023-03-10 09:57:30 +08:00
simeng-li
19f5efc107
refactor(ui): remove the terms verification in sign-in page (#3327) 2023-03-09 14:48:42 +08:00
Charles Zhao
ae65feb642
fix(console): remove "change" button from link social in profile (#3341) 2023-03-09 12:59:15 +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
Gao Sun
b4c4c1a6e5
Merge pull request #3328 from logto-io/gao-use-restrictive-policies
refactor(schemas): use restrictive policies
2023-03-09 12:40:12 +08:00
Charles Zhao
46f286f52f
style(console): change "not set" font to body-2 (#3338) 2023-03-09 03:31:42 +00:00
Xiao Yijun
105390f004
refactor: remove branding style config (#3326) 2023-03-09 11:23:06 +08:00
Charles Zhao
95b6fb2613
fix(console): verify email via verification code should work properly (#3330) 2023-03-09 03:01:18 +00:00
Charles Zhao
61a255c4ed
fix(console): properly handle errors on profile change basic info dialog (#3332) 2023-03-09 02:58:36 +00:00
Charles Zhao
d2327d6298
fix(console): better error handling when linking social in profile page (#3335) 2023-03-09 10:54:58 +08:00
Charles Zhao
c69df70358
fix(console): fallback broken connector logo to default image (#3334) 2023-03-09 10:54:32 +08:00
Charles Zhao
79ccd27673
fix(console): text input in AC should support both 36px and 44px heights (#3337) 2023-03-09 10:43:29 +08:00
simeng-li
1c5bdda02a
fix(ui): reset InputField on enabledTypes change (#3319) 2023-03-09 10:17:02 +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
Charles Zhao
32dff20633
fix(core): user should be able to set password even if they do not have one (#3331) 2023-03-08 20:34:17 +08:00
Charles Zhao
4675ce6dbc
fix(core): should not guard input when verifying password (#3329) 2023-03-08 19:27:42 +08:00
Gao Sun
bdd7374d31
refactor(schemas): use restrictive policies
for enhanced security and scalability. restrictive policies can
be combined with permissive policies for advanced use cases.
2023-03-08 19:16:42 +08:00
Charles Zhao
1f0bc8f3f4
refactor(console): polish code by improving data types and API routes (#3324) 2023-03-08 08:28:33 +00:00
Charles Zhao
01735d1647
refactor(console,core,phrases): improve error handling in ac profile (#3317) 2023-03-08 16:00:11 +08:00
Charles Zhao
43470c41f1
fix(core,schemas): add new verification status table (#3312) 2023-03-08 15:21:59 +08:00
Xiao Yijun
09683ac384
Revert "Revert "refactor(ui): hard code the page slogan"" (#3230) 2023-03-08 14:55:06 +08:00
Xiao Yijun
190b281b49
feat(console): cloud preview broadcast (#3314) 2023-03-08 11:42:54 +08:00
Gao Sun
56ffba151b
fix: should return demo app data when query api (#3322)
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-03-08 03:34:40 +00:00
simeng-li
1ab43e628b
refactor(ui): add privacy link to the terms (#3321) 2023-03-08 11:29:52 +08:00
Darcy Ye
6fd51effdc
fix(console): passwordless connectors should not show callbackUri (#3310) 2023-03-08 03:29:16 +00: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
6182747363
test(cloud): add /tenants tests 2023-03-08 10:49:51 +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
simeng-li
04cc1fe69a
feat(console,ui,phrases,schemas): update favicon and html title (#3302) 2023-03-08 02:46:10 +00: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
wangsijie
822ef08bab
feat(cli): add system get and set commands (#3318) 2023-03-08 10:15:05 +08:00
wangsijie
3c0c82a4bf
feat(core): add s3 storage provider (#3320) 2023-03-08 10:14:28 +08:00
Charles Zhao
1513d7e602
chore(console): polish UI and add ac profile loading skeleton (#3308) 2023-03-07 23:18:48 +08:00
wangsijie
13fcf6f3c2
feat(core,console): handle connector target confict (#3251) 2023-03-07 16:14:23 +08:00
wangsijie
f25a9d343c
feat(core,phrases,schemas): upload user assets with azure storage (#3289) 2023-03-07 06:00:12 +00:00
Xiao Yijun
d98086ff9a
refactor(console): update the cloud congrats page (#3304) 2023-03-07 13:12:29 +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
Xiao Yijun
fa63f57ad3
chore(console): fix typo (#3309) 2023-03-07 11:41:43 +08:00
simeng-li
3184e36773
feat(ui): implement lite mode set password form (#3282) 2023-03-07 02:55:29 +00:00
Gao Sun
6e5123891f
test: add cloud test cases 2023-03-07 00:26:31 +08:00
Gao Sun
f9d1dc1b12
Merge pull request #3290 from logto-io/gao-add-cloud-ui-tests
refactor: init cloud ui tests
2023-03-06 22:20:59 +08:00
Xiao Yijun
1efb8097ef
feat(console): onboarding sie preview (#3296) 2023-03-06 21:26:58 +08:00
Xiao Yijun
ec65d46826
refactor(console): refactor console routes (#3294) 2023-03-06 20:36:24 +08:00
Charles Zhao
8caa752106
fix(console): cloud ac profile should use correct callback URL when linking social (#3303) 2023-03-06 19:33:04 +08:00
Charles Zhao
3d57b94e30
fix(console): admin user should be able to set email if current email is null (#3301) 2023-03-06 19:32:54 +08:00
Charles Zhao
11471c4308
fix(console): profile social linking in cloud env should use correct URL without double slashes (#3300) 2023-03-06 18:32:28 +08:00
Gao Sun
8ce3a993a9
test: improve ui test code 2023-03-06 17:44:48 +08:00
Charles Zhao
5cfbe87a04
chore: polish profile page UI (#3293) 2023-03-06 09:04:22 +00:00
Charles Zhao
88cb4590ba
fix(console): admin user should be able to link google account to profile (#3297) 2023-03-06 16:48:50 +08:00
Gao Sun
7946ecd865
test: create first admin for cloud 2023-03-06 14:23:51 +08:00
Gao Sun
ea66dcbf2f
Merge pull request #3285 from logto-io/gao-allow-admin-to-create-tenant
refactor: allow admin to create tenants
2023-03-06 13:54:25 +08:00
Gao Sun
bc6b79f783
ci: fix workflow 2023-03-06 13:45:14 +08:00
Charles Zhao
3996ac4107
feat(console): link social account in ac profile page (#3288) 2023-03-06 11:21:24 +08:00
Xiao Yijun
0d1bad9978
fix(console): base path of sie pages (#3278) 2023-03-06 10:20:03 +08:00
Xiao Yijun
c93b819b7e
refactor(console): sie preview (#3277) 2023-03-06 10:18:34 +08:00
Charles Zhao
1477751e30
chore(console): remove settings page and its sidebar menu item (#3291) 2023-03-06 10:09:57 +08:00
simeng-li
6aab01e56c
feat(ui): add interactionMode OIDC param (#3280) 2023-03-06 10:08:57 +08:00
Gao Sun
94209ada00
ci: fix workflow 2023-03-06 00:48:50 +08:00
Charles Zhao
963526ab0e
fix(core): check identifier collision before updating admin tenant user (#3292) 2023-03-05 23:04:36 +08:00
Gao Sun
ac065ac60c
refactor: init cloud ui tests 2023-03-05 22:07:02 +08:00
wangsijie
89ba9bdc70
fix(console): show platform icons for non-universal (#3243) 2023-03-04 14:25:17 +00:00
Gao Sun
08e7b6c6c2
refactor: allow admin to create tenants 2023-03-04 14:52:02 +08:00
Gao Sun
afe39f6f46
refactor: fix cloud dev (#3281) 2023-03-03 11:04:22 +00:00
Gao Sun
0a3d4bb345
Merge pull request #3274 from logto-io/gao-seed-for-multi-tenancy
refactor: seed data for multi-tenancy
2023-03-03 16:45:02 +08:00
Gao Sun
a852114caf
Merge pull request #3269 from logto-io/gao-support-path-based-multi-tenancy
feat(core): support path-based multi-tenancy
2023-03-03 16:13:05 +08:00
Charles Zhao
0adb31d55b
feat(console): add suffix icon button on input component (#3257) 2023-03-03 06:36:06 +00:00
Gao Sun
5a337520cb
chore: add comment 2023-03-03 14:30:00 +08:00
Charles Zhao
373febf707
feat(console): add delete account dialog in profile page (#3276) 2023-03-03 14:27:01 +08:00
Charles Zhao
c3daeebe4d
feat(console): allow linking email via verification code in profile (#3275) 2023-03-03 14:26:34 +08:00
Charles Zhao
84adbf66df
Merge pull request #3252 from logto-io/charles-log-5541-mainflow-like-form-ui-for-change-password
feat(console): add mainflow like modal style for change password
2023-03-03 14:18:23 +08:00
Gao Sun
a76ce24bee
refactor: seed data for multi-tenancy 2 2023-03-03 14:11:19 +08:00
Xiao Yijun
49c7c68fb7
feat(console): add live preview entry in the sie preview (#3270) 2023-03-03 13:41:23 +08:00
Charles Zhao
ae9edd3ebc
feat(console): add mainflow like modal style for change password 2023-03-02 22:46:11 +08:00
Gao Sun
05441a869f
Merge pull request #3268 from logto-io/gao-handling-console-cloud-error
refactor(console): handling cloud errors
2023-03-02 22:30:30 +08:00
Gao Sun
9775db7af8
refactor: seed data for multi-tenancy 2023-03-02 22:25:13 +08:00
Xiao Yijun
0f77252eb3
refactor(phrases): update live preview notification (#3272) 2023-03-02 17:32:59 +08:00
Gao Sun
a6d4494c0e
chore(core): add comments 2023-03-02 17:14:41 +08:00
Xiao Yijun
4606fd6821
feat(console): application table placeholder (#3261) 2023-03-02 17:06:46 +08:00
Gao Sun
a8355eb6a3
refactor(core): fix segment matching for path-based 2023-03-02 16:45:48 +08:00
Xiao Yijun
cae97fb87a
refactor(console): replace theme selector with toggle in sie preview (#3260) 2023-03-02 13:58:00 +08:00
simeng-li
0ffb8749c5
feat(ui): add power by logto signature (#3256) 2023-03-02 13:54:33 +08:00
Gao Sun
d29432f45d
feat(core): support path-based multi-tenancy 2023-03-02 13:20:21 +08:00
Gao Sun
0d08762319
Merge pull request #3264 from logto-io/gao-optimize-tenant-requests
refactor: optimize tenant requests
2023-03-02 12:23:21 +08:00
Gao Sun
2a7c623240
refactor(console): handling cloud errors 2023-03-02 12:11:08 +08:00