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

1058 commits

Author SHA1 Message Date
wangsijie
5d862f617f
feat(core): list roles filter by userId (#2893) 2023-01-10 17:04:27 +08:00
Gao Sun
7df71dee2f
ci: set max worker to 75% 2023-01-10 14:42:47 +08:00
Gao Sun
9ba0d495e6
refactor(core): migrate hook library to factory mode 2023-01-10 14:41:38 +08:00
Gao Sun
5beb7aa5ce
Merge pull request #2887 from logto-io/gao-log-5128-core-library-factory-resource
refactor(core): migrate resource library to factory mode
2023-01-10 14:38:04 +08:00
Gao Sun
e32c319a22
ci: limit max workers for core test 2023-01-10 14:31:20 +08:00
simeng-li
3ff6554c08
refactor(core,console,schemas): remove logDto (#2889) 2023-01-10 05:57:24 +00:00
simeng-li
39f15acb40
refactor(core): remove session api (#2878) 2023-01-10 05:49:00 +00:00
wangsijie
8b8103132e
fix(core): fix findUsersByIds for empty ids case (#2892) 2023-01-10 05:39:15 +00:00
Gao Sun
0442efeb60
refactor(core): migrate resource library to factory mode 2023-01-10 13:33:47 +08:00
Gao Sun
f7c08332a1
Merge pull request #2886 from logto-io/gao-log-5127-core-library-factory-phrase
refactor(core): migrate phrase library to factory mode
2023-01-10 13:29:40 +08:00
Gao Sun
76bd2bc7d0
Merge pull request #2885 from logto-io/gao-log-5125-core-library-factory-logto-config
refactor(core): migrate logto config library to factory mode
2023-01-10 13:27:31 +08:00
Gao Sun
0cc3818317
Merge pull request #2884 from logto-io/gao-log-5123-core-library-factory-connector
refactor(core): migrate connector library to factory mode
2023-01-10 13:26:49 +08:00
Gao Sun
131e1d79f7
Merge pull request #2879 from logto-io/gao-reorg-connector-files
refactor(core): reorg connector files
2023-01-10 13:21:26 +08:00
Gao Sun
048981cf27
Merge pull request #2870 from logto-io/gao-log-5122-core-library-factory-sie
refactor(core): migrate sie library to factory mode
2023-01-10 13:20:35 +08:00
wangsijie
34aab882c3
feat(core): scope name within the same resource should be unique (#2861) 2023-01-10 05:15:48 +00:00
simeng-li
60e78656f9
refactor(core,ui,test): migrate consent api to interaction (#2873) 2023-01-10 11:59:24 +08:00
wangsijie
14680cc556
feat(core): hide admin console role (#2872) 2023-01-10 03:46:41 +00:00
Gao Sun
1102e70226
refactor(core): migrate phrase library to factory mode 2023-01-10 00:28:41 +08:00
Gao Sun
836f3c101d
refactor(core): migrate logto config library to factory mode 2023-01-10 00:03:06 +08:00
Gao Sun
3b3b35b883
refactor(core): migrate connector library to factory mode 2023-01-09 23:53:33 +08:00
Gao Sun
a47671eb94
refactor(core): reorg connector files 2023-01-09 19:33:06 +08:00
Gao Sun
d67de1b181
Merge pull request #2867 from logto-io/gao-log-5121-core-library-factory-user
refactor(core): migrate user library to factory mode
2023-01-09 19:14:06 +08:00
renovate[bot]
db2b5feb61
chore(deps): remove dependency @types/fs-extra (#2868)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-01-09 10:06:51 +00:00
Gao Sun
080a6385c8
refactor: support EC key and ES signing algorithms (#2847) 2023-01-09 09:34:13 +00:00
Gao Sun
ecbf028f4e
refactor(core): migrate sie library to factory mode 2023-01-09 17:23:09 +08:00
Gao Sun
8561b6bc43
refactor(core): migrate user library to factory mode 2023-01-09 17:21:27 +08:00
Gao Sun
3c4aeec30a
refactor(core): upgrade oidc-provider to 8.0.0 (#2851) 2023-01-09 09:20:15 +00:00
Gao Sun
26f8511f93
refactor(core): use tenant context for route inits 2023-01-09 16:58:02 +08:00
Gao Sun
a68b34971a
refactor(core): users and users roles query factories 2023-01-09 16:43:09 +08:00
Gao Sun
4b21b7d16e
refactor(core): multiple query factories (#2857) 2023-01-09 08:32:35 +00:00
Gao Sun
be57e7e1af
refactor(core): custom phrase and log query factories (#2856) 2023-01-09 08:02:15 +00:00
Gao Sun
c5729e7a2d
refactor(core): connector query factory (#2854) 2023-01-09 07:48:57 +00:00
Gao Sun
8f809da308
refactor(core,cli): application query factory (#2853) 2023-01-09 15:29:01 +08:00
Gao Sun
1654322ead
Merge pull request #2852 from logto-io/gao-log-5095-property-tenant-app
refactor(core): move app to tenant instance
2023-01-09 14:53:13 +08:00
Gao Sun
981a25fb1c
Merge pull request #2850 from logto-io/gao-log-5092-class-envset
refactor(core,shared): `EnvSet` class
2023-01-09 14:50:51 +08:00
wangsijie
2eb1cbbe10
feat(core): filter users by exclude role id (#2846) 2023-01-09 13:12:43 +08:00
wangsijie
225ccfed0a
feat(core): count role users and featured users (#2866) 2023-01-09 13:03:28 +08:00
wangsijie
8b179c0567
feat(core): set roles pagination to optional (#2865) 2023-01-09 12:02:47 +08:00
simeng-li
94ed1852b0
refactor(core,ui,schemas,test)!: replace passcode with verification code (#2833) 2023-01-09 09:55:34 +08:00
wangsijie
364e51d755
feat(core): set resources pagination to optional (#2845) 2023-01-08 20:35:10 +08:00
wangsijie
0501ccc5ca
feat(core): add search and optional pagination to scopes (#2840) 2023-01-08 20:24:16 +08:00
wangsijie
67b1885b12
feat(core): add search and pagination for roles (#2836) 2023-01-08 20:16:40 +08:00
Gao Sun
de15b03c68
refactor(core): fix test 2023-01-07 21:06:17 +08:00
Gao Sun
6e2951fafc
chore!: drop Node 16 (#2848) 2023-01-07 20:42:10 +08:00
Gao Sun
8d829b8f3d
refactor(core): move app to tenant instance 2023-01-07 18:17:43 +08:00
Gao Sun
954664bd28
refactor(core,shared): EnvSet class 2023-01-07 17:22:15 +08:00
wangsijie
751f8dffcf
feat(core): add resource to response scopes (#2843) 2023-01-07 04:19:09 +00:00
wangsijie
bde1cbcc9d
fix(core): prevent empty array to be used by sql in (#2844) 2023-01-07 12:13:13 +08:00
wangsijie
7e507dbc2b
feat(core): user-role related api (#2827) 2023-01-07 12:08:03 +08:00
wangsijie
6e8e3003f8
fix(core): fix typo (#2842) 2023-01-07 12:07:35 +08:00
Gao Sun
da2b8cdbfe
chore!: drop Node 16 2023-01-06 22:24:39 +08:00
simeng-li
4af325af03
refactor(core,ui,schemas): replace sms sign-in method with phone (#2825) 2023-01-06 17:43:28 +08:00
Gao Sun
27c0cade79
Merge pull request #2837 from logto-io/v1.0.0-beta.19
chore: merge back v1.0.0 beta.19
2023-01-06 17:01:19 +08:00
Gao Sun
4d9d16661d
release: version core packages 2023-01-06 16:48:18 +08:00
wangsijie
f371a61460
feat(core): role-scope api (#2826) 2023-01-06 15:37:00 +08:00
wangsijie
e73d606053
fix(core): return role names for admin user detail api (#2828) 2023-01-06 14:44:00 +08:00
wangsijie
cb03d64e12
feat(core): list resources with scopes (#2819) 2023-01-05 07:43:01 +00:00
wangsijie
cf900d4aef
feat(core): resource scopes crud (#2757) 2023-01-05 15:24:24 +08:00
wangsijie
9b5dbeea34
feat(core): roles crud (#2672) 2023-01-04 17:02:08 +08:00
wangsijie
e38cd36579
feat(toolkit): define optional keys for connector.getUserInfo (#2716) 2023-01-04 07:43:54 +00:00
wangsijie
61f4e7fd2d
feat: add users_roles table and remove role_names (#2525) 2023-01-04 15:39:27 +08:00
simeng-li
46ebdfe502
fix(demo-app): demo app notificaiton should always follow system language (#2814) 2023-01-04 10:33:09 +08:00
Gao Sun
db71cc11ac
refactor: connector loader (#2809) 2023-01-03 15:41:29 +08:00
silverhand-bot
9c1b3d77aa
release: version core packages (#2803) 2023-01-01 19:55:54 +08:00
Gao Sun
ab54c38cd5
refactor(core): check connector-kit compatibility when load connector (#2798) 2023-01-01 18:36:46 +08:00
simeng-li
5189f6ab9f
feat(core): add interaction api logs (#2794) 2022-12-31 18:18:35 +08:00
simeng-li
d8deb0285f
fix(core): register with social should not ask for password (#2793) 2022-12-31 09:30:07 +08:00
Charles Zhao
95ef24a92b
chore: update testing passcode (#2796) 2022-12-30 15:29:43 +00:00
simeng-li
db07e70740
refactor(core): refactor interaction identifier verification flow (#2790) 2022-12-30 10:26:38 +00:00
wangsijie
fc6b7cfe2b
Merge pull request #2787 from logto-io/sijie-log-4995-standard-connector-name
fix(console): display standard connector name
2022-12-30 17:37:41 +08:00
Darcy Ye
396dce8c3d
feat: pass user agent to connector (#2770) 2022-12-30 16:05:32 +08:00
wangsijie
012e4d5b24
fix(console): display standard connector name 2022-12-30 15:41:25 +08:00
simeng-li
fc456f4851
fix(ui): forgotpassword passcode verification page 404 (#2752) 2022-12-29 09:12:33 +08:00
simeng-li
be2c65dc0c
refactor(ui): replace social flow api (#2751) 2022-12-28 18:24:58 +08:00
simeng-li
e02f7e5ac2
refactor(ui): replace continue api with patchProfile (#2744) 2022-12-28 15:33:31 +08:00
Gao Sun
06ec86d831
refactor: rename MessageTypes -> VerificationCodeType (#2745) 2022-12-28 06:28:46 +00:00
simeng-li
d641e201c2
refactor(core): remove the event from sendPasscode API payload (#2742) 2022-12-28 03:53:13 +00:00
Darcy Ye
1f7efd3680
chore(phrases,core): change 'passcode' to 'verification code' in content (#2740) 2022-12-28 10:29:28 +08:00
simeng-li
a3a861c9cd
refactor(ui): refactor username password register flow (#2731) 2022-12-28 10:26:06 +08:00
Gao Sun
16c295c677
Merge pull request #2739 from logto-io/gao-align-message-type
refactor!: align `PasscodeType` to `MessageTypes`
2022-12-27 22:28:16 +08:00
Darcy Ye
45800d1cfe
fix(core): should block POST of non-standard social connectors with conflicting target (#2737) 2022-12-27 16:23:54 +08:00
Gao Sun
01f718b258
refactor!: align PasscodeType to MessageTypes
refactor: apply suggestions from code review

Co-authored-by: Darcy Ye <darcyye@silverhand.io>

refactor(core): fix type names
2022-12-27 15:29:06 +08:00
simeng-li
54b0574e18
feat(test): add fulfill user profile integration tests (#2710) 2022-12-27 10:29:01 +08:00
renovate[bot]
e5dc687ee8
chore(deps): update dependency @silverhand/essentials to v2.1.0 (#2732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 20:13:05 +08:00
Gao Sun
3a996cc9d9
refactor: fix esm mock context (#2725) 2022-12-26 12:12:19 +00:00
Gao Sun
84014b37d2
refactor: add and fix tests 2022-12-26 19:59:33 +08:00
Gao Sun
f993da8795
test: add integration tests for interaction hooks 2022-12-26 19:44:03 +08:00
Gao Sun
5825620b9b
refactor: rename interaction Event -> InteractionEvent (#2718) 2022-12-26 11:22:56 +00:00
simeng-li
baaa58ca0b
refactor(core): per review
add the missing file

refactor: remove unused code

fix(core): rename interactionSie middleware

rename interactionSie middleware

fix(core): update context type name

update context type name

refactor: per review
2022-12-26 19:14:24 +08:00
simeng-li
f8000fe18d
refactor(core): rebase and update interaction hooks middleware
rebase and update interaction hooks middleware
2022-12-26 10:28:46 +08:00
Gao Sun
8745886aa0
refactor: add unit tests 2022-12-26 10:26:25 +08:00
Gao Sun
a6342213a9
refactor: cleanup 2022-12-26 10:26:25 +08:00
Gao Sun
464a4a9133
feat: trigger interaction hooks 2022-12-26 10:26:25 +08:00
Darcy Ye
8c5ccac59f
refactor(core): refactor createSocialAuthorizationUrl and verifySocialIdentity (#2707)
Co-authored-by: simeng-li <simeng@silverhand.io>
2022-12-26 10:23:40 +08:00
Darcy Ye
1b709db854
refactor: move assign/get connector session to interaction path (#2706)
Co-authored-by: simeng-li <simeng@silverhand.io>
2022-12-26 10:06:39 +08:00
renovate[bot]
c5025fc70b
chore(deps): update dependency @silverhand/essentials to v2.0.0 (#2723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-25 13:52:55 +08:00
Gao Sun
c52a66a32d
refactor: remove lodash (#2715) 2022-12-23 15:19:49 +00:00
simeng-li
15c7c1605a
refactor(core): refactor interaction API (#2686) 2022-12-23 10:01:08 +08:00
Gao Sun
df6eb9e942
chore(deps): upgrade prettier to v2.8.1 (#2709) 2022-12-22 16:52:39 +08:00
Darcy Ye
87ebd057ea
chore: response of connector POST API should be ConnectorResponse (#2699) 2022-12-22 14:02:15 +08:00