0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
Commit graph

114 commits

Author SHA1 Message Date
IceHe.xyz
4e60446411
feat(core,schemas): koaLogSession middleware (#767)
* feat(core,schemas): koaLogSession middleware

* fix(core): koa-log-session call next() first

* refactor(core,schemas): merge SessionLogPayload into BaseLogPayload

* refactor(core,schemas): rename logSession to addLogContext
2022-05-13 20:37:36 +08:00
Charles Zhao
7fd42fdaa1
feat(console): hide get-started page on clicking 'Hide this' button 2022-05-13 00:43:24 +08: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
bafd09474c
feat(console): sign in exp guide (#755) 2022-05-12 04:05:10 +00:00
Charles Zhao
1255c6d1e7
Merge pull request #791 from logto-io/charles-log-2403-store-get-started-progress-in-settings-config
feat(console): support persisting get-started progress in settings config
2022-05-11 17:52:26 +08:00
renovate[bot]
87a9f8a2ae
chore(deps): update dependency @silverhand/eslint-config to ^0.11.0 (#775)
* chore(deps): update dependency @silverhand/eslint-config to ^0.11.0

* chore: add comments

* fix: lockfile

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-11 06:13:06 +00:00
Charles Zhao
43b2309c99
feat(console): support persisting get-started progress in settings config 2022-05-11 14:02:26 +08:00
Gao Sun
d78c115db1
refactor(schemas): remove src/db-entries from source control (#764) 2022-05-09 15:04:36 +08:00
Wang Sijie
08904b8f93
feat(core): add experience configs (#745) 2022-05-06 17:59:18 +08:00
Gao Sun
5909727ebc
refactor(core): use argon2 for password encryption (#738)
* refactor(core): use argon2 for password encryption

* refactor(core): adjust time cost
2022-05-06 16:38:38 +08:00
Wang Sijie
a0355872c6
feat(console): add application column in user management (#728) 2022-05-06 16:16:59 +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
0ecb7e4d2f
feat(core,schemas): log IP and user agent (#682)
* feat(core,schemas): log IP and user agent

* refactor(core): extract initLog from koaLog

* refactor(core): log koa

log koa

* fix(core): rename

rename

* refactor(core): initLogger

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-05-05 15:38:59 +08:00
IceHe.xyz
4521c3c8d1
feat(core,schemas): save application id that the user first consented (#688)
* feat(core,schemas): save application id which the user first consented

* chore(core): fix grammatical mistake and typos
2022-05-05 06:57:20 +00:00
Charles Zhao
a04f818ffb
feat(console): integrate dark mode settings 2022-05-01 01:08:03 +08:00
Xiao Yijun
4a0577accd
feat(console): configure cors-allowed-origins (#695) 2022-04-29 19:01:36 +08:00
IceHe.xyz
a10b427c87
feat(core,schemas): log register (#601) 2022-04-26 03:49:11 +00:00
IceHe.xyz
3aa4342f2e
feat(core,schemas): make it type-safer to log (#656) 2022-04-26 11:31:07 +08:00
Darcy Ye
f669f6b657
feat(core): fix packages' dependencies 2022-04-24 20:53:34 +08:00
Wang Sijie
96848e6b0f
feat(console): page settings (#612) 2022-04-24 11:46:35 +08:00
IceHe.xyz
4ba37e7e73
feat(core,schemas): log sign-in (#594)
* feat(schemas): sign-in log types

* feat(core): log username-password sign-in

* feat(core): log passwordless sign-in

* feat(core): log social sign-in
2022-04-21 15:07:54 +08: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
IceHe.xyz
7990b813ab
refactor(core,phrases,schemas): move language enum and fix Chinese enum value (#593) 2022-04-21 10:55:06 +08:00
IceHe.xyz
4491eab5b4
feat(core): koa-log middleware (#590) 2022-04-20 06:56:33 +00:00
Xiao Yijun
975e715c47
fix(core): revert add oidc config to application response (#566) 2022-04-18 22:30:57 +08:00
IceHe.xyz
afaaed9f29
fix(schemas): remove wrong default values from sign-in experience schema (#565) 2022-04-18 17:06:13 +08:00
IceHe.xyz
5386bcee23
feat(schemas): logs schema and log payload type (#561) 2022-04-18 15:44:36 +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
df46593844
refactor(schemas): extract sign-in method key (#556) 2022-04-18 12:49:31 +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
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
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
Gao Sun
91c79bb44c
Merge pull request #520 from logto-io/gao-remove-resource-scopes
refactor(core): remove resource scopes
2022-04-08 16:15:50 +08:00
Xiao Yijun
3a8b9d7bd7
feat(core): validate redirect uris of application (#519) 2022-04-08 16:13:51 +08:00
Gao Sun
0499024fdf
refactor(core): remove resource scopes 2022-04-08 16:07:34 +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
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
Wang Sijie
e8b4862843
feat(console): user details connectors (#434)
* feat(console): user details connectors

* fix: is submiting
2022-03-23 11:48:42 +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
Darcy Ye
cde61b77b1
feat(core): add README.md for connectors (#362)
* feat(core): add README.md for connectors

* feat(core): add README.md files' existence check

* feat(core): fix path of README.md
2022-03-14 11:17:24 +08:00
Darcy Ye
9ed146645b
revert(core): manually revert forgot password logic (#365)
* Revert "feat(core): add email forgot password flow (send/verify passcode) (#336)"

* Revert "feat(core): post /session/forgot-password/phone/verify-passcode-and-reset-password (#334)"

* Revert "feat(core): add forgot password send a passcode to phone route (#326)"
2022-03-11 17:45:42 +08:00
Darcy Ye
b14c30beca
feat(core): add forgot password send a passcode to phone route (#326)
* feat(core): add forgot password send a passcode to phone route

* feat(core): add UT for forget password send passcode to phone flow
2022-03-07 15:10:36 +08:00
Wang Sijie
12769e277b
feat(console): init connector page (#331) 2022-03-07 13:58:07 +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
Xiao Yijun
76aba43ae3
refactor(core): replace arbitrary data guard type with arbitrary object guard (#290) 2022-02-28 11:22:48 +08:00
Xiao Yijun
861833c01a
refactor(core): add prefix for password_encryption_method (#281) 2022-02-24 18:01:17 +08:00
simeng-li
4a80773b2d
feat(core): add koa user role guard middleware (#255)
* feat(core): add koa user role guard middleware

add user role guard middleware

* fix(core): resolve cr comments

remove getUserInfo

* fix(cr): cr fix

cr fix
2022-02-23 09:41:55 +08:00