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
Wang Sijie
1fc73030e8
feat(core): sign in logs ( #139 )
...
* fix(core): add log result type
* fix: comments in sql
* feat(core): sign in log
* refactor: insert error log in middleware
* fix: pr fix
* feat: userLog middleware
* refactor: auto capture log
* fix: pr fix
* fix: pr fix
2021-12-08 15:56:57 +08:00
Gao Sun
43456aae9b
feat(core): detect language from querystring and header
2021-09-01 17:08:28 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config ( #98 )
2021-08-30 11:30:54 +08:00
Gao Sun
96bf7cee77
refactor(core): re-org files
2021-08-12 19:39:28 +08:00