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

2038 commits

Author SHA1 Message Date
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
simeng-li
7dfbc300b0
fix(ui): should clear prev passcode input when click on backspace (#1660)
should clear prev passcode input when click on backspace
2022-07-22 17:35:37 +08:00
Charles Zhao
7dba908849
fix(console): remove annoying horizontal scrollbar from code editor 2022-07-22 15:33:29 +08:00
IceHe.life
beb24b7b44
test: integration tests for list connectors after manually setting up connectors (#1653) 2022-07-22 12:37:25 +08:00
Charles Zhao
3cba12dd09
Merge pull request #1651 from logto-io/charles-log-3555-refactor-hasunsavedchanges-logic-in-connector-content
refactor(console): improve hasUnsavedChanges by leveraging form isDiry state
2022-07-22 12:34:38 +08:00
Charles Zhao
79461e4445
Merge pull request #1652 from logto-io/charles-log-3161-refactor-connector-guide-to-avoid-nested-forms
refactor(console): refactor connector guide to avoid nested forms
2022-07-22 11:45:33 +08:00
Xiao Yijun
37e7807b4b
test: integration tests for users (#1640) 2022-07-22 10:50:21 +08:00
Xiao Yijun
dec85378de
test: integration tests for /me (#1646) 2022-07-22 10:28:06 +08:00
Charles Zhao
331b056f55
refactor(console): improve hasUnsavedChanges by leveraging form isDirty state 2022-07-22 09:58:24 +08:00
Charles Zhao
ae34194ce1
refactor(console): refactor connector guide to avoid nested forms 2022-07-22 00:53:21 +08:00
Gao Sun
4bf6483ff4
feat(core): api GET /me (#1650) 2022-07-21 13:35:39 +00:00
IceHe.life
7f06dfa575
test: integration tests for deleting connectors (#1648) 2022-07-21 20:51:48 +08:00
IceHe.life
bdb2756617
test: integration tests for validating connector configs (#1643)
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-21 11:12:44 +00:00
Xiao Yijun
d2389a6bb5
refactor(test): use random name and indicator in create resource integration test (#1647) 2022-07-21 18:36:04 +08:00
IceHe.life
52dc3d92ff
test: integration tests for setting up and changing email connectors (#1642)
* test: integration tests for setting up and changing email connectors

* refactor(test): check there should be exactly one enabled email connector
2022-07-21 09:38:27 +00:00
Darcy Ye
8b30f974bf
fix(demo-app): hide username if not exists (#1644) 2022-07-21 17:29:22 +08:00
IceHe.life
ee17590bcf
test: integration tests for setting up and changing SMS conectors (#1638) 2022-07-21 09:22:16 +00:00
simeng-li
34b465c7d8
fix(ui): protect window.location xss (#1639)
protect window.location xss
2022-07-21 15:58:20 +08:00
Xiao Yijun
69b1b85c80
refactor(test): integration tests for applications (#1631) 2022-07-21 07:48:49 +00:00
Xiao Yijun
23d793bb20
test: integration tests for sign-in experience (#1633) 2022-07-21 15:32:21 +08:00
Xiao Yijun
a258587b4e
fix(test): use demo app to test username-password flow in integration test (#1635) 2022-07-21 15:32:05 +08:00
Charles Zhao
0b2bfb1f2e
Merge pull request #1609 from logto-io/renovate/react-router-monorepo
chore(deps): update dependency react-router-dom to v6.3.0
2022-07-21 15:01:18 +08:00
IceHe.life
e54c7f74f2
test: integration test for setting up a social connector (#1628)
test: integration tests for setting up a social connector
2022-07-21 14:54:11 +08:00
IceHe.life
a9b06a6129
test: integration test for connector list before manually setting up any connector (#1627)
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-07-21 14:21:05 +08:00
Xiao Yijun
b88722674c
test(console): integration tests for api resources (#1622) 2022-07-21 11:37:51 +08:00
renovate[bot]
6e96d73a7c
fix(deps): update dependency koa-router to v12 (#1596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 23:02:06 +08:00
renovate[bot]
2194322b7e
chore(deps): update dependency react-router-dom to v6.3.0 2022-07-20 15:00:48 +00:00
Charles Zhao
161508832c
Merge pull request #1610 from logto-io/charles-log-3722-use-raw-string-in-language-switcher
refactor(console): use non-i18n raw string in language select box
2022-07-20 18:29:27 +08:00
simeng-li
c56ddec84a
fix(core): resolve some core no-restricted-syntax lint error (#1606)
* fix(core): resolve some core no-restricted-syntax lint error

resolve some core no-restricted-syntax lint error

* fix(core): cr fix
2022-07-20 10:28:48 +00:00
Charles Zhao
1592cd0b0b
refactor(console): use non-i18n raw string in language select box 2022-07-20 18:21:41 +08:00
Charles Zhao
28b2861de8
Merge pull request #1621 from logto-io/charles-log-3761-should-parse-json-before-zod-safe-parse
fix(console): should parse to json before using zod safeParse
2022-07-20 18:15:17 +08:00
Charles Zhao
ec674ecd77
fix(console): should parse to json before using zod safeParse 2022-07-20 18:07:54 +08:00
simeng-li
04b08a83ea
refactor(ui): replace some of the reactStringReplace usage using i18Next Trans (#1626)
refactor(ui): replace some of the reactStringReplace usage using i18nNext Trans

replace some of the reactStringReplace usage using i18nNext Trans
2022-07-20 17:48:13 +08:00
Xiao Yijun
5ef1464e39
test(console): integration tests for applications (#1602) 2022-07-20 17:24:41 +08:00
Gao Sun
0a3e0b2d66
chore(deps): upgrade ts-node (#1624) 2022-07-20 07:57:50 +00:00
Wang Sijie
bb245adbb9
feat(core): refresh token rotation reuse interval (#1617)
* feat(core): refresh token rotation reuse interval

* refactor: apply suggestions from code review

Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-20 15:50:39 +08:00
Xiao Yijun
708523ed52
feat(core): support integration test env config (#1619) 2022-07-20 14:21:13 +08:00
simeng-li
4ce6bd8cf5
fix(ui): fix some firefox standout bug (#1615)
fix some firefox standout bug
2022-07-20 13:50:23 +08:00
Darcy Ye
15af03f45f
chore(connector): fix methods params order (#1618) 2022-07-20 13:42:52 +08:00
Darcy Ye
ad9b3d780c
docs(connector): update Alipay readme (#1604) 2022-07-20 04:43:23 +00:00
Charles Zhao
edfdb3d583
refactor: remove "as" 2022-07-19 23:02:34 +08:00
3lang
b89d229504
docs: correct react sdk turorial content (#1597) 2022-07-19 19:33:00 +08:00
Charles Zhao
56ded3e0a9
fix(console): code editor content should be editable on firefox 2022-07-19 11:52:35 +08:00
silverhand-bot
3af4f547ed
release: v1.0.0-beta.1 2022-07-19 01:05:03 +00:00
Charles Zhao
78fcb038ed
fix(console): docs link doesn't work for en-US locale (#1594) 2022-07-19 00:55:32 +00:00
Xiao Yijun
951c6fa9a5
feat(console): update dashboard chart y-axis tick format (#1590) 2022-07-18 20:18:01 +08:00
Darcy Ye
b04be8ada5
chore(connector): update connector description (#1591) 2022-07-18 11:51:17 +00:00
simeng-li
816ce9f903
fix(ui): fix no-restrict-syntax in ui (#1559)
* fix(ui): fix no-restrict-syntax in ui

fix no-restricted-syntax in ui

* fix(ui): cr update

cr update

* fix(ui): fix ts error

fix ts error
2022-07-18 19:36:12 +08:00
Darcy Ye
4532081426
docs(connector): add github readme zh-CN (#1583) 2022-07-18 11:35:34 +00:00
IceHe.xyz
0ed9452cc7
refactor(core): remove unused getEnabledSocialConnectorIds (#1585) 2022-07-18 18:28:10 +08:00
simeng-li
0c0c83cc8f
feat(ui): add submit input to all the sign-in & register forms (#1587)
enable submit on enter by adding submit input to all the forms
2022-07-18 17:46:13 +08:00
Charles Zhao
26f47d873d
fix(console): language select box initial value should not be empty 2022-07-15 23:52:37 +08:00
Gao Sun
c9286dcda2
chore: create codeql-analysis.yml (#1560)
* chore: create codeql-analysis.yml

* refactor: ignore test files

* refactor(connector): fix alerts
2022-07-15 22:12:44 +08:00
Darcy Ye
39d7a7fe6a
docs(connector): add fb readme zh-CN (#1555) 2022-07-15 12:14:06 +00:00
Gao Sun
e7c5e63304
refactor: remove import react (#1558) 2022-07-15 10:01:42 +00:00
Charles Zhao
1615e36f37
fix(console): navigate to new connector details page after switching connector 2022-07-15 17:37:56 +08:00
Xiao Yijun
6ae5e7d927
feat(console): add a declaration file for react-i18next (#1556) 2022-07-15 17:03:07 +08:00
Gao Sun
6c39790180
feat(core): add response guard (#1542)
* feat(core): add response guard

* refactor(core): print error if not prod
2022-07-15 17:01:51 +08:00
Charles Zhao
09cbc693b5
Merge pull request #1552 from logto-io/charles-log-3559-readme-links-should-be-opened-in-new-tab
fix(console): external links in readme should be opened in new tab
2022-07-15 15:51:41 +08:00
Charles Zhao
23ff0bf21d
fix(console): external links in readme should be opened in new tab 2022-07-15 15:45:11 +08:00
IceHe.xyz
7d5e82f587
docs(connector): refine readme of connector-aliyun-sms (#1554) 2022-07-15 07:43:55 +00:00
Charles Zhao
f1b241c864
Merge pull request #1553 from logto-io/charles-upgrade-configs
chore: upgrade eslint rule to allow 'noreferrer' in react apps
2022-07-15 15:43:04 +08:00