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

999 commits

Author SHA1 Message Date
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
Xiao Yijun
6ac70c5eb7
refactor(core): guard phone number with digital-only regex (#744) 2022-05-06 09:23:17 +00:00
Gao Sun
5909727ebc
refactor(core): use argon2 for password encryption (#738)
* refactor(core): use argon2 for password encryption

* refactor(core): adjust time cost
2022-05-06 16:38:38 +08:00
Charles Zhao
3f25d4e6f6
fix(console): call settings API after user authentication 2022-05-06 16:21:22 +08:00
Wang Sijie
a0355872c6
feat(console): add application column in user management (#728) 2022-05-06 16:16:59 +08:00
Wang Sijie
890028d937
fix(console): text field style in settings (#739) 2022-05-06 11:42:39 +08:00
Gao Sun
9ca2815452
docs: configuration 2022-05-06 11:09:27 +08:00
Gao Sun
4400d8d25e
docs: init configuration 2022-05-06 11:08:13 +08:00
Gao Sun
7d8821aa25
docs: init introduction 2022-05-06 11:07:54 +08:00
simeng-li
9e90a6197c
refactor(ui): refactor page layout and base style (#726)
* refactor(ui): refine page layout

refine page layout

* fix(ui): fix content element height issue

fix content elment height issue
2022-05-06 11:06:50 +08:00
Wang Sijie
8a48fb6225
fix: delete custom domain (#737)
* fix: delete custom domain

* fix: use sql wrapper
2022-05-06 02:48:34 +00:00
Wang Sijie
2d9b7088a6
fix(console): connector details save changes footer (#736) 2022-05-06 10:31:33 +08:00
Charles Zhao
adeb62e739
Merge pull request #722 from logto-io/charles-log-2339-promote-ErrorBoundary-to-highest-level
refactor(console): promote error boundary to highest level
2022-05-06 09:54:14 +08:00
renovate[bot]
cda06aa16d
chore(deps): update docusaurus monorepo to v2.0.0-beta.20 (#720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-06 09:36:34 +08:00
Charles Zhao
ade40e1e15
chore(console): update react sdk to v0.1.5 2022-05-05 21:01:58 +08:00
Charles Zhao
c7344c2175
fix(console): fetch settings with swr on app init 2022-05-05 18:42:10 +08:00
Gao Sun
3b17324d18
fix: lint:report script (#730) 2022-05-05 10:26:30 +00:00
Xiao Yijun
149900260f
docs: android sdk api reference (#707) 2022-05-05 10:24:58 +00:00
Wang Sijie
a0b4b98c35
feat(console): add column lastSignIn in user management (#679)
* feat(core): user last sign in

* fix(core): rename last_sign_in to last_sign_in_at for updating its timestamptz value

* fix: rename column name in frontend

* fix: test

* fix: toLocaleDateString

Co-authored-by: IceHe.xyz <icehe@silverhand.io>
2022-05-05 16:22:43 +08:00
IceHe.xyz
0ecb7e4d2f
feat(core,schemas): log IP and user agent (#682)
* feat(core,schemas): log IP and user agent

* refactor(core): extract initLog from koaLog

* refactor(core): log koa

log koa

* fix(core): rename

rename

* refactor(core): initLogger

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-05-05 15:38:59 +08:00
IceHe.xyz
4521c3c8d1
feat(core,schemas): save application id that the user first consented (#688)
* feat(core,schemas): save application id which the user first consented

* chore(core): fix grammatical mistake and typos
2022-05-05 06:57:20 +00:00
simeng-li
26332f8644
refactor(ui): remove second attribute in unit scss function (#721)
remove second attribute in unit scss function
2022-05-05 14:23:08 +08:00
simeng-li
92e8ed199d
refactor(ui): main flow mobile design review fix part 1 (#717)
* fix(ui): use description.or for all non-social methods divider

use description.or for all non-social methods divider

* fix(ui): should not validate format in sign-in form
should not validate format in sign-in form

* refactor(ui): add clear-icon and refine component import path

add clear-icon and refin component import path

* fix(ui): remove passcode input error border

remove passcode input error border

* refactor(ui): hide error border of confirm passcode

hide error border of confirm passcode

* fix(ui): fix i18n key

fix i18n key

* refactor(ui): show clear icon for password in create-account form

show clear icon for password in create-account form

* fix(ui): update passwordless confirm modal confirm button text

update passwordless confirm modal confirm button text

* refactor(ui): divider style update

divider style update

* fix(ui):  always show social links expand button

toggle social link

* fix(ui): extract mobile width style

extract mobile width style

* fix(ui): fix create account link

fix create account link

* fix(ui): cr fix
2022-05-05 13:44:22 +08:00
Charles Zhao
2ed7b39214
refactor(console): promote error boundary to highest level 2022-05-05 13:24:01 +08:00
Xiao Yijun
39bf3ccd8a
docs: android sdk integration guide (#711) 2022-05-05 03:29:37 +00:00
simeng-li
166fb709d3
refactor(ui): remove /404 path (#709)
* fix(ui): fix ci fail

* fix(ui):  fix redundent code

fix redundent code

* refactor(ui): render not found contend directly instead of jump to 404

render not found contend directly instead of jump to 404

* fix(ui): fix infinit toast bug

fix inifinit toast bug

* refactor(ui): show error toast

show error toast

* fix(ui): cr fix

cr fix
2022-05-05 10:57:54 +08:00
Charles Zhao
048290b49f
feat(console): integrate admin console language settings 2022-05-02 14:52:56 +08:00
Charles Zhao
a04f818ffb
feat(console): integrate dark mode settings 2022-05-01 01:08:03 +08:00
simeng-li
34d798b645
fix(ui): fix ui i18n package error (#713)
fix ui i18n package error
2022-04-29 20:28:08 +08:00
Wang Sijie
aed7442b32
fix(console): move save changes into form (#712) 2022-04-29 12:06:03 +00:00
Xiao Yijun
4a0577accd
feat(console): configure cors-allowed-origins (#695) 2022-04-29 19:01:36 +08:00
simeng-li
da49812164
fix(ui): fix ci fail (#708)
* fix(ui): fix ci fail

* fix(ui):  fix redundent code

fix redundent code
2022-04-29 16:32:25 +08:00
Darcy Ye
4957952366
Merge pull request #705 from logto-io/yemq-fix-connector-initialization
feat(core): fix connectors initialization
2022-04-29 16:25:38 +08:00
Wang Sijie
60920c28dd
feat(console): add comopnent alert (#706) 2022-04-29 07:49:11 +00:00
Darcy Ye
d989785658
feat(core): remove code redundancy 2022-04-29 11:57:56 +08:00
simeng-li
15dd1a767e
fix(ui): ui design review fix (#697)
* fix(ui): ui restyling

ui restyling

* fix(ui): fix styling and translation
fix styling and translation

* refactor(ui): add universal primary button color

add universal primary button color
2022-04-29 11:49:21 +08:00
simeng-li
e761be6756
refactor(ui): add debounced loading (#692)
* refactor(ui): add debounced loading

add debounced loading

* fix(ui): cr fix

cr fix
2022-04-29 11:48:21 +08:00
simeng-li
731ff1cbdc
feat(ui): not found page (#691)
add not found page
2022-04-29 11:35:51 +08:00
Darcy Ye
c6f2546126
feat(core): fix connectors' initialization 2022-04-29 11:31:07 +08:00
simeng-li
0a1c74ddb1
refactor(ui): refactor all social sign-in related error handling (#686)
* refactor(ui):  social sign-in error handling

social sign-in error handling

* fix(ui): fix page style

fix page style
2022-04-29 11:28:38 +08:00
Xiao Yijun
b6d95f2c76
chore(docs): adjust sidebar item position (#703) 2022-04-28 23:10:42 +08:00
Charles Zhao
cd9ce73228
Merge pull request #702 from logto-io/charles-log-2171-refactor-sdk-integration-guide-with-mdx
refactor(console): sdk integration guide with mdx
2022-04-28 21:06:04 +08:00
Charles Zhao
ea91fbaa51
refactor(console): sdk integration guide with mdx
show response error toast
2022-04-28 20:59:08 +08:00
Xiao Yijun
784451c39e
docs: kotlin core api reference (#658) 2022-04-28 19:03:50 +08:00
renovate[bot]
13cfbf5610
chore(deps): update dependency tsc-watch to v5 (#700)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 18:18:15 +08:00
renovate[bot]
38b8505aa3
chore(deps): update dependency lint-staged to v12 (#698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 08:23:59 +00:00
Darcy Ye
e56a4894b7
feat(core): wrap wechat connector (#676)
* feat(core): wrap wechat web connector

* feat(core): wrap wechat native connector

* feat(core): fix dependency and remove query-string.stringify()
2022-04-28 15:55:49 +08:00
renovate[bot]
82f7d488bd
chore(deps): update dependency lint-staged to v12 (#689)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 15:37:21 +08:00
Darcy Ye
2049b4f73a
feat(core): wrap google connector (#674)
* feat(core): wrap google connector

* feat(core): connectors package.json private should be FALSE

* feat(core): fix dependency and remove query-string.stringify()
2022-04-28 15:16:05 +08:00
Darcy Ye
3a956fae10
feat(core): wrap github connector (#673)
* feat(core): wrap github connector

* feat(core): connectors package.json private should be FALSE

* feat(core): fix dependency and remove query-string.stringify()
2022-04-28 15:01:55 +08:00
Darcy Ye
a06d3ee73c
feat(core): wrap aliyun short message service connector (#670)
* feat(core): wrap Aliyun short message service connector

* feat(core): connectors package.json private should be FALSE

* feat(core): fix dependencies and remove query-string.stringify()
2022-04-28 14:48:18 +08:00
renovate[bot]
712cd795d0
chore(deps): update dependency tsc-watch to v5 (#690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 05:40:40 +00:00
Gao Sun
e61dba90a8
fix(core): remove ESM declaration (#687) 2022-04-28 04:18:03 +00:00
simeng-li
b601fb45ce
refactor(ui): implement errorHander in useApi hook (#684)
* refactor(ui): implement api error handler

implement api error handler

* refactor(ui): extend register account exist flow

 extend register account exist flow

* feat(ui): username exsit error

username exsit error

* refactor(ui): redirect pack if no value found in passcode validation page

redirect pack if no value found in passcode validation page
2022-04-28 12:13:23 +08:00
Gao Sun
d108f4b883
fix(core): set module in base config (#685) 2022-04-28 03:58:14 +00:00
Wang Sijie
5944ff075e
feat(console): dynamic sign in methods form (#666) 2022-04-28 11:42:44 +08:00
Gao Sun
6738b6a088
refactor(core): use esm in core (#681) 2022-04-28 11:19:38 +08:00
simeng-li
b0138bdc0f
fix(ut): fix ut (#683)
fix ut
2022-04-28 10:06:47 +08:00
simeng-li
6e5f14792e
refactor(ui): update api lang header (#680)
update api lang header
2022-04-27 18:36:26 +08:00
IceHe.xyz
7278ba4095
fix(core): update timestamp field with millisecond precision (#677) 2022-04-27 17:02:21 +08:00
Wang Sijie
dc976d8248
fix(console): ui fixes (#678)
* fix: tabnav border

* fix: action menu

* fix: copytoclipboard border
2022-04-27 15:06:59 +08:00
Wang Sijie
19b9db809a
fix(console): new ui in save changes footer (#661) 2022-04-27 06:11:17 +00:00
simeng-li
5e251bdc08
feat(ui): add bind social account flow (#671)
* refactor(ui): passdown bindWithSocial query params

passdown bindWithSocial query params

* feat(ui): add bindSocialAccount to the sign-in request

add bindSocialAccount to the sign-in requeset

* fix(ui): cr fix

cr fix
2022-04-27 14:05:10 +08:00
Wang Sijie
e7faf32b5f
fix(console): remove plain copytoclipboard padding (#675) 2022-04-27 13:45:28 +08:00
Darcy Ye
cbd6cfae8a
feat(core): wrap facebook connector (#672)
* feat(core): wrap facebook connector

* feat(core): connectors package.json private should be FALSE
2022-04-27 12:48:42 +08:00
Darcy Ye
54b62094c8
feat(core): wrap aliyun direct mail connector (#660)
* feat(core): wrap aliyun direct mail connector

* feat(core): remove copyfiles and reorganize files
2022-04-26 19:32:41 +08:00
Gao Sun
72a78cb562
Merge pull request #663 from logto-io/gao-refactor-move-core-to-cli
refactor: move cli -> core
2022-04-26 17:33:46 +08:00
simeng-li
ce4d6daad2
refactor(ui): extract useBindSocial hook (#667)
extract useBindSocial hook
2022-04-26 17:31:00 +08:00
Gao Sun
0fbca8be4b
refactor(core): add manyRows() for queries (#665) 2022-04-26 17:26:50 +08:00
simeng-li
12cf518c88
refactor(ui): refactor signin method link (#669)
refactor signin method link
2022-04-26 17:22:03 +08:00
Wang Sijie
875a31ec2a
feat(console): sign in experience setup others tab (#662) 2022-04-26 08:50:47 +00:00
simeng-li
c5b1fed805
feat(ui): add social sign-in binding page (#664)
* feat(ui): add social sign-in binding page

add social sing-in binding page

* feat(ui): temp redirect to the username sign-in page

temp redirect to the username sign-in page

* fix(ui): fix style missing bug

fix style missing bug
2022-04-26 14:32:45 +08:00
Gao Sun
2715383ca2
fix: deps 2022-04-26 14:20:09 +08:00
Gao Sun
f5c7faf775
refactor: move cli -> core 2022-04-26 14:11:15 +08:00
IceHe.xyz
a10b427c87
feat(core,schemas): log register (#601) 2022-04-26 03:49:11 +00:00
IceHe.xyz
3aa4342f2e
feat(core,schemas): make it type-safer to log (#656) 2022-04-26 11:31:07 +08:00
Darcy Ye
68a64d3ef5
feat(core): wrap alipay web connector (#643)
* feat(core): wrap Alipay web connector and fix UTs/dependencies accordingly

* feat(core): changed some utils functions' modifier from public to private

* feat(core): fix node version

* feat(core): removed unnecessary dependency
2022-04-26 01:57:32 +00:00
simeng-li
5e7744095a
feat(ui): render page using sign-in exp settings (#655)
* feat(ui): render page using sign-in exp settings

render page using sign-in exp settings

* fix(ui): remove unused classname

remove unused classname

* fix(ui): cr fix
cr fix
2022-04-26 08:00:19 +08:00
simeng-li
d2252cef09
refactor(ui): refactor ui form (#651)
* refactor(ui): refactor ui form

create useForm hook

* fix(ui): cr fix

cr fix

* fix(ui): cr fix
cr fix
2022-04-25 14:11:57 +08:00
Gao Sun
1636f10f30
chore: align author (#657) 2022-04-25 03:26:41 +00:00
Darcy Ye
5238f8374d
feat(core): merge tsconfig.base to tsconfig 2022-04-24 20:53:34 +08:00
Darcy Ye
f669f6b657
feat(core): fix packages' dependencies 2022-04-24 20:53:34 +08:00
Darcy Ye
0ae081ad56
feat(core): remove redundancy and reorganize code 2022-04-24 20:53:34 +08:00
Darcy Ye
715e77ec09
feat(core): fix 2022-04-24 20:53:34 +08:00
Darcy Ye
edf5053581
feat(core): wrap logto/shared and logto/connector-types 2022-04-24 20:53:31 +08:00
simeng-li
3c8869150d
fix(ui): fix overlay (#652)
fix overlay
2022-04-24 20:33:35 +08:00
renovate[bot]
25814d92ef
fix(deps): update dependency slonik to v28 (#649)
* fix(deps): update dependency slonik to v28

* fix: build

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 10:34:18 +00:00
Gao Sun
2d7918a224
feat(jest-config): init package (#644)
* feat(jest-config): init package

* chore(deps): upgrade `@types/jest`

* fix(core): add jest-matcher dependency

add jest-matcher dependency

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-04-24 18:02:18 +08:00
simeng-li
fefe566044
fix(core): remove useless todo comment (#653)
remove useless todo comment
2022-04-24 14:39:07 +08:00
renovate[bot]
88e58b8b0c
fix(deps): update dependency jose to v4 (#646)
* fix(deps): update dependency jose to v4

* fix(deps): update jose usage

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 13:55:47 +08:00
Wang Sijie
ac3f9ced58
fix(console): ac iterations fixes (#650)
* fix: pagination margin

* fix: copytoclipboard style in table

* fix: large button in check readme

* fix: contact us ui
2022-04-24 13:54:17 +08:00
renovate[bot]
f846872dc5
fix(deps): update dependency koa-body to v5 (#647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 13:52:02 +08:00
Gao Sun
61d1964506
refactor(core): allow read private key from env (#629) 2022-04-24 05:47:45 +00:00
Gao Sun
ef60a474f6
refactor: allow start from project root (#630) 2022-04-24 12:12:48 +08:00
Wang Sijie
96848e6b0f
feat(console): page settings (#612) 2022-04-24 11:46:35 +08:00
Wang Sijie
e47899ae5c
feat(console): add component checkbox (#576)
* feat(console): add component checkbox

* fix: merge icons

* fix: svg color
2022-04-24 11:43:32 +08:00
Gao Sun
8cf7f3643f
Merge pull request #628 from logto-io/gao-log-2254-add---no-inquiry-option-to-directly
refactor(core): add `--no-inquiry` option
2022-04-24 09:55:42 +08:00
Gao Sun
0a21303b41
refactor: align node version (#625) 2022-04-24 09:50:59 +08:00
renovate[bot]
fbc8bed6a4
fix(deps): update dependency i18next to v21 (#645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:58:54 +08:00
renovate[bot]
06d1f1e906
chore(deps): update dependency openapi-types to v11 (#635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:54:45 +08:00
renovate[bot]
e03426b36d
chore(deps): update dependency tsc-watch to v5 (#637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:53:37 +08:00
renovate[bot]
d79c1e94f8
chore(deps): update dependency @testing-library/react to v13 (#631) 2022-04-23 12:03:43 +08:00
renovate[bot]
7b485aebab
chore(deps): update dependency lint-staged to v12 (#634) 2022-04-22 16:46:39 +00:00
Gao Sun
4481c2b351
refactor(core): add --no-inquiry option 2022-04-22 18:24:50 +08:00
renovate[bot]
4399dea218
fix(deps): update dependency dotenv to v16 (#624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 18:07:35 +08:00
Gao Sun
c12c7ee03d
chore: add package script (#607) 2022-04-22 10:02:54 +00:00
renovate[bot]
603b2e1cfe
chore(deps): update dependency @types/node to v16 (#623)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:43:31 +00:00
Gao Sun
56dc3e30c4
docs: update LogtoClient clientId -> appId (#621) 2022-04-22 09:24:27 +00:00
renovate[bot]
3e9a99d607
fix(deps): update dependency monaco-editor to ^0.33.0 (#618)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:13:47 +00:00
Gao Sun
4945995e6e
docs: add zh-CN Swift SDK reference (#602)
* docs: add zh-CN Swift SDK reference

* fix: typo
2022-04-22 17:13:04 +08:00
Xiao Yijun
bfececcfe5
fix(console): detail top card spacing (#598) 2022-04-22 17:12:42 +08:00
renovate[bot]
2a03b68865
fix(deps): update dependency ky to ^0.30.0 (#617)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:12:04 +00:00
simeng-li
666c5d8b8c
refactor(ui): replace termsOfUse Component with Container (#610)
* refactor(ui): refactor terms of use

refactor terms of use

* fix(ui): fix terms modal

fix terms mdoal

* refactor(ui): replace termsOfUse Component with Container

replace termsOfUse Component With Container
2022-04-22 14:01:43 +08:00
simeng-li
3d8c3af5bd
refactor(ui): refactor terms of use (#603)
* refactor(ui): refactor terms of use

refactor terms of use

* fix(ui): fix terms modal

fix terms mdoal

* fix(ui): cr fix

remove console.log
2022-04-22 13:53:30 +08:00
simeng-li
e4e3fd409e
refactor(ui): load branding info from settings (#608)
* refactor(ui): load branding info from settings

load branding info from settings

* fix(ui): cr fix typo

fix typo
2022-04-22 09:54:08 +08:00
simeng-li
10ca51cfa0
refactor(ui): nativeCallback renaming (#605)
nativeCallback renaming
2022-04-21 17:11:10 +08:00
simeng-li
51e6ac6d62
fix(ui): show response error toast (#604)
show response error toast
2022-04-21 16:46:36 +08:00
Gao Sun
6a62e32fa5
refactor(core): inquire when required env not found (#586)
* refactor(core): inquire when required env not found

* refactor(core): add comments for create DB pool
2022-04-21 16:13:59 +08:00
IceHe.xyz
4ba37e7e73
feat(core,schemas): log sign-in (#594)
* feat(schemas): sign-in log types

* feat(core): log username-password sign-in

* feat(core): log passwordless sign-in

* feat(core): log social sign-in
2022-04-21 15:07:54 +08:00
simeng-li
a04f472fe0
refactor(ui): update global page context (#599)
* refactor(ui): update global page context

add usePageContext hook

* fix(ui): cr fix
cr fix
2022-04-21 14:08:16 +08:00
simeng-li
2fa20363be
feat(ui): load lanuage settings from sign-in-experience settings (#595)
* feat(ui): load lanuage settings from sign-in-experience settings

load lanuage settings from sign-in-experience settings

* fix(ui): cr fix

cr fix

* fix(ui): throw error on getSignInExperienceSettings

 throw error on getSignInExperienceSettings

* fix(ui): cr fix

cr fix

* fix(ui): cr fix

cr fix
2022-04-21 14:01:56 +08:00
IceHe.xyz
4e5927a788
chore(schemas): conform sql style (#600) 2022-04-21 05:31:29 +00:00
Wang Sijie
8e13dd5746
feat(console): user role select (#589) 2022-04-21 12:38:54 +08:00
Wang Sijie
42458e219e
Merge pull request #560 from logto-io/sijie--log-2191-select
feat(console): select
2022-04-21 12:28:32 +08:00
wangsijie
b22b0cf22f
feat(console): select 2022-04-21 12:20:42 +08:00
IceHe.xyz
e21d8d38f3
chore(core,schemas): remove old user logs (#597)
* chore(core): remove user logs

* chore(schemas): remove user logs
2022-04-21 11:04:34 +08:00
IceHe.xyz
7990b813ab
refactor(core,phrases,schemas): move language enum and fix Chinese enum value (#593) 2022-04-21 10:55:06 +08:00
Gao Sun
3db582aee3
feat(cli): integrate node bin (#596) 2022-04-20 23:23:41 +08:00
Gao Sun
7e14ccb1a9
refactor(core): per comment 2022-04-20 15:59:14 +08:00
Gao Sun
f4a656300e
fix: rebase error 2022-04-20 15:56:43 +08:00
Gao Sun
dff23b57db
refactor(core): move database pool into env set 2022-04-20 15:56:38 +08:00
IceHe.xyz
d4e241b661
refactor(core): remove deprecated koa-user-log middleware (#591)
* refactor(core): remove koa-user-log middleware

* refactor(core): remove user-log queries
2022-04-20 15:11:43 +08:00
simeng-li
93a93b4c8f
feat(ui): ui style foundation update (#583)
* feat(ui): ui style foundation update

ui style foundation update

* fix(ui): remove legacy style

remove legacy style

* refactor(ui): remove errorMessage shrink space logic

remove errorMessage shrink space logic
2022-04-20 15:07:16 +08:00
IceHe.xyz
4491eab5b4
feat(core): koa-log middleware (#590) 2022-04-20 06:56:33 +00:00
Charles Zhao
a0af0584f7
Merge pull request #584 from logto-io/charles-log-2232-button-loading-state
feat(console): button loading state with delay timeout
2022-04-20 14:34:02 +08:00
Charles Zhao
695ec7fbf9
feat(console): button loading state with delay timeout 2022-04-20 14:29:27 +08:00
IceHe.xyz
0560928ca4
refactor(core): rename functions to avoid naming conflicts (#588) 2022-04-20 14:28:46 +08:00
Gao Sun
08ce66f317
refactor(core): use SSOT for env variables (#578)
* refactor(core): use SSOT for env variables

* fix(core): tests
2022-04-20 14:14:37 +08:00
IceHe.xyz
3dc07312a0
feat(core): insert log into DB (#587) 2022-04-20 12:28:56 +08:00
Charles Zhao
1653d020cf
Merge pull request #580 from logto-io/charles-log-2227-update-button-hover-and-pressed-colors
fix(console): button hover and pressed state colors
2022-04-20 12:09:13 +08:00
IceHe.xyz
608f667963
test(core): separate the color validation cases from tests of sign-in experience (#577)
* test(core): hexColorRegEx

* test(core): sign-in experience branding colors
2022-04-20 12:08:55 +08:00
wangsijie
8d80106475
feat(console): sign-in-methods form setup 2022-04-20 11:56:29 +08:00
Wang Sijie
fe5650e8e2
fix(console): fix issues on user management (#579) 2022-04-20 11:51:47 +08:00
Wang Sijie
d7ebf6c6e7
feat(console): add connectors transfer component (#568) 2022-04-19 10:22:40 +00:00
Charles Zhao
7c3e53e0f2
fix(console): button hover and pressed state colors 2022-04-19 17:04:34 +08:00
simeng-li
65059565e6
refactor(ui): refactor social login hooks (#570)
* feat(ui): adjust toast style

adjust toast style

* refactor(ui): refactor social hooks

refactor social hooks

* fix(ui): fix ci issue
 fix ci issue

* fix(ui): cr fix

cr fix

* fix(ui): fix social sign-in flow

fix social sign-in flow
2022-04-19 16:32:33 +08:00
Gao Sun
dc2a6ac961
docs: add Swift Logto client reference (#574)
* docs: add Swift Logto client reference

* docs: adjust position
2022-04-19 14:13:12 +08:00
Gao Sun
3dedbe4cac
docs: update config for deployment (#575) 2022-04-19 14:12:46 +08:00
Charles Zhao
217261e9b4
Merge pull request #571 from logto-io/charles-log-1879-logto-loading-state-animation
feat(console): draft logto loading state animation page
2022-04-19 11:31:41 +08:00
Gao Sun
8cf53f378a
docs: add Swift Logto core reference (#573)
* docs: add Swift Logto core reference

* fix: build
2022-04-19 11:31:27 +08:00
Charles Zhao
51539e7af3
Merge pull request #567 from logto-io/charles-fix-error-boundary-page-styles
fix(console): center align image and error message in error boundary
2022-04-19 11:30:11 +08:00
Charles Zhao
8c0cddd305
Merge pull request #572 from logto-io/charles-fix-typos
fix: typos in phrases
2022-04-18 23:04:13 +08:00
Xiao Yijun
975e715c47
fix(core): revert add oidc config to application response (#566) 2022-04-18 22:30:57 +08:00
Charles Zhao
895208e0ee
fix: typos in phrases 2022-04-18 21:55:27 +08:00
Charles Zhao
8aed158929
feat(console): draft logto loading state animation page 2022-04-18 21:51:01 +08:00
Charles Zhao
9dcfd0efaf
fix(console): center align image and error message in error boundary 2022-04-18 20:35:46 +08:00
IceHe.xyz
afaaed9f29
fix(schemas): remove wrong default values from sign-in experience schema (#565) 2022-04-18 17:06:13 +08:00
Wang Sijie
975ed6b6c3
feat(console): color picker (#541)
* feat(console): add experience form fields

* feat(console): color picker
2022-04-18 15:57:37 +08:00
Wang Sijie
4ad95c9eb1
Merge pull request #554 from logto-io/sijie--log-1730-methods
feat(console): sign-in-methods form setup
2022-04-18 15:46:22 +08:00
IceHe.xyz
5386bcee23
feat(schemas): logs schema and log payload type (#561) 2022-04-18 15:44:36 +08:00
Charles Zhao
3a5854f566
Merge pull request #562 from logto-io/charles-log-1880-admin-console-error-boundary
feat(console): add react error boundary
2022-04-18 15:32:34 +08:00
IceHe.xyz
77e0b4fec6
refactor(schemas): conform id length (#555) 2022-04-18 15:27:58 +08:00
Charles Zhao
2641771289
fix: fixup 2022-04-18 15:27:47 +08:00
wangsijie
8ec5523741
feat(console): sign-in-methods form setup 2022-04-18 15:25:52 +08:00
simeng-li
f1576b9916
fix(core): fix sign-in settings api route (#564)
* fix(core): fix sign-in settings api route

fix sign-in settings api route

* test(ui): add ut

add ut

* fix(core): fix ut

fix ut
2022-04-18 15:24:34 +08:00
Charles Zhao
9c3417c23a
feat(console): add react error boundary 2022-04-18 15:07:31 +08:00
IceHe.xyz
3da3309cbf
refactor(core,schemas): pascalcase enum keys (#558)
* refactor(schemas): pascalcase enum keys

* chore(core): pascalcase enum keys
2022-04-18 05:35:48 +00:00
simeng-li
a5235f6ad1
refactor(ui): api method renaming (#563)
api method renaming
2022-04-18 13:33:25 +08:00
IceHe.xyz
1ef04bd45d
refactor(core): clear mocks after each test (#559) 2022-04-18 12:50:49 +08:00
IceHe.xyz
df46593844
refactor(schemas): extract sign-in method key (#556) 2022-04-18 12:49:31 +08:00
IceHe.xyz
51f3b5c091
chore(console,ui): parcel build --no-cache (#557) 2022-04-15 16:31:49 +08:00
simeng-li
8918218cdd
feat(ui): add Primary SocialSignIn container and Popup (#549)
* feat(ui): add Primary SocialSignIn container and Popup

add Primary SocialSignIn container and Popup

* fix(ui): fix popup component bug

fix popup component bug

* feat(ui): add transition styles to Drawer

add transition styles to Drawer

* fix(ui): fix typo

fix typo

* fix(ui): fix bugs

fix bugs

* test(ui): ass simple test case for drawer

add simeple test case for drawer

* fix(ui): cr fix
2022-04-15 14:25:44 +08:00
Wang Sijie
dc32f1dc9f
feat(console): plain radio (#548)
* feat(console): plain radio

* refactor: title and children
2022-04-15 04:18:42 +00:00
Darcy Ye
14cdddc18e
feat(core): add connector config examples (#551) 2022-04-14 17:20:41 +08:00
Wang Sijie
c1263c0d28
Merge pull request #546 from logto-io/sijie--log-2152-switch
feat(console): toggle switch
2022-04-14 17:09:47 +08:00
wangsijie
717b79b9f6
feat(console): toggle switch 2022-04-14 17:04:52 +08:00
IceHe.xyz
a9466667c0
refactor(core): post application (#552) 2022-04-14 15:54:21 +08:00
Wang Sijie
a71e0dfdb6
Merge pull request #539 from logto-io/sijie--log-1729-experience
feat(console): add experience form fields
2022-04-14 14:53:21 +08:00
Xiao Yijun
d238168ebf
feat(core): add oidc config to the response of application apis (#536) 2022-04-14 14:48:56 +08:00
wangsijie
40d4190e6f
feat(console): add experience form fields 2022-04-14 14:44:00 +08:00
Darcy Ye
2f22a81a8f
feat(core): add Alipay web connector (#522) 2022-04-14 12:22:30 +08:00
Charles Zhao
f669780ff9
Merge pull request #550 from logto-io/charles-log-2169-update-color-variables-and-theme-mixins
refactor(console): css color variables and theme mixins
2022-04-14 11:59:08 +08:00
simeng-li
99e425496f
feat(ui): load sign-in experience settings from server (#542)
* feat(ui): load sign-in experience from server

load sign-in experience settings from server

* feat(ui): return null if no setting find

return null if no setting found

* chore(ui): add todo

add todo

* fix(ui): remove console log

remove console log

* fix(ui): cr fix

cr fix
2022-04-14 11:39:48 +08:00
simeng-li
f0a961225d
refactor(core): phone method refactor (#537)
* refactor(core): rename signin method phone with sms

replace phone signin method with sms

* refactor(ui): rename api method

rename api method

* fix(ui): cr fix rename method

rename method

* fix(ui): update naming convention

update naming convention
2022-04-14 11:26:10 +08:00
Charles Zhao
8ee4391b8f
refactor(console): css color variables and theme mixins 2022-04-13 23:21:08 +08:00
Charles Zhao
3767229389
Merge pull request #543 from logto-io/charles-log-1943-connectors-get-started
feat(console): connectors get-started page
2022-04-13 20:14:16 +08:00
Charles Zhao
eeeb80ba4b
feat(console): connectors guide page 2022-04-13 20:09:25 +08:00
IceHe.xyz
c3c2bf20f1
feat(core): validate custom client metadata when post or patch application (#529) 2022-04-13 15:23:04 +08:00
Wang Sijie
ee84462e14
Merge pull request #535 from logto-io/sijie--log-1728-init-exp
feat(console): init sign in exp page
2022-04-13 12:37:39 +08:00
Charles Zhao
1cbee87a81
fix(console): drawer component background 2022-04-12 17:53:26 +08:00
Charles Zhao
a710ec6ba5
feat(core): add connector config json templates 2022-04-12 16:59:19 +08:00
wangsijie
660352c439
feat(console): init sign in exp page 2022-04-12 15:38:33 +08:00
simeng-li
7dba17b867
feat(ui): add social web login flow (#531)
* feat(ui): add social web login flow

add social web login flow

* fix(ui): cr fix

code review fix

* fix(ui): fix typo

fix typo

* refactor(ui): social api renaming

social api renaming
2022-04-12 15:03:38 +08:00
Wang Sijie
1f6f0a3796
fix(console): change border color to color-component-border (#528) 2022-04-12 12:06:15 +08:00
simeng-li
85c9eabfca
feat(core): add sign-in-settings api for client use (#534)
add sample sign-in-settigns api for client use
2022-04-12 12:05:29 +08:00
Gao Sun
3718a18286
refactor(docs): optimize React get started (#532) 2022-04-12 12:05:04 +08:00
simeng-li
2b0a1a9190
fix(ui): fix svg radio box icon fill color (#533)
fix svg radio box icon fill color
2022-04-12 12:04:02 +08:00
Wang Sijie
b8b5840936
feat(console): contact us (#509)
* feat(console): contact us

* refactor: extract Contact from Item

* fix: cr

* fix: cr
2022-04-11 10:02:37 +00:00
Xiao Yijun
06ea931d64
feat(console): link button component (#527) 2022-04-11 16:46:10 +08:00
Gao Sun
72aa2f53e6
feat(cli): integrate with command line (#526) 2022-04-11 08:25:57 +00:00
Gao Sun
32e9afe047
fix(docs): package name (#525) 2022-04-11 08:24:17 +00:00
Gao Sun
2b2196c553
Merge pull request #524 from logto-io/gao-log-2134-create-database
feat(cli): create database
2022-04-11 16:21:33 +08:00
IceHe.xyz
26c3e1fe2c
fix(core): extraClientMetadata properties (#530) 2022-04-11 14:22:16 +08:00
Gao Sun
2d5f1196a2
Merge pull request #523 from logto-io/gao-log-2128-seed-queries-cli-function 2022-04-11 14:11:15 +08:00
Gao Sun
3fedbd791b
feat(cli): create database 2022-04-10 13:06:12 +08:00
Gao Sun
06ff890358
fix(core): test cases 2022-04-09 22:06:41 +08:00
Gao Sun
ada4da2fbf
feat(cli): seed tables 2022-04-09 21:53:53 +08:00
simeng-li
aa9cc806bf
feat(ui): add social apis (#518)
add social apis
2022-04-09 12:20:21 +08:00
IceHe.xyz
fb65c65893
feat(core,schemas): cors allowed origins (#507)
* feat(schemas): cors allowed origins of application in custom OIDC client metadata

* refactor(schemas): rename CustomClientMetadataType to CustomClientMetadataKey

* feat(core): cors allowed origins
2022-04-08 18:16:20 +08:00
IceHe.xyz
5625b8838c
refactor(core): split mock.ts into __mocks__/*.ts (#510)
* chore(core,ui): coverage ignore src/__mocks__/

* chore(core): build excludes src/__mocks__/

* refactor(core): split mock.ts into __mocks__/*.ts
2022-04-08 09:47:09 +00:00
Gao Sun
b055362d34
feat(cli): init (#521) 2022-04-08 16:58:32 +08:00
Gao Sun
91c79bb44c
Merge pull request #520 from logto-io/gao-remove-resource-scopes
refactor(core): remove resource scopes
2022-04-08 16:15:50 +08:00