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
4491eab5b4
feat(core): koa-log middleware ( #590 )
2022-04-20 06:56:33 +00:00
IceHe.xyz
0560928ca4
refactor(core): rename functions to avoid naming conflicts ( #588 )
2022-04-20 14:28:46 +08: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
IceHe.xyz
3dc07312a0
feat(core): insert log into DB ( #587 )
2022-04-20 12:28:56 +08:00
IceHe.xyz
608f667963
test(core): separate the color validation cases from tests of sign-in experience ( #577 )
...
* test(core): hexColorRegEx
* test(core): sign-in experience branding colors
2022-04-20 12:08:55 +08:00
Xiao Yijun
975e715c47
fix(core): revert add oidc config to application response ( #566 )
2022-04-18 22:30:57 +08:00
simeng-li
f1576b9916
fix(core): fix sign-in settings api route ( #564 )
...
* fix(core): fix sign-in settings api route
fix sign-in settings api route
* test(ui): add ut
add ut
* fix(core): fix ut
fix ut
2022-04-18 15:24:34 +08:00
IceHe.xyz
3da3309cbf
refactor(core,schemas): pascalcase enum keys ( #558 )
...
* refactor(schemas): pascalcase enum keys
* chore(core): pascalcase enum keys
2022-04-18 05:35:48 +00:00
IceHe.xyz
1ef04bd45d
refactor(core): clear mocks after each test ( #559 )
2022-04-18 12:50:49 +08:00
Darcy Ye
14cdddc18e
feat(core): add connector config examples ( #551 )
2022-04-14 17:20:41 +08:00
IceHe.xyz
a9466667c0
refactor(core): post application ( #552 )
2022-04-14 15:54:21 +08:00
Xiao Yijun
d238168ebf
feat(core): add oidc config to the response of application apis ( #536 )
2022-04-14 14:48:56 +08:00
Darcy Ye
2f22a81a8f
feat(core): add Alipay web connector ( #522 )
2022-04-14 12:22:30 +08:00
simeng-li
f0a961225d
refactor(core): phone method refactor ( #537 )
...
* refactor(core): rename signin method phone with sms
replace phone signin method with sms
* refactor(ui): rename api method
rename api method
* fix(ui): cr fix rename method
rename method
* fix(ui): update naming convention
update naming convention
2022-04-14 11:26:10 +08:00
Charles Zhao
3767229389
Merge pull request #543 from logto-io/charles-log-1943-connectors-get-started
...
feat(console): connectors get-started page
2022-04-13 20:14:16 +08:00
Charles Zhao
eeeb80ba4b
feat(console): connectors guide page
2022-04-13 20:09:25 +08:00
IceHe.xyz
c3c2bf20f1
feat(core): validate custom client metadata when post or patch application ( #529 )
2022-04-13 15:23:04 +08:00
Charles Zhao
a710ec6ba5
feat(core): add connector config json templates
2022-04-12 16:59:19 +08:00
simeng-li
85c9eabfca
feat(core): add sign-in-settings api for client use ( #534 )
...
add sample sign-in-settigns api for client use
2022-04-12 12:05:29 +08:00
IceHe.xyz
26c3e1fe2c
fix(core): extraClientMetadata properties ( #530 )
2022-04-11 14:22:16 +08:00
Gao Sun
06ff890358
fix(core): test cases
2022-04-09 22:06:41 +08:00
Gao Sun
ada4da2fbf
feat(cli): seed tables
2022-04-09 21:53:53 +08:00
IceHe.xyz
fb65c65893
feat(core,schemas): cors allowed origins ( #507 )
...
* feat(schemas): cors allowed origins of application in custom OIDC client metadata
* refactor(schemas): rename CustomClientMetadataType to CustomClientMetadataKey
* feat(core): cors allowed origins
2022-04-08 18:16:20 +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
e969e15e3e
test(core): guard sign-in methods and social connector ids ( #498 )
...
* test(core): sign-in-methods guard of sign-in experience
* test(core): social-sign-in-connector-ids guard of sign-in experience
* test(core): guard branding of sign-in experience
2022-04-07 12:18:27 +08:00
IceHe.xyz
9d15b584ca
test(core): guard terms of use and language info ( #497 )
...
* test(core): terms-of-use guard of sign-in experience
* test(core): add null test cases for guards of sign-in experience
* test(core): language-info guard of sign-in experience
2022-04-07 12:04:09 +08:00
IceHe.xyz
9e25a097bb
test(core): guard branding of sign-in experience ( #494 )
...
* chore(core,ui): upgrade jest related dev dependencies to latest versions
* test(core): branding guard of sign-in experience
2022-04-07 11:56:21 +08:00
IceHe.xyz
b0de73a4a1
test(core): get sign-in experience ( #499 )
2022-04-07 11:42:20 +08:00
Gao Sun
4a904f2953
ci: upload eslint annotations ( #490 )
...
* ci: upload eslint annotations
* ci: update `upload-annotations.yml`
2022-04-06 06:06:34 +00: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
IceHe.xyz
812841494a
feat(core): update social sign-in connector IDs only when social sign-in is enabled ( #488 )
2022-04-02 11:34:55 +08:00
IceHe.xyz
58d03ae715
feat(core,phrases): validate social sign-in method with social connector IDs ( #485 )
2022-04-01 17:57:29 +08:00
IceHe.xyz
efdb24833e
feat(core,phrases): validate sign-in methods with enabled connectors ( #480 )
2022-04-01 16:32:45 +08:00
IceHe.xyz
bf94ee2d10
feat(core,phrases): validate there must be one and only one primary sign-in method ( #475 )
2022-04-01 13:52:01 +08:00
IceHe.xyz
2356c2ae2e
feat(core): validate sign-in experience branding and terms of use ( #477 )
2022-04-01 13:40:32 +08:00
Darcy Ye
2a153c2b6d
feat(core): add wechat-native connector ( #470 )
...
* feat(core): add wechat-native connector
* feat(core): add wechat native getAuthorizationUri UT
2022-03-31 18:03:51 +08:00
Darcy Ye
004fe65d5a
feat(core): validate connector config before enabling ( #478 )
...
* feat(core): validate connector config before enabling
* feat(core): remove code redundancy
2022-03-31 18:02:35 +08:00
Charles Zhao
48bd57c94e
chore: bump version of configs
2022-03-31 15:18:34 +08:00
IceHe.xyz
cd63388ab1
feat(schemas): zod type guards of sign-in experience jsonb fields ( #473 )
...
* feat(schemas): guard branding logo url and terms-of-use content url
* feat(schemas): guard branding logo url non-optional
* feat(schemas): guard branding colors and slogan nonempty
* chore(core,schemas): upgrade zod dependency version from 3.8.1 to 3.14.3
* feat(schemas): jsonb types guard hex color values
* feat(core): hex color regex
2022-03-31 14:19:12 +08:00
Darcy Ye
84f30fe04b
fix(core): fix did not mock request error which results in timeouts ( #471 )
2022-03-30 18:31:42 +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
Darcy Ye
c0337f502d
fix(core): fix wechat web response code and related UTs ( #461 )
2022-03-29 23:59:47 +08:00
IceHe.xyz
f260d2bb56
fix(core): error message interpolation ( #465 )
2022-03-29 21:47:12 +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
2ee88d19ee
refactor(core): make getConnectorInstances access DB only once ( #429 )
...
* refactor(core): make getConnectorInstances access DB only once
* test(core): make getConnectorInstances access DB only once
* refactor(core): getConnectorInstanceByType merge .filter into .find for running in one loop
2022-03-25 14:45:34 +08:00