simeng-li
0978db5790
fix(test): remove jest-matcher-specific-error ( #3402 )
2023-03-14 09:31:48 +00: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
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
simeng-li
57eb6ee452
feat(schemas,ui): add custom content slot ( #3369 )
2023-03-14 03:06:01 +00: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
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
Gao Sun
d32904d538
refactor(core): update cache size and end pool when tenant disposes
2023-03-13 00:42:37 +08: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
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
Xiao Yijun
0971f99e98
feat(console): image uploader ( #3323 )
2023-03-10 16:35:25 +08:00
simeng-li
394637f200
refactor(core): refactor backend password regex rule ( #3346 )
2023-03-10 13:41:54 +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
Xiao Yijun
105390f004
refactor: remove branding style config ( #3326 )
2023-03-09 11:23:06 +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
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
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
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
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
af4276e08e
test(cloud): init api tests
2023-03-08 10:49:51 +08:00
Gao Sun
3287c2c232
refactor: use URL class
2023-03-08 10:47:10 +08:00
wangsijie
3c0c82a4bf
feat(core): add s3 storage provider ( #3320 )
2023-03-08 10:14:28 +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
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
simeng-li
3184e36773
feat(ui): implement lite mode set password form ( #3282 )
2023-03-07 02:55:29 +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
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
Charles Zhao
3996ac4107
feat(console): link social account in ac profile page ( #3288 )
2023-03-06 11:21:24 +08:00
simeng-li
6aab01e56c
feat(ui): add interactionMode OIDC param ( #3280 )
2023-03-06 10:08:57 +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
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
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
Charles Zhao
ae9edd3ebc
feat(console): add mainflow like modal style for change password
2023-03-02 22:46:11 +08:00
Gao Sun
9775db7af8
refactor: seed data for multi-tenancy
2023-03-02 22:25:13 +08:00
Gao Sun
a6d4494c0e
chore(core): add comments
2023-03-02 17:14:41 +08:00
Gao Sun
a8355eb6a3
refactor(core): fix segment matching for path-based
2023-03-02 16:45:48 +08:00
Gao Sun
d29432f45d
feat(core): support path-based multi-tenancy
2023-03-02 13:20:21 +08:00
Gao Sun
07e04eac55
refactor(core): fix etag
2023-03-02 00:44:33 +08:00
Gao Sun
2747a1064e
chore(core): add comments
2023-03-02 00:33:03 +08:00
Gao Sun
303e086df3
refactor: optimize tenant requests
2023-03-01 23:46:30 +08:00
Gao Sun
44909140bf
feat: create tenant for new users ( #3255 )
2023-03-01 20:55:26 +08:00
simeng-li
6246fc58ba
refactor(core,console): refactor AC 403 flow ( #3235 )
2023-03-01 10:24:39 +00:00
Charles Zhao
af9cd0d164
fix(core): error invalid credentials should return 401 instead of 400 ( #3254 )
2023-03-01 16:56:25 +08:00
Charles Zhao
e8a7094e37
feat(console): allow editing basic userinfo in profile page
2023-02-28 18:23:52 +08:00
Gao Sun
bd158a46fe
refactor(core): fix CORS ( #3246 )
2023-02-28 09:20:41 +00:00
Gao Sun
75b6d65b3e
Merge pull request #3227 from logto-io/gao-fix-local-cors
...
fix(core): allow localhost CORS when only one endpoint available
2023-02-28 14:15:46 +08:00
simeng-li
cc4c4dcaa5
style(core): fix power by logto font size ( #3242 )
2023-02-28 13:54:58 +08:00
Gao Sun
d61cd795ac
refactor(core): add unit tests
2023-02-27 15:12:12 +08:00
Xiao Yijun
13f877ca4d
refactor(console): get-started tasks ( #3208 )
2023-02-27 10:15:55 +08:00
Gao Sun
237df1721c
release: version core packages
2023-02-26 15:03:37 +08:00
Gao Sun
54512c2603
fix(core): allow localhost CORS when only one endpoint available
2023-02-26 14:59:31 +08:00
silverhand-bot
cda2c821cd
release: version core packages ( #3225 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-02-25 23:15:42 +08:00
Murat Gözel
1db6177f3a
feat(core): added a new endpoint to replace user roles ( #3203 )
2023-02-24 17:55:55 +08:00
simeng-li
c06e2d0985
refactor(core): throw registered social email or phone info ( #3199 )
2023-02-24 16:05:06 +08:00
simeng-li
86b796e989
fix(core): should not block social email/phone identifiers by SIE ( #3201 )
2023-02-24 16:04:43 +08:00
Charles Zhao
9311f4cf93
feat(core): provide /me
APIs for user password and verification code in cloud AC ( #3192 )
2023-02-24 16:01:14 +08:00
Charles Zhao
586cc96113
feat(cloud): new APIs for social linking/unlinking in cloud AC ( #3184 )
2023-02-24 15:44:15 +08:00
Gao Sun
54ef69d4f4
refactor: filter out suspended users in hasActiveUsers()
2023-02-24 13:17:37 +08:00
simeng-li
ab4b98d14d
feat(core): update the OIDC post signout page ( #3183 )
2023-02-24 02:20:53 +00:00
simeng-li
af66760a42
fix(core): fix empty error message ( #3202 )
2023-02-24 10:17:33 +08:00
simeng-li
1ae64f41cb
fix(core): mount OIDC after all middlewares ( #3181 )
2023-02-24 10:11:51 +08:00
Gao Sun
720d1ecb33
refactor: fix cloud env ( #3186 )
...
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-02-23 03:38:59 +00:00
Gao Sun
09d2dac1ea
refactor: move admin console app to database ( #3185 )
2023-02-22 14:35:17 +00:00
Darcy Ye
5c7e20bfd4
fix(core): should throw error when multiple connector factories have same id ( #3170 )
2023-02-22 14:19:16 +08:00
Gao Sun
1c2766be89
refactor: fix cloud env ( #3179 )
2023-02-22 12:38:30 +08:00
Gao Sun
6858f3c8dc
refactor: move console sie to database ( #3171 )
2023-02-21 21:24:43 +08:00
simeng-li
03099debbb
fix(ui): prevent infinite getPhrase api call ( #3160 )
2023-02-21 14:22:22 +08:00
Gao Sun
e3f88f5250
refactor: remove demo app db entity ( #3165 )
2023-02-21 03:45:06 +00:00
Gao Sun
1ef5519e75
feat: custom css ( #3155 )
2023-02-21 10:55:44 +08:00
Darcy Ye
a13d27a018
feat: enabled connector db read and write ( #3127 )
2023-02-20 18:54:02 +08:00
Gao Sun
0f3e256a87
Merge pull request #3148 from logto-io/gao-post-tenants
...
feat(cloud): `POST /tenants`
2023-02-20 14:38:15 +08:00
simeng-li
1c58d4ee22
Merge pull request #3150 from logto-io/simeng-log-4166-remove-unnecessary-querying-before
...
refactor(core): remove duplicate findEntityById query before delete
2023-02-20 14:11:02 +08:00
simeng-li
aa1cd52069
refactor(core): remove duplicate findEntityById query before delete
...
remveo duplication findEntityById query before delete
2023-02-20 11:37:39 +08:00
Gao Sun
76a04d97b3
feat(cloud): POST /tenants
2023-02-20 00:27:12 +08:00
Gao Sun
12377665b4
refactor(cloud): implement request auth
2023-02-19 11:31:16 +08:00