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

1227 commits

Author SHA1 Message Date
Xiao Yijun
ae0caa8f8b
fix(console): should return to previous page when on sign-in-experience and app details page (#1137) 2022-06-17 13:48:10 +08:00
Xiao Yijun
294c60062e
fix(console): return to user-details page from user-log-details page (#1135) 2022-06-17 03:59:22 +00:00
Darcy Ye
41e37a7995
feat(core): identities key should use target not connectorId (#1115)
* feat(core): identities key should use target not connectorId

* refactor(core): make test file size in limit

* feat(console): use target in user connectors (#1134)

Co-authored-by: Wang Sijie <wangsijie@silverhand.io>
2022-06-17 11:00:02 +08:00
Darcy Ye
f8710e147d
feat(core): add smtp connector (#1131)
* feat(connector-smtp): add smtp connector

* feat(connector-smtp): fix UTs
2022-06-17 10:52:35 +08:00
Wang Sijie
a424f1b1d2
fix(console): auto generate password (#1133) 2022-06-17 10:42:38 +08:00
simeng-li
f640dad52f
feat(core): add sign-in-mode (#1132)
* feat(core): add sign-in-mode
add sign-in-mode

* fix(core): remove console.log

remove console.log

* fix(ui): hide secondary signin section
hide secondary signin section if is under register mode

* fix(core): ci fix

ci fix
2022-06-17 10:36:07 +08:00
simeng-li
20f7ad9863
fix(ui): input fields (#1125)
input fields auto input fix
2022-06-17 09:37:27 +08:00
IceHe.xyz
254fac52a7
test(integration-tests): check swagger.json (#1127) 2022-06-16 08:59:00 +00:00
IceHe.xyz
511012da92
feat(core): convert Zod union, literal and string guards to OpenAPI schemas (#1126)
* feat(core): convert Zod union and literal guards to OpenAPI schemas

* feat(core): parse swagger schema format with Zod string checks

* test(core): unexpected zod string check

* test(core): unexpected zod literal check
2022-06-16 16:46:38 +08:00
Xiao Yijun
3a814a6746
fix(console): user management search result (#1130) 2022-06-16 13:33:39 +08:00
Xiao Yijun
8d27adce39
test(integration): username and password flow (#1111) 2022-06-16 13:00:01 +08:00
IceHe.xyz
a26299941f
feat(core): append page and page_size to the query parameters in swagger.json (#1120)
* feat(core): append page and page_size to the query parameters in swagger.json

* refactor(core): simplify hasPagination

* chore(core): add a comment to note why name the pagination middleware function
2022-06-15 15:13:04 +08:00
Xiao Yijun
9262a6f3be
fix(console): update terms of use (#1122) 2022-06-15 12:16:37 +08:00
Charles Zhao
65f9a6fa39
Merge pull request #1116 from logto-io/charles-log-3052-update-hover-and-focus-colors-on-topbar-items
style(console): update hover and focus background colors of topbar items
2022-06-15 11:26:49 +08:00
Gao Sun
04118fa3f1
refactor: remove docs (#1121)
* refactor: remove docs

* chore: update deps
2022-06-14 22:17:17 +08:00
Darcy Ye
985fe7203a
refactor(core): separate session routes and UTs (#1104)
* refactor(core): separate session routes and UTs

* refactor(core): reorganize and rename files
2022-06-14 21:48:05 +08:00
Darcy Ye
efa9491749
feat(core): add switch of enabling object fully replace when updating DB (#1107)
* feat(core): add switch of enabling object fully replace when updating DB

* feat(core): assign default jsonbMode value if possible
2022-06-14 21:38:10 +08:00
simeng-li
93ad8d7769
style(docs): update some doc styles (#1118)
update some doc styles
2022-06-14 10:01:43 +00:00
Charles Zhao
0014a4696b
chore: remove only-allow pnpm from all sub-packages 2022-06-14 17:18:13 +08:00
Gao Sun
0843412c67
Merge pull request #1114 from logto-io/gao-reorg-docs
refactor(docs): reorg files
2022-06-14 16:34:57 +08:00
Gao Sun
f5aae98da1
Merge pull request #1112 from logto-io/gao-add-docs
docs(en-US): init get started
2022-06-14 16:33:34 +08:00
Gao Sun
96d96b4ca1
refactor(docs): improve sidebar content 2022-06-14 16:28:28 +08:00
Gao Sun
f0b06d4fd7
refactor(docs): reorg files 2022-06-14 16:28:28 +08:00
Gao Sun
0ac501173e
docs(en-US): polish content 2022-06-14 16:27:25 +08:00
Charles Zhao
8cbbdffce9
chore(console): update Client ID to App ID 2022-06-14 16:01:16 +08:00
Charles Zhao
d53e20d40c
style(console): update hover and focus background colors of topbar items 2022-06-14 15:40:20 +08:00
Wang Sijie
2a4a61deab
fix(console): connector row clickable (#1108) 2022-06-14 03:45:21 +00:00
Wang Sijie
a790248c09
fix(core): remove name regex (#1109) 2022-06-14 11:36:03 +08:00
Wang Sijie
888c3d767d
fix(console): fix info icon vertical alignment (#1106) 2022-06-14 11:33:42 +08:00
Gao Sun
095fec3d6b
refactor(docs): remove unused files (#1113) 2022-06-13 22:16:28 +08:00
Gao Sun
2401f6e19f
docs(en-US): init get started 2022-06-13 21:54:14 +08:00
IceHe.xyz
7339a85a1b
feat(core): any-type parameter shows empty object in swagger example (#1110) 2022-06-13 10:32:52 +00:00
Charles Zhao
1d2272186e
Merge pull request #1102 from logto-io/charles-ac-misc-improvements
fix(console): misc improvements and ui fixes
2022-06-13 16:56:31 +08:00
Charles Zhao
a793d3f7f9
Merge pull request #1101 from logto-io/charles-log-2484-add-route-path-for-create-app-popup
refactor(console): add dedicated route path for create app popup dialog
2022-06-13 16:56:17 +08:00
simeng-li
f390bf6175
refactor(ui): adjust input field auto focus logic (#1099)
adjust input field auto focus logic
2022-06-13 16:21:53 +08:00
IceHe.xyz
75ac874a2d
feat(core): dau curve contains 0 count points (#1105) 2022-06-13 16:18:16 +08:00
Wang Sijie
6d3857ef35
feat(console): error handling in dashboard (#1090) 2022-06-13 13:50:48 +08:00
simeng-li
147775a8f4
feat(ui): add native sdk guard logic (#1096)
add native sdk guard logic
2022-06-13 10:54:26 +08:00
Charles Zhao
b653478841
fix(console): misc improvements and ui fixes 2022-06-10 22:50:23 +08:00
Charles Zhao
9a0999e127
refactor(console): add dedicated route path for create app popup dialog 2022-06-10 20:38:00 +08:00
Charles Zhao
142f3f7b77
Merge pull request #1100 from logto-io/charles-revert-ac-lazy-loading
refactor(console): revert ac lazy loading
2022-06-10 18:27:03 +08:00
Charles Zhao
25f74ad891
refactor(console): revert ac lazy loading 2022-06-10 18:06:53 +08:00
simeng-li
f3b8678a8c
feat(ui): display error message on social callback page (#1097)
* feat(ui): display error message on social callback page

display error message on social callback page

* refactor(ui): display server side error message direactly

display server side error message directly
2022-06-10 18:05:25 +08:00
Charles Zhao
c078cc19f0
Merge pull request #1098 from logto-io/charles-log-2782-admin-console-404-page
feat(console): add 404 page in admin console
2022-06-10 17:17:27 +08:00
Charles Zhao
0d047fbaf1
feat(console): add 404 page in admin console 2022-06-10 17:10:34 +08:00
simeng-li
6c39e1b795
style(ui): loading icon (#1093)
loading icon
2022-06-10 16:19:21 +08:00
Charles Zhao
b01b5d8125
refactor(console): app full page loading animation 2022-06-10 12:57:33 +08:00
Darcy Ye
5516e18fe1
fix(github): fix the way of parsing github getAccessToken response (#1094)
* fix(github): fix the way of parsing Github getAccessToken response

* fix(github): fix getAccessToken response mock
2022-06-10 12:12:58 +08:00
Darcy Ye
3925424316
refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078)
* feat(alipay): use zod parse instead of got response generic

* feat(alipay): fix expires_in and re_expires_in type

* feat(alipay): extract errorHandler function to map HTTP error to connector error

* feat(alipay-native): refactor as alipay

* feat(aliyun-dm): use zod parser for type guard and extract error handler

* feat(aliyun-sms): extract error handler

* feat(facebook): use zod parser

* feat(github): use zod parser

* feat(google): use zod parser

* feat(wechat-web): use zod parser and wrap error handler

* feat(wechat-native): use zod parser and wrap error handler
2022-06-10 10:41:45 +08:00
Wang Sijie
9dd73ac142
feat(dashboard): add tooltip to dashboard items (#1089) 2022-06-10 10:34:04 +08:00
Wang Sijie
c4a0d7ae35
feat(console): user logs (#1082) 2022-06-10 10:33:46 +08:00
Darcy Ye
1b8190addf
feat(core): align connector error handler middleware with ConnectorErrorCodes (#1063)
* feat(core): align connector error handler middleware with ConnectorErrorCodes

* feat(phrases,core): fix locale error descriptions
2022-06-10 10:25:28 +08:00
Charles Zhao
bd253e1184
Merge pull request #1088 from logto-io/charles-log-2891-adjust-sdk-reference-sorting-order-in-docs
chore(docs): adjust sdk reference sorting order
2022-06-09 18:49:16 +08:00
Charles Zhao
3db31a0790
Merge pull request #1087 from logto-io/charles-log-2897-bump-react-sdk-0.1.15
refactor: bump react sdk 0.1.15 and use callback function instead of url
2022-06-09 18:48:54 +08:00
Xiao Yijun
407bd6f5bf
fix(console): use small size dropdown in sign in experience preview (#1083) 2022-06-09 18:00:35 +08:00
Wang Sijie
5a073ceb60
feat(console): add date picker in dashboard (#1085) 2022-06-09 16:58:10 +08:00
Darcy Ye
bcc05e521d
feat(core): remove unnecessary variable check and unused route (#1084) 2022-06-09 16:24:47 +08:00
Xiao Yijun
b9ca929ccc
refactor(core): remove unused /users/:userId/custom-data APIs (#1086) 2022-06-09 16:23:56 +08:00
Wang Sijie
5afbe9d70b
feat(console): dashboard skeleton (#1077) 2022-06-09 16:12:10 +08:00
Charles Zhao
270ba8d724
chore(docs): adjust sdk reference sorting order 2022-06-09 15:51:18 +08:00
Charles Zhao
33f8adb2fc
refactor: bump react sdk 0.1.15 and use callback function instead of url 2022-06-09 15:32:43 +08:00
Wang Sijie
c38fab89e1
feat(console): dashboard blocks and curve (#1076) 2022-06-09 14:41:30 +08:00
Xiao Yijun
02f98ed259
docs: google universal connector (#1040) 2022-06-09 13:51:27 +08:00
Xiao Yijun
c489ad004b
refactor(console): icon fill (#1079) 2022-06-09 11:50:07 +08:00
simeng-li
f6f562a8ba
feat(core): add welcome route (#1080)
* feat(core): add welcome route

add welcome route

* fix(ui): fix some koa middleware

fix some koa middleware

* fix(core): ut fix

ut fix

* refactor(core): refactor welcome user guard

refactor welcome user guard
2022-06-09 11:42:52 +08:00
simeng-li
dc7f9ccdb6
refactor(ui): some ui structure refactor (#1069)
some ui structure refactor
2022-06-09 02:41:24 +00:00
simeng-li
abf510eb8a
refactor(ui): refactor ui loading (#1067)
* refactor(ui): refactor ui loading

refactor ui loading

* refactor(ui): refactor use-social-landing

refactor use-social-landing

* fix(ui): remove useless style

remove useless style

* fix(ui): fix typo

fix typo
2022-06-09 10:27:53 +08:00
Charles Zhao
0266c9aaf8
Merge pull request #1075 from logto-io/charles-log-686-log-687-log-689-js-sdk-references
docs(docs): generate js sdk references
2022-06-08 16:00:42 +08:00
Wang Sijie
04211957e1
feat(console): log details page (#1064) 2022-06-08 15:58:50 +08:00
Charles Zhao
8b1e9c2a81
Merge pull request #1070 from logto-io/charles-log-2880-fix-check-demo-app-logic
fix(console): only check demo app existence on get-started page
2022-06-08 14:27:21 +08:00
Charles Zhao
434c4b5148
docs(docs): generate js sdk references 2022-06-08 12:58:22 +08:00
Charles Zhao
fc35c5d8dc
refactor(core): remove unnecessary console.log 2022-06-07 22:46:56 +08:00
Charles Zhao
39b1d74cfd
Merge pull request #1068 from logto-io/charles-log-2740-koaAuth-should-return-403-on-non-admin-role
fix(core): koaAuth should return 403 instead of 401 on non-admin role
2022-06-07 22:43:58 +08:00
Charles Zhao
b0e5ad4632
Merge pull request #1073 from logto-io/charles-log-2458-lazy-load-admin-console-routes
refactor(console): lazy loading admin console routes
2022-06-07 22:43:36 +08:00
Charles Zhao
2db7e6af21
Merge pull request #1072 from logto-io/charles-log-2881-improve-table-error-display
refactor(console): table error display
2022-06-07 22:43:11 +08:00
Charles Zhao
49bd3113fa
Merge pull request #1071 from logto-io/charles-log-2415-support-generic-type-in-select-component
refactor(console): support generic type in select component
2022-06-07 22:39:58 +08:00
Charles Zhao
ed1142e67a
refactor(console): lazy loading admin console routes 2022-06-07 21:33:53 +08:00
Charles Zhao
7789efe889
refactor(console): table error display 2022-06-07 20:16:04 +08:00
Xiao Yijun
bbb80c819a
refactor(console): refactor uriValidator usage (#1051) 2022-06-07 20:07:07 +08:00
Charles Zhao
5b89901b8c
refactor(console): support generic type in select component 2022-06-07 19:36:39 +08:00
Charles Zhao
ee16eeb966
fix(core): koaAuth should return 403 instead of 401 on non-admin role 2022-06-07 19:13:40 +08:00
Charles Zhao
e8ef4b650c
fix(console): only check demo app existence on get-started page 2022-06-07 18:48:34 +08:00
IceHe.xyz
2ba11215ed
feat(core): log error body (#1065) 2022-06-07 10:16:14 +00:00
Xiao Yijun
b2b71898d3
fix(console): select the old primary sign-in method when the primary method change (#1062) 2022-06-07 17:42:20 +08:00
Charles Zhao
0cb407c0dd
Merge pull request #1061 from logto-io/charles-log-2877-stop-swr-retry-on-error-401-and-403
fix(console): stop swr retry on error 401 and 403
2022-06-07 16:51:20 +08:00
simeng-li
db1b6d247a
fix(ui): fix some of the bug bash issues (#1053)
* fix(ui): clear error message when passcode resend

clear error message when passcode resend;

* fix(ui): directly throw account not exist in social bind flow

directly throw account not exsit in social bind flow

* fix(ui): fix toast and loading light border

fix toast and loading light border

* fix(ui): add auto focus to input

add auto focus to input

* style(ui): adjust font & button size

adjust font & button size

* fix(ui): cr fix

cr fix
2022-06-07 08:50:24 +00:00
Charles Zhao
db59e3c6d7
fix(console): stop swr retry on error 401 and 403 2022-06-07 16:45:32 +08:00
Charles Zhao
fbd7ac3a69
refactor(console): hide check demo button if demo app is deleted 2022-06-07 16:39:55 +08:00
Gao Sun
69e32cb646
refactor(core): remove confusing assertThat signature (#1066) 2022-06-07 16:26:04 +08:00
Gao Sun
f2b44b49f9
feat: use user level custom data to save preferences (#1045)
* feat: use user level custom data to save preferences

* fix(console): bugs

* refactor(console): per review

* refactor(core): update return order

* fix(core): error constructor
2022-06-07 16:05:24 +08:00
IceHe.xyz
00e32f08da
docs: api reference (#1048)
* docs: api reference

* chore(docs): add peer denpendencies for redoc-cli
2022-06-07 08:01:07 +00:00
IceHe.xyz
3145c9b348
feat(core): convert route guards to swagger.json (#1047)
* feat(core): convert route guards to swagger.json

* test(core): swaggerRoutes

* refactor(core): simplify buildParameters

* chore(core): describe 'any' data type of OpenAPI schema in zodTypeToSwagger

* chore(core): improve the description 'any' data type of OpenAPI schema in zodTypeToSwagger
2022-06-07 07:24:57 +00:00
Darcy Ye
4cfd5788d2
feat(sms/email-connectors): expose third-party API request error message (#1059) 2022-06-07 14:14:06 +08:00
Xiao Yijun
93916bfa54
fix(console): error message in text input component (#1060) 2022-06-07 04:26:22 +00:00
Darcy Ye
5a5083e863
chore(connector-wechat*): fix wechat connectors error handler, comments and UTs (#1020)
* fix(connector-wechat*): remove unnecessary comments

* fix(connector-wechat*): fix wechat connectors error handler, comments and UTs
2022-06-07 12:06:37 +08:00
Xiao Yijun
458602fd64
feat(console): input error message (#1050) 2022-06-07 11:07:31 +08:00
Charles Zhao
8efea2eddc
Merge pull request #1054 from logto-io/charles-log-2779-demo-app-part-2
feat(demo-app): implement (part 2)
2022-06-07 10:44:49 +08:00
simeng-li
d203f2fa5c
style(ui): input auto fill style (#1055)
input auto fill style
2022-06-07 09:50:56 +08:00
Charles Zhao
85a055efa4
feat(demo-app): implement (part 2)
* dark mode
* i18n
* sign out
* fetch userinfo
2022-06-06 20:17:25 +08:00
Wang Sijie
88e2120e25
fix(console): wrap routes with appcontent (#1052) 2022-06-06 17:14:08 +08:00