0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
Commit graph

272 commits

Author SHA1 Message Date
Xiao Yijun
42de419f44
Merge branch master into merge/sie-v2 2022-11-03 11:31:42 +08:00
renovate[bot]
832d3dd980
chore(deps): update logto js sdk monorepo packages to v1.0.0-beta.12 2022-11-02 05:33:28 +00:00
wangsijie
f419fc8279
feat(core): continue sign in with social (#2281) 2022-11-01 10:08:47 +08:00
wangsijie
415c24aace
feat(core): password sign in with phone or email (#2266) 2022-10-28 15:05:02 +08:00
wangsijie
95cf53b59a
refactor(core): rename username password routes (#2263) 2022-10-27 15:45:00 +08:00
renovate[bot]
476d7642df
chore(deps): update logto js sdk monorepo packages to v1.0.0-beta.11 2022-10-26 18:12:30 +00:00
simeng-li
b5512b9213
refactor(core): rename phone signInMethod to sms (#2252)
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-10-26 14:47:13 +08:00
Xiao Yijun
9b97775fc0
chore: merge master into feature/sie-v2 2022-10-24 13:50:26 +08:00
Gao Sun
f56b5b5c48
refactor: fix lint errors 2022-10-21 14:03:35 +08:00
renovate[bot]
4e74bcf0a4
chore(deps): update silverhand configs monorepo packages to v1.3.0 2022-10-21 14:03:31 +08:00
Gao Sun
19666e0401
chore: introduce changesets (#2215) 2022-10-21 13:59:08 +08:00
wangsijie
5959372325
Merge branch master into merge/sie-v2
merge
2022-10-21 10:43:56 +08:00
renovate[bot]
421c9e43db
chore(deps): update logto js sdk monorepo packages to v1.0.0-beta.10 2022-10-21 02:14:37 +00:00
wangsijie
06ae2aff15
Revert "chore: merge master into sie-v2 (#2182)" (#2216) 2022-10-20 17:03:18 +08:00
Darcy Ye
d38543122d
Merge pull request #2039 from logto-io/feature/decouple-passcode-verification
refactor(core,phrases,schemas): decouple passcode verification
2022-10-20 11:17:48 +08:00
wangsijie
55eb5f038d
feat(core): guard sign up methods (#2194) 2022-10-20 10:57:49 +08:00
silverhand-bot
c0fb59881e
release: v1.0.0-beta.12 2022-10-19 08:28:21 +00:00
silverhand-bot
33c10ce216
release: v1.0.0-beta.11 2022-10-19 06:19:36 +00:00
wangsijie
e5f8139880
chore: merge master into sie-v2 (#2182)
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
Co-authored-by: IceHe <icehe@silverhand.io>
Co-authored-by: Gao Sun <gao@silverhand.io>
Co-authored-by: simeng-li <simeng@silverhand.io>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
Co-authored-by: Mahesh Vagicherla <59088937+b4s36t4@users.noreply.github.com>
Co-authored-by: FlurryNight <47457170+FlurryNight@users.noreply.github.com>
Co-authored-by: Lukas <lukas@slucky.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 15:44:49 +08:00
Darcy Ye
025456c16d
chore: merge master and fix conflicts 2022-10-14 17:55:58 +08:00
Gao Sun
83f1777834
refactor(test): fix ui test 2022-10-14 16:18:46 +08:00
Gao Sun
24f8afaf80
chore(deps): upgrade jest 2022-10-14 14:57:27 +08:00
renovate[bot]
9ac4a77b33
chore(deps): update dependency @silverhand/jest-config to v1.2.2 2022-10-14 05:59:40 +00:00
Gao Sun
39a5347ac9
chore: upgrade Silverhand configs (#2153) 2022-10-14 03:46:33 +00:00
Gao Sun
0fbe261a6e
chore: revert lerna version bump (#2150) 2022-10-13 22:50:16 +08:00
simeng-li
187f7d38e4
fix(test): update passwordless integration test
update passwordless integration test
2022-10-13 15:18:54 +08:00
Gao Sun
c16970f450
chore: using pnpm workspace 2022-10-13 11:15:10 +08:00
Darcy Ye
9f1c34bd4e
refactor: merge master to feature to resolve conflicts 2022-10-11 16:01:37 +08:00
Gao Sun
e36ed7bd1a
chore: upgrade essentials 2022-10-10 23:28:39 +08:00
Darcy Ye
d3d189aa77
refactor(core,ui,test): sign-in and register flows mount on passwordless APIs (#2054) 2022-10-10 14:21:39 +08:00
silverhand-bot
11381afdc5
release: v1.0.0-beta.10 2022-09-28 14:30:24 +00: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
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
Charles Zhao
2f92b43864
fix: bump react sdk and essentials toolkit to support CJK characters in idToken 2022-09-17 09:59:27 +08:00
Charles Zhao
518831a37d
chore: bump sdk to 1.0.0-beta.5 2022-09-13 18:11:41 +08:00
Charles Zhao
85283cfcee
chore: bump to js sdk 1.0.0-beta.4 2022-09-09 18:38:56 +08: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
Darcy Ye
2e0ab8988a
chore(schemas,core,console): rename ConnectorDto to ConnectorResponse (#1884) 2022-09-07 16:12:18 +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
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
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
silverhand-bot
3d92f35589
release: v1.0.0-beta.6 2022-08-30 05:44:34 +00:00
Xiao Yijun
5d1b7c3767
test: increase request timeout in integration tests (#1832) 2022-08-29 10:26:55 +00: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
silverhand-bot
a9241c5862
release: v1.0.0-beta.5 2022-08-19 13:49:33 +00: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
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
silverhand-bot
e42172e757
release: v1.0.0-beta.4 2022-08-11 13:48:19 +00:00
renovate[bot]
d666c30129
chore(deps): update dependency @logto/node to v1.0.0-beta.2 2022-08-08 08:58:00 +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
Xiao Yijun
f71d9891a8
test: integration test for deleting user identities (#1728) 2022-08-03 17:20:22 +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
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
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
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
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
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
IceHe.Life
e36e8c1fe9
refactor(test): connector set-up flow (#1682) 2022-07-27 15:12:49 +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
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
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
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
silverhand-bot
c2050b7ccc
release: v1.0.0-beta.2 2022-07-25 17:03:50 +00:00
Xiao Yijun
220ba58364
refactor(test): user sign in (#1657) 2022-07-25 17:39:09 +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
IceHe.life
beb24b7b44
test: integration tests for list connectors after manually setting up connectors (#1653) 2022-07-22 12:37:25 +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
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
IceHe.life
ee17590bcf
test: integration tests for setting up and changing SMS conectors (#1638) 2022-07-21 09:22:16 +00: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
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
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
silverhand-bot
3af4f547ed
release: v1.0.0-beta.1 2022-07-19 01:05:03 +00:00
Gao Sun
e7c5e63304
refactor: remove import react (#1558) 2022-07-15 10:01:42 +00:00
silverhand-bot
af5e3b416e
release: v1.0.0-beta.0 2022-07-14 16:40:44 +00:00
Gao Sun
23a1fe3aff
refactor: upgrade configs (#1537)
* refactor: upgrade configs

* fix(schemas): remove eslintignore
2022-07-13 16:39:30 +00: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]
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
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
silverhand-bot
c7def1124d
release: v1.0.0-alpha.3 2022-07-07 16:40:33 +00:00
IceHe.xyz
6dea366032
test(test): validate swagger.json using openapi-schema-validator (#1445) 2022-07-07 20:52:34 +08:00
silverhand-bot
fcd70d1232
release: v1.0.0-alpha.1 2022-07-05 12:34:34 +00:00
Gao Sun
273720ea8c
refactor(core): use ENDPOINT to replace original env urls (#1416)
* refactor(core): use `ENDPOINT` to replace original env urls

* refactor(core): log endpoint if needed

* refactor: update AC App ID in tests

* fix(core): oidc issuer

* refactor: remove unnecessary `.toString()`
2022-07-05 10:01:49 +00:00
silverhand-bot
2caed68c88
release: v0.1.2-alpha.5 2022-07-03 09:04:51 +00:00
silverhand-bot
e234f64cec
release: v0.1.2-alpha.1 2022-07-02 04:24:46 +00:00
silverhand-bot
39890c1c29
release: v0.1.1-alpha.0 2022-07-01 19:18:23 +00:00
IceHe.xyz
5e819665c7
feat(shared,phrases-ui): not allow hyphens in username (#1319) 2022-06-30 19:18:44 +00:00
renovate[bot]
2483300494
chore(deps): update dependency @logto/js to ^0.2.0 (#1313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-30 02:39:08 +00:00
IceHe.xyz
254fac52a7
test(integration-tests): check swagger.json (#1127) 2022-06-16 08:59:00 +00:00
Xiao Yijun
8d27adce39
test(integration): username and password flow (#1111) 2022-06-16 13:00:01 +08:00
Gao Sun
3daf574946
test: allow JS in tests (#903) 2022-05-20 13:02:36 +08:00
renovate[bot]
b5bdfcbc5b
chore(deps): update dependency @silverhand/jest-config to ^0.14.0 (#869)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 13:33:53 +00:00
renovate[bot]
8a012a393d
chore(deps): update dependency @silverhand/ts-config to ^0.14.0 (#859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 11:04:12 +00:00
renovate[bot]
3316bbf429
chore(deps): update dependency @silverhand/eslint-config to ^0.14.0 (#866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:42:15 +00:00
renovate[bot]
66b57ad4d5
chore(deps): update dependency @silverhand/eslint-config to ^0.13.0 (#858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 18:07:13 +08:00
Gao Sun
3031e3a6f1
test: setup integration test package (#853) 2022-05-17 08:59:57 +00:00