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
Darcy Ye
6a463f6a2a
chore(toolkit): add UTs for connector-kit (#3760) 2023-04-28 10:50:05 +08:00
Charles Zhao
db4bc9e3ba
feat: add overlay scrollbar on sidebar and main content (#3764) 2023-04-28 10:07:25 +08:00
Gao Sun
11db88a77a
refactor(cli): fallback to latest when current version is unavailable (#3779)
refactor(cli): fallback to latest when current version number is unavailable
2023-04-28 09:54:55 +08:00
silverhand-bot
4bba658d7b
release: version packages (#3751) 2023-04-27 19:11:20 +08:00
Gao Sun
3796866b67
fix(console): eliminate unexpected /token calls (#3757)
refactor: fix AppInsights context extra rendering issue
2023-04-27 18:34:38 +08:00
renovate[bot]
8abcf079ae
chore(deps): update logto js sdk monorepo packages to v2 (major) (#3766)
chore(deps): update logto js sdk monorepo packages to v2

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-26 17:21:04 +00:00
Charles Zhao
9a795c8ecd
fix(console): language dropdown height should be calculated properly on first load (#3763) 2023-04-26 10:19:07 +08:00
Darcy Ye
97d0ca6d9f
chore(test): add ITs for logto-config APIs (#3746) 2023-04-25 16:05:22 +08:00
wangsijie
e2ce5df9d2
refactor: use transaction to create user (#3748) 2023-04-25 10:53:42 +08:00
Gao Sun
c4864d6562
refactor(console): add useMemo to resources and scopes (#3756) 2023-04-24 13:00:53 +00:00
Charles Zhao
e665d5990c
fix(console): set height limit to language dropdown (#3752) 2023-04-24 09:15:27 +00:00
Darcy Ye
3c0477a894
fix(connector): support crypto.getRandomValues in connectors (#3744)
* fix(connector): enable node crypto.getRandomValues

* refactor: remove comments

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-24 08:19:23 +00:00
Gao Sun
20418dc4f9
refactor(console,ui,demo-app): fix i18next types (#3743)
* refactor(console,ui,demo-app): fix i18next types

disable allowObjectInHTMLChildren for safer typing. use <DynamicT /> for
all dynamic translations.

* fix(console): i18n key in UserAccountInformation

* refactor(console,ui): update <DynamicT /> and add tests
2023-04-24 16:05:26 +08:00
Darcy Ye
ac95eb3ffa
fix(console): code editor error and line number header width (#3731) 2023-04-24 14:27:44 +08:00
Darcy Ye
632b8b1d84
refactor(schemas,core,console): use JsonObject instead of ArbitraryObject (#3730) 2023-04-24 11:11:27 +08:00
Charles Zhao
dbbd766220
fix(console): switch component (#3736) 2023-04-24 10:18:09 +08:00
Gao Sun
9f14e065e8
Merge pull request #3733 from logto-io/renovate/i18next-22.x
chore(deps): update i18next series packages
2023-04-23 17:47:58 +08:00
Darcy Ye
8fc6c3c803
feat(connector): make official connectors scope configurable (#3723) 2023-04-23 16:56:07 +08:00
Gao Sun
5ef299866d
fix(console): fix react data router (#3737) 2023-04-22 22:24:06 +08:00
Gao Sun
c72f4ac0ee
refactor(console,ui): fix errors 2023-04-22 00:55:17 +08:00
Gao Sun
05d38becbd
chore(deps): upgrade i18next series packages 2023-04-21 18:23:45 +08:00
Gao Sun
368d2f3efb
chore(deps): update dependency i18next to v22 2023-04-21 18:21:09 +08:00
Darcy Ye
b204cf828d
chore(cloud): add payload to service log (#3712) 2023-04-21 03:12:37 +00:00
silverhand-bot
dd24aafc17
release: version packages (#3728) 2023-04-20 17:04:15 +00:00
Gao Sun
4c783fcaec
chore: add caution for primary domain util 2023-04-21 00:29:53 +08:00
Gao Sun
748878ce5b
feat(app-insights): add React context provider and hook
and fix AppInsights init issue for frontend projects.
2023-04-21 00:29:53 +08:00
Gao Sun
4331deb6f2
feat(app-insights): support ClickAnalytics plugin 2023-04-21 00:29:52 +08:00
Gao Sun
be373591a9
refactor(ui): use swc for testing (#3726)
* refactor(ui): use swc for testing

* chore: remove unused code
2023-04-20 16:21:21 +00:00
wangsijie
2ad86d55b3
fix(core): use client s3 sdk (#3715) 2023-04-20 15:20:05 +08:00
Charles Zhao
0acda89071
fix(console): remove react warning from connector config form (#3720) 2023-04-20 11:45:33 +08:00
Charles Zhao
e0649aa81a
fix(console): remove react warning from Switch component (#3719) 2023-04-20 11:45:14 +08:00
silverhand-bot
666c4eaaa7
release: version packages (#3722) 2023-04-19 22:34:00 +08:00
Gao Sun
352807b16a
feat: setting cloud role name for AppInsights in React (#3721)
* feat: setting cloud role name for AppInsights in React

* refactor: simplify service role names
2023-04-19 12:39:37 +00:00
renovate[bot]
e97fe2e1f3
chore(deps): update dependency react-router-dom to v6.10.0 (#3238)
* chore(deps): update dependency react-router-dom to v6.10.0

* fix: lockfile

* fix: react router

* chore: add annotations about the type definition file

* fix: bump version number for ui package

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-04-19 18:05:57 +08:00
silverhand-bot
9f50cc4a80
release: version packages (#3718) 2023-04-19 18:05:22 +08:00
Darcy Ye
107f94554f
docs(connector): update connector docs links (#3714) 2023-04-19 16:37:15 +08:00
Gao Sun
afdbcb39d6
refactor(core,cloud): add ApplicationInsights URL to CSP directive (#3710) 2023-04-19 13:48:20 +08:00
Darcy Ye
3e5b8dd796
fix(connector,phrases): cloud sms/email connectors error message (#3699) 2023-04-19 11:07:45 +08:00
silverhand-bot
85889031d0
release: version packages (#3705) 2023-04-18 21:13:31 +08:00
Xiao Yijun
60d258a282
chore: avoid using "primary" for email and phone identifiers (#3711) 2023-04-18 10:41:32 +00:00
Xiao Yijun
ddde9c597e
style(console): update permission table style (#3709) 2023-04-18 15:48:58 +08:00
Xiao Yijun
5ccce59c73
style(console): update modal overlay paddings (#3708) 2023-04-18 15:48:45 +08:00
Darcy Ye
2e036eae1f
refactor(core): reorg connector routes and UTs (#3700) 2023-04-18 06:08:52 +00:00
Gao Sun
020a811016
refactor(core): improve cache behavior (#3706) 2023-04-18 12:20:07 +08:00
Gao Sun
c55ff367c7
chore: specify versions for workspace protocol (#3707) 2023-04-17 10:10:14 +00:00
Xiao Yijun
8565ab3dba
refactor(console): add user title display rule (#3701) 2023-04-17 09:55:04 +00:00
Charles Zhao
457cb28224
fix(console): adding social connector should mark related get-started action item as completed (#3693)
* fix(console): adding social connector should mark related get-started action item as completed

* chore: add changeset
2023-04-15 08:10:42 +08:00
Xiao Yijun
c5eb3a2ba7
feat(console): create user by multiple identifiers (#3694) 2023-04-14 09:48:49 +00:00
Xiao Yijun
5553425fcd
feat(console): suspend user (#3696) 2023-04-14 16:44:37 +08:00
Xiao Yijun
9cedac95cb
refactor(cli): improve translation cli (#3695) 2023-04-14 14:00:39 +08:00
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