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

373 commits

Author SHA1 Message Date
Charles Zhao
8cc6a1d138
Merge pull request #502 from logto-io/charles-log-1683-support-input-fields-in-get-started-steps
feat(console): support input form fields in get-started steps
2022-04-07 12:14:41 +08:00
Charles Zhao
3ddc177f8e
feat(console): support input form fields in get-started steps 2022-04-07 12:07:27 +08:00
simeng-li
ff925372e5
refactor(ui): refactor i18n phrases in logto main flow (#501)
* refactor(ui): refactor i18n phrases in logto main flow

refactor i18n phrases in logto main flow

* fix(ui): cr fix

remove debug code
2022-04-06 15:38:53 +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
simeng-li
04d00fc11f
feat(ui): update pages (#479)
* feat(ui): update pages

update page routing and render logics

* chore(ui): component renaming

component renaming
2022-04-02 11:35:33 +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
Xiao Yijun
b416ee877e
feat(console): multi-text-input (#472) 2022-04-01 13:45:57 +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
Charles Zhao
48bd57c94e
chore: bump version of configs 2022-03-31 15:18:34 +08:00
simeng-li
6a61ea29f5
feat(ui): add passwordless container (#469)
* feat(ui): add passwordless container

add email & phone passwordless container
add secondary sign-in page

* feat(ui): uncomment code after rebase latest code

uncomment code after rebase latest code
2022-03-31 13:57:01 +08:00
simeng-li
67939ea2bb
feat(ui): add CreateAccount Container (#457)
* feat(ui): add CreateAccount Container

add CreatAccount Container

* fix(ui): fix regex

* fix(ui): remove useless test change

remove useless test update
2022-03-31 13:49:39 +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
Xiao Yijun
58ab342c47
refactor(console): the submit state of forms (#455) 2022-03-29 12:58:53 +08:00
Wang Sijie
1d71064a88
feat(console): extract total number from headers for useSWR (#448) 2022-03-28 15:39:42 +08:00
Wang Sijie
9a437e3c0d
feat(console): table empty state (#446)
* feat(console): table empty state

* fix: cr
2022-03-28 15:03:11 +08:00
Charles Zhao
7033bdc2cd
feat(core): provide API to fetch get-started markdown metadata 2022-03-28 13:50:40 +08:00
simeng-li
45a82f97c1
feat(ui): re-implement username signin page (#447)
* feat(ui): re-implement username signin page

re-implement username signin page

* fix(ui): username signin CR fix

username signin CR fix
2022-03-28 09:40:47 +08:00
simeng-li
b99c11e211
feat(ui): implement Confirm Modal (#449)
* feat(ui): implement Confirm Modal

add Confirm Modal

* fix(ui): remove lock file

remove lock filee

* fix(ui): confirmModal CR fix

confirmModal CR fix
2022-03-28 09:36:39 +08:00
Wang Sijie
b6323113fa
feat(console): table error component (#442)
* feat(console): table error component

* fix: pr
2022-03-24 15:02:31 +08:00
Xiao Yijun
a918dce05f
feat(console): save changes in application detail page (#439) 2022-03-24 11:55:13 +08:00
Wang Sijie
3998f39db7
feat(console): add connector (#428)
* feat(console): add connector

* feat(console): delete connector (#433)

* feat(console): add connector

* feat(console): delete connector

* fix: rebase error
2022-03-23 11:57:14 +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
Xiao Yijun
4f41162ac3
refactor(console): refactor modals with modallayout (#435) 2022-03-22 17:40:06 +08:00
Xiao Yijun
ec8ecf262a
feat(console): delete application (#417) 2022-03-21 17:43:13 +08:00
Wang Sijie
c4a0299b1c
feat(console): user details settings (#403) 2022-03-21 11:48:27 +08:00
Charles Zhao
54c80383c6
feat(console): show get started guide on application creation success 2022-03-18 16:15:10 +08:00
Xiao Yijun
3c0ff36817
feat(console): add another for redirect uris in application details (#387) 2022-03-18 16:02:37 +08:00
Wang Sijie
97c3aa37ea
feat(console): change password (#414)
* feat(console): change password

* fix: rename to reset password
2022-03-18 07:46:47 +00:00
simeng-li
ee85a25d79
feat(ui): textual ui components (#404)
* feat(ui): error message & text link

error message & text link

* feat(ui): add tos, divider and text link components

tos, divider and text link components

* fix(ui): update the usage of error message

update the usage of error message
2022-03-18 15:34:38 +08:00
Wang Sijie
93dee847f6
feat(console): delete user (#406)
* feat(console): delete user

* fix: fix lint

* fix: min width
2022-03-18 03:51:45 +00:00
Wang Sijie
bff4a9860d
Merge pull request #383 from logto-io/sijie--log-1705-user-detail-header
feat(console): user details header
2022-03-16 14:48:47 +08:00
Xiao Yijun
78b2e3be30
feat(console): delete api resource (#389) 2022-03-16 14:47:31 +08:00
Wang Sijie
a77b94231e
feat(console): create user (#388)
* feat(console): create user

* fix: handle error
2022-03-16 14:45:15 +08:00
wangsijie
f0ff2b3906
feat(console): user details header 2022-03-15 14:00:02 +08:00
Xiao Yijun
22a6278a9b
feat(console): application details settings (#381) 2022-03-15 12:42:42 +08:00
Wang Sijie
f25cb8adae
feat(console): action menu (#364)
* feat(console): action menu

* fix: button props

* refactor: merge useLayoutEffect
2022-03-15 04:34:54 +00:00
Xiao Yijun
9b89971d34
refactor(console): application detail header (#376) 2022-03-14 19:50:06 +08:00
Wang Sijie
f0ab8f0c96
feat(console): init users page (#380) 2022-03-14 17:13:24 +08:00
Wang Sijie
74d7dd6603
feat(console): wrap ky to handle response error (#370)
* feat(console): wrap ky to handle response error

* fix: handle error without body
2022-03-14 03:17:04 +00:00
Xiao Yijun
043b20a05a
feat(console): connector sender test (#367) 2022-03-14 11:11:37 +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
Gao Sun
38df1ec8f4
chore: upgrade packages 2022-03-11 16:30:22 +08:00
Wang Sijie
223b8a2444
feat(console): connector config (#358)
* feat(console): connector config

* fix(console): page layout issues

* feat(console): saved toast

* fix: style lint

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2022-03-10 06:47:32 +00:00
Gao Sun
33fa309064
feat(console): show toast after app created (#354)
* feat(console): show toast after app created

* feat(console): use css var for shadow
2022-03-10 12:52:56 +08:00
Wang Sijie
012db5e07d
feat(console): connector detail readme (#351) 2022-03-10 11:38:20 +08:00
Xiao Yijun
05bbc9c2d3
feat(console): api resource details (#352) 2022-03-09 17:56:50 +08:00
Wang Sijie
dab3c12bea
feat(console): connector details header (#348) 2022-03-09 15:54:46 +08:00
Wang Sijie
88053163e6
feat(console): connectors (#338)
* feat(console): connectors

* refactor: connector row
2022-03-09 12:32:44 +08:00
Gao Sun
1df1aee010
refactor(console): improve create app form ux (#340)
* refactor(console): improve create app form ux

* refactor(console): update i18n
2022-03-09 04:24:33 +00:00
Gao Sun
1399c9258e
chore: upgrade configs (#339) 2022-03-08 15:58:55 +08:00
Wang Sijie
4cc45696a8
feat(core): only allow one enabled sms/email (#337) 2022-03-08 15:57:57 +08:00
Gao Sun
0cc32cadf3
feat(console): app create form (#325)
* feat(console): app type description

* refactor(console): remove unused code

* feat(console): complete app create form inputs

* feat(console): create app form submit

* fix(console): update per review
2022-03-08 07:13:45 +00:00
Gao Sun
71e5da6216
feat(console): app details header (#327)
* feat(console): init app details

* feat(console): loading app details from api

* fix(console): back to app i18n

* refactor(console): add img placeholder alt
2022-03-08 14:53:49 +08:00
Gao Sun
3bbfe905bb
feat(console): app type description 2022-03-08 12:39:58 +08:00
Gao Sun
295314e693
feat(console): implement radio input and form 2022-03-08 12:19:08 +08:00
Wang Sijie
387ee50684
feat(console): init connectors (#332) 2022-03-08 11:10:46 +08:00
Gao Sun
d035047ee8
feat(console): implement tooltip and integrate with copy (#323) 2022-03-07 10:54:05 +00: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
Xiao Yijun
f6a0aa8bd6
feat(console): api resources list page (#322) 2022-03-06 19:56:51 +08:00
Gao Sun
bb1d3c0a37
feat(console): retrieve applications from api (#320)
* feat(console): retrieve applications from api

* fix(console): i18n key

* fix(console): update per review
2022-03-04 17:26:34 +08:00
Gao Sun
92a40a4e6c
feat(console): applications layout (#316)
* feat(console): applications layout

* feat(console): button disabled style
2022-03-04 12:47:02 +08:00
Gao Sun
5dcf1b92f3
refactor(console): title i18n (#315) 2022-03-03 17:44:44 +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
IceHe.xyz
62c6c3812a
chore(phrases): fix typos in locales/en.ts (#301) 2022-03-01 14:26:27 +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
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
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
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
Gao Sun
46d1fee353
refactor(ui): migrate files 1/2 (#251) 2022-02-18 17:11:54 +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
Gao Sun
eb319a3b89
refactor: upgrade TypeScript (#241) 2022-02-16 15:17:43 +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
simeng-li
cdcadb968f
refactor(core): refactor error handler logic (#220)
* refactor(core): refactor error handler logic

add oidc and slonik custom error handler

* fix(core): fix typo

fix type

* refactor: align core errors

align some old core error definitions
2022-02-14 11:50:47 +08:00
Wang Sijie
78cc86ec77
feat: social register (#222) 2022-02-14 03:11:34 +00:00
Darcy Ye
8249493c40
feat(core): add passwordless register flow of phone (#221)
* feat(phone passwordless): add passwordless register flow of phone

* feat(phone passwordless): add userId to both sign-in and register user logs

* feat(phone passwordless): add register error descriptions

* feat(core): update error descriptions and leave redundancy error descriptions for later changes
2022-02-14 10:44:46 +08:00
Wang Sijie
66808d6d02
feat: social sign in (#218) 2022-02-11 07:19:18 +00:00
Darcy Ye
750ef0c3bf
feat(phone passwordless): add passwordless sign-in with phone (#217)
* feat(phone passwordless): add passwordless sign-in with phone

* feat(phone passwordless): rename phoneReg
2022-02-09 16:14:42 +08:00
Wang Sijie
77ca86cac6
feat(core): register with email (#212) 2022-02-08 20:15:36 +08:00
simeng-li
a5c9bf61d7
refactor(core): add OIDCRequestError (#214)
* refactor(core): add OIDCRequestError

inplement OIDCRequestError to normalize OIDCProviderError

* fix(coer): cr fix

code review update
2022-02-08 15:31:16 +08:00
Wang Sijie
fd1810592b
feat(core): check email exist before sending code (#211) 2022-02-07 06:14:42 +00:00
Wang Sijie
d14f1a8841
feat(core): sign in with email (#209)
* feat(core): sign in with email

* fix: jti comment

* refactor: move sign in methods into lib
2022-01-31 11:04:55 +08:00
Darcy Ye
30ce91810f
feat(aliyun sms connector): add aliyun sms connector (#203)
* chore(SMS connector): add SMS connector and UT

* feat(Aliyun SMS): remove redundancy

* chore(Aliyun SMS connector): merge duplicates and fix accordingly
2022-01-29 16:48:34 +08:00
Wang Sijie
ddb9968c98
feat: verifyPasscode (#201)
* fix: consume

* feat: sendPasscode

* feat: verifyPasscode
2022-01-29 14:02:54 +08:00
Wang Sijie
02491adb5d
feat: sendPasscode (#200)
* fix: consume

* feat: sendPasscode
2022-01-28 07:39:38 +00:00
Charles Zhao
f30cae7377
chore: upgrade eslint-config to v0.6.1 2022-01-27 19:26:34 +08:00
IceHe.xyz
070506f934
refactor(phrases): replace Normalize with NormalizeKeyPaths (#192) 2022-01-24 17:26:08 +08:00
Wang Sijie
a77149bb8b
feat: connector i18n (#171)
* feat: connector i18n

* fix: language key
2022-01-17 02:58:45 +00:00
simeng-li
f218667ba4
feat(application): add application query exceptions (#172)
* feat(application): add application query exceptions

add application query exceptions

* fix(core): cr fix remove query level exception

remove application query level exception handle logic

* fix(core): delete application query throw slonikError

delete application query throw slonikError
2022-01-13 16:02:28 +08:00
IceHe.xyz
a66abbc251
Revert "chore: update silverhand/configs dependency and fix the scope of eslint-disable rule (#157)" (#162)
This reverts commit 7ff8550845.
2021-12-29 03:56:55 +00:00
Darcy Ye
7ff8550845
chore: update silverhand/configs dependency and fix the scope of eslint-disable rule (#157)
* chore: fix the scope of eslint-disable rule

* chore: update silverhand/configs to v0.5.0 and fix linting error accordingly

* chore: fix linting error
2021-12-29 11:05:06 +08:00
Darcy Ye
dd7a385363
chore: update dependency of ESLint to version 8.1.0 or later (#155)
* chore: update eslint version to 8.1.0

* chore: update silverhand configs dependency

* chore: update silverhand configs dependency and fix code block according to linting rules
2021-12-20 14:20:23 +08:00
Wang Sijie
838ae3fad9
feat: add koa-pagination (#143)
* feat: add koa-pagination

* fix: pr fix
2021-11-30 11:06:50 +08:00
Gao Sun
5ccf903b4a
chore: upgrade configs (#117) 2021-09-16 16:54:32 +08:00
Gao Sun
2c93ef9237
chore: upgrade configs (#114) 2021-09-08 14:13:42 +08:00
Gao Sun
7ae7912642
refactor: adopt new ESLint rule set for FP (#111) 2021-09-07 20:24:27 +08:00
Gao Sun
43456aae9b
feat(core): detect language from querystring and header 2021-09-01 17:08:28 +08:00
Gao Sun
806e99de61
refactor: replace plain assert with a more strict version (#103) 2021-08-31 22:45:28 +08:00
Gao Sun
00c8211160
chore: upgrade configs (#102) 2021-08-31 21:03:13 +08:00
Gao Sun
bb040cbeee
chore: enforce default export name on React files (#101) 2021-08-30 22:28:08 +08:00
Gao Sun
4be1bd3cad
chore: lint-staged for all packages (#100) 2021-08-30 22:26:58 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config (#98) 2021-08-30 11:30:54 +08:00
Gao Sun
625520d75a
refactor: throw an error when requesting invalid scope (#94) 2021-08-28 10:50:38 +08:00
Gao Sun
4694c0d5ce
refactor: use 404 when not found 2021-08-27 17:13:49 +08:00
Gao Sun
6b6210feee
feat: PATCH /application/:id 2021-08-27 17:07:15 +08:00
Gao Sun
af11f18e40
feat: DELETE /application/:id 2021-08-25 23:42:03 +08:00
Gao Sun
58b8ac3957
refactor: use composite run steps and remove eslint formatter 2021-08-20 18:16:00 +08:00
Gao Sun
6f604f40c2
refactor: improved error code of buildInsertInto() 2021-08-18 11:54:05 +08:00
Gao Sun
b192b7d17c
feat: POST /applicaiton 2021-08-18 00:24:00 +08:00
Gao Sun
bb7c8184f7
feat: init application api 2021-08-14 21:39:37 +08:00
Gao Sun
b457d95a9e refactor: conform RESTful convention (#77)
* refactor: conform RESTful convention

* refactor: update tests
2021-08-11 22:13:08 +08:00
Gao Sun
c58194dd6e chore: add MPL-2.0 license (#76) 2021-08-11 22:12:36 +08:00
Gao Sun
2c6a64892a
chore: add preinstall script to packages 2021-08-10 15:29:32 +08:00
Simeng Li
3595657d8f fix git warning 2021-08-02 21:34:00 +08:00
Simeng Li
8830228aae Add register moweb page 2021-08-02 21:34:00 +08:00
Gao Sun
4eb8d93d56
chore: yarn -> pnpm 2021-07-29 17:46:28 +08:00
Gao Sun
590dd7d858
feat(phrases): add package and refactor error code 2021-07-28 01:13:51 +08:00