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
Darcy Ye
ab4beadd70
chore(core): refactor register codes ( #271 )
...
* chore(core): refactor register routes
* chore(core): remove unnecessary lib/register
* chore(core): fix
2022-02-22 22:12:38 +08:00
Gao Sun
b31e90dab2
refactor(core): use custom koa-router
types ( #267 )
2022-02-22 08:33:55 +00:00
Wang Sijie
9ffe12ad0d
chore: make connectorInstance.connector non-nullable ( #268 )
2022-02-22 16:01:47 +08:00
Wang Sijie
bdee44a6b9
feat: continue to register with social ( #249 )
...
* feat: continue to register with social
* feat: bind social account (#259 )
* feat: continue to register with social
* feat: bind social account
* feat: find social related user and sign in (#258 )
2022-02-22 08:01:32 +00:00
simeng-li
d58b29f4a9
test(core): add ut for core routers ( #262 )
...
add ut for core router
2022-02-21 16:42:48 +08:00
simeng-li
7488bc7e17
test(core): add ut for util methods ( #264 )
...
add ut for util methods
2022-02-21 16:42:17 +08:00
Darcy Ye
4571af65ea
chore(core): fix ui router ( #263 )
2022-02-21 03:46:55 +00:00
simeng-li
8fa169cba1
test(core): add admin-user route UT ( #252 )
...
* test(core): add admin-user route ut
add admin-user route ut
* fix(ut): remove redundent code
remove mockKoaAuthMiddleware
* feat(core): update pnpm.lock
update pnpm.lock
2022-02-21 10:45:31 +08:00
Gao Sun
47ccb4da02
refactor(ui): integrate new ui ( #260 )
2022-02-20 14:12:07 +08:00
Gao Sun
4981786204
refactor(ui): migrate files 2/2 ( #257 )
2022-02-19 15:14:23 +08:00
Charles Zhao
c8a7ec4688
Merge pull request #256 from logto-io/charles-fix-typescript-eslint-failure
...
fix: typescript eslint
2022-02-19 11:36:23 +08:00
Charles Zhao
450e5ae750
fix: typescript eslint failure
2022-02-18 22:40:38 +08:00
Xiao Yijun
5731d7389d
refactor(core): remove user route ( #254 )
2022-02-18 17:56:44 +08:00
Gao Sun
46d1fee353
refactor(ui): migrate files 1/2 ( #251 )
2022-02-18 17:11:54 +08:00
Xiao Yijun
9e30b41028
feat(core): delete user and update user password api ( #248 )
2022-02-18 17:02:08 +08:00
simeng-li
9c3f017704
test(core): add more middleware tests [2 of 2] ( #247 )
...
* test(core): add more middleware tests
add more middleware tests
* fix(ut): fix koaUserInfo ut
fix koaUserInfo ut
* fix(ut): fix ut
fix ut
* fix(ut): revert chagnes
revert changes
* fix(ut): fix ut fail after schema update bug
fix ut fail after schema update bug
2022-02-18 16:25:32 +08:00
simeng-li
52b1d92aa0
fix: remove codecov yaml ( #250 )
...
remove codecov yaml
2022-02-18 16:20:22 +08:00
Xiao Yijun
77b520deba
feat(core): patch /users/:userId
( #246 )
2022-02-18 14:34:22 +08:00
Darcy Ye
c99c6b55aa
feat(core): separate sessionRoutes by flow types ( #235 )
...
* feat(core): separate sessionRoute by use cases as well as flow types
* feat(core): fix API calls in UI accordingly
* feat(core): fix lint errors
2022-02-18 12:31:15 +08:00
Gao Sun
011f073efe
feat(ui): init ui-new
package ( #245 )
2022-02-18 07:25:54 +08:00
simeng-li
c8d45a13f0
test(core): add middleware tests [1 of 2] ( #244 )
...
* test(core): add middleware tests
add middleware tests
* fix(ut): fix typo
fix typo
2022-02-17 14:21:29 +08:00
Xiao Yijun
c1c356c30a
feat(core): delete users/:userid/custom-data
( #233 )
2022-02-17 14:10:26 +08:00
Wang Sijie
46dd8f3b69
chore: connector error ( #242 )
2022-02-17 11:09:27 +08:00
Gao Sun
13f6b59ad4
chore: upgrade configs ( #243 )
2022-02-16 19:06:58 +08:00
Xiao Yijun
d69bbeebb2
feat(core): patch /user/:userId/custom-data
( #232 )
2022-02-16 18:06:08 +08:00
Xiao Yijun
56c9f00440
feat(core): post /users
( #238 )
2022-02-16 16:34:32 +08:00
Xiao Yijun
dd55c66644
feat(core): get ( #236 )
2022-02-16 15:56:51 +08:00
Xiao Yijun
ee49880845
feat(core): get /users
( #237 )
2022-02-16 15:55:08 +08:00
Gao Sun
eb319a3b89
refactor: upgrade TypeScript ( #241 )
2022-02-16 15:17:43 +08:00
Gao Sun
5ce8c18652
feat(console): init ( #239 )
...
* feat(console): init
* refactor: remove unused tsconfig props
* fix: lint error
2022-02-16 15:04:34 +08:00
Wang Sijie
e206dfcecb
fix: connector_id_mismatch and mergeWithLastSubmission ( #240 )
2022-02-16 14:43:01 +08:00
simeng-li
080bee6935
test(i18n): add detectLanguage util test ( #231 )
...
add detectLanguage util test
2022-02-16 10:26:16 +08:00
simeng-li
af89e9ac30
test(core): add ut for app ( #227 )
...
* test(core): add ut for app
add ut for app
* fix(jest): remove jest setup
remove jest setup
* fix(ut): mock env viriables
mock env viriables
* refactor(ut): add env variable test utils
add env variable test util
* fix(core): fix rebase issue
fix rebase issue
* fix(ut): update app ut
update app ut
* fix(core): remove supertest dependency
remove supertest
* fix(ut): cr fix
cr fix
2022-02-15 18:36:57 +08:00
simeng-li
108705076f
test(ut): add error type ut ( #229 )
...
add error type ut
2022-02-15 18:11:23 +08:00
Wang Sijie
34e540d3ed
feat: continue social sign in ( #223 )
...
* feat: social sign in
* feat: social register
* feat: continue social sign in
2022-02-15 17:40:47 +08:00