0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
Commit graph

374 commits

Author SHA1 Message Date
Charles Zhao
ae9edd3ebc
feat(console): add mainflow like modal style for change password 2023-03-02 22:46:11 +08:00
Gao Sun
9775db7af8
refactor: seed data for multi-tenancy 2023-03-02 22:25:13 +08:00
Gao Sun
44909140bf
feat: create tenant for new users (#3255) 2023-03-01 20:55:26 +08:00
Gao Sun
d789a08e41
feat(console): support multi-tenancy (1/2) (#3205) 2023-02-28 16:04:12 +08:00
Xiao Yijun
13f877ca4d
refactor(console): get-started tasks (#3208) 2023-02-27 10:15:55 +08:00
Gao Sun
09d2dac1ea
refactor: move admin console app to database (#3185) 2023-02-22 14:35:17 +00:00
Gao Sun
6858f3c8dc
refactor: move console sie to database (#3171) 2023-02-21 21:24:43 +08:00
Gao Sun
e3f88f5250
refactor: remove demo app db entity (#3165) 2023-02-21 03:45:06 +00:00
Gao Sun
1ef5519e75
feat: custom css (#3155) 2023-02-21 10:55:44 +08:00
Darcy Ye
a13d27a018
feat: enabled connector db read and write (#3127) 2023-02-20 18:54:02 +08:00
Gao Sun
86ecd79b36
refactor(cloud): wrap create tenant in transaction (#3151) 2023-02-20 06:49:08 +00:00
Gao Sun
76a04d97b3
feat(cloud): POST /tenants 2023-02-20 00:27:12 +08:00
Gao Sun
12377665b4
refactor(cloud): implement request auth 2023-02-19 11:31:16 +08:00
Gao Sun
ed4db56254
chore: upgrade configs 2023-02-16 23:49:03 +08:00
Gao Sun
dd5b3037a8
refactor!: adjust packages to adapt admin tenant 2023-02-10 19:57:25 +08:00
Gao Sun
2af6fd114a
refactor!: add admin tenant 2023-02-10 13:06:52 +08:00
Gao Sun
6b09da2f5d
refactor: fix alteration 2023-02-09 18:31:14 +08:00
Gao Sun
99837b4e48
refactor: use RLS 2023-02-08 18:58:45 +08:00
Gao Sun
df1bb9fd38
refactor: update seed data (#3044) 2023-02-02 18:36:18 +08:00
Gao Sun
06e7d6ea9d
refactor(schemas): reorg constants 2023-01-29 23:11:01 +08:00
Gao Sun
d0399eb8a4
refactor!: merge settings into logto configs table 2023-01-29 19:42:19 +08:00
Gao Sun
b07252f9b2
refactor: fix build 2023-01-28 13:05:45 +08:00
Gao Sun
54db878760
refactor: re-org alteration scripts 2023-01-28 12:58:42 +08:00
Gao Sun
ba44eb5fc6
refactor(schemas): init tenant sqls 2023-01-28 12:58:42 +08:00
wangsijie
3e34c51cca
refactor!: remove user roleNames (#2990) 2023-01-20 16:51:29 +08:00
Gao Sun
95a44929a5
feat: init multi-tenancy environment (#2929) 2023-01-18 20:38:05 +08:00
wangsijie
ece866db7c
feat!: migrate application role names to RBAC (#2972) 2023-01-18 15:38:36 +08:00
simeng-li
ace9a01327
refactor(core,ui,schemas)!: refactor social identity verification payload (#2924) 2023-01-16 18:15:31 +08:00
Gao Sun
8624fc8e62
Merge pull request #2913 from logto-io/gao-log-5162-core-remove-deprecated-database-query
refactor: remove deprecated singleton instances
2023-01-12 23:08:59 +08:00
Gao Sun
f317a917c9
refactor: remove deprecated singleton instances 2023-01-12 16:34:06 +08:00
wangsijie
9ec3a8fcb7
fix(schemas): modify management api default scope name (#2920) 2023-01-12 08:33:14 +00:00
Charles Zhao
10ea2307ad
feat(core): add send and verify APIs for generic type verification code (#2849) 2023-01-12 03:44:07 +00:00
simeng-li
3ff6554c08
refactor(core,console,schemas): remove logDto (#2889) 2023-01-10 05:57:24 +00:00
wangsijie
385966625e
feat(schemas,cli): seed default scope for management api (#2869)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-01-09 15:34:08 +08:00
wangsijie
225ccfed0a
feat(core): count role users and featured users (#2866) 2023-01-09 13:03:28 +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
751f8dffcf
feat(core): add resource to response scopes (#2843) 2023-01-07 04:19:09 +00:00
simeng-li
4af325af03
refactor(core,ui,schemas): replace sms sign-in method with phone (#2825) 2023-01-06 17:43:28 +08:00
wangsijie
cb03d64e12
feat(core): list resources with scopes (#2819) 2023-01-05 07:43:01 +00:00
wangsijie
61f4e7fd2d
feat: add users_roles table and remove role_names (#2525) 2023-01-04 15:39:27 +08:00
simeng-li
5189f6ab9f
feat(core): add interaction api logs (#2794) 2022-12-31 18:18:35 +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
Gao Sun
8745886aa0
refactor: add unit tests 2022-12-26 10:26:25 +08:00
Gao Sun
464a4a9133
feat: trigger interaction hooks 2022-12-26 10:26:25 +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
92b18c7e3c
feat: hooks schema and APIs 2022-12-20 12:14:15 +08:00
Gao Sun
3a3a107811
refactor: schema export and id generator 2022-12-20 00:02:35 +08:00
Gao Sun
2496b57fef
refactor: minor improvements 2022-12-18 12:11:00 +08:00
Gao Sun
93f4ae10ec
refactor: update comments and fix tests 2022-12-17 22:59:10 +08:00
Gao Sun
981ca84b9b
Merge branch 'master' into gao-refactor-log-types 2022-12-17 19:06:20 +08:00
Gao Sun
b0e1c5368c
refactor: multiple logs and oidc listeners 2022-12-17 19:05:28 +08:00
Gao Sun
42a305b6b2
refactor(schemas): update interaction log keys 2022-12-17 13:16:31 +08:00
Gao Sun
1476b8ea3a
refactor(core): use audit log middleware on-demand 2022-12-16 23:41:45 +08:00
Charles Zhao
c2bf25bd0b
refactor: add desktop and mobile views to render profile on different platforms (#2642) 2022-12-16 14:50:13 +00:00
Gao Sun
9c04da0ffe
refactor: add comments and fix build 2022-12-16 16:43:48 +08:00
Gao Sun
1183e66f95
refactor: log types 2022-12-16 13:54:37 +08:00
Xiao Yijun
bc5f4b541a
refactor: replace termsOfUse with termsOfUseUrl (#2665) 2022-12-15 17:04:42 +08:00
Gao Sun
14a235eabf
refactor(schemas): remove eslint in generate script (#2669) 2022-12-15 04:02:51 +00:00
Gao Sun
7bf52aa7ad
feat(core)!: enhanced user search params (#2639) 2022-12-14 08:36:57 +00:00
simeng-li
ed62c106d9
refactor(core): refactor interaction verification flow (#2579) 2022-12-07 10:35:14 +00:00
Gao Sun
f16824acc2
Merge pull request #2562 from logto-io/gao-merge-beta-16
chore: merge v1.0.0-beta.16
2022-12-06 12:08:02 +08:00
wangsijie
e3bc924c86
feat(console): edit standard connector (#2568) 2022-12-05 06:54:48 +00:00
simeng-li
0e402fdcd3
refactor(core): add required profile validation (#2561) 2022-12-03 14:33:10 +00:00
Xiao Yijun
bb53b32c1d
refactor: sign up settings schema (#2559) 2022-12-02 09:52:01 +08:00
Gao Sun
73cb2360e0
Merge branch 'master' into gao-merge-beta-16 2022-11-30 19:41:02 +08:00
wangsijie
63f9ec57eb
Merge pull request #2547 from logto-io/sijie-remove-connector-enable
refactor: remove connector enabled state in database
2022-11-30 12:00:23 +08:00
wangsijie
549cb66a92
fix(core,schemas): fix continue flow with log and interaction merge 2022-11-30 11:42:13 +08:00
simeng-li
cd7fdb7d82
refactor(core): refactor interaction guard (#2544) 2022-11-30 01:54:51 +00:00
wangsijie
c3a361c437
refactor: use connector factories and remove enabled 2022-11-28 18:37:25 +08:00
simeng-li
6b909f033f
refactor(core): update the interaction guard (#2521) 2022-11-24 17:15:16 +08:00
simeng-li
fb6fd19021
refactor(ui): add password identifier verification (#2515) 2022-11-24 11:39:01 +08:00
wangsijie
3f41278a24
feat(schemas): add roles and permissions (#2494) 2022-11-24 11:09:03 +08:00
simeng-li
14b717801f
refactor(core): add interactionGuard middleware (#2497) 2022-11-23 16:49:35 +08:00
Gao Sun
a7dbeb9c77
refactor: use esm (batch 1) 2022-11-22 16:06:04 +08:00
Darcy Ye
8a7a9e418e
feat: update connectors table and load connector logic (#2468)
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-11-18 12:06:53 +08:00
wangsijie
9740b9d392
feat(console): add suspended label (#2435) 2022-11-15 11:51:46 +08:00
wangsijie
6680a9c418
fix(schemas): add missing log types for continue with passwordless (#2409) 2022-11-11 18:07:25 +08:00
wangsijie
5e571936c9
chore: remove old sign in methods (#2295) 2022-11-03 18:23:12 +08:00
wangsijie
1c50efe632
feat: remove forgot password control (#2291) 2022-11-03 10:31:57 +08:00
wangsijie
415c24aace
feat(core): password sign in with phone or email (#2266) 2022-10-28 15:05:02 +08:00
wangsijie
50170cfcbf
feat(core): enable forgot password check (#2257) 2022-10-27 11:50:48 +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
5959372325
Merge branch master into merge/sie-v2
merge
2022-10-21 10:43:56 +08:00
wangsijie
06ae2aff15
Revert "chore: merge master into sie-v2 (#2182)" (#2216) 2022-10-20 17:03:18 +08:00
wangsijie
2e5f332edc
feat(core): limit sign in method (#2213) 2022-10-20 15:36:50 +08: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
Gao Sun
39a5347ac9
chore: upgrade Silverhand configs (#2153) 2022-10-14 03:46:33 +00:00
Xiao Yijun
01fdc4ba11
refactor: remove deprecated fixedLanguage property from LanguageInfo (#2111) 2022-10-11 20:25:35 +08:00
Mahesh Vagicherla
4b0970b6d8
fix: add redirectURI validation on frontend & backend (#1874)
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2022-10-10 21:20:20 +08:00
Gao Sun
696e7f181d
chore: merge branch 'master' into feature/manage-language 2022-10-10 15:52:06 +08:00
Gao Sun
7d7f5283ca
refactor(core): read OIDC configs from database 2022-10-09 17:22:34 +08:00
wangsijie
78eca37e87
feat(schemas): add sie2 schema (#2056) 2022-10-09 15:31:40 +08:00
Gao Sun
4134547cca
refactor(cli): flatten OIDC config keys 2022-10-09 15:16:19 +08:00
Gao Sun
911117a785
feat(cli): db seed oidc command 2022-10-08 23:27:43 +08:00
Gao Sun
a5280a2afd
feat(cli): db alteration deploy command 2022-10-07 19:48:17 +08:00
Gao Sun
0eff1e3591
feat(cli): get/set db config key 2022-10-05 22:46:52 +08:00
Darcy Ye
753e8ebdfd
refactor(core,schemas): refactor log types with zod (#2034) 2022-09-30 03:48:12 +00:00
IceHe
cce2d40160
refactor(core): count new users by created_at (#2027) 2022-09-29 15:32:43 +08:00
IceHe
a4cb138c12
refactor(core,phrases,schemas): validate fallback language before updating sign-in experience (#2023) 2022-09-29 15:28:58 +08:00
wangsijie
10c1be6eb7
fix(core,schemas): move alteration types into schemas src (#2005) 2022-09-26 17:29:44 +08:00
Gao Sun
082e82b3bf
refactor(schemas): decouple migration scripts 2022-09-23 15:03:32 +08:00
Gao Sun
b367cd3380
refactor(core): add migration scripts for #1973 2022-09-23 15:03:32 +08:00
wangsijie
c2aa427016
docs(schemas): add migration file readme (#1984) 2022-09-23 06:53:03 +00:00
Gao Sun
cd9c6978a3
feat(core): machine to machine apps 2022-09-22 22:12:16 +08:00
Darcy Ye
acdc86c856
feat(core): add POST /session/forgot-password/reset (#1972) 2022-09-22 03:30:45 +00:00
wangsijie
7cc2f4d142
feat(core,schemas): migration deploy cli (#1966) 2022-09-22 10:35:23 +08:00
Darcy Ye
1ea39f3463
feat(core): add POST /session/forgot-password/{email,sms}/verify-passcode (#1968) 2022-09-20 08:38:08 +00:00
Darcy Ye
af2600d828
feat(core): add POST /session/forgot-password/{email,sms}/send-passcode (#1963) 2022-09-20 14:14:27 +08:00
Gao Sun
42586eff88
refactor: remove shared packages (#1946)
* refactor: remove shared packages

* refactor: fix error
2022-09-16 11:25:43 +00:00
IceHe
7242aa8c2b
feat(core,schemas): add phrases schema and GET /custom-phrases/:languageKey route (#1905) 2022-09-13 17:36:37 +08:00
Darcy Ye
2e0ab8988a
chore(schemas,core,console): rename ConnectorDto to ConnectorResponse (#1884) 2022-09-07 16:12:18 +08:00
Gao Sun
8c451b4e3c
chore: upgrade silverhand packages (#1854) 2022-09-01 17:03:49 +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
d952d8660d
refactor(phrases,shared,connector-core): move language key to shared (#1838) 2022-08-30 16:53:49 +08: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
IceHe.Life
cdf210df10
feat(schemas): guard string max length (#1737) 2022-08-10 06:10:19 +00:00
IceHe.Life
6327eb6c57
refactor(core,schemas,ui): fix non-consistent type definitions (#1742) 2022-08-05 23:42:16 +08: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
543ee04f53
feat(core,schemas): add application secret (#1715) 2022-08-02 16:18:50 +08:00
Gao Sun
6c39790180
feat(core): add response guard (#1542)
* feat(core): add response guard

* refactor(core): print error if not prod
2022-07-15 17:01:51 +08:00
Xiao Yijun
acefafed72
refactor: rename DTO -> Dto (#1522) 2022-07-12 18:35:51 +08:00
Gao Sun
81b63f07bb
feat: expose zod error (#1474) 2022-07-08 16:05:43 +08:00
Wang Sijie
741347f226
refactor(console,schemas,shared): extract dark mode color generator (#1425) 2022-07-07 05:59:27 +00:00
simeng-li
be73dbf4ef
fix(ui): dark mode seed (#1426)
* fix(ui): add dark logo seed

add dark logo seed

* style(ui): adjust notifiction style

adjust notification style

* chore(schemas): set default seed dark mode disabled

set default seed dark mode disabled
2022-07-05 13:36:11 +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
simeng-li
d649755c3e
refactor(ui): refactor default logo (#1402)
* refactor(ui): refactor default logo

refactor default logo

* fix(ui): default logo update

default logo update

* style(ui): add darkLogo

add darkLogo
2022-07-04 10:43:49 +00:00
Gao Sun
49498f457f
refactor: update demo app id (#1399) 2022-07-04 14:09:33 +08:00
simeng-li
8c4fea093d
refactor(ui): refactor ac signin exp (#1367)
* refactor(ui): refactor ac signin exp

refactor ac signin exp

* fix(ui): adjust style

adjust style

* fix(ui): cr fix

cr fix
2022-07-03 15:50:29 +08:00
Charles Zhao
a3f42413e9
refactor: get-started task corresponding keys in DB 2022-07-02 09:53:11 +08:00
Gao Sun
b77ba0e0fa
refactor(schemas): update sie seed dark primary color (#1307) 2022-06-29 23:19:55 +08:00
Wang Sijie
f72b21d160
feat(console,ui): generate dark mode color in console (#1231)
* feat(console,ui): generate dark mode color in console

* fix: cr fix

Co-authored-by: Gao Sun <gao@silverhand.io>

Co-authored-by: Gao Sun <gao@silverhand.io>
2022-06-29 07:56:05 +00:00
simeng-li
6865efff27
refactor(ui): refactor app notification logic (#1241)
refactor app notification logic
2022-06-27 13:22:17 +08:00
simeng-li
2a34684587
refactor(phrases): extract ui phrases (#1247)
* refactor(phrases): extract ui-phrases

extract ui phrases

* fix(phrase-ui): cr update

cr update
2022-06-27 03:55:28 +00:00
simeng-li
84a6ea28ec
refactor(console): refine some welcome page settings (#1246)
refine some welcome page settings
2022-06-26 15:18:39 +08:00
Wang Sijie
2c413341d1
feat(console): sie form reorg (#1218) 2022-06-24 02:26:30 +00:00
simeng-li
837ad523ce
feat(core): add role table seed (#1145)
* fix(core): add default role db seed

add defaylt role db seed

* fix(table): add role table default seed

add role table default seed

* fix(db): cr fix

cr fix
2022-06-20 02:22:23 +00:00
simeng-li
f640dad52f
feat(core): add sign-in-mode (#1132)
* feat(core): add sign-in-mode
add sign-in-mode

* fix(core): remove console.log

remove console.log

* fix(ui): hide secondary signin section
hide secondary signin section if is under register mode

* fix(core): ci fix

ci fix
2022-06-17 10:36:07 +08:00
Xiao Yijun
9262a6f3be
fix(console): update terms of use (#1122) 2022-06-15 12:16:37 +08:00
Wang Sijie
04211957e1
feat(console): log details page (#1064) 2022-06-08 15:58:50 +08:00
IceHe.xyz
2ba11215ed
feat(core): log error body (#1065) 2022-06-07 10:16:14 +00:00
Gao Sun
f2b44b49f9
feat: use user level custom data to save preferences (#1045)
* feat: use user level custom data to save preferences

* fix(console): bugs

* refactor(console): per review

* refactor(core): update return order

* fix(core): error constructor
2022-06-07 16:05:24 +08:00
Gao Sun
90ca76eeb5
feat(demo-app): show notification in main flow (#1038)
* feat(demo-app): show notification in main flow

* fix: add missing file
2022-06-02 08:05:27 +00:00
Gao Sun
91e2f055f2
feat(demo-app): implementation (3/3) (#1021)
* feat(core): seed demo app for fresh DB

* feat(core): throw 404 when demo app deleted

* fix(core): import

* fix: lockfile
2022-06-02 07:32:46 +00:00
Wang Sijie
fdd12de1cf
feat(console): audit log table (#1000) 2022-06-01 16:54:24 +08:00
Gao Sun
7f4f4f84ad
feat(demo-app): implementation (#982)
* feat(demo-app): init card

* feat(demo-app): ui

* feat(demo-app): sign in using React SDK

* fix: typo
2022-05-31 04:39:03 +00:00
Darcy Ye
054b0f7b6a
feat: remove target, platform from connector schema and add id to metadata (#930)
* feat(core,schema,connectors): remove target,platform form connector schema and add id to metadata

* feat(schema,ui,console): unwrap ConnectorMetadata in ConnectorDTO

* feat(schema,ui,console): connector id use dashline instead of underscore

* feat(connector-alipay*): fix typos

* feat(connector-alipay*): remove unnecessary type declaration
2022-05-24 11:39:44 +08:00