simeng-li
ead79eab72
refactor(core): add findEntityById utils ( #1448 )
...
add findEntityById utils
2022-07-08 19:54:55 +08:00
simeng-li
d5d6c5ed08
fix(core,ui): remove todo comments ( #1454 )
...
remove todo comments
2022-07-07 18:10:46 +08:00
Wang Sijie
2c413341d1
feat(console): sie form reorg ( #1218 )
2022-06-24 02:26:30 +00:00
Wang Sijie
9194a6ee54
feat(console,core): hide admin user ( #1182 )
...
* feat(console,core): hide admin user
* fix: extract hideAdminUser
* test: add tests for hideAdminUser
2022-06-22 02:22:15 +00:00
Charles Zhao
477b5988a9
refactor(console): application sdk integration guide
2022-06-21 17:23:33 +08:00
Wang Sijie
3cf34b5911
fix(core): align jsonb replace mode ( #1138 )
2022-06-17 14:45:39 +08:00
Darcy Ye
41e37a7995
feat(core): identities key should use target not connectorId ( #1115 )
...
* feat(core): identities key should use target not connectorId
* refactor(core): make test file size in limit
* feat(console): use target in user connectors (#1134 )
Co-authored-by: Wang Sijie <wangsijie@silverhand.io>
2022-06-17 11:00:02 +08:00
simeng-li
f640dad52f
feat(core): add sign-in-mode ( #1132 )
...
* feat(core): add sign-in-mode
add sign-in-mode
* fix(core): remove console.log
remove console.log
* fix(ui): hide secondary signin section
hide secondary signin section if is under register mode
* fix(core): ci fix
ci fix
2022-06-17 10:36:07 +08:00
Darcy Ye
efa9491749
feat(core): add switch of enabling object fully replace when updating DB ( #1107 )
...
* feat(core): add switch of enabling object fully replace when updating DB
* feat(core): assign default jsonbMode value if possible
2022-06-14 21:38:10 +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
Darcy Ye
2e08fa3816
chore(core,locale): fix error messages of signing in with non-existing username ( #1035 )
...
* chore(core,locale): fix error messages
* chore(core,locale): add input parameter guard and fix comment
* chore(core,locale): add nonempty string guard for username
2022-06-02 08:29:17 +00:00
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