0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
Commit graph

1917 commits

Author SHA1 Message Date
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
Charles Zhao
028b5fecf0
chore: upgrade eslint rule to allow 'noreferrer' in react app 2022-07-15 15:12:02 +08:00
Darcy Ye
a01130ce8f
chore(connector): rename connector packages (#1550) 2022-07-15 14:48:52 +08:00
simeng-li
c6384bed84
fix(ui): format phone number with country calling code (#1551)
format phone number with country calling code
2022-07-15 14:08:59 +08:00
silverhand-bot
af5e3b416e
release: v1.0.0-beta.0 2022-07-14 16:40:44 +00:00
Charles Zhao
020f294067
fix(console): redirect uri field label should display properly in guide (#1549)
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-14 16:28:16 +00:00
simeng-li
6b58d8a161
fix(ui,core): fix i18n issue (#1548)
* fix(ui,core): fix i18n issue

fix i18n issue

* fix(core): cr fix

cr fix
2022-07-14 13:36:32 +00:00
Gao Sun
8cd59a5c4d
refactor(console): fix contact us ux (#1547) 2022-07-14 21:21:52 +08:00
Gao Sun
cba8da41fd
refactor(console): update generated password length to 8 (#1545) 2022-07-14 21:21:06 +08:00
Gao Sun
b8011a377a
refactor(console): center tooltip for test message (#1546) 2022-07-14 13:01:48 +00:00
Charles Zhao
1b056f125d
fix(console): markdown toc links that contain special characters should work (#1543) 2022-07-14 17:45:19 +08:00
simeng-li
e06f8d027e
fix(ui): fix multiple libphonmenumber packed bug (#1544)
fix multiple libphonmenumber packed bug
2022-07-14 17:44:28 +08:00
Darcy Ye
6b9ad580ae
fix(connector): refactor ConnectorInstance as class (#1541) 2022-07-14 07:56:57 +00:00
Xiao Yijun
9bdd80ebcc
docs(connector): google connector zh-cn (#1540) 2022-07-14 06:27:17 +00:00
simeng-li
f72319f234
style(ui): input auto fill style update (#1534)
input auto-fill style update
2022-07-14 10:38:15 +08:00
Darcy Ye
0297f6c52f
fix(connector): passwordless connector send test msg with unsaved config (#1539)
* fix(connector): passwordless connector sendTestMsg with unsaved config

* refactor: apply suggestions from code review

Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-14 00:16:19 +00:00
Charles Zhao
bba2414104
refactor(console): connector config should be required 2022-07-14 01:13:26 +08:00
Gao Sun
23a1fe3aff
refactor: upgrade configs (#1537)
* refactor: upgrade configs

* fix(schemas): remove eslintignore
2022-07-13 16:39:30 +00:00
Darcy Ye
88a54aaa9e
fix(connector): fix connector getConfig and validateConfig type (#1530) 2022-07-14 00:12:01 +08:00
Xiao Yijun
657bfa982a
refactor(phrases): split I18n locale file (#1535) 2022-07-13 19:58:49 +08:00
renovate[bot]
24c7b99c45
chore(deps): update dependency @silverhand/jest-config to ^0.15.0 (#1527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:44:25 +08:00
renovate[bot]
8460f4ae16
chore(deps): update dependency @silverhand/ts-config-react to ^0.15.0 (#1529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 03:40:57 +00:00
renovate[bot]
1cddf81a78
chore(deps): update dependency @silverhand/ts-config to ^0.15.0 (#1528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:29:10 +08:00
Darcy Ye
7367cbc815
docs(connector): sendgrid readme zh-CN (#1524) 2022-07-13 02:51:26 +00:00
IceHe.xyz
434e97d5cf
chore: bump eslint-config and eslint-config-react 0.15.0 (#1521)
* chore: bump eslint-config 0.15.0

* chore: bump eslint-config-react 0.15.0

* style: no explicit any
2022-07-12 23:00:05 +08:00
simeng-li
3e76de0ac9
feat(core): add admin guard to signin (#1523)
* feat(core): add admin guard to signin

add admin guard to signin

* fix(core): cr update

cr update

* fix(core): naming update

naming update
2022-07-12 13:58:02 +00:00
Darcy Ye
fc19c00cb2
docs(connector): twilio readme zh-CN (#1520) 2022-07-12 12:16:12 +00:00
Xiao Yijun
acefafed72
refactor: rename DTO -> Dto (#1522) 2022-07-12 18:35:51 +08:00
Charles Zhao
074d455370
Merge pull request #1512 from logto-io/charles-log-3570-fix-google-connector-user-avatar
fix(console): should display user avatar through google connector
2022-07-12 17:40:19 +08:00
Charles Zhao
e2f52635c0
fix(console): should display user avatar through google connector 2022-07-12 17:34:17 +08:00
Xiao Yijun
459af3823c
fix(console): should not display unsaved alert on item deleted (#1507) 2022-07-12 17:11:58 +08:00
Gao Sun
f387652bfd
fix(console): tooltip style (#1517) 2022-07-12 16:56:29 +08:00
Darcy Ye
a78427e470
docs(connector): smtp readme zh-CN (#1514) 2022-07-12 07:57:26 +00:00
IceHe.xyz
b4c202275b
docs(console): improve code sample in vue tutorial (#1519) 2022-07-12 15:42:33 +08:00
Gao Sun
14b049a8b5
docs(connector): add note for why we don't support custom scope (#1516) 2022-07-12 12:44:09 +08:00
Darcy Ye
2e0db1ee8b
docs(connector): fix twilio readme according to bug bash (#1518) 2022-07-12 04:43:46 +00:00
IceHe.xyz
96646fc449
docs(connector): fix wrong indents in connector-sendgrid-mail (#1515) 2022-07-12 11:56:09 +08:00
IceHe.xyz
94a67bfb42
refactor(core): simplify increasePasscodeTryCount and consumePasscode (#1513) 2022-07-11 14:56:12 +00:00
IceHe.xyz
f479a1566f
refactor(core): split updatePasscode into increasePasscodeTryCount and consumePasscode (#1510) 2022-07-11 21:54:26 +08:00
Xiao Yijun
d22d5ea914
refactor(console): replace I18nKey with AdminConsoleKey (#1509) 2022-07-11 17:28:51 +08:00
Xiao Yijun
5dcdc62f73
fix(console): should not display unsaved alert on settings updated (#1508) 2022-07-11 16:30:35 +08:00
IceHe.xyz
5357ceeb7d
docs(connector): fix wrong indents in connector-twilio-sms (#1506) 2022-07-11 13:17:05 +08:00
Wang Sijie
adadcbe216
feat(core): read connector packages env (#1478) 2022-07-11 02:11:23 +00:00
silverhand-bot
ca8ec4862a
release: v1.0.0-alpha.4 2022-07-08 16:49:39 +00:00
Charles Zhao
b18146408a
style(console): improve connector readme styles in drawer 2022-07-09 00:28:11 +08:00
Darcy Ye
378c75116c
refactor(core): refactor connector general error message (#1501) 2022-07-09 00:13:06 +08:00
Darcy Ye
bd5ff2a566
docs(connector): add Aliyun SMS README zh-CN (#1500) 2022-07-08 16:03:56 +00:00
Gao Sun
bdbeee0db5
fix(console): specify toast type (#1499) 2022-07-08 23:45:36 +08:00
Gao Sun
61a6b1ab4f
fix(console): do not show unsaved alert after delete connector (#1496) 2022-07-08 23:17:15 +08:00
Charles Zhao
58558e5011
fix(demo-app): username should not overflow info card (#1498) 2022-07-08 23:17:05 +08:00
Gao Sun
7d48d12b06
refactor(console): update sie preview tab (#1497)
* refactor(console): update sie preview tab

* fix(console): update default tab
2022-07-08 15:09:35 +00:00
Darcy Ye
82ed2fe169
chore: remove TODOs with linear issues (#1495)
* chore: remove TODOs with linear issues

* chore: remove simeng TODOs

* chore: remove simeng TODOs
2022-07-08 14:47:55 +00:00
simeng-li
30314cc628
style(console): adjust welcome page style (#1493)
* style(console): adjust welcome page style

adjust welcome page style

* style(console): img update

img update

* style(console): address cr

address cr
2022-07-08 14:10:12 +00:00
Charles Zhao
e838b6b4b6
refactor(console): post sign-out redirect uri should be optional field 2022-07-08 22:02:01 +08:00
Charles Zhao
6a965226c8
Merge pull request #1470 from logto-io/sijie-log-3528-hide-universal-tab
fix(console): hide single platform universal connector tab
2022-07-08 21:35:56 +08:00
simeng-li
f52fa5891d
fix(ui): add form submit event (#1489)
* fix(ui): add form submit event

add form submit event

* fix(ui): cr fix

cr fix
2022-07-08 21:14:09 +08:00
Darcy Ye
7da1de33e9
feat(connector): connector error handler, throw errmsg on general errors (#1458) 2022-07-08 21:11:31 +08:00
Wang Sijie
da882cee85
fix(console): mutate after connector delete (#1475) 2022-07-08 21:04:23 +08:00
Darcy Ye
ed427382c9
docs(connector): add Aliyun DM README zh-CN (#1481) 2022-07-08 21:01:22 +08:00
Charles Zhao
8b0c6feec5
refactor(console): improve error message in insecure contexts 2022-07-08 20:14:52 +08:00
simeng-li
ead79eab72
refactor(core): add findEntityById utils (#1448)
add findEntityById utils
2022-07-08 19:54:55 +08:00
simeng-li
d4e5a8dda9
test(ui): add some ut (#1488)
add some ut
2022-07-08 19:53:35 +08:00
Charles Zhao
bc0a613b2a
Merge pull request #1491 from logto-io/charles-log-3549-improve-error-handling-in-connector
fix(console): improve error handling in connector details and sender tester
2022-07-08 19:49:13 +08:00
Gao Sun
4d3941ee2e
refactor(connector): use raw error for config guard (#1484) 2022-07-08 19:43:43 +08:00
Charles Zhao
d9ce4a0154
fix(console): improve error handling in connector details and sender tester 2022-07-08 19:36:06 +08:00
Gao Sun
a861f9fdff
refactor(console): stick sie tutorial topbar (#1490) 2022-07-08 18:55:32 +08:00
simeng-li
64bb5fd159
refactor(ui): refactor country code (#1483)
* refactor(ui): refactor country code

refactor country code

* test(ui): fix ut

fix ut

* fix(ui): cr fix

cr fix
2022-07-08 18:21:15 +08:00
Charles Zhao
2cdbf37745
fix(console): add unsaved changes warning in settings page 2022-07-08 18:01:50 +08:00
Charles Zhao
b8aea3b407
Merge pull request #1486 from logto-io/charles-log-3543-provide-fallback-value-for-language-selection-in-settings
fix(console): provide fallback value for language field in settings
2022-07-08 17:56:20 +08:00
Gao Sun
f2195dd8f3
fix(console): set language in request header (#1485) 2022-07-08 09:33:02 +00:00
Charles Zhao
5ad5eb2ad9
fix(console): provide fallback value for language field in settings 2022-07-08 17:32:11 +08:00
Charles Zhao
800f04744d
fix(console): docs link in get-started should be localized (#1482)
* fix(console): docs link in get-started should be localized

* fix: further reading link

Co-authored-by: Gao Sun <gao@silverhand.io>

Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-08 09:23:34 +00:00
Wang Sijie
be0d9326e4
refactor(core): remove InvalidInputError (#1477) 2022-07-08 17:19:53 +08:00
Charles Zhao
b1a99c9029
Merge pull request #1480 from logto-io/charles-log-3541-hide-demo-app-from-topbar-if-deleted
fix(console): hide demo-app from topbar get-started progress if it is deleted
2022-07-08 17:02:53 +08:00
simeng-li
6985eb8c7a
style(ui): increase desktop input padding (#1468)
increase desktio input padding
2022-07-08 16:57:48 +08:00
simeng-li
15aa0b2bfb
style(ui): adjust headline style (#1469)
adjust headline style with max 2 lines
2022-07-08 16:57:21 +08:00
Xiao Yijun
8e85a115ec
feat(console): add placeholder for connector sender test (#1476) 2022-07-08 16:56:55 +08:00
Gao Sun
81b63f07bb
feat: expose zod error (#1474) 2022-07-08 16:05:43 +08:00
Wang Sijie
bb790ce4d1
fix(console): remove session doc link (#1479) 2022-07-08 07:39:20 +00:00
Charles Zhao
b0bdd9027b
fix(console): hide demo-app from topbar get-started progress if it is deleted 2022-07-08 15:36:59 +08:00
Xiao Yijun
d3094005f1
fix(console): hide the add connectors hint when no connectors found on sign-in-experience page (#1473) 2022-07-08 05:54:12 +00:00
Xiao Yijun
130817f101
fix(console): connector placeholder icon should not have background color (#1472) 2022-07-08 13:49:22 +08:00
Gao Sun
38184b55de
docs(connector): apple readme (zh-CN) (#1464) 2022-07-08 05:07:58 +00:00
Xiao Yijun
8009d9bd57
fix(console): connector guide should not have sub title (#1471) 2022-07-08 11:57:18 +08:00
Charles Zhao
e7dada812f
Merge pull request #1459 from logto-io/charles-log-3476-fix-ac-language-detection
fix(console): admin console language detection
2022-07-08 11:40:54 +08:00
Darcy Ye
7bbe8273cc
chore(connector): add optional charset field to Alipay web config (#1460) 2022-07-08 03:31:49 +00:00
Xiao Yijun
099e087a5f
docs(connector): update alipay web connector (#1467) 2022-07-08 03:15:01 +00:00
wangsijie
3d944a518b
fix(console): hide single platform universal connector tab 2022-07-08 11:13:23 +08:00
simeng-li
78e06d5c7f
fix(core): add session check (#1453)
add session check
2022-07-08 10:38:24 +08:00
Xiao Yijun
f0c85d5e52
docs(connector): alipay native connector (#1462) 2022-07-08 10:10:17 +08:00
Gao Sun
8a957ec3f6
refactor(phrases): remove unused tip (#1465) 2022-07-08 01:20:16 +08:00
Xiao Yijun
481b6a0558
fix(console): pagination color should be color-text-link (#1466) 2022-07-08 01:19:52 +08:00
silverhand-bot
c7def1124d
release: v1.0.0-alpha.3 2022-07-07 16:40:33 +00:00
Gao Sun
971ea5e867
refactor(console): add tooltips (#1457) 2022-07-07 16:24:07 +00:00
Charles Zhao
93294aed95
Merge pull request #1461 from logto-io/charles-log-3534-log-3535-fix-vanilla-js-guide
fix(console): vanilla sdk integration guide
2022-07-08 00:00:58 +08:00
Gao Sun
71b07f468f
refactor(console): link to localized docs website (#1463) 2022-07-07 15:50:56 +00:00
Charles Zhao
58fe92e914
fix(console): vanilla sdk integration guide 2022-07-07 23:21:18 +08:00
Charles Zhao
a8f18e53a2
fix(console): admin console language detection 2022-07-07 22:43:26 +08:00
Charles Zhao
a0936f3b03
Merge pull request #1456 from logto-io/charles-log-3476-fix-admin-console-default-languge-detection
fix(console): language auto detection
2022-07-07 21:43:01 +08:00
IceHe.xyz
6dea366032
test(test): validate swagger.json using openapi-schema-validator (#1445) 2022-07-07 20:52:34 +08:00
renovate[bot]
ff6f2235ea
fix(deps): update dependency koa-router to v11 (#1406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 20:48:08 +08:00
renovate[bot]
a76a13d9ec
chore(deps): update dependency @shopify/jest-koa-mocks to v5 (#1413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 20:47:33 +08:00
Wang Sijie
b1532547e5
style(console): sdk selector font (#1450) 2022-07-07 20:42:13 +08:00
Wang Sijie
a562a72e17
style(console): remove plain button padding (#1451) 2022-07-07 20:42:03 +08:00
Wang Sijie
33106aac93
fix(console): mutate data after sie welcome done (#1447) 2022-07-07 20:41:55 +08:00
Wang Sijie
d293de0d03
fix(console): set user select to none for link button (#1446) 2022-07-07 20:41:47 +08:00
Charles Zhao
7c880fc3e6
fix(console): language auto detection 2022-07-07 19:34:33 +08:00
Charles Zhao
3fdf47248b
refactor(console): sync input URI values in code samples in guide 2022-07-07 19:23:02 +08:00
simeng-li
d5d6c5ed08
fix(core,ui): remove todo comments (#1454)
remove todo comments
2022-07-07 18:10:46 +08:00
IceHe.xyz
100bffbc6a
feat(core): append additional yaml responses to swagger.json (#1407) 2022-07-07 09:48:46 +00:00
Gao Sun
d75dc24e33
refactor(console): update iOS tutorial (#1452) 2022-07-07 17:48:02 +08:00
Xiao Yijun
340c641f4e
feat(console): open docs on documentation tab clicked (#1444) 2022-07-07 08:26:18 +00:00
Darcy Ye
d9ba72985d
fix(connector): fix Aliyun SMS connector error handling (#1227) 2022-07-07 14:00:25 +08:00
Wang Sijie
741347f226
refactor(console,schemas,shared): extract dark mode color generator (#1425) 2022-07-07 05:59:27 +00:00
silverhand-bot
577433ae2d
release: v1.0.0-alpha.2 2022-07-07 04:54:25 +00:00
Wang Sijie
2fa0c2164b
style(console): connector name font (#1437) 2022-07-07 03:09:49 +00:00
simeng-li
5b121d7855
fix(ui): set ui specific i18n storage key (#1441)
* chore(ui): set ui i18n storage key

set ui i18n storage key

* fix(ui): update name

update name

* chore(console): add ac i18n storage key

add ac i18n storage key

* fix(ui,console): update key name

update key name

* fix(ui,console): fix typo

fix typo
2022-07-07 11:08:07 +08:00
Wang Sijie
f8a9743b2e
fix(console): use icon button in copytoclipboard (#1440) 2022-07-07 11:04:19 +08:00
Wang Sijie
d4a37d7a38
style(console): sign out dropdown (#1439) 2022-07-07 11:04:12 +08:00
Wang Sijie
ec82507ca1
fix(console): chagne user added modal button to done (#1438) 2022-07-07 11:04:03 +08:00
Wang Sijie
b26fb0c0c3
fix(console): dashboard chart yaxios width (#1435) 2022-07-07 11:03:36 +08:00
Xiao Yijun
14b27b6d0d
feat(console): user settings unsaved changes alert (#1411) 2022-07-06 22:31:18 +08:00