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

1807 commits

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