IceHe.xyz
2ae4e2eccf
feat(core): order logs by created_at desc ( #993 )
2022-05-30 09:40:03 +00:00
IceHe.xyz
28198590fa
fix(core): allow empty condition in logs ( #991 )
2022-05-30 09:30:18 +00:00
IceHe.xyz
1420bb28ce
feat(core,shared): get /dashboard/users/active ( #953 )
...
* feat(core,shared): get /dashboard/users/active
* refactor(core): get /dashboard/users/active
* refactor(core): get /dashboard/users/active
* refactor(core): simplify GET /dashboard/users/active
* refactor(core): simplify dashboardRoutes
2022-05-30 13:51:58 +08:00
IceHe.xyz
45a977790e
feat(core): get /dashboard/users/new ( #940 )
2022-05-26 11:24:52 +08:00
IceHe.xyz
bddf47bf90
feat(core): get /logs/:id ( #934 )
2022-05-25 14:59:02 +08:00
Darcy Ye
054b0f7b6a
feat: remove target, platform from connector schema and add id to metadata ( #930 )
...
* feat(core,schema,connectors): remove target,platform form connector schema and add id to metadata
* feat(schema,ui,console): unwrap ConnectorMetadata in ConnectorDTO
* feat(schema,ui,console): connector id use dashline instead of underscore
* feat(connector-alipay*): fix typos
* feat(connector-alipay*): remove unnecessary type declaration
2022-05-24 11:39:44 +08:00
Wang Sijie
127664a62f
feat(core,console): social connector targets ( #851 )
...
* feat(core,console): social connector targets
* fix: add test
2022-05-17 17:09:42 +08:00
IceHe.xyz
4ffd4c0480
feat(core): get /logs ( #823 )
...
* feat(core): get /logs
* chore(core): rename userRequest to logRequest in UTs
2022-05-16 06:43:33 +00:00
Darcy Ye
8e1533a702
feat(core): update connector db schema ( #732 )
...
* feat(core): update connector db schema
* feat(core): eliminate code redundancy for UTs
* feat(core): delete insertConnector on conflict logic and fix UTs
* feat(core): fix UI according to new connector type implementation
* feat(core): removed unused getConnectorByTargetAndPlatform methods
* feat(core): deprecate the function that updateConnector by giving target and platform
* feat(core): keep SSOT on combination of connector and corresponding metadata
* feat(core): rename index name in db
2022-05-12 12:17:17 +08:00
Wang Sijie
8a48fb6225
fix: delete custom domain ( #737 )
...
* fix: delete custom domain
* fix: use sql wrapper
2022-05-06 02:48:34 +00:00
Wang Sijie
a0b4b98c35
feat(console): add column lastSignIn in user management ( #679 )
...
* feat(core): user last sign in
* fix(core): rename last_sign_in to last_sign_in_at for updating its timestamptz value
* fix: rename column name in frontend
* fix: test
* fix: toLocaleDateString
Co-authored-by: IceHe.xyz <icehe@silverhand.io>
2022-05-05 16:22:43 +08:00
IceHe.xyz
7278ba4095
fix(core): update timestamp field with millisecond precision ( #677 )
2022-04-27 17:02:21 +08:00
Gao Sun
0fbca8be4b
refactor(core): add manyRows()
for queries ( #665 )
2022-04-26 17:26:50 +08:00
Gao Sun
f5c7faf775
refactor: move cli -> core
2022-04-26 14:11:15 +08:00
renovate[bot]
25814d92ef
fix(deps): update dependency slonik to v28 ( #649 )
...
* fix(deps): update dependency slonik to v28
* fix: build
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 10:34:18 +00:00
IceHe.xyz
e21d8d38f3
chore(core,schemas): remove old user logs ( #597 )
...
* chore(core): remove user logs
* chore(schemas): remove user logs
2022-04-21 11:04:34 +08:00
Gao Sun
f4a656300e
fix: rebase error
2022-04-20 15:56:43 +08:00
Gao Sun
dff23b57db
refactor(core): move database pool into env set
2022-04-20 15:56:38 +08: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
3dc07312a0
feat(core): insert log into DB ( #587 )
2022-04-20 12:28:56 +08:00
Gao Sun
ada4da2fbf
feat(cli): seed tables
2022-04-09 21:53:53 +08:00
IceHe.xyz
5625b8838c
refactor(core): split mock.ts into __mocks__/*.ts ( #510 )
...
* chore(core,ui): coverage ignore src/__mocks__/
* chore(core): build excludes src/__mocks__/
* refactor(core): split mock.ts into __mocks__/*.ts
2022-04-08 09:47:09 +00:00
Gao Sun
0499024fdf
refactor(core): remove resource scopes
2022-04-08 16:07:34 +08:00
IceHe.xyz
7eb2e41936
refactor(core): remove find-many ( #511 )
2022-04-07 21:16:59 +08:00
IceHe.xyz
71465ca999
feat(schemas,core,phrases)!: add type to connector schema and sync to DB ( #491 )
...
* feat(schemas,core,phrases)!: add type in connector schema and sync to DB
* chore(core): fix code about connector type
2022-04-06 12:11:06 +08:00
Wang Sijie
10fc7e4205
feat(console): support icon in text-input ( #458 )
...
* feat(console): support icon in text-input
* feat(console): user search (#460 )
* fix: inputValue empty
* fix: remove contional
2022-03-30 14:01:18 +08:00
IceHe.xyz
14ac317358
refactor(core): make initConnectors check existing connectors in DB once ( #451 )
...
* refactor(core): make initConnectors check existing connectors in DB once
* refactor(core): remove unnecessary hasConnector
2022-03-25 15:55:51 +08:00
Darcy Ye
82d104a0d3
feat(core): add DELETE /users/:userId/identities/:connectorId ( #437 )
...
* feat(core): add DELETE /users/:userId/identities/:connectorId
* feat(core): add user query methods UT cases for better testing coverage
* feat(core): rewrite deletion of connector info from user identities using postgresql operator
2022-03-25 15:48:53 +08:00
IceHe.xyz
28625f6894
feat(core): order connectors by enabled desc, id asc ( #430 )
2022-03-25 12:26:42 +08:00
IceHe.xyz
04ba181a64
fix(core): missing some commits ( #444 )
2022-03-23 18:54:26 +08:00
IceHe.xyz
9f3fc5a5cc
feat(schemas): sign-in-experiences ( #361 )
...
* chore(schemas): remove useless table sign_in_methods
* feat(schemas): sign-in-experiences
* chore(core): update mock.ts and sign-in-experience.test.ts about sign-in-experiences schema
* chore(core): fix typo in test
2022-03-15 16:46:23 +08:00
IceHe.xyz
4eb2c6ca42
feat(core): findAllApplications order by createdAt desc ( #344 )
...
* feat(core): find many data order by
* test(core): find many data order by
* feat(core): findAllApplications order by createdAt desc
* test(core): findAllApplications order by createdAt desc
2022-03-10 15:50:05 +08:00
Xiao Yijun
dcd84086f6
refactor(core): slonik error handling ( #307 )
2022-03-02 15:44:57 +08:00
Gao Sun
f7925d9332
chore: upgrade configs and eslint ( #294 )
...
* chore: upgrade configs and eslint
* chore: update lockfile
* fix(ui): stylelint
2022-02-28 15:21:48 +08:00
simeng-li
fb6a1dc236
test(core): add ut for queires ( #287 )
...
* test(core): add ut for queires
add ut for queries
* test(core): add user query ut
add user query ut
* fix(core): remove test code
remove console log
2022-02-28 14:30:27 +08:00
simeng-li
2109b7be31
test(core): add ut for application query ( #282 )
...
add ut for appliction query
2022-02-25 13:52:29 +08:00
Xiao Yijun
e63ca4c06f
feat(core): get /users
with search ( #270 )
2022-02-24 12:29:34 +08:00
Xiao Yijun
c1c356c30a
feat(core): delete users/:userid/custom-data
( #233 )
2022-02-17 14:10:26 +08:00
Xiao Yijun
ee49880845
feat(core): get /users
( #237 )
2022-02-16 15:55:08 +08:00
simeng-li
86ce5a9640
fix(core): align resource_identifier namespace with OIDC provider ( #224 )
...
* fix(core): align resource_identifier namespace with OIDC provider
replace resource identifier name with resource_indicator
align the usage with OIDC Provider
* fix(cr): cr fix
add empty line
2022-02-15 16:13:41 +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
Wang Sijie
66808d6d02
feat: social sign in ( #218 )
2022-02-11 07:19:18 +00:00
Darcy Ye
750ef0c3bf
feat(phone passwordless): add passwordless sign-in with phone ( #217 )
...
* feat(phone passwordless): add passwordless sign-in with phone
* feat(phone passwordless): rename phoneReg
2022-02-09 16:14:42 +08:00
Wang Sijie
fd1810592b
feat(core): check email exist before sending code ( #211 )
2022-02-07 06:14:42 +00:00
Wang Sijie
d14f1a8841
feat(core): sign in with email ( #209 )
...
* feat(core): sign in with email
* fix: jti comment
* refactor: move sign in methods into lib
2022-01-31 11:04:55 +08:00
Wang Sijie
ffeabbedcf
fix(passcode): use interaction_jti instead of session_id ( #207 )
2022-01-29 15:30:50 +08:00
Wang Sijie
ddb9968c98
feat: verifyPasscode ( #201 )
...
* fix: consume
* feat: sendPasscode
* feat: verifyPasscode
2022-01-29 14:02:54 +08:00
Wang Sijie
02491adb5d
feat: sendPasscode ( #200 )
...
* fix: consume
* feat: sendPasscode
2022-01-28 07:39:38 +00:00
simeng-li
0105d19d99
feat(core): add user roles related api ( #204 )
...
* feat(core): add user role related api
add user roles related api
* fix: insert array to db fix
insert array to db fix
* feat(core): add role related routes config
add role related routes config
* fix(core): update user role patch error type
update user role patch error type
* fix(core): cr fix
cr fix
* fix(core): cr fix
cr fix
* fix(core): cr fix
cr fix
2022-01-28 13:33:57 +08:00
Wang Sijie
ea2bfd6d45
feat(core): createPasscode ( #199 )
...
* feat: createPasscode
* test: passcode UT
* fix: consume
* fix: multiple unconsumed passcodes
* fix: pr
* fix: lint
2022-01-28 11:04:38 +08:00