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

2299 commits

Author SHA1 Message Date
Xiao Yijun
d042dd7d3c
refactor(console): stick the language details table header to the top (#2126) 2022-10-12 15:02:55 +08:00
wangsijie
05b50250a3
fix(console): remove connector id and prevent text overflow (#2072) 2022-10-12 14:42:20 +08:00
Gao Sun
343456f44d
Merge pull request #2124 from logto-io/gao-clean-up-core-inquiry
refactor(core): remove parameters
2022-10-12 11:47:46 +08:00
Gao Sun
a8b0290700
Merge pull request #2121 from logto-io/gao-remove-connector-command-in-core
refactor: remove connector commands in core
2022-10-12 11:44:43 +08:00
Gao Sun
8f91740ba4
Merge pull request #2119 from logto-io/gao-migrate-add-connector-command
feat(cli): add connector command
2022-10-12 11:41:35 +08:00
wangsijie
37c8e703da
feat(core): validate sign in (#2114) 2022-10-12 11:04:28 +08:00
Charles Zhao
9e57ada14e
Merge pull request #2115 from logto-io/charles-improve-demo-app-sign-out-button
refactor(demo-app): improve sign-out button in demo-app
2022-10-12 10:36:51 +08:00
Xiao Yijun
bf782945ed
refactor(console): set language name font style to font-body-medium (#2122) 2022-10-12 10:22:53 +08:00
Gao Sun
216fc9ed85
refactor(core): remove parameters 2022-10-11 22:14:09 +08:00
Xiao Yijun
01fdc4ba11
refactor: remove deprecated fixedLanguage property from LanguageInfo (#2111) 2022-10-11 20:25:35 +08:00
Xiao Yijun
44772ba2e1
refactor(console): add a11y for language editor components (#2123) 2022-10-11 20:25:08 +08:00
simeng-li
ad5b7b1aea
Merge pull request #2087 from logto-io/simeng-log-4347
chore(ui): update content
2022-10-11 19:22:33 +08:00
Gao Sun
36d26091e0
refactor: fix connector directory 2022-10-11 18:27:05 +08:00
Gao Sun
64a0936a77
refactor(core): remove connector commands 2022-10-11 18:10:57 +08:00
Xiao Yijun
c9ef62479d
refactor(console): extract manage language components (#2088) 2022-10-11 18:03:18 +08:00
Xiao Yijun
c21cc3cab6
refactor(console): fix language editor styles (#2110) 2022-10-11 17:42:19 +08:00
Gao Sun
4ccbe4ac65
feat(cli): add connector command 2022-10-11 17:38:58 +08:00
Charles Zhao
3a9d95ed3e
refactor(demo-app): improve sign-out button in demo-app 2022-10-11 16:25:02 +08:00
Darcy Ye
9f1c34bd4e
refactor: merge master to feature to resolve conflicts 2022-10-11 16:01:37 +08:00
renovate[bot]
5e34f68395
chore(deps): update dependency @silverhand/ts-config-react to v1.1.0 (#2058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 15:11:24 +08:00
Lukas
2f00ac5e65
refactor(console): use icon svg files with parcel svg transformer (#2047) 2022-10-11 07:08:31 +00:00
Darcy Ye
2c0c49e1fb
refactor(core): sign-in and register flow share verification session (#2109) 2022-10-11 06:49:33 +00:00
Darcy Ye
9dba4b14a0
refactor(ui,phrases,core): forgot password reuse verification flow (#2105) 2022-10-11 06:31:26 +00:00
wangsijie
766e867297
feat(core): validate sign up (#2093) 2022-10-11 14:16:05 +08:00
Gao Sun
04f16ef4e4
Merge pull request #2102 from logto-io/gao-log-4352-cli-npm-create-compatibility
feat: `npm create` compatibility
2022-10-11 14:00:48 +08:00
Gao Sun
d7e42a5aef
Merge pull request #2081 from logto-io/gao-log-4313-cli-clean-up-to-dos
refactor(core,cli): extract common utils and upgrade essentials
2022-10-11 13:59:24 +08:00
Xiao Yijun
633ec8f5bc
refactor(core): use fallback language as default in demo app (#2095) 2022-10-11 10:30:17 +08:00
Charles Zhao
d765c8fff5
Merge pull request #2085 from logto-io/charles-upgrade-configs-and-improve-a11y-in-demo-app
refactor(demo-app): upgrade configs and improve a11y in demo-app
2022-10-11 10:06:18 +08:00
Gao Sun
fa195f4aa5
refactor(cli): reorg options and logic 2022-10-10 23:55:07 +08:00
FlurryNight
5eeb06e301
feat: add vertical center support (#2032)
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-10-10 23:53:34 +08:00
Gao Sun
a5cd73d961
feat: npm create compatibility 2022-10-10 23:50:20 +08:00
Gao Sun
dddad56518
refactor(cli): fix package.json 2022-10-10 23:44:02 +08:00
Gao Sun
e36ed7bd1a
chore: upgrade essentials 2022-10-10 23:28:39 +08:00
Gao Sun
ba09de9b1e
refactor(core,cli): extract common utils to @logto/shared 2022-10-10 23:26:40 +08:00
Mahesh Vagicherla
4b0970b6d8
fix: add redirectURI validation on frontend & backend (#1874)
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2022-10-10 21:20:20 +08:00
Gao Sun
8c2faa1099
chore(console): temporarily bypass new lint rules 2022-10-10 17:19:22 +08:00
wangsijie
a17c0ae81f
refactor(core): split sign in experience lib 2022-10-10 16:20:10 +08:00
Gao Sun
696e7f181d
chore: merge branch 'master' into feature/manage-language 2022-10-10 15:52:06 +08:00
simeng-li
9ea6a8c8e9
fix(ui): fix ut
fix ut
2022-10-10 15:32:41 +08:00
Darcy Ye
d3d189aa77
refactor(core,ui,test): sign-in and register flows mount on passwordless APIs (#2054) 2022-10-10 14:21:39 +08:00
simeng-li
d65ba52f03
chore(ui): update content
update content
2022-10-10 14:19:04 +08:00
Gao Sun
6146230a09
Merge pull request #2078 from logto-io/gao-log-4330-core-read-oidc-keys-and-config-from
refactor(core): read OIDC configs from database
2022-10-10 14:18:34 +08:00
simeng-li
574330f28d
chore(ui): update content
update content
2022-10-10 14:04:23 +08:00
wangsijie
c67d4a382f
feat(schemas): add sie v2 alteration (#2077) 2022-10-10 14:04:00 +08:00
Charles Zhao
0cf878acd5
refactor(demo-app): upgrade configs and improve a11y in demo-app 2022-10-10 11:47:52 +08:00
wangsijie
ec3898f530
style(console): fix position of added tag (#2070) 2022-10-10 11:36:36 +08:00
simeng-li
2249d717a8
feat(ui): add a11y support (#2076) 2022-10-10 10:57:07 +08:00
Xiao Yijun
a2d59cd0ff
refactor(console): refresh preview on custom phrases updated (#2083) 2022-10-10 10:00:37 +08:00
simeng-li
afa2ac47ee
feat(ui): add reset password error handling flow (#2079) 2022-10-10 09:51:18 +08:00
Xiao Yijun
691bdb3ac9
refactor: replace LanguageKey with LanguageTag (#2080) 2022-10-10 09:43:13 +08:00
Gao Sun
8651c06f93
Merge pull request #2073 from logto-io/gao-log-4334-cli-separate-oidc-config-keys-in
refactor(cli): flatten OIDC config keys
2022-10-09 22:31:13 +08:00
Gao Sun
7f761203b7
refactor(core): fix tests 2022-10-09 22:23:50 +08:00
Xiao Yijun
8417fc851a
refactor(console): support searching in add language selector (#2069) 2022-10-09 22:12:52 +08:00
Gao Sun
7d7f5283ca
refactor(core): read OIDC configs from database 2022-10-09 17:22:34 +08:00
Xiao Yijun
81f9fbc483
fix(console): set undefined value to empty string in custom phrases (#2074) 2022-10-09 16:47:05 +08:00
Gao Sun
e385b60418
refactor(cli): use cli project root as alteration scripts directory (#2075) 2022-10-09 16:29:53 +08:00
wangsijie
b6b9d7ce80
fix(console): clear select state on close modal (#2071) 2022-10-09 15:40:02 +08:00
wangsijie
78eca37e87
feat(schemas): add sie2 schema (#2056) 2022-10-09 15:31:40 +08:00
Gao Sun
4134547cca
refactor(cli): flatten OIDC config keys 2022-10-09 15:16:19 +08:00
simeng-li
37d2b0ce5c
feat(console): add a11y lint to ac (#2066) 2022-10-09 07:07:09 +00:00
Gao Sun
50ae65e674
Merge pull request #2067 from logto-io/gao-log-4329-cli-generate-and-save-keys-into-database
feat(cli): `db seed oidc` command
2022-10-09 13:58:19 +08:00
Gao Sun
121d6d5b74
Merge pull request #2064 from logto-io/gao-log-4325-cli-use-env-to-replace-config-json
refactor(cli): use env to replace config json
2022-10-09 13:57:31 +08:00
Xiao Yijun
68e88840bf
feat(console): delete custom phrases (#2065) 2022-10-09 12:08:50 +08:00
Gao Sun
7d40c2603a
refactor(cli): fixing cli config and log issues 2022-10-08 23:42:42 +08:00
Gao Sun
911117a785
feat(cli): db seed oidc command 2022-10-08 23:27:43 +08:00
Gao Sun
cc5c99beb0
refactor(cli): support dotenv 2022-10-08 18:18:49 +08:00
Gao Sun
ec1c292246
Merge pull request #2062 from logto-io/gao-log-4324-cli-refactor-per-review
refactor(cli): per review
2022-10-08 18:18:11 +08:00
Gao Sun
a8c364e9b3
refactor(cli): use env to replace config json 2022-10-08 18:06:40 +08:00
wangsijie
02c082cb71
fix(console): show correct password after reset (#2063) 2022-10-08 17:56:26 +08:00
Xiao Yijun
4995ab9461
refactor(console): make custom languages become available language options (#2038) 2022-10-08 17:45:55 +08:00
Gao Sun
4a5dfb1b8a
refactor(cli): per review 2022-10-08 17:42:14 +08:00
Gao Sun
8c73067b48
refactor: improve dx 2022-10-08 17:35:01 +08:00
Gao Sun
9696060997
refactor: remove alteration from core 2022-10-08 17:34:58 +08:00
Gao Sun
ff900c3a65
Merge pull request #2051 from logto-io/gao-log-4312-core-remove-database-seed
refactor: remove database seed from core
2022-10-08 17:24:05 +08:00
Gao Sun
0570d5eef1
chore: update cli script (#2059)
`dev` -> `start:dev` to avoid unnecessary runs during root `pnpm dev` script
2022-10-08 09:12:17 +00:00
Gao Sun
5f61450400
Merge pull request #2050 from logto-io/gao-log-4314-cli-alteration-deploy-command
feat(cli): `db alteration deploy` command
2022-10-08 17:08:31 +08:00
Gao Sun
a60e78dc8c
Merge pull request #2048 from logto-io/gao-log-4309-cli-seed-command
feat(cli): `db seed` command
2022-10-08 16:44:21 +08:00
Gao Sun
7412faa728
Merge pull request #2045 from logto-io/gao-log-4311-cli-db-key-command
feat(cli): get/set db config key
2022-10-08 16:22:19 +08:00
Gao Sun
465fb81295
Merge pull request #2043 from logto-io/gao-log-4310-cli-db-config-command
feat(cli): database config command
2022-10-08 16:12:33 +08:00
Gao Sun
dcc1cb947a
Merge pull request #2042 from logto-io/gao-log-4308-cli-init-command
feat(cli): command `init/i/install`
2022-10-08 15:37:35 +08:00
simeng-li
11b605a3e7
fix(core): fix deletePasscodeByIds bug (#2049) 2022-10-08 14:47:30 +08:00
Gao Sun
ba01f13bfa
Merge pull request #2007 from logto-io/feature-cli
feat: init cli
2022-10-08 13:29:06 +08:00
simeng-li
e3de677bd3
refactor(ui): refactor ui i18n (#2033) 2022-10-08 10:24:59 +08:00
Gao Sun
aba872ea4b
refactor(cli): add oraPromise() util 2022-10-07 23:31:13 +08:00
Gao Sun
a3dc967442
refactor: remove database seed from core 2022-10-07 23:08:25 +08:00
Gao Sun
c324e29df3
refactor(core): use config key enum 2022-10-07 20:26:50 +08:00
Gao Sun
a5280a2afd
feat(cli): db alteration deploy command 2022-10-07 19:48:17 +08:00
Gao Sun
2c159a06d2
refactor(cli): add todo for alteration state 2022-10-07 00:37:39 +08:00
Gao Sun
5c7000ddc3
feat(cli): db seed command 2022-10-07 00:31:35 +08:00
Gao Sun
441e9e9262
chore: fix package scripts (#2044) 2022-10-06 17:34:21 +08:00
Gao Sun
0eff1e3591
feat(cli): get/set db config key 2022-10-05 22:46:52 +08:00
Gao Sun
880d07ebf7
refactor(cli): add database set-url command 2022-10-05 15:22:18 +08:00
Gao Sun
0eb306a61c
feat(cli): database config command 2022-10-05 15:22:08 +08:00
Gao Sun
f05691b431
feat(cli): command init/i/install 2022-10-04 13:45:27 +08:00
Gao Sun
8a0a46380d
refactor(cli): add bin file 2022-10-03 20:27:06 +08:00
Gao Sun
50e5e5fa22
refactor(cli): support proxy 2022-10-03 19:00:44 +08:00
Gao Sun
a59ba6e318
refactor(cli): experience improvements 2022-10-03 17:52:28 +08:00
Gao Sun
a67c23e4b0
refactor(cli): use got and fix lint errors 2022-10-03 13:30:58 +08:00
Olyno
0c6462dbda
feat(cli): init 2022-10-03 13:30:54 +08:00
Xiao Yijun
1223d23eb3
fix(console): language editor form should be dirty on clear button clicked (#2037) 2022-09-30 17:56:03 +08:00
Darcy Ye
0960afc97d
refactor(core,phrases): add send/verify passcode via email/sms routes and corresponding UTs (#2035)
* refactor(core,phrases): add send/verify passcode via email/sms routes and corresponding UTs

* refactor(core,phrases): flow to reuse PasscodeType
2022-09-30 08:55:55 +00:00
Xiao Yijun
800ac7fcd9
feat(console): add custom language (#2029) 2022-09-30 16:19:16 +08:00
Darcy Ye
753e8ebdfd
refactor(core,schemas): refactor log types with zod (#2034) 2022-09-30 03:48:12 +00:00
simeng-li
f1ca49c892
feat(ui): global confirm modal (#2018)
* feat(ui): global confirm modal

gloabl configm modal

* fix(ui): cr update

cr update
2022-09-30 10:31:30 +08:00
IceHe
3eb44e1e56
refactor(core,console,phrases,schemas): replace language key with language tag (#2026) 2022-09-30 10:30:32 +08:00
IceHe
bd0596f035
chore(schemas): add db alteration script to repair user created_at column by user logs (#2031) 2022-09-30 10:27:06 +08:00
IceHe
1271cd162e
refactor(core,phrases): rm empty strings and check structure in PUT /custom-phrase (#2022) 2022-09-29 09:14:20 +00:00
IceHe
cce2d40160
refactor(core): count new users by created_at (#2027) 2022-09-29 15:32:43 +08:00
IceHe
a4cb138c12
refactor(core,phrases,schemas): validate fallback language before updating sign-in experience (#2023) 2022-09-29 15:28:58 +08:00
silverhand-bot
11381afdc5
release: v1.0.0-beta.10 2022-09-28 14:30:24 +00:00
Darcy Ye
eea4d4cd3e
refactor(core): should not use login to store session info (#2017) 2022-09-28 21:01:10 +08:00
Xiao Yijun
2c1610d665
refactor(console,core,phrases): replace LanguageKey with LangaugeTag in phrase-ui related code (#2024) 2022-09-28 18:16:23 +08:00
Gao Sun
2db331e19f
refactor(core): copy alteration scripts before executing (#2021) 2022-09-28 15:25:54 +08:00
wangsijie
4a777d0007
style(console): new style for add connectors (#2020) 2022-09-28 11:05:57 +08:00
Gao Sun
2e2aa728e3
refactor(console): open docs website for M2M app guide (#2011) 2022-09-27 19:26:06 +08:00
Charles Zhao
dc7243288d
Merge pull request #2019 from logto-io/charles-log-4261-replace-icons-in-ac-get-started-page
chore(console): replace icons in get-started page
2022-09-27 17:34:06 +08:00
Charles Zhao
05777812ae
chore(console): replace icons in get-started page 2022-09-27 17:20:15 +08:00
IceHe
df18d87103
chore(schemas): add custom phrases database alteration script (#2016) 2022-09-27 09:15:56 +00:00
Gao Sun
5bd54484b4
refactor(core): update filename to alteration (#2015) 2022-09-27 07:52:39 +00:00
IceHe
7ce55a8458
feat(core,phrases): add GET /phrase route (#1959) 2022-09-27 07:36:03 +00:00
Gao Sun
2d069cbebf
refactor(schemas): auto update next alteration scripts (#2008)
* refactor(schemas): auto update next alteration scripts

* refactor(schemas): update eslint config

* refactor(core): log when alteration is done
2022-09-27 14:43:17 +08:00
Xiao Yijun
505985802b
refactor(console): use Translation type from @logto/schemas (#2006) 2022-09-27 04:27:59 +00:00
Xiao Yijun
58e1f9f0da
refactor(console): hide manage language button in sign-in-experience guide (#1989) 2022-09-26 21:54:50 +08:00
Xiao Yijun
5e59bc9e93
refactor(console): filter empty content before updating custom phrases (#1995) 2022-09-26 21:39:43 +08:00
Xiao Yijun
0679a6a67c
feat(console): display unsaved alert on custom phrases changed (#1994) 2022-09-26 21:39:43 +08:00
Xiao Yijun
48832e5054
feat(console): manage language (#1981) 2022-09-26 21:39:42 +08:00
Xiao Yijun
f25ae4de14
fix(console): use fallback language in preview (#1960) 2022-09-26 21:39:00 +08:00
Xiao Yijun
cdfaf8b1c7
feat(console): auto detect language setting (#1941) 2022-09-26 21:37:35 +08:00
Xiao Yijun
ad1d1e3b59
Revert "feat(console): auto detect language setting (#1941)" (#2004)
This reverts commit 49b430394d.
2022-09-26 17:54:17 +08:00
Xiao Yijun
fa98452fe5
Revert "fix(console): use fallback language in preview (#1960)" (#2003)
This reverts commit de4c46e400.
2022-09-26 17:33:37 +08:00
wangsijie
10c1be6eb7
fix(core,schemas): move alteration types into schemas src (#2005) 2022-09-26 17:29:44 +08:00
wangsijie
2cb4091039
refactor(core,schemas): rename migration to alteration (#2002) 2022-09-26 16:38:27 +08:00
simeng-li
999867ea40
refactor(ui): align api naming with core (#1992)
* refactor(ui): align api naming with core

align api naming with core

* fix(ui): fix cr comments

update the reset-password api naming
2022-09-26 15:59:53 +08:00
wangsijie
af1ccf6ffa
Merge pull request #2001 from logto-io/sijie-log-4238-create-tables-state
feat(core): update migration state after db init
2022-09-26 15:56:54 +08:00
wangsijie
f904b88f56
feat(core): update migration state after db init 2022-09-26 15:44:48 +08:00
wangsijie
450130b4b8
Merge pull request #1990 from logto-io/sijie-log-4232-migration-timestamp
feat(core,schemas): use timestamp to version migrations
2022-09-26 13:54:46 +08:00
Gao Sun
c89c09c0f9
Merge pull request #1996 from logto-io/gao-fix-me-api-error
refactor(console): fix me api error
2022-09-26 13:45:39 +08:00
Gao Sun
a75f8fe959
feat(console): configure M2M app access (#1999)
* feat(console): configure M2M app access

* refactor(console): limit admin access switch to M2M

* refactor(console): update app icons
2022-09-26 11:46:06 +08:00
Darcy Ye
ec3fa4715d
chore(core): remove unnecessary updateLastSignInAt (#1982) 2022-09-26 03:28:18 +00:00
simeng-li
649958023d
refactor(ui): refactor confirmModalPromisify (#1993)
refactor confirmModalPromisify
2022-09-26 11:27:25 +08:00
wangsijie
bb4bfd3d41
feat(core,schemas): use timestamp to version migrations 2022-09-26 11:27:12 +08:00
simeng-li
c9ba198b59
fix(ui): align mobile input outline (#1991)
mobile input field does not have outline
2022-09-24 15:59:35 +08:00
Gao Sun
2d99378778
refactor(console): fix change password 2022-09-24 15:58:45 +08:00
Gao Sun
c86155131a
refactor(console): fix me api error 2022-09-24 15:55:13 +08:00
wangsijie
bf1d281905
feat(core): check migration state before app start (#1979) 2022-09-23 16:31:46 +08:00
renovate[bot]
82ff9d8a97
chore(deps): update dependency puppeteer to v18 (#1967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-23 16:09:59 +08:00
Charles Zhao
68ed28de72
chore: bump to js sdk 1.0.0-beta.8 2022-09-23 15:51:07 +08:00
wangsijie
f4cf89fb8d
fix(core): filter out connector-kit (#1987) 2022-09-23 07:38:31 +00:00
Gao Sun
082e82b3bf
refactor(schemas): decouple migration scripts 2022-09-23 15:03:32 +08:00
Gao Sun
88b1384ccb
refactor(core): use default import for migration scripts 2022-09-23 15:03:32 +08:00
Gao Sun
b367cd3380
refactor(core): add migration scripts for #1973 2022-09-23 15:03:32 +08:00
wangsijie
c2aa427016
docs(schemas): add migration file readme (#1984) 2022-09-23 06:53:03 +00:00
simeng-li
ddb0e47950
feat(ui): add passwordless switch (#1976)
add passwordless switch
2022-09-23 10:33:00 +08:00
wangsijie
9a89c1a200
feat(core): deploy migration in transaction mode (#1980) 2022-09-23 10:22:13 +08:00
Gao Sun
d4fc7b3e5f
refactor(core)!: update koaAuth() to inject detailed auth info (#1977)
* refactor(core)!: update `koaAuth()` to inject detailed auth info

* test(core): add auth context to unit test requester
2022-09-22 15:48:11 +00:00
Gao Sun
665b0f479b
Merge pull request #1973 from logto-io/gao-log-264-machine-to-machine-tech-support
feat(core): machine to machine apps
2022-09-22 22:58:08 +08:00
Gao Sun
cd9c6978a3
feat(core): machine to machine apps 2022-09-22 22:12:16 +08:00
renovate[bot]
c06fa93921
chore(deps): update dependency @logto/react to v1.0.0-beta.7 (#1955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-22 19:00:58 +08:00
Darcy Ye
acdc86c856
feat(core): add POST /session/forgot-password/reset (#1972) 2022-09-22 03:30:45 +00:00
wangsijie
7cc2f4d142
feat(core,schemas): migration deploy cli (#1966) 2022-09-22 10:35:23 +08:00
5war00p
970d360988
refactor: updated button component in packages/ui (closes #1859) (#1958)
* refactor: updated button component in packages/ui

* docs: added comment for window.timeout

* docs: added prefix to comment

* fix: removed unwanted style changes

* fix(ui): update button props

update button props, add ut

* fix(ui): fix merge conflicts

fix merge conflicts

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-09-21 14:20:47 +08:00
simeng-li
5f81cd1ef5
refactor(core): refactor admin user auth check logic (#1970)
* refactor(core): refactor admin user auth check logic

refactor admin user auth check logic

* test(core): add ut

add ut

* test(core): add integration test

add integration test

* fix(test): fix integration test

fix integration test
2022-09-21 11:18:00 +08:00
renovate[bot]
d88f18b1c2
chore(deps): update dependency @logto/node to v1.0.0-beta.7 (#1954)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 20:40:48 +08:00
Darcy Ye
1ea39f3463
feat(core): add POST /session/forgot-password/{email,sms}/verify-passcode (#1968) 2022-09-20 08:38:08 +00:00
Darcy Ye
af2600d828
feat(core): add POST /session/forgot-password/{email,sms}/send-passcode (#1963) 2022-09-20 14:14:27 +08:00
simeng-li
f97ec56fbf
feat(ui): add reset password form (#1964)
add reset password form
2022-09-20 02:33:53 +00:00
simeng-li
ff81b0f83e
feat(ui): add reset password page (#1961)
* feat(ui): add reset password form page

add reset passsword form page

* fix(ui): fix ut

fix ut

* fix(ui): fix ut typo

fix ut typo
2022-09-20 02:16:28 +00:00
IceHe
a1aef26905
feat(core): cannot delete custom phrase used as default language in sign-in exp (#1951) 2022-09-19 10:18:03 +00:00
Charles Zhao
54892ea6d9
chore: bump toolkit to v1.0.0-beta.13 2022-09-19 17:16:19 +08:00
simeng-li
ba787b434b
feat(ui): add forget password flow (#1952)
feat(ui): add reset password verification flow

add reset password verification flow
2022-09-19 16:57:43 +08:00
simeng-li
39d80d9912
feat(ui): add forget password page (#1943)
* refactor(ui): folder rename temp

folder rename temp

* fix(ui): folder rename

rename UsernameSignin to UsernameSignIn

* feat(ui): add forget-password page

add forget-password page

* test(ui): add page ut

add page ut

* fix(ui): cr update

change forget password to forgot password

* chore(ui): hide WIP page path

hide WIP page path
2022-09-19 16:08:31 +08:00
Xiao Yijun
de4c46e400
fix(console): use fallback language in preview (#1960) 2022-09-19 11:42:45 +08:00
Charles Zhao
20f1c5140b
chore(console): increase ky request timeout to 20s 2022-09-17 20:54:16 +08:00
Charles Zhao
ccbe5dab2d
fix(console): get prefixed router basename in local dev env 2022-09-17 13:35:10 +08:00
Charles Zhao
2f92b43864
fix: bump react sdk and essentials toolkit to support CJK characters in idToken 2022-09-17 09:59:27 +08:00
Gao Sun
42586eff88
refactor: remove shared packages (#1946)
* refactor: remove shared packages

* refactor: fix error
2022-09-16 11:25:43 +00:00
IceHe
2f373db8e4
fix(phrases): phrases-ui typo and types (#1948) 2022-09-16 18:12:32 +08:00
wangsijie
0ca0096d0d
chore: revert "Merge pull request #1927 from logto-io/sijie-log-4160-… (#1939)
* chore: revert "Merge pull request #1927 from logto-io/sijie-log-4160-protected-access"

This reverts commit 0567fc6347, reversing
changes made to c01384141d.

* chore: revert "feat(core): add ts to interaction result (#1917)"

This reverts commit e01042cbcd.
2022-09-16 17:01:34 +08:00
Xiao Yijun
49b430394d
feat(console): auto detect language setting (#1941) 2022-09-15 21:23:49 +08:00
Darcy Ye
66fc5f716b
chore: expose fallback() from shared/utilities/zod (#1942) 2022-09-15 20:52:49 +08:00
IceHe
5fe0cf4257
feat(core): add GET /custom-phrases route (#1935) 2022-09-15 20:15:33 +08:00
wangsijie
577ca48c07
feat(schemas): add logto configs table (#1940) 2022-09-15 17:39:49 +08:00
Darcy Ye
3215bc0bc5
chore: update GetUserInfo to accept possible boolean or number typed values (#1938) 2022-09-15 17:35:42 +08:00
simeng-li
602b9a0dbd
refactor(ui): refactor sign-social-call path name (#1931)
align with the sign-in page's other path pattern
2022-09-15 15:55:35 +08:00
simeng-li
fa9bf16092
refactor(ui): refactor toast (#1928)
refactor taost using react modal
2022-09-15 07:52:36 +00:00
IceHe
0ae13f091b
feat(core): add PUT /custom-phrases/:languageKey route (#1907) 2022-09-15 14:49:23 +08:00
Darcy Ye
31ecfd0b96
chore: check connector related types and eliminate redundancy (#1925) 2022-09-15 14:28:19 +08:00
wangsijie
14cb0439e3
fix(console): add sandbox attribute to iframe (#1926) 2022-09-15 12:20:14 +08:00
Gao Sun
8d22b5c468
refactor(core)!: update user scopes (#1922)
* refactor(core)!: update user scopes

* refactor(core): add tests

* refactor: update per review
2022-09-15 11:12:33 +08:00
wangsijie
0567fc6347
Merge pull request #1927 from logto-io/sijie-log-4160-protected-access
feat(core,phrases): add check protected access function
2022-09-14 18:13:39 +08:00
wangsijie
e405ef7bb8
feat(core,phrases): add check protected access function 2022-09-14 16:58:09 +08:00
Charles Zhao
c01384141d
Merge pull request #1920 from logto-io/charles-log-4163-support-capital-y-in-command-line-prompt
fix: support capital letter "Y" in command line prompt
2022-09-14 16:32:42 +08:00
IceHe
c72be69bea
feat(core): add DELETE /custom-phrases/:languageKey route (#1919) 2022-09-14 16:28:58 +08:00
wangsijie
e01042cbcd
feat(core): add ts to interaction result (#1917) 2022-09-14 11:35:49 +08:00
Charles Zhao
416f4e86e3
fix: support capital letter "Y" in command line prompt 2022-09-13 18:52:46 +08:00
Charles Zhao
518831a37d
chore: bump sdk to 1.0.0-beta.5 2022-09-13 18:11:41 +08:00
IceHe
7242aa8c2b
feat(core,schemas): add phrases schema and GET /custom-phrases/:languageKey route (#1905) 2022-09-13 17:36:37 +08:00
Charles Zhao
cdbd8d7344
fix(console): old value does not flash back on saving form 2022-09-10 12:24:12 +08:00
Charles Zhao
85283cfcee
chore: bump to js sdk 1.0.0-beta.4 2022-09-09 18:38:56 +08:00
Xiao Yijun
ecdf06ef39
feat(core): save empty string as null value in DB (#1901) 2022-09-09 11:15:40 +08:00
Xiao Yijun
f9879df7bd
docs: remove persistAccessToken from go web docs (#1899) 2022-09-09 11:15:24 +08:00
Xiao Yijun
5bdb6755d2
feat(core): support base64 format OIDC_PRIVATE_KEYS config in .env file (#1903) 2022-09-08 09:49:36 +00:00
silverhand-bot
8335e1ff0a
release: v1.0.0-beta.9 2022-09-07 16:21:37 +00:00
Charles Zhao
91d1bf8004
fix: downgrade to sdk 1.0.0-beta.2 (#1896)
fix(console,demo-app): downgrade js sdk version to 1.0.0-beta.2 to avoid sign-in issues

This reverts commit ac945712e6, reversing
changes made to c97d8610d9.
2022-09-07 22:31:49 +08:00
Charles Zhao
035be481cc
fix(console): input invalid format content in multitextinput will not crash the app 2022-09-07 16:46:53 +08:00
Darcy Ye
2e0ab8988a
chore(schemas,core,console): rename ConnectorDto to ConnectorResponse (#1884) 2022-09-07 16:12:18 +08:00
wangsijie
c6764f95f7
fix: fetch connectors list from npm (#1894) 2022-09-07 16:09:46 +08:00
BTX26
6676c4f634
chore(phrases): update admin console phrases (#1804) 2022-09-07 07:05:20 +00:00
Kyungyoon Kim
c57228c2ec
feat(console): press tab to insert 2 spaces in code editor (#1871) 2022-09-07 14:31:43 +08:00
Charles Zhao
e2005780a3
fix(console,ui): fix locale guard issue in settings page 2022-09-07 14:15:25 +08:00
Xiao Yijun
9851619ba0
docs: go web app integration guide (#1831) 2022-09-07 02:58:09 +00:00
Charles Zhao
75510b6976
chore(console,demo-app): bump react sdk version to beta.3 2022-09-06 11:45:08 +08:00
Darcy Ye
c97d8610d9
chore(connector-core,core,phrases): use try catch on JSON.parse (#1857) 2022-09-06 02:40:35 +08:00
renovate[bot]
13954b4885
chore(deps): update dependency @logto/node to v1.0.0-beta.3 2022-09-06 00:31:42 +08:00
Zezao
f268ecb1a8
feat: add Portuguese translation 2022-09-05 19:51:50 +08:00
Wang Sijie
44117ae1da
chore: remove connectors (#1880) 2022-09-05 18:22:59 +08:00
Wang Sijie
52b9dd8569
feat(core)!: load connectors by folder (#1879) 2022-09-05 17:49:11 +08:00
Xiao Yijun
d2eb7d6694
test: increase integration test case timeout to 10s (#1869) 2022-09-02 17:20:09 +08:00
Gao Sun
8c451b4e3c
chore: upgrade silverhand packages (#1854) 2022-09-01 17:03:49 +08:00
silverhand-bot
301bd23b49
release: v1.0.0-beta.8 2022-09-01 06:11:38 +00:00
Gao Sun
4bafde5bb6
refactor(connector): update access configs (#1845) 2022-09-01 05:47:24 +00:00
Gao Sun
139dec727d
refactor: connector-core types (#1843)
* refactor: connector-core types

* refactor: fix rebase issues

* refactor: remove unused types

* refactor: fix connector error code

* refactor(core): add comments

* refactor: remove unused types
2022-09-01 04:21:42 +00:00
renovate[bot]
8c2fba81fd
chore(deps): update dependency puppeteer to v17 (#1835)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 10:32:02 +08:00
Darcy Ye
923bedcda4
chore(connector-core): connector error codes use i18n key as enum string literals (#1833) 2022-08-31 17:12:13 +08:00
Wang Sijie
fa51b96255
build(connector): use ncc to package connector (#1840) 2022-08-31 13:20:55 +08:00
Kyungyoon Kim
1f9e820eb6
feat(connector): add kakao connector (#1826)
* feat(connector): add kakao connector

* fix(connector): kakao when user profile is null bug fix

* chore(connector): update kakao connector readme

* chore(connector): delete changelog

* chore(connector): delete unused lib

* test(connector): update test

* fix: pnpm lock

* fix: fix test

Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-08-31 10:59:59 +08:00
Wang Sijie
d952d8660d
refactor(phrases,shared,connector-core): move language key to shared (#1838) 2022-08-30 16:53:49 +08:00
silverhand-bot
3d92f35589
release: v1.0.0-beta.6 2022-08-30 05:44:34 +00:00
Gao Sun
0f6b640905
refactor(shared,connector-core): prepare for publishing (#1828)
* refactor(shared): remove `private: true`

* refactor(connector-core): change license to MIT

* chore(shared,connector-core): add publishConfig
2022-08-29 23:50:55 +08:00
Darcy Ye
9fa1bdfa19
chore(core): function naming should stick to camel case (#1834) 2022-08-29 11:27:33 +00:00
Xiao Yijun
5d1b7c3767
test: increase request timeout in integration tests (#1832) 2022-08-29 10:26:55 +00:00
Wang Sijie
770e0507c7
chore(connector): remove unused shared dep (#1827) 2022-08-29 13:21:42 +08:00
Wang Sijie
71041beef9
style(console): fix detail page height in small window (#1820) 2022-08-29 11:36:35 +08:00
Wang Sijie
7cf567dca7
style(console): fix border style copy field padding (#1815) 2022-08-27 11:09:23 +08:00
Darcy Ye
186164536c
chore(connector): use literal enum for ConnectorErrorCodes (#1823)
chore(connector): use literal enum for ConnectorErrorCodes
2022-08-27 11:05:41 +08:00
Darcy Ye
dfa65938bf
chore(connector): fix text encoding identifier cases (#1824)
* chore(connector): fix text encoding identifier cases

* chore(connector): fix UT signing results due to the changes in parameters
2022-08-26 18:27:50 +08:00
IceHe.Life
d0e7d7a9dd
refactor(phrases,console): move terms_of_use translations (#1822) 2022-08-26 16:37:04 +08:00
Wang Sijie
8db355287c
refactor(connector): apply new design (#1817)
* feat(core,connector-core): add connector core (#1803)

* feat(core,connector-core): add connector core

* fix: create connector function

* refactor(connector): change connectors dependency from connector-types to connector-core (#1812)

* refactor(connector,core): change the connectors dependency from connector-types to connector-core

* refactor(core): do not need to test validator for specific connector implementation

* refactor(connector): remove unnecessary code snippets

* refactor(connector): keep UT placeholder for passwordless connectors

Co-authored-by: wangsijie <wangsijie@silverhand.io>

* fix(core): fix IT description and undestructure error (#1818)

fix(connector): fix connector routes and IT typos

* fix(connector): remove @logto/connector-types as it will not be used anymore (#1819)

fix(connector): remove @logto/connector-types as it will not be used anymore

* chore(connector): rename db in logto connector (#1821)

chore(connector): rename LogtoConnector db to dbEntry

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2022-08-26 16:25:08 +08:00
Wang Sijie
82cd31545d
fix(console): change step title to sentence case (#1814) 2022-08-25 17:05:42 +08:00
Gao Sun
a66890dc53
refactor(core): use consts for session prefix (#1811)
* refactor(core): use consts for session prefix

* refactor(core): fix session route util
2022-08-24 22:49:05 +08:00
Wang Sijie
4161d0b297
style(console): fix copytoclipboard padding (#1813) 2022-08-24 22:48:46 +08:00
Wang Sijie
8e4ef2ff25
feat(console): express integration guide (#1807)
* feat(console): express integrate guide

* fix: cr

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

* fix: cr

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

* fix: cr

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2022-08-24 17:20:30 +08:00
Gao Sun
a2043a6804
Merge pull request #1810 from logto-io/gao-log-3981-core-check-sign-in-mode-and-guard
feat(core): guard session with sign-in mode
2022-08-24 14:26:57 +08:00
Gao Sun
1d412662b6
refactor(core): fix test 2022-08-23 20:03:07 +08:00
Xiao Yijun
224ba4c608
refactor(core): flatten router parameter context types (#1809) 2022-08-23 18:42:39 +08:00
Gao Sun
a8a3de3544
feat(core): guard session with sign-in mode 2022-08-23 18:29:05 +08:00
Gao Sun
3d6763934f
refactor(core): session routes 2022-08-23 17:34:00 +08:00
Gao Sun
67305ec407
feat(console): allow to disable create account (#1806) 2022-08-23 15:42:01 +08:00
Gao Sun
35a4b7289a
refactor: watch all packages when dev (#1796) 2022-08-22 14:58:39 +08:00
silverhand-bot
a9241c5862
release: v1.0.0-beta.5 2022-08-19 13:49:33 +00:00
Gao Sun
4afdf3cb4c
feat(core): set user default roles from env (#1793) 2022-08-19 16:53:19 +08:00
Gao Sun
84c0d8f845
refactor(core): replace argon2 with hash-wasm (#1794) 2022-08-19 13:47:24 +08:00
Wang Sijie
31f243957c
fix(console): show platform icons in connector table (#1792) 2022-08-19 13:39:50 +08:00
Gao Sun
87d3a53b65
feat(core): hasura authn (#1790)
* feat(core): hasura authn

* refactor(core): fix test error
2022-08-18 14:10:17 +00:00
Xiao Yijun
213df4e1be
docs(connector): change redirect uri prefix to endpoint on google connector readme file (#1789) 2022-08-17 19:15:02 +08:00
Xiao Yijun
72e7341c3d
refactor(core): import getEnvAsStringArray from silverhand/essentials (#1787)
* refactor(core): import `getEnvAsStringArray` from `silverhand/essentials`

* chore: bump `@silverhand/essentials` to `1.2.0`
2022-08-17 11:40:50 +08:00
Gao Sun
2c6171c2f9
refactor(core,console)!: remove /me apis (#1781)
* refactor(core,console)!: remove `/me` apis

* fix(phrases): add missing fr phrase
2022-08-15 20:45:29 +08:00
Gao Sun
a6bb2f7ec2
feat(core): enable userinfo endpoint (#1783)
* feat(core): enable userinfo endpoint

* fix(deps): move snake-case to production deps
2022-08-15 20:45:13 +08:00
simeng-li
163c23b9bd
fix(core): fix ac & ui proxy under subpath deployment (#1761)
fix ac & ui procy under subpath deployment
2022-08-15 09:50:18 +08:00
Olyno
0503b30121
feat(phrases): add french language (#1767)
* feat(phrases): add french language

* feat(phrases): add missing french translation

* feat(phrases): add missing import

* fix(phrases): fix liniting

* fix(phrases): linting

* fix(phrases): apply review changes

* fix(phrases): linting

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2022-08-14 12:36:10 +00:00
Gao Sun
166da40210
refactor(core): update app secret length to 21 (#1773) 2022-08-12 23:38:10 +08:00
Gao Sun
6a2e604926
test(ui): init smoke testing (#1771)
* test(ui): init smoke testing

* fix(test): logto url env key
2022-08-12 18:07:16 +08:00
renovate[bot]
a9f99db54e
fix(deps): update dependency slonik to v30 (#1744)
* fix(deps): update dependency slonik to v30

* fix(core): await for `createPool()`

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-08-12 09:27:54 +00:00
Charles Zhao
212da8c9e4
chore(console): cleanup unused code 2022-08-12 13:56:15 +08:00
Xiao Yijun
cb60b993cb
chore(core): update inaccurate content in readPrivateKeys method (#1768) 2022-08-12 11:59:14 +08:00
renovate[bot]
0acd432a3f
chore(deps): update parcel monorepo to v2.7.0 (#1733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 22:54:30 +08:00
silverhand-bot
e42172e757
release: v1.0.0-beta.4 2022-08-11 13:48:19 +00:00
Xiao Yijun
8870f9cef0
chore(core): remove redundant try catch in readPrivateKeys (#1764) 2022-08-11 12:03:29 +00:00
Xiao Yijun
f6db981600
feat(core)!: use comma separated values as a string array in the env file (#1762) 2022-08-11 19:43:55 +08:00
renovate[bot]
36530fd6ef
chore(deps): update dependency @types/jest to v28 (#1759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 14:55:10 +08:00
IceHe.Life
cdf210df10
feat(schemas): guard string max length (#1737) 2022-08-10 06:10:19 +00:00
simeng-li
62d2afe957
fix(ui): add sandbox props to iframe (#1757)
add sandbox props to iframe
2022-08-10 10:59:59 +08:00
IceHe.Life
ba50de5d66
refactor(test): inline link-mock-connectors.sh (#1746)
* refactor(test): inline link-mock-connectors.sh

* refactor(test): use lerna add instead of pnpm link

* refactor(connector): align folder name with package name for connector-mock-email
2022-08-09 11:23:05 +08:00
simeng-li
0270bf1be3
fix(ui): extract ReactModal elementApp and fix act warning in ut (#1756)
extract ReactModal elementApp and fix act warning in ut
2022-08-09 11:00:43 +08:00
simeng-li
4b972f2e23
fix(ui,console,demo-app): update react render method (#1750)
update react root render method
2022-08-08 17:31:37 +08:00
renovate[bot]
d666c30129
chore(deps): update dependency @logto/node to v1.0.0-beta.2 2022-08-08 08:58:00 +00:00
Charles Zhao
1115191a62
chore(console,demo-app): bump react sdk to 1.0.0-beta.2 2022-08-08 16:35:06 +08:00
Xiao Yijun
5624ea423a
refactor(core): remove redundant isBuffer('base64url') (#1749) 2022-08-08 07:33:12 +00:00
Xiao Yijun
00bab4c095
feat(core): support signing key rotation (#1732) 2022-08-08 14:00:24 +08:00
Charles Zhao
c7e5ae3b6b
Merge pull request #1731 from logto-io/renovate/major-react-monorepo
chore(deps): update react monorepo to v18 (major)
2022-08-08 13:58:15 +08:00
Charles Zhao
fd9b8435ac
refactor: add allowObjectInHTMLChildren prop to resolve i18n type issues 2022-08-08 12:19:55 +08:00
simeng-li
e4629f2a5f
fix(ui): fix ui test
fix ui test
2022-08-08 11:55:36 +08:00
Gao Sun
925dc052d7
refactor: upgrade i18next 2022-08-06 00:47:58 +08:00
IceHe.Life
6327eb6c57
refactor(core,schemas,ui): fix non-consistent type definitions (#1742) 2022-08-05 23:42:16 +08:00
Charles Zhao
f0347a7a6f
Merge pull request #1724 from logto-io/charles-log-3866-update-protect-api-and-pages-section-in-nextjs-guide
docs(console): update next.js integration guide
2022-08-05 20:14:08 +08:00
IceHe.Life
11a11fc6c2
refactor: simplify jest.config.ts (#1741) 2022-08-05 18:43:32 +08:00
Gao Sun
8b515435cd
fix: build and types 2022-08-05 17:59:03 +08:00
Gao Sun
9b4683b709
chore(deps): upgrade packages 2022-08-05 15:50:31 +08:00
renovate[bot]
72fc343513
chore(deps): update react monorepo to v18 2022-08-05 06:13:30 +00:00
Gao Sun
08bea22195
chore(deps): upgrade packages (#1738)
* chore(deps): upgrade packages

* refactor: update per lint report

* chore(deps): upgrade configs

* fix(ui): lint rules compatibility

* chore: remove unused override

* chore(deps): upgrade jest config
2022-08-05 05:58:31 +00:00
Wang Sijie
380e2581fa
feat(console): add app secret to guide (#1735) 2022-08-05 11:29:22 +08:00
renovate[bot]
21a0c8f635
fix(deps): update dependency slonik to v29 (#1700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 19:29:02 +08:00
Wang Sijie
01dfeed19b
feat(console): show app secret (#1723) 2022-08-04 13:18:13 +08:00
Charles Zhao
0f35efec59
chore: bump react sdk version to 1.0.0-beta.0 2022-08-04 12:18:31 +08:00
Charles Zhao
d35654ffb2
Merge pull request #1725 from logto-io/charles-update-default-web-app-port-from-1234-to-3000
chore(console): update default app running port number from 1234 to 3000
2022-08-04 00:46:33 +08:00
Xiao Yijun
f71d9891a8
test: integration test for deleting user identities (#1728) 2022-08-03 17:20:22 +08:00
IceHe.Life
3b7f86e2a2
refactor(core): replace deprecated .nonempty() with .min(1) for ZodString (#1727) 2022-08-03 15:20:34 +08:00
simeng-li
f257e4deb2
test(test): add social integration tests (#1721)
* test(test): add social integration tests

add social integration tests

* fix(test): align format

align format

* fix(test): cr update

cr update

* fix(test): cr update

cr update

* fix(test): cr update

cr update
2022-08-03 05:43:28 +00:00
Charles Zhao
5f7752c102
chore(console): update default app running port number from 1234 to 3000 2022-08-02 21:48:39 +08:00
Charles Zhao
fe6a44efec
docs(console): update next.js integration guide 2022-08-02 20:44:57 +08:00
Xiao Yijun
a62793a3f0
chore(console): remove unused language texts in i18n locale files (#1722) 2022-08-02 09:23:20 +00:00
Wang Sijie
543ee04f53
feat(core,schemas): add application secret (#1715) 2022-08-02 16:18:50 +08:00
simeng-li
3af5b1b425
fix(ui): connector name should fallback to en (#1718)
connector name should fallback to en
2022-08-02 13:46:29 +08:00
Wang Sijie
3deb98c18d
fix(shared): fix dark color generator (#1719) 2022-08-02 03:02:52 +00:00
IceHe.Life
7579abaea4
refactor(test): replace facebook connector with mock social connector (#1714)
* refactor(test): replace facebook connector with mock social connector in connector set-up flow test

* refactor(test): replace facebook connector with mock social connector in SIE tests
2022-08-02 09:44:35 +08:00
silverhand-bot
1e568e02c9
release: v1.0.0-beta.3 2022-08-01 15:02:50 +00:00
Gao Sun
2229dce36e
Revert "feat(console): checked if sign in method is primary" (#1712)
Revert "feat(console): checked if sign in method is primary (#1706)"

This reverts commit 405791f991.
2022-08-01 10:53:00 +00:00
simeng-li
84f3b7f05e
chore(core): make the i18n optional for connector metadata (#1711)
* chore(core): make the i18n optional for connector metadata

make i18n optional for connector metadata

* fix(console): update type assertion

update type assertion

* chore(console): insert type instead

insert type instead
2022-08-01 09:58:34 +00:00
Charles Zhao
7aaac5b0d9
Merge pull request #1705 from logto-io/charles-log-3852-fallback-docs-link-to-english
refactor(console): refactor language options and refine documentation l10n url logic
2022-08-01 17:19:03 +08:00
simeng-li
6ca417fbd8
test(test): add sign-in then sign-out test (#1702)
add sign-in then sign-out test
2022-08-01 16:28:19 +08:00
simeng-li
ef9bc1e3fc
test(test): add get access token flow test (#1701)
add get access token flow test
2022-08-01 15:50:24 +08:00
simeng-li
054899fb90
test: add mock social connector (#1710)
* chore(test): add mock social connector package

add mock social connector package

* fix(test): cr update

cr udpate
2022-08-01 07:09:51 +00:00
Charles Zhao
3b9cf52996
refactor(console): refactor language options and refine documentation l10n url logic 2022-08-01 14:28:53 +08:00
Charles Zhao
23d20e3654
Merge pull request #1704 from logto-io/charles-log-3845-add-nextjs-guide-in-admin-console
feat(console): add Next.js integration guide in admin console
2022-08-01 10:30:56 +08:00
simeng-li
a2e4729aaa
test(test): add passwordless integration test (#1697)
* test(test): add paswordless integration test

add passwordless integration test

* fix(test): add clean up

add clean up
2022-08-01 09:51:27 +08:00
Gao Sun
c7e311c344
chore: update README and language options (#1709)
* chore: update README

* chore: update language options
2022-07-31 08:07:46 +08:00
Kyungyoon Kim
d1900e1854
chore(phrases): add translation ko_KR (#1677)
chore(connector): add translation ko_KR

chore(phrases): add translation ko_KR

test: add mock translation for ko_KR

Update packages/phrases-ui/src/locales/ko-kr.ts

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

Update packages/phrases-ui/src/locales/ko-kr.ts

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

chore(phrases): update translation ko_KR

chore(phrases): edit translation ko_KR, make more friendly

chore(phrases): fix typo

chore(phrases): make translation smooth ko_KR

chore(phrases): edit translation ko_KR

chore(console): add translation ko_KR

chore(phrases): add korean language for login ui
2022-07-30 14:48:50 +00:00
Ufuk ARSLAN
411a8c2fa2
feat(phrases): tr language (#1707)
* feat(phrases): tr language added except admin

* feat(phrases): tr language added for admin and connectors

* refactor(phrases): tr language fix
2022-07-30 21:48:45 +08:00
Kyungyoon Kim
405791f991
feat(console): checked if sign in method is primary (#1706) 2022-07-30 13:38:10 +00:00
Charles Zhao
7d3f94738f
feat(console): add Next.js integration guide in admin console 2022-07-29 23:36:02 +08:00
IceHe.Life
71b8807404
refactor(test): inline unnecessary functions for testing connector set-up flow (#1698) 2022-07-29 18:43:10 +08:00
simeng-li
c76a0b8430
test(test): add wellknown integration test (#1694)
add wellknown api integration test
2022-07-29 17:48:23 +08:00
Charles Zhao
301cc6c510
fix(console): app error illustration height should not be shrunk 2022-07-28 17:52:35 +08:00
simeng-li
0957899d57
refactor(test): refactor log, dashboard, me (#1692)
* refactor(test): refactor me,logs, dashboard

refactor me,logs, dashboard

* fix(test): cr update

cr update
2022-07-28 02:30:37 +00:00
simeng-li
939dc0eac8
refactor(test): refactor logto client and actions (#1691)
* refactor(test): refactor logto client and actions

refactor logto client and related actions

* chore(test): rename LogtoClient class

rename LogtoClient class

* refactor(test): rename client and client methods

rename client and client methods

* refactor(test): cr fix

cr fix

* refactor(test): reuse helpers

reuser helpers
2022-07-28 10:13:21 +08:00
IceHe.Life
20c8889be8
refactor(test): rename wrong variable (#1690) 2022-07-27 18:32:14 +08:00
Charles Zhao
d5c1a29097
refactor: split mainflow ui language options from admin console 2022-07-27 15:55:15 +08:00
IceHe.Life
e36e8c1fe9
refactor(test): connector set-up flow (#1682) 2022-07-27 15:12:49 +08:00
IceHe.Life
77250c6135
test(core): improve the coverage of koa-log (#1683) 2022-07-27 15:09:19 +08:00
IceHe.Life
17e5476955
test: integration tests for sending SMS or email test messages (#1680)
* test: integration tests for sending SMS or email test messages

* refactor(test): integration tests for sending SMS or email test messages
2022-07-27 03:33:32 +00:00
simeng-li
162998f414
refactor(test): refactor integration test step 1 (#1684)
* chore(test): integration test update

add dotenv

* chore(core): update pnpm lock

update pnpm lock

* refactor(test): refactor integration test step 1

extract api, and orgnize test case following core/route structure

* chore(test): update path

update path

* fix(test): update path

update path

* fix(test): cr update
cr update
2022-07-27 03:23:10 +00:00
Darcy Ye
3738a54974
chore(connector): connectors names should be capitalized (#1687) 2022-07-27 03:10:21 +00:00
Xiao Yijun
61b65a7288
fix(console): should not display unsaved changes alert on connector config updated (#1685) 2022-07-27 10:33:46 +08:00
simeng-li
61177ca2a1
chore(test): add dotenv (#1681)
* chore(test): integration test update

add dotenv

* chore(core): update pnpm lock

update pnpm lock
2022-07-27 02:09:13 +00:00
Ufuk ARSLAN
875a828831
feat(connector): azure active directory connector added (#1662)
* feat(connector): azure active directory connector added

* refactor(connector): apply code review suggestions

* refactor: removed PKCE

* chore: update package and lockfile

* refactor(connector): fix typo

* refactor(connector): polish code

Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-26 23:31:25 +08:00
IceHe.life
f7bc349e03
test: add connector-mock-sms and connector-mock-email for integration tests (#1668) 2022-07-26 08:12:34 +00:00
Xiao Yijun
fe97a657e2
test: integration tests for setting up sign-in methods (#1669) 2022-07-26 16:00:12 +08:00
Darcy Ye
6b128a71cc
refactor(connector): refactor to resolve complexity lint in connectors (#1679) 2022-07-26 15:56:52 +08:00
Xiao Yijun
9096c50907
test: integration tests for logs (#1671) 2022-07-26 14:29:38 +08:00
Xiao Yijun
8394f7bb2e
fix(test): run integration test serially (#1676) 2022-07-26 14:17:44 +08:00
Xiao Yijun
8ed8ec9de5
test: integration tests for dashboard (#1670) 2022-07-26 11:50:40 +08:00
simeng-li
1cd14ee6ce
chore(demo-app): message content update (#1630)
* chore(demo-app): message content update

message content update

* chore(demo-app): content update

content update
2022-07-26 10:47:47 +08:00
silverhand-bot
c2050b7ccc
release: v1.0.0-beta.2 2022-07-25 17:03:50 +00:00
Charles Zhao
038bba45e1
fix(console): connector can be dragged upwards to reorder 2022-07-25 21:28:34 +08:00
Darcy Ye
26d300c65c
refactor(console): refactor the logic of getting connector name in preferred language (#1666) 2022-07-25 18:15:59 +08:00
Xiao Yijun
220ba58364
refactor(test): user sign in (#1657) 2022-07-25 17:39:09 +08:00
Darcy Ye
fe5a10e92e
chore(connector): fix connector validator type (#1667) 2022-07-25 13:51:59 +08:00
IceHe.life
3773701fc9
refactor(test): integration tests for list connectors after manually setting up connectors (#1658) 2022-07-23 13:04:39 +08:00
Charles Zhao
55a6c4248c
Merge pull request #1645 from logto-io/charles-remove-useless-horizontal-scrollbar-from-code-editor
fix(console): remove annoying horizontal scrollbar from code editor
2022-07-23 11:22:31 +08:00
IceHe.life
379410e090
refactor(test): remove unnecessary expect.objectContaining (#1659) 2022-07-22 18:10:30 +08:00