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

61 commits

Author SHA1 Message Date
Darcy Ye
eac8b19245
feat: add POST /connectors (#2477) 2022-11-22 11:04:08 +08:00
Gao Sun
c03844f12e
chore: fix tests and add changeset 2022-11-10 16:37:12 +08:00
Gao Sun
fd0b1d0717
refactor(test): revert unexpected changes 2022-11-10 15:36:12 +08:00
Gao Sun
4b6d3c584a
refactor(core,test): allow create user with email and add tests
- Allow create user with email or username for admin user route
- Add integration tests for email and password sign-in
2022-11-10 15:36:09 +08:00
wangsijie
5c81d6f147
Merge branch master into merge/sie-v2 2022-11-08 22:58:36 +08:00
Gao Sun
15bb084b6e
refactor: replace dayjs with date-fns 2022-11-07 14:33:47 +08:00
wangsijie
5e571936c9
chore: remove old sign in methods (#2295) 2022-11-03 18:23:12 +08: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
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
wangsijie
55eb5f038d
feat(core): guard sign up methods (#2194) 2022-10-20 10:57:49 +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
Charles Zhao
85283cfcee
chore: bump to js sdk 1.0.0-beta.4 2022-09-09 18:38:56 +08: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
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
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
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
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
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
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
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
8ed8ec9de5
test: integration tests for dashboard (#1670) 2022-07-26 11:50:40 +08: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