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

2028 commits

Author SHA1 Message Date
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
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