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
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