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

513 commits

Author SHA1 Message Date
Gao Sun
5dcf1b92f3
refactor(console): title i18n (#315) 2022-03-03 17:44:44 +08:00
Gao Sun
ab15ee8555
feat(console): init api resources (#313) 2022-03-03 17:44:25 +08:00
Gao Sun
a265a3434b
fix(console): tab route link (#314) 2022-03-03 17:42:47 +08:00
Gao Sun
9e0f60ebc8
fix(console): set base url when needed (#312)
* fix(console): set base url when needed

* fix(console): replace `a` with `Link`

* refactor(console): update var name
2022-03-03 15:44:42 +08:00
Gao Sun
b9b3637300
feat(console): theme (#311)
* feat(console): theme

* feat(console): use css var for font
2022-03-03 07:15:33 +00:00
Gao Sun
cc8bb825fb
feat(console): active tab by route (#309)
* feat(console): active tab by route

* refactor(console): export sidebar utils and consts in index
2022-03-03 07:02:30 +00:00
Gao Sun
14d6c9e18a
feat(console): topbar (#310)
* feat(console): topbar

* refactor(console): move logo to assets folder
2022-03-03 07:00:20 +00: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
Darcy Ye
5734333dea
test(core): add UT for aliyun sms (#305)
* test(core): add UT for aliyun sms

* test(core): define some params as top-level consts
2022-03-02 16:50:26 +08:00
Xiao Yijun
8ae42e9666
feat(core): google connector (#300) 2022-03-02 16:26:07 +08:00
Xiao Yijun
dcd84086f6
refactor(core): slonik error handling (#307) 2022-03-02 15:44:57 +08:00
Darcy Ye
16396cf231
test(core): add UTs for session routes (#299)
* test(core): add email not exists check to sign-in email code verification

* test(core): add remaining UTs except for /session/consent

* test(core): fix username validity check according to new username rules

* test(core): remove UT for /session/consent as an individual PR

* test(core): fix error code 500
2022-03-02 14:16:09 +08:00
IceHe.xyz
c5a9eef852
chore(core): fix typos (#303)
* chore(core): fix typos in routes/session.ts

* chore(core): fix typos in utils/password.ts

* chore(core): fix Connector typos

* chore(core): fix typos in connectors/utilities/aliyun.ts

* chore(core): fix 'custom' typos in database/update-where.test.ts

* chore(core): fix typos in middleware/koa-oidc-error-handler.ts
2022-03-02 12:24:07 +08:00
Gao Sun
572d5ad6a5
Merge pull request #298 from logto-io/gao-log-1626-top-bar-side-bar-and-layout
feat(console): sidebar
2022-03-02 12:22:43 +08:00
Wang Sijie
ba2b499637
test(core): session consent (#304) 2022-03-02 11:24:15 +08:00
Gao Sun
c782a7db8b
refactor(console): update per review 2022-03-01 22:59:02 +08:00
Wang Sijie
4d7ea642a0
refactor(core): session tests (#302) 2022-03-01 17:03:41 +08:00
IceHe.xyz
62c6c3812a
chore(phrases): fix typos in locales/en.ts (#301) 2022-03-01 14:26:27 +08:00
simeng-li
b03a666fde
ci(core): add codecov github action (#297)
* ci(core): add codecov github action

add codecov github action

* ci(core): update codecov uploader

update codecov uoloader

* ci(core): delete useless codecov yml

delete codecov yml

* chore(core): remove deprecated packages

remove deprecated pacakages
2022-03-01 11:05:25 +08:00
Wang Sijie
7af6973079
test(core): aliyun-dm (#295) 2022-03-01 11:04:20 +08:00
Gao Sun
a74d2b0aa6
chore: upgrade configs 2022-02-28 22:51:29 +08:00
Gao Sun
a89e3d1eb7
feat(console): fulfill tab sections and items 2022-02-28 22:39:15 +08:00
Gao Sun
02e9b8fde4
refactor(console): use consts and i18n 2022-02-28 22:18:01 +08:00
Gao Sun
f505d87638
feat(console): implement sidebar 2022-02-28 18:48:00 +08:00
Gao Sun
9dca1e8083
fix(schemas): remove unused dependency (#296) 2022-02-28 15:47:10 +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
Wang Sijie
c9400d0a4d
test(core): github and connector utilities (#291) 2022-02-28 06:27:45 +00:00
Xiao Yijun
3a583e81e4
fix(core): patch /users/:userId should not fail if only name or avatar is provided 2022-02-28 13:18:17 +08:00
Xiao Yijun
755176e252
refactor(core): add regex for commonly used fields (#288) 2022-02-28 13:16:02 +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
Gao Sun
b6ae03e1dc
feat(console): init layout (#289) 2022-02-28 10:35:14 +08:00
Wang Sijie
94e583111d
test: session route (#283) 2022-02-25 07:09:20 +00:00
Darcy Ye
ddd695dd33
feat(core): enable pass redirectUri when sign-in with social (#284) 2022-02-25 14:52:38 +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
Gao Sun
409602beff
fix: update VSCode settings to format js/ts on save (#286) 2022-02-25 05:17:40 +00:00
Darcy Ye
5fa6e2b280
chore(core): username/phone/email validity checks to koaGuard middleware (in /session routes) (#285)
* feat(core): all username/phone/email validity checks are put in koaGuard middleware

* feat(core): remove unnecessary comments

* feat(core): unwrap unnecessary methods
2022-02-25 10:50:50 +08:00
Darcy Ye
bd6dc4261c
feat(core): get /session/register/:username/existence (#275)
* feat(core): add username existence check when resgitering

* feat(core): add username existence check

* feat(core): update username guard to avoid empty strings
2022-02-24 18:30:34 +08:00
Darcy Ye
75d2bb3e9b
feat(core): separate passwordless flow routes (#280)
* feat(core): separate passwordless flow routes

* feat(core): rename routes

* feat(core): wrap frequently called methods and rerank log assignment order

* feat(core): rerank log assignment order
2022-02-24 18:21:59 +08:00
Xiao Yijun
861833c01a
refactor(core): add prefix for password_encryption_method (#281) 2022-02-24 18:01:17 +08:00
Xiao Yijun
4144051cad
test(core): add ut for admin-user (#279) 2022-02-24 17:59:08 +08:00
Xiao Yijun
e63ca4c06f
feat(core): get /users with search (#270) 2022-02-24 12:29:34 +08:00
Darcy Ye
89a185c845
chore(core): refactor sign-in routes (#273)
* chore(core): refactor sign-in routes

* feat(core): fix order of userLog assignments
2022-02-24 11:58:52 +08:00
Wang Sijie
44e2be0972
chore: zh-cn translation for connector (#278) 2022-02-24 11:07:11 +08:00
Wang Sijie
be916b274c
test(session): test setup for session route (#276) 2022-02-23 17:23:21 +08:00
Wang Sijie
c033c5e4ec
chore: rename route for bind and sign in (#277) 2022-02-23 16:17:42 +08:00
Darcy Ye
fe0ece4e49
chore(core): hide settings default id (#261)
* chore(core): hide settings default id

* chore(core): fix patch /settings UT
2022-02-23 13:51:02 +08:00
simeng-li
d2b8aa9355
test(core): update the requester test utils (#274)
update the requester test utils
2022-02-23 11:09:26 +08:00
simeng-li
279318780e
test(oidc): add oidc adapter test case (#266)
add oidc adapter test case
2022-02-23 09:42:29 +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