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

54 commits

Author SHA1 Message Date
Gao Sun
cfe4fce51c
fix: support circular reference when normalizing errors (#4069) 2023-06-21 16:05:33 +08:00
wangsijie
a1ea4c388f
feat(core): apply custom domain to koa (#3928) 2023-06-01 15:58:28 +08:00
Gao Sun
83367569fa
refactor: align console log (#3684)
add a shared ConsoleLog class for unified console logging.
2023-04-10 17:48:19 +00:00
Gao Sun
0e49e43245
refactor: update title in main flow and report pv for console sign-in (#3651) 2023-04-03 07:40:56 +00:00
Gao Sun
c200169886
refactor: add app insights package (#3637)
* refactor: add app insights package

* refactor: fix dependencies
2023-03-30 13:36:46 +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
Gao Sun
29be040668
refactor: report all errors and user id (#3580)
to ApplicationInsights for better error analyzing.
2023-03-22 19:35:18 +08:00
Gao Sun
d27499c553
refactor(cloud,core): report exception to Applicaiton Insights
when status code >= 500 or other unhandled expcetions occurred.
2023-03-19 10:40:17 +08:00
Gao Sun
1256711bcc
refactor(core): set server timeout 2023-03-17 13:59:59 +08:00
Gao Sun
3e9ba19fa2
refactor(core): optimize tenant disposal 2023-03-13 15:44:01 +08:00
Gao Sun
51ee250536
refactor(core): fix api issues 2023-03-11 13:44:43 +08:00
Gao Sun
016833905d
refactor(core): optimize tenant not found error (#3128) 2023-02-16 15:29:28 +08:00
Gao Sun
643d418bb1
test(core): add unit tests 2023-02-12 23:37:47 +08:00
Gao Sun
2af6fd114a
refactor!: add admin tenant 2023-02-10 13:06:52 +08:00
Gao Sun
6b09da2f5d
refactor: fix alteration 2023-02-09 18:31:14 +08:00
Gao Sun
1e8c00c014
refactor(core): init domain-based multi-tenancy env 2023-02-07 19:07:59 +08:00
Gao Sun
5e6b679fef
refactor(core): support localhost disabling 2023-02-06 18:44:34 +08:00
Gao Sun
639b5c836a
refactor(core)!: separate admin console server 2023-02-06 17:42:22 +08:00
Gao Sun
95a44929a5
feat: init multi-tenancy environment (#2929) 2023-01-18 20:38:05 +08:00
Gao Sun
f317a917c9
refactor: remove deprecated singleton instances 2023-01-12 16:34:06 +08:00
Gao Sun
26f8511f93
refactor(core): use tenant context for route inits 2023-01-09 16:58:02 +08:00
Gao Sun
de15b03c68
refactor(core): fix test 2023-01-07 21:06:17 +08:00
Gao Sun
8d829b8f3d
refactor(core): move app to tenant instance 2023-01-07 18:17:43 +08:00
Gao Sun
954664bd28
refactor(core,shared): EnvSet class 2023-01-07 17:22:15 +08:00
Gao Sun
3a996cc9d9
refactor: fix esm mock context (#2725) 2022-12-26 12:12:19 +00:00
Gao Sun
84014b37d2
refactor: add and fix tests 2022-12-26 19:59:33 +08:00
Gao Sun
1476b8ea3a
refactor(core): use audit log middleware on-demand 2022-12-16 23:41:45 +08:00
Gao Sun
1183e66f95
refactor: log types 2022-12-16 13:54:37 +08:00
Gao Sun
25f0a2e158
test: use native ESM (#2621) 2022-12-12 13:43:23 +08:00
Xiao Yijun
dac1f5cb49
refactor(core,console): replace deduplicate logic with deduplicate util (#2600) 2022-12-07 11:28:49 +08:00
Gao Sun
d29dde828e
refactor: use esm (batch 3) 2022-11-22 16:10:53 +08:00
Gao Sun
f56b5b5c48
refactor: fix lint errors 2022-10-21 14:03:35 +08:00
Gao Sun
273720ea8c
refactor(core): use ENDPOINT to replace original env urls (#1416)
* refactor(core): use `ENDPOINT` to replace original env urls

* refactor(core): log endpoint if needed

* refactor: update AC App ID in tests

* fix(core): oidc issuer

* refactor: remove unnecessary `.toString()`
2022-07-05 10:01:49 +00:00
Darcy Ye
1b8190addf
feat(core): align connector error handler middleware with ConnectorErrorCodes (#1063)
* feat(core): align connector error handler middleware with ConnectorErrorCodes

* feat(phrases,core): fix locale error descriptions
2022-06-10 10:25:28 +08:00
simeng-li
f6f562a8ba
feat(core): add welcome route (#1080)
* feat(core): add welcome route

add welcome route

* fix(ui): fix some koa middleware

fix some koa middleware

* fix(core): ut fix

ut fix

* refactor(core): refactor welcome user guard

refactor welcome user guard
2022-06-09 11:42:52 +08:00
Gao Sun
91e2f055f2
feat(demo-app): implementation (3/3) (#1021)
* feat(core): seed demo app for fresh DB

* feat(core): throw 404 when demo app deleted

* fix(core): import

* fix: lockfile
2022-06-02 07:32:46 +00:00
Gao Sun
7f4f4f84ad
feat(demo-app): implementation (#982)
* feat(demo-app): init card

* feat(demo-app): ui

* feat(demo-app): sign in using React SDK

* fix: typo
2022-05-31 04:39:03 +00:00
Gao Sun
43d4fd23fd
refactor: remove AC client dependency (#917)
* refactor: remove AC client dependency

* refactor: admin console URL and management API indicator

* fix: typo
2022-05-23 11:18:48 +00:00
simeng-li
207c404aeb
feat(core): empty path sould redirect to the console page (#915)
* feat(core): empty path sould redirect to the console page

empty path should redirect to the console page

* fix(core): remove console log

remove console log

* fix(core): cr fix

cr fix
2022-05-22 10:32:04 +08:00
simeng-li
78d3bb6045
refactor(ui): add session guard to ui page (#803)
* refactor(ui): add session guard to ui page

add session guard to ui page

* test(core): fix ut

fix ut

* fix(core):  fix typo

fix typo
2022-05-16 05:43:23 +00:00
Gao Sun
6a5e5799d0
refactor(core): update app running info (#765)
* refactor(core): update app running info

* refactor(core): per review
2022-05-09 16:03:06 +00:00
IceHe.xyz
d4e241b661
refactor(core): remove deprecated koa-user-log middleware (#591)
* refactor(core): remove koa-user-log middleware

* refactor(core): remove user-log queries
2022-04-20 15:11:43 +08:00
IceHe.xyz
4491eab5b4
feat(core): koa-log middleware (#590) 2022-04-20 06:56:33 +00:00
Gao Sun
08ce66f317
refactor(core): use SSOT for env variables (#578)
* refactor(core): use SSOT for env variables

* fix(core): tests
2022-04-20 14:14:37 +08:00
Gao Sun
365c63b2c7
feat(core): connect console (#306)
* feat(core): connect console

* fix(core): prod spa dist

* fix(core): test

* test(core): refactor spa proxy tests
2022-03-03 14:25:32 +08:00
simeng-li
c8d45a13f0
test(core): add middleware tests [1 of 2] (#244)
* test(core): add middleware tests

add middleware tests

* fix(ut): fix typo

fix typo
2022-02-17 14:21:29 +08:00
Wang Sijie
46dd8f3b69
chore: connector error (#242) 2022-02-17 11:09:27 +08:00
simeng-li
af89e9ac30
test(core): add ut for app (#227)
* test(core): add ut for app

add ut for app

* fix(jest): remove jest setup

remove jest setup

* fix(ut): mock env viriables

mock env viriables

* refactor(ut): add env variable test utils

add env variable test util

* fix(core): fix rebase issue

fix rebase issue

* fix(ut): update app ut

update app ut

* fix(core): remove supertest dependency

remove supertest

* fix(ut): cr fix

cr fix
2022-02-15 18:36:57 +08:00
simeng-li
cdcadb968f
refactor(core): refactor error handler logic (#220)
* refactor(core): refactor error handler logic

add oidc and slonik custom error handler

* fix(core): fix typo

fix type

* refactor: align core errors

align some old core error definitions
2022-02-14 11:50:47 +08:00
Charles Zhao
f30cae7377
chore: upgrade eslint-config to v0.6.1 2022-01-27 19:26:34 +08:00