Gao Sun
ae389c0a7a
refactor(core): add cache class and invalidate cache after onboarding
2023-03-17 13:59:58 +08:00
Gao Sun
dd91ebddfa
refactor: cache well-known data
2023-03-17 13:59:53 +08:00
wangsijie
f247ce5f86
feat(core): remove unselected demo social connectors ( #3454 )
2023-03-17 12:38:57 +08:00
Charles Zhao
7b394f77c5
feat(console): initials avatar ( #3372 )
2023-03-16 08:57:23 +00:00
renovate[bot]
565a0aead2
chore(deps): update dependency @silverhand/essentials to v2.4.1 ( #3421 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 21:36:02 +08:00
wangsijie
76b49de1f0
feat(core,console): display demo connectors ( #3425 )
2023-03-15 17:09:26 +08:00
Gao Sun
4ef49ed93c
Merge pull request #3391 from logto-io/gao-use-env-to-set-pg-pool
...
refactor: support setting pool sizes by env variable
2023-03-15 16:43:47 +08:00
Darcy Ye
4fc119804c
chore: send testing sms/email using Generic template type ( #3403 )
2023-03-15 16:43:31 +08:00
wangsijie
0f2d5d56a1
feat(cloud): add demo connector configs on tenant create ( #3422 )
2023-03-15 16:26:36 +08:00
wangsijie
63938d6d4b
feat(cli,core,shared): install demo connectors only in cloud ( #3414 )
2023-03-15 15:24:31 +08:00
Gao Sun
b8906bd49b
refactor: fix code and release workflow
2023-03-14 23:14:22 +08:00
Gao Sun
8ab8622131
refactor(core): return early if no hook found
2023-03-14 23:02:45 +08:00
Gao Sun
9c48f98fa1
refactor: support setting pool sizes by env variable
2023-03-14 23:02:44 +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
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