Gao Sun
8c2faa1099
chore(console): temporarily bypass new lint rules
2022-10-10 17:19:22 +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
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
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
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
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