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

1210 commits

Author SHA1 Message Date
Gao Sun
877bbc0d2c
fix: revert "chore(deps): update parcel monorepo to v2.6.0" 2022-05-29 14:19:09 +08:00
renovate[bot]
bc8eabfa21
chore(deps): update docusaurus monorepo to v2.0.0-beta.21 (#974)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 14:13:42 +08:00
Gao Sun
a686b1707a
refactor: social connectors (#975)
* refactor: social connectors

* refactor(connectors): remove unused fixme comment

* fix(connectors): test
2022-05-29 05:59:00 +00:00
Charles Zhao
933950cebf
fix(console): error callstack content should not overflow container 2022-05-29 00:17:13 +08:00
Charles Zhao
cf51803946
Merge pull request #977 from logto-io/charles-log-2743-improve-error-handling-in-ac
refactor(console): improve error handling in admin console
2022-05-28 23:50:56 +08:00
Charles Zhao
2cd70efaba
refactor(console): improve error handling in admin console 2022-05-28 23:46:15 +08:00
Gao Sun
8d17f9d73a
Merge pull request #973 from logto-io/gao-update-apple-connector
refactor(connector): remove apple js sdk
2022-05-28 22:08:50 +08:00
renovate[bot]
00b74d5e90
chore(deps): update parcel monorepo to v2.6.0 (#971)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-27 22:02:11 +08:00
Darcy Ye
ae97e7bd27
refactor(core, connector): fix code to fit new ESlint rule (#942)
* refactor(core): separate/refactor connector route UTs

* refactor(connector-wechat*): fix wechat connectors error handler to fit new eslint rule

* refactor(connector-wechat*): fix error handler
2022-05-27 21:21:23 +08:00
simeng-li
545a3929e4
fix(core): fix preview session not found bug (#970)
* fix(core): fix preview session not found bug

fix preview session not found bug

* fix(core): cr fix

cr fix
2022-05-27 19:58:40 +08:00
Gao Sun
d327c6fdf5
fix(connector): test 2022-05-27 19:13:33 +08:00
Gao Sun
52c745d41f
refactor(connector): remove apple js sdk 2022-05-27 19:06:06 +08:00
Charles Zhao
8a07e939a3
Merge pull request #960 from logto-io/charles-log-2197-update-error-boundary-styles
refactor(console): update error boundary styles per latest design
2022-05-27 17:51:13 +08:00
Gao Sun
7400ed8896
feat(connector): apple (#966)
* feat(connector): apple

* feat(connector): apple

* fix(connector): test

* refactor(connector): per review

* refactor(connector): update issue number

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-05-27 15:43:42 +08:00
simeng-li
e8ee5b1149
refactor(ui): refactor social sign-in code flow (#969)
* refactor(ui): refactor social signin callback flow

refactor social signin callback flow

* fix(ui): change file structure

change file structure

* refactor(ui): refactor social sign-in code flow

refactor social sign-in code flow
2022-05-27 04:46:49 +00:00
simeng-li
7015d81378
refactor(ui): refactor social signin callback flow (#967)
* refactor(ui): refactor social signin callback flow

refactor social signin callback flow

* fix(ui): change file structure

change file structure
2022-05-27 12:42:20 +08:00
wangsijie
895a24b41e
fix: alipay native 2022-05-27 11:51:06 +08:00
wangsijie
c248759b53
feat(connector-alipay): parse code from json 2022-05-27 11:23:16 +08:00
Xiao Yijun
16449ad919
chore(google-connector): remove redundant request options (#965) 2022-05-26 18:49:07 +08:00
simeng-li
ab7a35267a
refactor(ui): useSocial hooks refactor (#956)
* refactor(ui): useSocial hooks refactor

useSOcial hooks refactor

* fix(ui): remove unnecsessary loading on setting query

remove unnecessary loading
2022-05-26 18:15:41 +08:00
IceHe.xyz
9d8ef7632b
fix(schemas): remove user foreign key on application id (#964) 2022-05-26 17:44:32 +08:00
Wang Sijie
7bb864e0b7
Merge pull request #959 from logto-io/sijie-log-1995-connector-toop
feat(console): connector detail top card
2022-05-26 17:24:48 +08:00
Wang Sijie
49b7908fb8
fix(console): preview mobile device color (#958) 2022-05-26 17:24:28 +08:00
Wang Sijie
5fc2c991a4
fix(console): add border and shadow to preview (#957) 2022-05-26 17:24:05 +08:00
simeng-li
909535f4af
fix(core): update proxy guard middleware (#963)
update proxy guard middleware
2022-05-26 16:54:40 +08:00
wangsijie
5288d6d6f4
feat(console): connector detail top card 2022-05-26 15:43:56 +08:00
Charles Zhao
b68e6a6235
refactor(console): update error boundary styles per latest design 2022-05-26 15:36:49 +08:00
simeng-li
70d34c49c8
refactor(ui): social container refactor (#955)
* refactor(ui): social container refactor

social container refactor

* refactor(ui): extract socialSignInIconList

extract socialSignInIconList
2022-05-26 13:30:09 +08:00
Xiao Yijun
f01d113445
feat(console): update connector icons (#935) 2022-05-26 13:07:52 +08:00
IceHe.xyz
45a977790e
feat(core): get /dashboard/users/new (#940) 2022-05-26 11:24:52 +08:00
simeng-li
da41369bfd
fix(ui): social bind account should back to sign-in page (#952)
social bind account should back to sign-in page
2022-05-26 10:06:25 +08:00
Wang Sijie
fa14589440
fix(console): adjust preview size (#951) 2022-05-26 10:03:51 +08:00
IceHe.xyz
c4bb0de7d4
feat(core): get /dashboard/users/total (#936)
* feat(core): get /dashboard/users/total

* test(core): get /dashboard/users/total
2022-05-25 16:54:21 +08:00
simeng-li
4abcda6820
feat(ui): add mobile terms of use iframe modal (#947)
add mobile terms of use iframe modal
2022-05-25 16:42:18 +08:00
Wang Sijie
d8c8c041b9
fix(console): hide split line when username is empty (#949) 2022-05-25 16:35:49 +08:00
Charles Zhao
281d6693d4
Merge pull request #946 from logto-io/charles-log-2686-improve-delete-confirm-experience
refactor(console): improve delete confirm experience by auto focusing input
2022-05-25 16:24:46 +08:00
Charles Zhao
147b27c165
refactor(console): refactor integration guide to support native SDKs 2022-05-25 15:52:52 +08:00
Charles Zhao
423b1a98b8
feat(console): add integration guide for vue sdk 2022-05-25 15:52:51 +08:00
Charles Zhao
9fb30871f1
Merge pull request #937 from logto-io/charles-log-2590-add-ac-integration-guide-for-vue-sdk
feat(console): add integration guide for vue sdk
2022-05-25 15:49:44 +08:00
Wang Sijie
077ed120f0
fix(core): prevent session lost for bind social (#948) 2022-05-25 15:26:40 +08:00
Charles Zhao
edd04c91d4
Merge pull request #928 from logto-io/charles-log-2672-refine-react-sdk-docs
docs: refine react sdk documentation content
2022-05-25 15:04:29 +08:00
Charles Zhao
4931923e1c
feat(console): add integration guide for vue sdk 2022-05-25 15:04:07 +08:00
Charles Zhao
7ed65b5d3d
docs: refine react sdk documentation content 2022-05-25 15:00:45 +08:00
IceHe.xyz
bddf47bf90
feat(core): get /logs/:id (#934) 2022-05-25 14:59:02 +08:00
Charles Zhao
2a1d46da6f
docs: integrate Vue SDK 2022-05-25 14:41:36 +08:00
simeng-li
d60748b20c
refactor(ui): refactor some component structure (#943)
* refactor(ui): refactor some component structure

refactor some component structure

* refactor(ui): relocate terms of use modal

relocate terms of use modal
2022-05-25 14:24:40 +08:00
Darcy Ye
96796203dd
feat(native-connectors): pass random state to native connector sdk (#922)
* feat(native-connectors): pass random state to native connector SDK

* refactor(connector-*): update type GetAuthorizationUri

* refactor(core): fix input params order
2022-05-25 14:23:53 +08:00
Charles Zhao
3d259cbcf9
Merge pull request #927 from logto-io/charles-log-2671-add-vue-sdk-integration-guide-in-docs
docs: integrate Vue SDK
2022-05-25 14:19:54 +08:00
Charles Zhao
9e0e388a28
refactor(console): improve delete confirm experience 2022-05-25 13:46:41 +08:00
IceHe.xyz
bf6e08c372
feat(schemas): create log indices on application id and user id (#933) 2022-05-25 12:59:35 +08:00
Charles Zhao
637b63e73d
docs: integrate Vue SDK 2022-05-25 12:28:25 +08:00
Xiao Yijun
c3c2cc770d
test(connector-github): convert null to undefined in user info response (#945) 2022-05-25 03:32:04 +00:00
Xiao Yijun
c325cf60f9
fix(connector-github): convert null value to undefined in user info response (#944) 2022-05-25 11:12:39 +08:00
simeng-li
48607219f5
style(ui): implement dynamic color theme (#938)
* style(ui): implement dynamic color theme

implement dynamic color theme

* fix(ui): avoid precision issue

avoid precision issue

* fix(ui): fix typo

* fix(ui): fix typo

fix typo
2022-05-25 09:58:54 +08:00
simeng-li
7a17d41acf
fix(ui): fix social bug (#939)
* fix(ui): fix social bug

fix social bug

* fix(ui): align social bind account api path

align social bind account api path
2022-05-24 20:48:12 +08:00
simeng-li
8060ec4941
refactor(ui): add preview social connectors filter (#932)
* refactor(ui): add preview social connectors filter

add preview social connectors filter

* fix(ui): typo fix

typo fix
2022-05-24 16:43:14 +08:00
simeng-li
cf360b9c15
feat(core): add admin role validation to the koaAuth (#920)
* feat(core): add admin role validation to the koaAuth

add admin role validation to the koaAuth

* fix(core): cr fix

cr fix
2022-05-24 16:42:28 +08:00
Wang Sijie
5b44b7194e
feat(core): serve connector logo (#931) 2022-05-24 13:54:37 +08:00
Darcy Ye
054b0f7b6a
feat: remove target, platform from connector schema and add id to metadata (#930)
* feat(core,schema,connectors): remove target,platform form connector schema and add id to metadata

* feat(schema,ui,console): unwrap ConnectorMetadata in ConnectorDTO

* feat(schema,ui,console): connector id use dashline instead of underscore

* feat(connector-alipay*): fix typos

* feat(connector-alipay*): remove unnecessary type declaration
2022-05-24 11:39:44 +08:00
simeng-li
cd18a7a046
refactor(ui): use postMessage on preview (#929)
* refactor(ui): use postMessage on preview

use postMessage on preview

* fix(ui): cr fix

cr fix

* fix(ui): cr fix

cr fix

* fix(ui): cr fix

cr fix
2022-05-24 11:38:20 +08:00
Darcy Ye
10d30ee309
refactor(core): remove getConnectorInstanceByType (#921)
* feat(core): remove getConnectorInstanceByType

* feat(connectors): add UTs
2022-05-23 23:39:36 +08:00
Gao Sun
43d4fd23fd
refactor: remove AC client dependency (#917)
* refactor: remove AC client dependency

* refactor: admin console URL and management API indicator

* fix: typo
2022-05-23 11:18:48 +00:00
Wang Sijie
57952e4ddc
refactor(console): connector platform icon (#923) 2022-05-23 17:58:46 +08:00
Wang Sijie
16ec018b71
fix: connectors platform (#925) 2022-05-23 17:54:05 +08:00
Xiao Yijun
27d81face1
refactor(connector): connector constructor (#926) 2022-05-23 17:49:29 +08:00
Darcy Ye
a3a7c52a91
feat(connectors): add logo for connectors (#914) 2022-05-23 04:44:42 +00:00
simeng-li
91eabcd9f7
style(ui): main flow style update (#912)
main flow style update
2022-05-23 10:32:33 +08:00
Xiao Yijun
fe99928a41
fix(core): revert add custom claims to id token (#919)
This reverts commit 9ccda932a4.
2022-05-22 03:33:13 +00:00
simeng-li
207c404aeb
feat(core): empty path sould redirect to the console page (#915)
* feat(core): empty path sould redirect to the console page

empty path should redirect to the console page

* fix(core): remove console log

remove console log

* fix(core): cr fix

cr fix
2022-05-22 10:32:04 +08:00
IceHe.xyz
5d7f2e436c
refactor(core,schemas): remove passcode in logs (#916) 2022-05-20 17:04:22 +00:00
Xiao Yijun
9ccda932a4
feat(core): add custom claims to id token (#911) 2022-05-20 22:37:47 +08:00
Xiao Yijun
d65999514f
fix(core): update role names (#913) 2022-05-20 17:59:55 +08:00
simeng-li
5e0c39e516
fix(ui): hide social signin method if connectors are empty (#909)
hide social signin method if connectors are empty
2022-05-20 15:58:02 +08:00
IceHe.xyz
e5196fc31d
feat(core): grantRevokedListener for logging revocation of access and refresh token (#900)
* feat(core): grantRevokedListener for logging access and refresh token revocation

* chore(core): improve description of grantRevokedListener test cases

* refactor(core): extract addOidcEventListeners
2022-05-20 13:54:05 +08:00
Darcy Ye
9589aeafec
feat(connector-alipay-native): add Alipay Native connector (#873)
* feat(connector-alipay-native): add Alipay Native connector

* feat(connector-alipay-native): add Alipay Native connector to initialization
2022-05-20 13:40:40 +08:00
Gao Sun
3daf574946
test: allow JS in tests (#903) 2022-05-20 13:02:36 +08:00
simeng-li
ad674c30ca
refactor(ui): refactor native supported social connectors jsbridge (#907)
* refactor(ui): refactor native supported social connectors jsbridge api schema

refactor native supported social connectors jsbridge api schema

* fix(ui): fix typo

fix typo
2022-05-20 04:43:57 +00:00
Wang Sijie
540bf9c055
feat(console): preview device wrapper (#896) 2022-05-20 10:58:18 +08:00
renovate[bot]
e5cb163dc2
chore(deps): update dependency @shopify/jest-koa-mocks to v4 (#904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 10:41:09 +08:00
Gao Sun
11d9488f4b
refactor(core): update management API indicator (#906) 2022-05-20 10:23:13 +08:00
Darcy Ye
d6de6a8e73
feat(connector-types/wechat-native): fix wechat native getAuthUri (#895)
* feat(connector-types/wechat-native): fix wechat native getAuthUri

* feat(connector-wechat-native): fix
2022-05-20 10:22:12 +08:00
simeng-li
67f080e862
feat(core): add phone number and email mask (#891)
* feat(core): add phone number and email mask

add phone number and email mask

* fix(core): fix typo

fix typo
2022-05-20 10:04:52 +08:00
simeng-li
9859213e19
refactor(ui): refactor terms modal as a promisified function (#897)
refactor terms modal as a promisified function
2022-05-20 09:59:40 +08:00
Darcy Ye
d7ce13d260
feat(connector-twilio-sms): add twilio sms connector (#881)
* feat(connector-twilio-sms): add twilio sms connector

* feat(connector-twilio-sms): add twilio sms connector to initialization
2022-05-20 09:56:16 +08:00
Gao Sun
17c63cd2d9
feat(core): cookie keys configuration (#902)
* feat(core): cookie keys configuration

* refactor: improved wording

* refactor: improved wording

* fix(core): test
2022-05-20 00:08:33 +08:00
Charles Zhao
b7ca3a1f14
Merge pull request #901 from logto-io/charles-fix-sign-in-exp-guide-header-background-color
style(console): fix header background color in sign-in experience guide
2022-05-19 23:35:54 +08:00
Charles Zhao
8c77e65cb1
Merge pull request #898 from logto-io/charles-log-2578-improve-scrollbar-styles
style(console): improve scrollbar styles, leaving 4px margin on both sides
2022-05-19 23:26:43 +08:00
Charles Zhao
f943768195
style(console): fix header background color in sign-in experience guide 2022-05-19 23:23:51 +08:00
Charles Zhao
2568d80e2a
Merge pull request #893 from logto-io/charles-fix-dropdown-component-corners
style(console): fix overflow dropdown corners
2022-05-19 22:15:45 +08:00
IceHe.xyz
797344f6f5
feat(core): grantErrorListener for logging token exchange error (#894)
* feat(core): grantErrorListener for logging token exchange error

* refactor(core): extract getLogType

* refactor(core): oidc provider event listeners will skip logging if found unexpected grant_type

* test(core): oidc provider event listeners will skip logging if found unexpected grant_type
2022-05-19 19:48:34 +08:00
Charles Zhao
3e7ff0cedf
style(console): improve scrollbar styles, leaving 4px margin on both sides 2022-05-19 19:41:13 +08:00
Wang Sijie
97e6bdd8aa
feat(console): connector logo and platform icon (#892) 2022-05-19 17:31:32 +08:00
Charles Zhao
863b3a9286
style(console): fix overflow dropdown corners 2022-05-19 15:06:34 +08:00
simeng-li
243426882e
style(ui): web ui refinement (#879)
* style(ui): web ui refinement

web ui refinement

* style(ui): shadow update

shadow update
2022-05-19 14:21:38 +08:00
simeng-li
85e475d85e
refactor(ui): rename native supported connctors param name (#888)
rename native supported connctors param name
2022-05-19 14:21:21 +08:00
simeng-li
9fa13a24ae
feat(ui): add darkmode logo (#880)
* feat(ui): add darkmode logo

add darkmode logo

* fix(ui): cr fix

cr fix
2022-05-19 14:21:14 +08:00
Wang Sijie
a2cd983d97
fix(console): socialConnectors in preview data (#862)
* fix(console): socialConnectors in preview data

* fix: cr
2022-05-19 14:05:43 +08:00
Wang Sijie
65fb36ce3f
feat(core,console): connector platform tabs (#887)
* feat(core,console): connector platform tabs

* fix: cr
2022-05-19 06:05:31 +00:00
Charles Zhao
653d3eefd0
Merge pull request #878 from logto-io/charles-log-2553-improve-dark-theme-styles-for-toast
refactor(console): improve dark theme styles for toast
2022-05-19 14:04:28 +08:00
Charles Zhao
42836d9ef5
Merge pull request #885 from logto-io/charles-fix-shadow-style
style(console): fix the shadow-2 style
2022-05-19 14:01:04 +08:00
Wang Sijie
8cf72d9d6e
fix(console): back to social connectors (#889) 2022-05-19 13:59:17 +08:00
IceHe.xyz
ed5f370bdb
refactor(core): remove SignInSocial log from POST /session/sign-in/social (#890) 2022-05-19 13:51:54 +08:00
Xiao Yijun
b2ac2c14ee
feat(core): disable introspection feature (#886) 2022-05-19 13:50:07 +08:00
IceHe.xyz
e9e7efdc92
refactor(core): move GET /sign-in-settings out of sessionRouter (#875) 2022-05-19 11:24:42 +08:00
IceHe.xyz
3b048a80a3
feat(core,schemas): log token exchange success (#809) 2022-05-19 11:24:26 +08:00
Charles Zhao
6ec3b774ff
style(console): fix the shadow-2 style 2022-05-19 10:22:52 +08:00
Charles Zhao
4ba23085db
Merge pull request #882 from logto-io/charles-log-2558-log-2559-improve-dark-theme-styles
refactor(console): improve dark theme styles
2022-05-19 10:02:19 +08:00
Charles Zhao
03354056b9
Merge pull request #883 from logto-io/charles-improve-horizontal-scrollbar-styles
fix(console): improve horizontal scrollbar thumb styles
2022-05-19 10:02:05 +08:00
Charles Zhao
d0ec8a7a94
Merge pull request #884 from logto-io/charles-log-2479-remove-table-shadow
style(console): remove table shadows
2022-05-19 09:56:19 +08:00
simeng-li
e5fa1df1fa
style(ui): some desktop ui component style update (#877)
some desktop ui component style update
2022-05-19 09:50:03 +08:00
Charles Zhao
6eb2071a9a
style(console): remove table shadows 2022-05-19 09:41:46 +08:00
Charles Zhao
1b88de4922
refactor(console): improve dark theme styles 2022-05-18 23:55:53 +08:00
Charles Zhao
818b1d7cc7
fix(console): improve horizontal scrollbar thumb styles 2022-05-18 23:39:06 +08:00
Charles Zhao
c790003fc8
refactor(console): improve dark theme styles for toast 2022-05-18 22:49:01 +08:00
simeng-li
542d878231
fix(ui): fix undefined dark-primary-color bug (#876)
fix undefined dark-primary-color bug
2022-05-18 10:06:30 +00:00
simeng-li
0f2827ccb8
feat(ui): add global primary color settings (#871)
add global primary color settings
2022-05-18 15:10:14 +08:00
simeng-li
9c1e9ef7ed
fix(ui): fix count down bug (#874)
fix count down bug
2022-05-18 15:09:16 +08:00
Xiao Yijun
85a407c5f6
feat: update field check rules (#854) 2022-05-18 04:12:51 +00:00
Charles Zhao
93b4966f59
Merge pull request #872 from logto-io/charles-log-2508-upgrade-react-sdk-0.1.7-in-ac
fix(console): upgrade react-sdk and integrate session expired page
2022-05-18 12:03:44 +08:00
Xiao Yijun
9f94f16be7
feat(console): user icon (#857) 2022-05-18 03:52:35 +00:00
Darcy Ye
b887655827
feat(connector-sendgrid-email): add sendgrid email connector (#850)
* feat(connector-sendgrid-mail): add SendGrid Mail connector

* feat(core): add SendGrid Mail connector to initializer and fix usageType
2022-05-18 11:39:36 +08:00
Wang Sijie
664a2180a5
feat(console): dark logo (#860) 2022-05-18 10:25:20 +08:00
Charles Zhao
a814e2c829
fix(console): upgrade react-sdk 0.1.7 2022-05-18 10:13:31 +08:00
simeng-li
1661c8121a
fix(ui): ui refinement (#855)
* fix(ui): ui refinement

ui refinement

* fix(ui): fix mobile page jumpping issue

fix mobile page jumpping issue
2022-05-18 10:03:37 +08:00
renovate[bot]
b5bdfcbc5b
chore(deps): update dependency @silverhand/jest-config to ^0.14.0 (#869)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 13:33:53 +00:00
renovate[bot]
33baaa8c36
chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0 (#797)
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0

* chore(deps): upgrade stylelint to v14

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-17 13:20:17 +00:00
simeng-li
82674eea88
fix(core): disabled session check for preview mode (#867)
disabled session check for preview mode
2022-05-17 19:34:38 +08:00
renovate[bot]
8a012a393d
chore(deps): update dependency @silverhand/ts-config to ^0.14.0 (#859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 11:04:12 +00:00
renovate[bot]
83dd78e847
chore(deps): update dependency @silverhand/ts-config-react to ^0.14.0 (#863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:48:33 +00:00
renovate[bot]
3316bbf429
chore(deps): update dependency @silverhand/eslint-config to ^0.14.0 (#866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:42:15 +00:00
renovate[bot]
66b57ad4d5
chore(deps): update dependency @silverhand/eslint-config to ^0.13.0 (#858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 18:07:13 +08:00
Gao Sun
f4526a9a3f
refactor: use @silverhand/jest-config (#861) 2022-05-17 17:32:41 +08:00
Wang Sijie
127664a62f
feat(core,console): social connector targets (#851)
* feat(core,console): social connector targets

* fix: add test
2022-05-17 17:09:42 +08:00
Gao Sun
3031e3a6f1
test: setup integration test package (#853) 2022-05-17 08:59:57 +00:00
Wang Sijie
002f839e31
feat(console): add prevew in guide modal (#839) 2022-05-17 08:59:08 +00:00
simeng-li
d8c62c14a6
fix(ui): relocate svg jest config (#856)
relocate svg jest config
2022-05-17 16:32:02 +08:00
simeng-li
ef19fb3d27
feat(ui): implement preview mode (#852)
* feat(ui): implement preview mode

implement preview mode

* fix(ui): remove unused dependency

remove unused dependency
2022-05-17 14:01:36 +08:00
Charles Zhao
4a7b0abbe3
Merge pull request #847 from logto-io/charles-log-2489-improve-page-error-handling
fix(console): improve swr error handling to avoid app crash
2022-05-17 10:53:44 +08:00
simeng-li
58e07fbd79
refactor(ui): add svg transformer (#849)
* refactor(ui): introduce svgr transformer

use svgr transformer to translate svg files into react component direactly

* fix(ui): fix stroke color

fix stroke color

* fix(ui): remove unused classname

remove unused classname
2022-05-17 02:26:55 +00:00
simeng-li
88600c012c
fix(ui): add default success true for no response api (#842)
* fix(ui): add default success true for no response api

add default success true for no response api

* fix(ui): code name

code name

* fix(ui): fix test

fix test
2022-05-17 10:18:09 +08:00
Wang Sijie
977b75b858
fix(console): reduce welcome image size (#844) 2022-05-17 10:11:46 +08:00
Wang Sijie
070a52c60a
fix(console): open new tab for setup connectors (#843) 2022-05-17 10:11:15 +08:00
Wang Sijie
808a676da6
fix(console): align usage of customizeSignInExperience (#837) 2022-05-17 10:10:54 +08:00
Xiao Yijun
373d349db7
feat(console): add app icon and api icon (#830) 2022-05-16 21:23:20 +08:00
Charles Zhao
da77a1d1b5
fix(console): improve swr error handling to avoid app crash 2022-05-16 19:57:31 +08:00
Charles Zhao
d77e34d43c
style(console): add min & max widths to center stage page contents 2022-05-16 18:52:21 +08:00
simeng-li
5d34442018
fix(ui): fix sign-in not found bug (#841)
fix sign-in not found bug
2022-05-16 06:59:38 +00:00
IceHe.xyz
4ffd4c0480
feat(core): get /logs (#823)
* feat(core): get /logs

* chore(core): rename userRequest to logRequest in UTs
2022-05-16 06:43:33 +00:00
IceHe.xyz
82c7138683
feat(core): log sending passcode with connector id (#824) 2022-05-16 06:40:51 +00:00
Charles Zhao
32facc6e89
fix(console): fix infinite loading issue when not authenticated 2022-05-16 14:18:58 +08:00
Darcy Ye
cd4650508f
fix(UI): fix connector target and id used in UI (#838)
* fix(ui): fix ui connector type

* fix(ui): fix connector target and id usage
2022-05-16 13:56:34 +08:00
simeng-li
36922b343f
feat(ui): add social dropdown list for desktop (#834)
* feat(ui): add social dropdown list for desktop

add social dropdown list for desktop

* fix(ui): cr fix

cr fix

* fix(ui): remove useless code

remove useless code
2022-05-16 05:53:06 +00:00
simeng-li
be8b8628ba
fix(ui): add body background color (#831)
add body background color
2022-05-16 05:48:33 +00:00
simeng-li
e2217584a4
fix(ui): fix create account page reload issue (#832)
fix create account page reload issue
2022-05-16 05:47:09 +00:00
simeng-li
78d3bb6045
refactor(ui): add session guard to ui page (#803)
* refactor(ui): add session guard to ui page

add session guard to ui page

* test(core): fix ut

fix ut

* fix(core):  fix typo

fix typo
2022-05-16 05:43:23 +00:00
Charles Zhao
4020096319
Merge pull request #825 from logto-io/charles-log-2423-add-page-skeletons-for-tables-and-details
feat(console): add page loading skeleton to data table and detail pages
2022-05-16 13:20:18 +08:00
Wang Sijie
c3785d86cd
feat(console): contact us icon and texts (#836) 2022-05-16 13:01:03 +08:00
simeng-li
5880d1965a
style(ui): rest components style update (#818)
* style(ui): rest components style update

desktop component style update

* fix(ui): fix un-exist classname

fix un-exist classname

* fix(ui): cr fix

cr fix
2022-05-16 02:33:25 +00:00
Charles Zhao
c7d43ee823
Merge pull request #835 from logto-io/charles-log-2452-fix-long-text-wrapping-issue-in-code-editor
fix(console): long text should wrap in code editor
2022-05-16 00:12:07 +08:00
Charles Zhao
cbe2497504
fix(console): long text should wrap in code editor 2022-05-15 22:56:46 +08:00
Wang Sijie
628e025a15
fix(console): use native color picker style (#819) 2022-05-15 16:27:59 +08:00
IceHe.xyz
38ceae7853
fix(core): catch interaction not found error (#827) 2022-05-15 13:20:07 +08:00
Charles Zhao
2a642f4e21
Merge pull request #826 from logto-io/charles-log-2353-refine-scrollbar-styles-and-positions
refactor(console): refine scrollbar styles and positions
2022-05-15 12:54:07 +08:00
simeng-li
9e9e8cdb50
style(ui): button & confirm modal (#817)
* style(ui):  button & confirm modal

button and confirm modal desktop styling

* fix(ui): fix typo

* fix(ui): fix image alt

fix image alt
2022-05-15 03:03:19 +00:00
simeng-li
1173ad1b8c
style(ui): add desktop styling (#816)
* style(ui): add desktop styling

add desktop styling

* fix(ui): fix typo

fix typo
2022-05-15 02:54:29 +00:00
simeng-li
0b2ad91357
style(ui): terms of use checkbox ui (#815)
terms of use checkbox ui
2022-05-15 02:46:08 +00:00
simeng-li
4e2e8990bb
style(ui): container style adjustment (#814)
* style(ui): container style adjustment

container style adjustment

* fix(ui): cr fix

cr fix
2022-05-15 10:37:12 +08:00
Charles Zhao
f30994ef5c
Merge pull request #829 from logto-io/charles-log-2190-improve-dark-theme-styles
refactor(console): adjust dark theme styles per updated UX design
2022-05-14 21:59:23 +08:00
Charles Zhao
8ecf800f90
chore: use cross-env to make 'pnpm dev' compatible on windows 2022-05-14 21:09:31 +08:00
Charles Zhao
2a738376ea
refactor(console): adjust dark theme styles per updated UX design 2022-05-14 20:51:55 +08:00
Charles Zhao
b381cc62aa
refactor(console): refine scrollbar styles and positions 2022-05-13 22:01:10 +08:00
Charles Zhao
9b8658d9c1
feat(console): add page loading skeleton to data table and detail pages 2022-05-13 21:30:00 +08:00
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
simeng-li
907a63b52a
refactor(ui): add ui social connector filters (#822)
* refactor(ui): add ui social connector filters

add ui social connector filters

* refactor(ui): add some comments

add some comments
2022-05-13 11:04:32 +00:00
Darcy Ye
ab6c124620
fix(connector-wechat-native): fix wechat-native target (#820) 2022-05-13 09:34:42 +00:00
Charles Zhao
58dba811d8
Merge pull request #808 from logto-io/charles-log-2416-hide-get-started-page
feat(console): hide get-started page on clicking 'Hide this' button
2022-05-13 17:12:45 +08:00
Charles Zhao
54aa9117ce
Merge pull request #811 from logto-io/charles-log-2375-page-skeleton-animation
feat(console): page skeleton animation mixin
2022-05-13 17:12:01 +08:00
Darcy Ye
7a922cbd33
feat(core): add socialConnectors details for get sign-in-settings (#804)
* feat(core,ui): add social connector info to get-settings api

* refactor(connectors): rename api
2022-05-13 07:59:07 +00:00
Darcy Ye
357fb8dc40
refactor(connectors): reorganize connectors (#807) 2022-05-13 14:22:37 +08:00
Darcy Ye
0ea55134a9
feat(core): expose connector and metadata from sendPasscode (#806) 2022-05-13 14:17:15 +08:00
Wang Sijie
5b2fe32919
fix(console): tip icon color (#805) 2022-05-13 14:03:37 +08:00
Xiao Yijun
2e410e7c16
fix(console): update shadow styles (#813) 2022-05-13 13:02:04 +08:00
Xiao Yijun
b14a705bd3
refactor(console): use switch-case to make the select aligment logic more readable (#812) 2022-05-13 12:13:44 +08:00
Xiao Yijun
c6b44eea87
refactor(console): use-position in tooltip (#802) 2022-05-13 03:54:10 +00:00
Charles Zhao
de97bb53f5
feat(console): page skeleton animation mixin 2022-05-13 10:48:25 +08:00
Xiao Yijun
bc19a298f8
fix(console): typo (#810) 2022-05-13 08:52:40 +08:00
Charles Zhao
7fd42fdaa1
feat(console): hide get-started page on clicking 'Hide this' button 2022-05-13 00:43:24 +08:00
Wang Sijie
6ab54c968b
feat(console): sign in experience preview (#783) 2022-05-12 16:22:38 +08:00
Charles Zhao
2b5254369b
Merge pull request #798 from logto-io/charles-log-2383-implement-get-started-progress-indicator
feat(console): implement get-started progress indicator component
2022-05-12 16:17:55 +08:00
simeng-li
343d37cfec
style(ui): refactor page level styling for both mobile & desktop (#795)
* style(ui): refactor page level stylign for both mobile & desktop

 refactor page level stylign for both mobile & desktop

* fix(ui): center align create account

cernter align create account

* fix(ui): ci fix

ci fix

* fix(ui): cr fix

cr fix

* feat(ui): content  update

content update
2022-05-12 07:40:02 +00: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
f76457c286
Merge pull request #801 from logto-io/charles-log-2406-resolve-code-editor-js-warning
fix(console): resolve js warning reported in code editor component
2022-05-12 10:39:35 +08:00
Charles Zhao
c5d14887d4
fix(console): resolve js warning reported in code editor component 2022-05-11 21:29:16 +08:00
Charles Zhao
ed9387bdda
feat(console): implement get-started progress indicator component 2022-05-11 21:17:57 +08:00
Renovate Bot
5044eee783
chore(deps): update dependency @silverhand/ts-config-react to ^0.12.0 2022-05-11 12:43:28 +00:00
Renovate Bot
d36abe1ee5
chore(deps): update dependency @silverhand/ts-config to ^0.12.0 2022-05-11 12:26:08 +00:00
Renovate Bot
d5ef7ddbe3
chore(deps): update dependency @silverhand/eslint-config to ^0.12.0 2022-05-11 11:48:42 +00:00
Wang Sijie
74f2940398
fix(core): social user info in session (#794) 2022-05-11 10:01:17 +00:00
simeng-li
13cd2c100e
fix(ui): fix typo (#792)
fix typo
2022-05-11 17:59:39 +08:00
simeng-li
48de9c072b
fix(ui): catch request exceptions with no response body (#790)
catch request exceptions with no response body
2022-05-11 17:59:24 +08: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]
1872cfcc0f
chore(deps): update dependency @silverhand/eslint-config-react to ^0.11.0 (#776)
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.11.0

* chore: add comments

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-11 06:32:03 +00: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
Wang Sijie
1c7de47a93
feat(console): form field tooltip (#786) 2022-05-11 11:52:13 +08:00
simeng-li
5c02ec3bda
feat(ui): init destop styling foundation (#787)
* feat(ui): init  destop styling foundation

init desktop styling

* fix(ui): cr fix

* style(ui): enable mobile and desktop global class

enable mobile and desktop global class
2022-05-11 03:30:35 +00:00
Wang Sijie
b8143ff1a7
feat(console): autofocus in create modal (#785) 2022-05-10 16:42:34 +08:00
Xiao Yijun
18ed453628
docs: android sdk integration guide (zh_CN) (#770) 2022-05-10 08:17:58 +00:00
Xiao Yijun
20e839ed96
docs: android sdk api reference(zh-cn) (#768) 2022-05-10 15:58:14 +08:00
Xiao Yijun
418b4d8a6f
docs: kotlin core api reference(zh-cn) (#762) 2022-05-10 15:44:26 +08:00
Gao Sun
1a664beeee
ci: init integration test (#771)
* ci: init integration test

* ci: complete integration test setup

* ci: remove pull request trigger
2022-05-10 15:29:53 +08:00
Charles Zhao
979076769a
feat(console): implement get started page 2022-05-10 12:47:35 +08:00
simeng-li
2161856bcd
fix(ui): fix social native interaction bug (#772)
* fix(ui): fix social native sdk data namespace

fix social native sdk data namespace

* refactor(ui): refactor nativeSDK callbackUrl

 refactor nativeSDK callbackUrl
`

* refactor(ui): return result from api

return result from api

* fix(ui): should not show error message on social bind account

should not show error message on social bind account
2022-05-10 12:20:15 +08:00
Charles Zhao
70a66c8c00
Merge pull request #778 from logto-io/charles-refactor-guide-pages
refactor(console): refactor guide pages
2022-05-10 11:01:44 +08:00
Charles Zhao
7648a21fd4
Merge pull request #773 from logto-io/charles-log-2304-replace-monaco-editor-with-prism-highlighter
refactor(console): replace monaco editor with prism highlighter
2022-05-10 11:00:17 +08:00
Charles Zhao
6bdf6cd928
refactor(console): refactor guide pages 2022-05-10 01:04:15 +08:00
Renovate Bot
43db7374c9
chore(deps): update dependency @silverhand/ts-config to ^0.11.0 2022-05-09 16:15:27 +00:00
Charles Zhao
4d20ca3557
Merge pull request #780 from logto-io/renovate/silverhand-ts-config-react-0.x
chore(deps): update dependency @silverhand/ts-config-react to ^0.11.0
2022-05-10 00:11:08 +08:00
Gao Sun
6a5e5799d0
refactor(core): update app running info (#765)
* refactor(core): update app running info

* refactor(core): per review
2022-05-09 16:03:06 +00:00
Renovate Bot
3d0001ea5a
chore(deps): update dependency @silverhand/ts-config-react to ^0.11.0 2022-05-09 15:35:56 +00:00
Charles Zhao
1f55f779e6
refactor(console): replace monaco editor with prism highlighter 2022-05-09 22:05:15 +08:00
Gao Sun
9f3b7e4cd6
docs: use docs only mode (#766)
* docs: use docs only mode

* fix: link
2022-05-09 20:51:13 +08:00
Gao Sun
24e7b94f08
docs: update content (#769) 2022-05-09 20:50:08 +08:00
simeng-li
dd8b767130
feat(console): add drawer animation (#760)
add drawer animation
2022-05-09 15:54:54 +08:00
simeng-li
6e27c1780d
refactor(ui): refactor ui style foundations (#761)
refactor ui style foundations
`
2022-05-09 15:42:48 +08:00
simeng-li
7e6a8d4156
refactor(ui): main flow ui refine part 2 (#742)
* refactor(ui): main flow ui refine

main flow ui refine

* fix(ui): cr fix

cr fix

* fix(ui): fix confirm password border styling

fix confirm password border styling
2022-05-09 15:26:45 +08:00
simeng-li
da3de542d2
refactor(ui): social sign-in api update (#763)
social sign-in api update
2022-05-09 15:17:42 +08:00
Gao Sun
d78c115db1
refactor(schemas): remove src/db-entries from source control (#764) 2022-05-09 15:04:36 +08:00
Gao Sun
6d7282646f
docs: rephrase React SDK integration guide (#757)
* docs: rephrase React SDK integration guide

* fix: nit
2022-05-09 13:02:42 +08:00
Xiao Yijun
2d09553561
docs: downgrade docusaurus to v2.0.0-beta.18 (#759) 2022-05-09 12:52:50 +08:00
Charles Zhao
0fa5f9db19
Merge pull request #753 from logto-io/charles-log-2331-improve-tabs-in-guide-mdx
refactor(console): improve tabs used in mdx files
2022-05-07 17:54:23 +08:00
Charles Zhao
56d610bae9
refactor(console): improve tabs used in mdx files 2022-05-07 17:47:28 +08:00
Wang Sijie
cd0313065c
feat(console): connector warnings in sign in methods (#710)
* feat(console): connector warnings in sign in methods

* fix: cr
2022-05-07 17:46:22 +08:00
Charles Zhao
def900b3fa
Merge pull request #751 from logto-io/charles-separate-mdx-usages-from-docs
refactor(console): separate mdx usages from docs
2022-05-07 17:42:31 +08:00
Charles Zhao
c1b6c32d24
refactor(console): separate mdx usages from docs 2022-05-07 17:29:38 +08:00
Gao Sun
c535d90ff1
docs: integrate iOS SDK (#748)
* docs: integrate iOS SDK

* fix: change title

* docs: remove unused import
2022-05-07 09:13:29 +00:00
Charles Zhao
631a8f0f49
Merge pull request #754 from logto-io/charles-log-2344-remove-second-param-from-unit-mixin
refactor(console): remove second param from 'unit' mixin
2022-05-07 16:39:39 +08:00
Wang Sijie
a1ceea0685
feat(console): sign in methods change alert (#701) 2022-05-07 16:32:35 +08:00
Wang Sijie
d815d96f1f
feat(console): sign in experience welcome page (#746) 2022-05-07 16:08:09 +08:00
Wang Sijie
6148cbd6f9
fix(console): change application column name (#743) 2022-05-07 16:07:11 +08:00
Xiao Yijun
04fc5d48e9
feat(console): multi-text-input delete reminder (#752) 2022-05-07 07:50:36 +00:00
Charles Zhao
7a163a4994
refactor(console): remove second param from 'unit' mixin 2022-05-07 15:35:11 +08:00
simeng-li
0f5491b392
fix(console): prevent autofill background color (#749)
prevent autofill background color
2022-05-07 11:43:31 +08:00
Darcy Ye
e71cf7ea67
feat(core): separate social sign-in api (#735)
* feat(core): separate social sign-in api

* feat(core): rename APIs
2022-05-07 10:50:37 +08:00
simeng-li
5db628b716
refactor(ui): refactor 404 page (#727)
* refactor(ui): refine page layout

refine page layout

* fix(ui): fix content element height issue

fix content elment height issue

* refactor(ui): refactor 404 page

refactor 404 page

* test(ui): add 404 test

add 404 page test

* refactor(ui): rename errorPage
rename ErrorPage
2022-05-07 10:29:19 +08:00
Charles Zhao
e627e9a4eb
refactor(console): align with new mdx content from docs (#747) 2022-05-06 23:06:28 +08:00
Wang Sijie
08904b8f93
feat(core): add experience configs (#745) 2022-05-06 17:59:18 +08:00
Gao Sun
c1766bf984
docs: reorg integrate SDK (#740)
* docs: reorg integrate SDK

* docs: update alias

* docs: fix link
2022-05-06 17:49:13 +08:00
Charles Zhao
749c820cc2
Merge pull request #741 from logto-io/charles-fix-settings-api-401
fix(console): call settings API after user authentication
2022-05-06 17:26:54 +08:00