Gao Sun
4a64d267b6
feat: implement central cache
...
with Redis as the default choice.
2023-04-07 14:29:35 +08:00
simeng-li
1c431e7a59
feat(core): apply standard security headers 1/2 ( #3590 )
...
* feat(core): add some basic security headers
add some basic security headers
* chore(core): add some comments
add some comments
* chore(core): update the refererPolicy configs
update the refererPolicy configs
* chore(core): update helmet middleware
update helmet middleware
* feat(core): add csp headers to the mainflow and ac http requests 2/2 (#3613 )
* feat(core): add csp headers to the mainflow requests
add csp headers to the mainflow requests
* chore(core): add ui and console security headers
add ui and console security headers
* fix(core): remove unused middleware
remove unused middleware
* fix(ui): set terms iframe sandbox
set terms iframe sandbox allow same origin
* fix(core): update security headers middleware
update security headers middleware
* chore(core): add changesets
* chore(core): address rebase conflict
address rebase conflict
2023-04-03 10:24:50 +08:00
renovate[bot]
93bc915609
chore(deps): update silverhand configs monorepo packages to v3.0.0 ( #3585 )
...
* chore(deps): update silverhand configs monorepo packages to v3.0.0
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-24 16:28:36 +00:00
renovate[bot]
9633256682
fix(deps): update dependency lru-cache to v8 ( #3368 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 19:36:55 +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
dd91ebddfa
refactor: cache well-known data
2023-03-17 13:59:53 +08:00
Gao Sun
b8906bd49b
refactor: fix code and release workflow
2023-03-14 23:14:22 +08:00
Gao Sun
9c48f98fa1
refactor: support setting pool sizes by env variable
2023-03-14 23:02:44 +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
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
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
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
5784cfeb18
feat(schemas,core): add sessionNotFoundRedirectUrl
tenant config ( #3365 )
2023-03-13 03:36:10 +00: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
aba5c42d6a
refactor(core,ui,console): compress response when possible
2023-03-11 00:30:47 +08:00
Charles Zhao
43470c41f1
fix(core,schemas): add new verification status table ( #3312 )
2023-03-08 15:21:59 +08:00
wangsijie
f25a9d343c
feat(core,phrases,schemas): upload user assets with azure storage ( #3289 )
2023-03-07 06:00:12 +00:00
Gao Sun
9775db7af8
refactor: seed data for multi-tenancy
2023-03-02 22:25:13 +08:00
Gao Sun
d29432f45d
feat(core): support path-based multi-tenancy
2023-03-02 13:20:21 +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
Gao Sun
e3f88f5250
refactor: remove demo app db entity ( #3165 )
2023-02-21 03:45:06 +00:00
Gao Sun
016833905d
refactor(core): optimize tenant not found error ( #3128 )
2023-02-16 15:29:28 +08:00
Gao Sun
ff485db30d
Merge pull request #3100 from logto-io/gao-add-tests
...
test(core): add tests
2023-02-15 23:53:25 +08:00
Gao Sun
3c39c618a1
refactor: update per review
2023-02-15 23:30:27 +08:00
Gao Sun
40173bb5e0
Merge branch 'master' into gao-add-admin-tenant
2023-02-15 15:00:04 +08:00
Gao Sun
2b7da7b228
refactor(core): fix rls error alert message ( #3103 )
2023-02-14 10:34:16 +08:00
Gao Sun
643d418bb1
test(core): add unit tests
2023-02-12 23:37:47 +08:00
Gao Sun
c225719d70
refactor(core,console): update well-known for endpoints
2023-02-12 14:28:57 +08:00
Gao Sun
0481a450be
refactor: decouple admin tenant and user tenant
2023-02-11 14:38:16 +08:00
Gao Sun
dd5b3037a8
refactor!: adjust packages to adapt admin tenant
2023-02-10 19:57:25 +08:00
Gao Sun
6b09da2f5d
refactor: fix alteration
2023-02-09 18:31:14 +08:00
Gao Sun
99837b4e48
refactor: use RLS
2023-02-08 18:58:45 +08:00
Gao Sun
1e8c00c014
refactor(core): init domain-based multi-tenancy env
2023-02-07 19:07:59 +08:00
Gao Sun
639b5c836a
refactor(core)!: separate admin console server
2023-02-06 17:42:22 +08:00
Gao Sun
d0399eb8a4
refactor!: merge settings into logto configs table
2023-01-29 19:42:19 +08:00
Gao Sun
95a44929a5
feat: init multi-tenancy environment ( #2929 )
2023-01-18 20:38:05 +08:00
wangsijie
ece866db7c
feat!: migrate application role names to RBAC ( #2972 )
2023-01-18 15:38:36 +08:00
Gao Sun
f317a917c9
refactor: remove deprecated singleton instances
2023-01-12 16:34:06 +08:00
Gao Sun
e55ff3d185
refactor(core): remove deprecated query functions
2023-01-11 13:36:35 +08:00
Gao Sun
6abdd05a40
refactor(core): migrate passcode library to factory mode
2023-01-10 18:28:19 +08:00
Gao Sun
9bec890e6f
refactor(core): migrate social library to factory mode
2023-01-10 18:05:28 +08:00
Gao Sun
9ba0d495e6
refactor(core): migrate hook library to factory mode
2023-01-10 14:41:38 +08:00
Gao Sun
0442efeb60
refactor(core): migrate resource library to factory mode
2023-01-10 13:33:47 +08:00
Gao Sun
1102e70226
refactor(core): migrate phrase library to factory mode
2023-01-10 00:28:41 +08:00
Gao Sun
3b3b35b883
refactor(core): migrate connector library to factory mode
2023-01-09 23:53:33 +08:00
Gao Sun
ecbf028f4e
refactor(core): migrate sie library to factory mode
2023-01-09 17:23:09 +08:00