Gao Sun
79bed6e23a
refactor: update banner style ( #3478 )
2023-03-19 02:44:18 +00:00
Gao Sun
97985da522
refactor(core,console,phrases): fix connector error handling and phrases ( #3488 )
2023-03-18 20:57:05 +08:00
Gao Sun
169c4450eb
refactor: use essentials tryThat and trySafe
2023-03-18 13:02:51 +08:00
renovate[bot]
fa3c13a68d
chore(deps): update dependency @silverhand/essentials to v2.5.0
2023-03-17 18:41:13 +00:00
Gao Sun
c7bbdb40a0
Merge pull request #3430 from logto-io/gao-cache-well-known-data
...
refactor: cache well-known data
2023-03-17 15:36:41 +08:00
Gao Sun
680b555c70
refactor(core): fix test
2023-03-17 15:24:52 +08:00
Xiao Yijun
3404684a61
refactor(console): update get-started tasks ( #3439 )
2023-03-17 14:19:29 +08:00
Gao Sun
e0fad2dccd
refactor: implement ttl cache
2023-03-17 13:59:59 +08:00
Gao Sun
1256711bcc
refactor(core): set server timeout
2023-03-17 13:59:59 +08:00
Gao Sun
11292d4347
refactor(core): ensure getting the latest data in live preview
2023-03-17 13:59:58 +08:00
Gao Sun
db1de6ce4c
refactor(core): honor no-cache
header for cached data
2023-03-17 13:59:58 +08:00
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