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

3606 commits

Author SHA1 Message Date
Charles Zhao
6b1948592a
feat(core): provide management API to detect if user has password (#3698)
* feat(core): provide management API to detect if user has password

* chore: add changeset

* chore: add response status to koa guard

Co-authored-by: Gao Sun <gao@silverhand.io>

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-14 12:22:33 +08:00
renovate[bot]
5beeb5575b
chore(deps): update logto js sdk monorepo packages to v1.1.1 (#3690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:01:54 +00:00
Charles Zhao
3cceb40387
chore(phrases): improve wording in AC profile change password dialog (#3692) 2023-04-12 15:45:28 +08:00
Darcy Ye
6bb4098409
feat(console): should mask confidential connector config values by default (#3645) 2023-04-11 16:11:10 +08:00
Darcy Ye
e4fc54000e
chore(console): update non-standard social connector target content (#3688) 2023-04-11 15:14:30 +08:00
Darcy Ye
d3b4a0e792
chore(console): connector guide page should use global scrollbar (#3649) 2023-04-11 13:52:05 +08:00
Gao Sun
83367569fa
refactor: align console log (#3684)
add a shared ConsoleLog class for unified console logging.
2023-04-10 17:48:19 +00:00
renovate[bot]
88032402dd
fix(deps): update dependency query-string to v8 (#3667)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-10 17:28:45 +00:00
renovate[bot]
8107f77588
chore(deps): update dependency @rollup/plugin-typescript to v11 (#3666)
* chore(deps): update dependency @rollup/plugin-typescript to v11

* chore: fix lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-11 00:59:17 +08:00
Gao Sun
7f6822893c
Merge pull request #3681 from logto-io/gao-add-cache-tests
test(core): add cache tests
2023-04-11 00:09:42 +08:00
Gao Sun
1ac2582834
Merge pull request #3685 from logto-io/gao-cli-use-current-dir
refactor(cli): use current directory as instance path if no input
2023-04-11 00:09:16 +08:00
Gao Sun
1df4c91102
Merge pull request #3679 from logto-io/gao-implement-central-cache
feat: central cache
2023-04-11 00:07:34 +08:00
Xiao Yijun
0edb2de4e8
refactor(console): guard file types in the file input dialog box (#3673) 2023-04-10 14:27:49 +08:00
Xiao Yijun
4220f554db
refactor(console): remove redundant hasError prop from text input (#3672) 2023-04-10 11:20:49 +08:00
simeng-li
764d0dd5ac
chore(core,cloud): add cloud route security headers (#3674)
* chore(core,cloud): add cloud route security headers

add cloud routes security headers

* chore(core,cloud): only allow ws on dev environment

only allow ws on dev environment

* refactor(core,cloud): update using helmetjs package

update using helmetjs package

* chore(core): fix comment

fix comment
2023-04-10 10:23:07 +08:00
Charles Zhao
7af8e9c9b1
feat(core): add management API to verify user password (#3680)
* feat(core): add management API to verify user password

* chore: add changeset
2023-04-09 22:01:35 +08:00
renovate[bot]
e07355c42e
fix(deps): update dependency @withtyped/server to ^0.9.0 (#3587)
fix(deps): update withtyped packages to ^0.9.0

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-08 10:01:53 +00:00
Gao Sun
91906f0ebf
refactor(cli): use current directory as instance path if no path input for cli 2023-04-08 17:24:15 +08:00
renovate[bot]
901ef8ecd6
chore(deps): update silverhand configs monorepo packages to v3.0.1 (#3683)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-07 16:17:14 +00:00
Gao Sun
8deb493d14
test: add integration test 2023-04-07 23:39:03 +08:00
Gao Sun
45cc8f4fb0
test(core): add cache tests 2023-04-07 17:41:22 +08:00
Gao Sun
1548e0732f
chore: add comments and refactor 2023-04-07 14:36:25 +08:00
Gao Sun
4a64d267b6
feat: implement central cache
with Redis as the default choice.
2023-04-07 14:29:35 +08:00
Gao Sun
9847fdc098
Merge pull request #3676 from logto-io/gao-reorg-pacakges
refactor: reorg packages
2023-04-07 01:22:17 +08:00
Gao Sun
5d68e313c2
refactor: fix tests 2023-04-07 00:58:13 +08:00
Gao Sun
6cbc90389f
fix(console): log event filter (#3678) 2023-04-06 11:32:46 +08:00
Gao Sun
0fbd31059f
refactor: fix ui import 2023-04-04 17:06:04 +08:00
Xiao Yijun
d816734b20
refactor(console): disable invalid pagination labels (#3675) 2023-04-04 16:39:32 +08:00
Gao Sun
aa203308f0
refactor: reorg packages
update `@logto/shared` to a non-business package
and put business components into `@logto/*kit`.
2023-04-04 16:28:48 +08:00
simeng-li
dfef709b98
refactor(ui): leverage react-helmet to manage headers (#3670)
* refactor(ui): leverage react-helmet to manage headers

leverage react-helmet to manage headers, html and body attrs

* fix(ui): renaming

address some comments, rename the data-color-mode and provide a general useSignInExperience hook
2023-04-04 07:41:07 +00:00
renovate[bot]
7915681b5a
fix(deps): update dependency samlify to v2.8.10 (#3665)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-04 14:59:41 +08:00
simeng-li
964e078c3f
refactor(ui): replace plain search string concatenate (#3663)
replace plain search string concatenate with URLSearchParams instances
2023-04-03 17:41:22 +08:00
Gao Sun
94e03f2768
Merge pull request #3661 from logto-io/gao-add-spa-as-dependency
refactor(core): add single-page apps as dependencies
2023-04-03 17:02:52 +08:00
Gao Sun
8fa5f00452
Merge pull request #3659 from logto-io/gao-use-local-connectors
refactor: use local connectors
2023-04-03 16:58:42 +08:00
Gao Sun
f03e3874ac
Merge pull request #3658 from logto-io/gao-add-connector-packages
refactor: add connector packages
2023-04-03 16:55:07 +08:00
Gao Sun
ca11392512
refactor: conditional import app insights sdk (#3664) 2023-04-03 16:49:02 +08:00
Gao Sun
e8811269c4
Merge branch 'master' into gao-add-connector-packages 2023-04-03 16:42:28 +08:00
Gao Sun
0e49e43245
refactor: update title in main flow and report pv for console sign-in (#3651) 2023-04-03 07:40:56 +00:00
Gao Sun
1d4662ebc1
chore(cli): update translate command description (#3662) 2023-04-03 14:59:46 +08:00
Gao Sun
d082d24561
Merge pull request #3655 from logto-io/gao-add-pl-translation 2023-04-03 13:27:02 +08:00
Gao Sun
77fcbaa7fe
Merge pull request #3654 from logto-io/gao-add-it-translation 2023-04-03 13:25:57 +08:00
Xiao Yijun
6773a3ae35
refactor(console): improve color picker (#3648) 2023-04-03 10:38:31 +08:00
simeng-li
1c431e7a59
feat(core): apply standard security headers 1/2 (#3590)
* feat(core): add some basic security headers

add some basic security headers

* chore(core): add some comments

add some comments

* chore(core): update the refererPolicy configs

update the refererPolicy configs

* chore(core): update helmet middleware

update helmet middleware

* feat(core): add csp headers to the mainflow and ac http requests 2/2 (#3613)

* feat(core): add csp headers to the mainflow requests

add csp headers to the mainflow requests

* chore(core): add ui and console security headers

add ui and console security headers

* fix(core): remove unused middleware

remove unused middleware

* fix(ui): set terms iframe sandbox

set terms iframe sandbox allow same origin

* fix(core): update security headers middleware

update security headers middleware

* chore(core): add changesets

* chore(core): address rebase conflict

address rebase conflict
2023-04-03 10:24:50 +08:00
simeng-li
fc08fb5575
refactor(ui): refactor ui hooks and provider structure (#3647)
* refactor(ui): refactor ui hooks and provider structure

refactor ui hooks and provider structure

* chore(ui): provide dependency precisely

provide dependency precisely
2023-04-03 10:24:03 +08:00
Gao Sun
1e5b68423a
refactor(core): add single-page apps as dependencies 2023-04-02 17:40:07 +08:00
Gao Sun
612a1d5301
refactor: use connector link in workflows 2023-04-02 14:12:30 +08:00
Gao Sun
0f9ac8ee70
feat(cli): connector link command for linking all local connectors 2023-04-02 01:13:38 +08:00
Gao Sun
5087846e8b
chore: fix test and lint issues 2023-04-01 22:16:56 +08:00
Gao Sun
e6394b07b3
Merge pull request #3652 from logto-io/gao-add-translation-sync
feat(cli): translation sync command
2023-04-01 21:27:06 +08:00
Gao Sun
3ad272f345
refactor: leverage pnpmfile for dependency installation 2023-04-01 20:53:44 +08:00
Gao Sun
79f3c44b62
chore: update workspace configs 2023-04-01 16:37:49 +08:00
Gao Sun
18ba35ce39
chore: remove changelog 2023-04-01 15:56:09 +08:00
Gao Sun
6b322a537c
refactor: add connector packages
the initial commit to move all connector packages to the main
repo.
2023-04-01 15:53:14 +08:00
Flávio Fiori
f166c61fc9
fix(phrases): fix action change phrase (#3656) 2023-04-01 14:40:14 +08:00
Gao Sun
206fba2b57
feat(phrases): add pl-PL translation 2023-04-01 02:00:04 +08:00
Gao Sun
4c2c786aeb
feat(phrases): add it translation 2023-04-01 01:53:59 +08:00
Gao Sun
3f19aa259e
feat(cli): translation sync command
to create missing files or translate untranslated phrases
across all existing languages
2023-03-31 23:21:03 +08:00
silverhand-bot
ad13427c37
release: version core packages (#3644) 2023-03-30 19:44:40 +08:00
wangsijie
2ed3e672de
fix(console): remove url queries for social demo callback (#3621) 2023-03-30 18:17:44 +08:00
Xiao Yijun
9663852f1e
refactor(console): hide native preview when no social target supports native (#3626) 2023-03-30 09:44:46 +00:00
Darcy Ye
457116ee52
chore(console): add href to Button component (#3619) 2023-03-30 07:28:28 +00:00
Darcy Ye
870b86a218
feat(cloud): replace schedule meeting with send email (#3614) 2023-03-30 07:17:18 +00:00
Gao Sun
1f594ddc1a
Merge pull request #3641 from logto-io/gao-add-zh-hk-tw-translation
feat(phrases): add zh-HK and zh-TW translation
2023-03-30 14:17:14 +08:00
Gao Sun
ae0185cab0
refactor: fix test 2023-03-30 13:59:02 +08:00
Gao Sun
9dd16c57ed
Merge pull request #3640 from logto-io/gao-update-ru-translation
feat(phrases): add ru translation
2023-03-30 13:54:35 +08:00
Gao Sun
238cd27c52
Merge pull request #3639 from logto-io/gao-update-translations
refactor(phrases): update phrases
2023-03-30 13:49:02 +08:00
Gao Sun
c200169886
refactor: add app insights package (#3637)
* refactor: add app insights package

* refactor: fix dependencies
2023-03-30 13:36:46 +08:00
simeng-li
2a65318707
style(ui): adjust narrow screen desktop style (#3627)
adjust narrow screen desktop style
2023-03-30 10:52:26 +08:00
simeng-li
aa442ebfa5
fix(ui): add hidden field in password sign-in form (#3623)
add hidden field in password sign-in form
2023-03-30 10:49:51 +08:00
simeng-li
08f22b35c2
style(ui): update font style of terms links (#3624)
update font style of terms links
2023-03-30 10:49:11 +08:00
Charles Zhao
8132ae7f97
fix(console): temp disable link account feature in open source version (#3638) 2023-03-30 10:37:12 +08:00
Gao Sun
5c50957a95
feat(phrases): add zh-HK and zh-TW translation 2023-03-30 01:01:59 +08:00
Gao Sun
f9ca7cc495
feat(phrases): add ru translation 2023-03-30 00:43:53 +08:00
Gao Sun
7f3a42ce83
refactor(phrases): update phrases 2023-03-29 23:40:57 +08:00
Gao Sun
d85615949b
Merge pull request #3636 from logto-io/gao-update-de-translation
refactor(phrases): update de translation
2023-03-29 20:26:44 +08:00
Gao Sun
e8fbb5f400
Merge pull request #3635 from logto-io/gao-add-es-translation
feat(phrases): add es translation
2023-03-29 20:25:14 +08:00
Gao Sun
bc7784740a
Merge pull request #3632 from logto-io/gao-update-fr-translation
refactor(phrases): update fr translation
2023-03-29 19:44:14 +08:00
Gao Sun
3460b527f6
refactor(phrases): update de translation 2023-03-29 19:36:12 +08:00
Gao Sun
074a344ff2
refactor: apply suggestions from code review 2023-03-29 19:34:46 +08:00
Gao Sun
7bea48da95
Merge pull request #3631 from logto-io/gao-sync-phrases-structure
refactor(phrases): align file structure
2023-03-29 19:23:37 +08:00
Gao Sun
5028af4b91
refactor(phrases): fix rebase issues 2023-03-29 18:43:58 +08:00
Gao Sun
f3d60a5169
feat(phrases): add es translation 2023-03-29 18:36:22 +08:00
Gao Sun
e9e8a6e11e
refactor(phrases): update fr translation 2023-03-29 18:35:18 +08:00
Gao Sun
541a5a249d
Merge pull request #3630 from logto-io/gao-add-ja-language
feat(phrases): add ja language
2023-03-29 18:32:53 +08:00
Darcy Ye
35998d4140
fix(console): connector create guide padding (#3593) 2023-03-29 10:27:16 +00:00
Gao Sun
026b9b92a0
refactor(phrases): fix rebase issue 2023-03-29 18:22:35 +08:00
Darcy Ye
ee074de3ce
fix(console): app insights wrapper direct children style (#3633) 2023-03-29 18:22:02 +08:00
Gao Sun
08395fb325
refactor(phrases): add pretty newline 2023-03-29 18:18:29 +08:00
Gao Sun
f5837b4af3
refactor(phrases): align file structure 2023-03-29 18:17:51 +08:00
Gao Sun
7b17b33477
refactor(phrases): add missing phrases 2023-03-29 18:13:40 +08:00
Gao Sun
362f6a5863
refactor(phrases): fix type issue 2023-03-29 18:00:39 +08:00
Gao Sun
37714d153c
feat(phrases): add ja language 2023-03-29 18:00:37 +08:00
Xiao Yijun
8ffe82c4e2
refactor(console): change number input appearance to text input (#3620) 2023-03-29 17:43:26 +08:00
Darcy Ye
7845872196
fix(console): code editor line wrap (#3634) 2023-03-29 17:03:00 +08:00
Xiao Yijun
2fc9c87553
refactor(console): add connector loading state (#3622) 2023-03-29 16:55:11 +08:00
Gao Sun
c064a71153
Merge pull request #3629 from logto-io/gao-cli-translation-cmd
feat(cli): create translation command
2023-03-29 14:06:40 +08:00
Xiao Yijun
bb9cfe55d5
fix(console): generate user password (#3615) 2023-03-29 05:29:43 +00:00
Gao Sun
ee51478618
refactor(console): update page title and manually track pv (#3625) 2023-03-28 17:51:14 +00:00
Gao Sun
4ec5e0550f
feat(cli): create translation command
iterate phrases files and translate to a new language using OpenAI API
2023-03-28 21:45:45 +08:00
Xiao Yijun
5f1c9a579b
fix(console): add missing loading state for confirm modals (#3610) 2023-03-28 17:54:44 +08:00
wangsijie
14143415f0
fix(console): fix connector form validation for switch (#3617) 2023-03-28 11:09:02 +08:00
Xiao Yijun
4ccd6b836e
style(console): remove logo border-radius (#3611) 2023-03-28 10:56:49 +08:00
Xiao Yijun
7a493abfca
refactor(console): support navigating back by the browser when onboarding (#3612)
refactor(console): support navigate back by the browser when onboarding
2023-03-28 10:56:20 +08:00
Gao Sun
e87ff837cd
refactor(console): update admin endpoint pattern (#3605) 2023-03-27 13:51:34 +00:00
Darcy Ye
619e1b76a6
fix(console): cloud env code editor over-expanding error (#3609) 2023-03-27 11:33:03 +00:00
Alanimdeo
f102d00b6d
fix(phrases): update Korean translation (#3608)
* fix(phrases): update Korean translation

* fix(phrases): fix unnatural Koran translations

* fix(phrases): correct Korean translation
2023-03-27 17:56:36 +08:00
Xiao Yijun
875d94a02a
fix(console): catch user interaction errors (#3591) 2023-03-27 12:19:11 +08:00
renovate[bot]
93bc915609
chore(deps): update silverhand configs monorepo packages to v3.0.0 (#3585)
* chore(deps): update silverhand configs monorepo packages to v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-24 16:28:36 +00:00
Gao Sun
67a84e4d6b
fix(phrases): capitalized username in de (#3604) 2023-03-24 14:13:28 +00:00
Darcy Ye
20381551fc
fix(console): avoid zh-cn docs links since it has been removed (#3583) 2023-03-24 22:08:03 +08:00
Gao Sun
ccf1671e87
refactor(console): add word-break for audit logs (#3599) 2023-03-24 22:03:19 +08:00
Xiao Yijun
42c69faeae
refactor(console): remove onboarding google connector template (#3570) 2023-03-23 22:27:00 +08:00
Darcy Ye
510f6d638b
chore(console): add connector form tooltip (#3596) 2023-03-23 20:55:36 +08:00
Xiao Yijun
153389cce2
feat(console): add deletion confirm for connectors (#3581) 2023-03-23 18:48:19 +08:00
Xiao Yijun
054299a57a
style(console): fix outline cutting issue on form field (#3595) 2023-03-23 09:51:13 +00:00
Gao Sun
1c8d8d36c6
chore(console): fix contact email (#3597) 2023-03-23 09:07:55 +00:00
wangsijie
a3c8515f3f
refactor(cli): use conditional array to manage cloud connector list (#3592) 2023-03-23 14:32:15 +08:00
Gao Sun
29be040668
refactor: report all errors and user id (#3580)
to ApplicationInsights for better error analyzing.
2023-03-22 19:35:18 +08:00
Gao Sun
c8fdaa0441
Merge pull request #3579 from logto-io/gao-fix-schemas-version
chore: force bump to fix npm publishment
2023-03-22 19:28:44 +08:00
Charles Zhao
fc7bfe0101
chore(console): update warning messages in SIE (#3584) 2023-03-22 19:10:14 +08:00
Xiao Yijun
aca6a9eeca
chore(console): remove unwanted console log (#3582) 2023-03-22 18:52:37 +08:00
Darcy Ye
6cd15d0698
fix(console): should not mutate when closing create connector modal (#3577) 2023-03-22 17:57:31 +08:00
Xiao Yijun
9c17de0906
fix(console): fix details page state (#3569) 2023-03-22 09:07:24 +00:00
Gao Sun
540c41ff64
refactor(console): use function-declaration for named components (#3520)
* refactor(console): use function-declaration for named components

Application Insights can only automatically track component names from function
declaration. update convention to make tracking easier.

* refactor(console): fix lint errors
2023-03-22 16:45:10 +08:00
Gao Sun
296cad8fc5
release: version packages 2023-03-22 16:25:32 +08:00
Gao Sun
5b4da1e3dd
chore: force bump to fix npm publishment
as we published and unpublished schemas to v1.0.6 long time ago.
2023-03-22 16:23:20 +08:00
silverhand-bot
a43e72d177
release: version core packages (#3578) 2023-03-22 14:58:19 +08:00
simeng-li
c0e0e6688f
fix(ui): fix bind social account link lead to register bug (#3575)
fix bind social account link lead to register flow bug
2023-03-22 13:51:28 +08:00
Xiao Yijun
765778e8ee
style(console): set min-width to sie form and preview (#3576) 2023-03-22 13:13:03 +08:00
Darcy Ye
0a05c838b1
fix(console): custom css component card title (#3574)
chore(console): fix custom css component card title
2023-03-22 12:08:56 +08:00
Xiao Yijun
3ee26c31cf
refactor(console): connector guide readme content scrollbar (#3565) 2023-03-22 11:39:07 +08:00
Darcy Ye
f4a21b7c12
fix(console): social connector learn more link (#3573) 2023-03-22 03:28:33 +00:00
Xiao Yijun
1b303edfee
refactor(console): display loading when user assets service is loading (#3523) 2023-03-22 07:28:36 +08:00
renovate[bot]
11e302b2fa
chore(deps): update dependency typescript to v5 (#3463)
* chore(deps): update dependency typescript to v5

* refactor: fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-21 19:37:51 +08:00
renovate[bot]
9633256682
fix(deps): update dependency lru-cache to v8 (#3368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 19:36:55 +08:00
Gao Sun
959d1f02dd
refactor: use caret range for workspace dependencies (#3566) 2023-03-21 19:33:08 +08:00
silverhand-bot
2f69933d51
release: version core packages (#3564) 2023-03-21 17:56:06 +08:00
Charles Zhao
899d01a16c
fix(console): mysterious smog should be gone on first app creation (#3567) 2023-03-21 08:34:33 +00:00
Gao Sun
03ac35e755
fix(core): use unprefixed fields for query (#3563) 2023-03-21 07:46:50 +00:00
Darcy Ye
f1bbdb8531
fix(console): custom css learn more link (#3560) 2023-03-21 04:26:13 +00:00
Gao Sun
fa94ce36b8
fix(console): fix style issue caused by additional div wrapper (#3559) 2023-03-21 12:04:21 +08:00
Gao Sun
999f8d8b01
refactor(test): increase UI test timeout (#3555) 2023-03-21 10:38:52 +08:00
Gao Sun
28e9fa4290
release: core v1.0.0 (#3554)
* chore: move changesets

* release: core v1.0.0

* chore: update workflow
2023-03-20 23:57:04 +08:00
Darcy Ye
aee1fbfb6d
feat(console): add line number and disable line wrapper (#3546)
---------

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-03-20 15:24:44 +00:00
Charles Zhao
80015f22fd
fix(console): the mysterious smog should disappear after creating M2M app (#3553) 2023-03-20 14:46:48 +00:00
Gao Sun
415c2fab23
release: toolkit v1.0.0 (#3552) 2023-03-20 21:38:32 +08:00
Gao Sun
384df30e04
refactor(console): safely init app insights (#3549) 2023-03-20 21:05:52 +08:00
Charles Zhao
42bb0a9fab
fix(console): application guide drawer mode in details page (#3531) 2023-03-20 19:13:45 +08:00
simeng-li
6e2a84ef61
fix(console): fix linked social account not shown bug (#3550) 2023-03-20 18:52:46 +08:00
Gao Sun
4d1fd8624b
Merge pull request #3545 from logto-io/gao-remove-guard-of-wellknown
refactor: fix initial sie config for cloud
2023-03-20 17:54:38 +08:00