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

346 commits

Author SHA1 Message Date
renovate[bot]
bc6a08fac2
fix(deps): update dependency p-retry to v6 (#4395)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-29 09:43:17 +00:00
simeng-li
2d111bd39b
refactor(cli): add server connection application to the admin tenant (#4397)
* refactor(cli): refactor the cloud service application seed process

refactor the cloud service application seed process

* fix(cli): seed service application for the default tenant in OSS as well

seed service application for the default tenant in OSS as well
2023-08-28 13:48:22 +08:00
renovate[bot]
f82df68794
chore(deps): update dependency lint-staged to v14 (#4322)
* chore(deps): update dependency lint-staged to v14

* fix: lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-08-24 14:01:38 +08:00
simeng-li
6771f9ed6f
feat(cli): add rollback-to db action (#4329)
* feat(cli): add rollback-to db action

add rollback-to db action

* chore: bump alteration timestamp

bump alteration timestamp

* chore: rename the alteration action name

rename the alteration action name
2023-08-15 16:54:53 +08:00
wangsijie
ae0ef919fb
feat(cli): add key type for rotating command (#4314) 2023-08-14 14:57:26 +08:00
Darcy Ye
77d274a3c3
refactor(toolkit,connector,core,cli): cache access token for logto email service (#4309) 2023-08-11 15:43:09 +08:00
Gao Sun
5b34338484
feat: mailgun connector (#4281)
* feat: mailgun connector

* refactor: support png as connector logo

* chore: add changesets

* chore: fix error

* chore: translate phrases
2023-08-03 04:38:09 +00:00
silverhand-bot
74e9734ef8
release: version packages (#4255) 2023-07-31 18:43:59 +08:00
Gao Sun
2aeb575ccd
refactor(cli): use tryThat() to enforce exit (#4267) 2023-07-31 14:53:23 +08:00
Gao Sun
fde330a8b3
feat(cli): translate sync-keys command (#4265)
* feat(cli): `translate sync-keys` command

* refactor(cli): use promise and add comments

* refactor(phrases): fix lint errors

* refactor(cli): fix bugs and add changeset
2023-07-31 12:15:45 +08:00
Gao Sun
947de83173
chore: upgrade configs (#4132)
* chore: upgrade configs

* chore: fix lint errors
2023-07-07 17:17:21 +00:00
Darcy Ye
61c49845a6
refactor(core,schemas,cli): save cloud service m2m app credentials (#4109) 2023-07-04 18:14:35 +08:00
silverhand-bot
53131ad5a7
release: version packages (#4033) 2023-06-28 18:57:43 +08:00
Darcy Ye
8770facec1
feat(console): add tenant loading page (#4031) 2023-06-18 16:50:00 +08:00
Gao Sun
99c98b6654
refactor: minor improvements 2023-06-13 16:01:40 +08:00
Darcy Ye
e96e92b2df
feat(schemas,cloud): align tenant types (#4004) 2023-06-12 18:36:15 +08:00
wangsijie
b4857dbf7b
fix(cli): polish translate prompts (#3955) 2023-06-08 11:23:31 +09:00
renovate[bot]
417534e9e4
chore(deps): update dependency got to v13 (#3915)
chore(deps): update dependency got to v13.0.0

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-07 08:10:27 +00:00
silverhand-bot
3acb0d2db1
release: version packages (#3857) 2023-06-06 23:21:29 +08:00
simeng-li
93e995aa83
feat(cli): export add connectors utils (#3926)
export add connectors utils
2023-05-30 14:16:10 +08:00
Darcy Ye
f1d8466919
chore(cli,cloud,schemas): change default tenant name (#3890) 2023-05-26 17:38:52 +08:00
Darcy Ye
8cbf87bb73
feat(schemas,cli,core,cloud): add manage tenant self scope (#3865) 2023-05-26 17:38:09 +08:00
Gao Sun
4f1e29aefc
release: version packages 2023-05-23 21:42:01 +08:00
Gao Sun
458ed8c839
refactor: update translation 2023-05-22 21:00:44 +08:00
Gao Sun
dc41d5d3dc
release: version packages 2023-05-18 22:26:11 +08:00
silverhand-bot
404fe9a03f
release: version packages (#3794) 2023-05-16 04:52:17 +00:00
Charles Zhao
ff85eff7e9
chore(cli): lock logto schemas version (#3847) 2023-05-16 12:31:47 +08:00
Gao Sun
11db88a77a
refactor(cli): fallback to latest when current version is unavailable (#3779)
refactor(cli): fallback to latest when current version number is unavailable
2023-04-28 09:54:55 +08:00
silverhand-bot
4bba658d7b
release: version packages (#3751) 2023-04-27 19:11:20 +08:00
silverhand-bot
dd24aafc17
release: version packages (#3728) 2023-04-20 17:04:15 +00:00
silverhand-bot
666c4eaaa7
release: version packages (#3722) 2023-04-19 22:34:00 +08:00
silverhand-bot
85889031d0
release: version packages (#3705) 2023-04-18 21:13:31 +08:00
Gao Sun
c55ff367c7
chore: specify versions for workspace protocol (#3707) 2023-04-17 10:10:14 +00:00
Xiao Yijun
9cedac95cb
refactor(cli): improve translation cli (#3695) 2023-04-14 14:00:39 +08:00
Gao Sun
83367569fa
refactor: align console log (#3684)
add a shared ConsoleLog class for unified console logging.
2023-04-10 17:48:19 +00:00
Gao Sun
91906f0ebf
refactor(cli): use current directory as instance path if no path input for cli 2023-04-08 17:24:15 +08:00
renovate[bot]
901ef8ecd6
chore(deps): update silverhand configs monorepo packages to v3.0.1 (#3683)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-07 16:17:14 +00:00
Gao Sun
aa203308f0
refactor: reorg packages
update `@logto/shared` to a non-business package
and put business components into `@logto/*kit`.
2023-04-04 16:28:48 +08:00
Gao Sun
8fa5f00452
Merge pull request #3659 from logto-io/gao-use-local-connectors
refactor: use local connectors
2023-04-03 16:58:42 +08:00
Gao Sun
1d4662ebc1
chore(cli): update translate command description (#3662) 2023-04-03 14:59:46 +08:00
Gao Sun
612a1d5301
refactor: use connector link in workflows 2023-04-02 14:12:30 +08:00
Gao Sun
0f9ac8ee70
feat(cli): connector link command for linking all local connectors 2023-04-02 01:13:38 +08:00
Gao Sun
3f19aa259e
feat(cli): translation sync command
to create missing files or translate untranslated phrases
across all existing languages
2023-03-31 23:21:03 +08:00
silverhand-bot
ad13427c37
release: version core packages (#3644) 2023-03-30 19:44:40 +08:00
Gao Sun
f9ca7cc495
feat(phrases): add ru translation 2023-03-30 00:43:53 +08:00
Gao Sun
7f3a42ce83
refactor(phrases): update phrases 2023-03-29 23:40:57 +08:00
Gao Sun
f3d60a5169
feat(phrases): add es translation 2023-03-29 18:36:22 +08:00
Gao Sun
e9e8a6e11e
refactor(phrases): update fr translation 2023-03-29 18:35:18 +08:00
Gao Sun
37714d153c
feat(phrases): add ja language 2023-03-29 18:00:37 +08:00
Gao Sun
4ec5e0550f
feat(cli): create translation command
iterate phrases files and translate to a new language using OpenAI API
2023-03-28 21:45:45 +08:00
renovate[bot]
93bc915609
chore(deps): update silverhand configs monorepo packages to v3.0.0 (#3585)
* chore(deps): update silverhand configs monorepo packages to v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-24 16:28:36 +00:00
wangsijie
a3c8515f3f
refactor(cli): use conditional array to manage cloud connector list (#3592) 2023-03-23 14:32:15 +08:00
Gao Sun
296cad8fc5
release: version packages 2023-03-22 16:25:32 +08:00
silverhand-bot
a43e72d177
release: version core packages (#3578) 2023-03-22 14:58:19 +08:00
renovate[bot]
11e302b2fa
chore(deps): update dependency typescript to v5 (#3463)
* chore(deps): update dependency typescript to v5

* refactor: fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-21 19:37:51 +08:00
Gao Sun
959d1f02dd
refactor: use caret range for workspace dependencies (#3566) 2023-03-21 19:33:08 +08:00
silverhand-bot
2f69933d51
release: version core packages (#3564) 2023-03-21 17:56:06 +08:00
Gao Sun
28e9fa4290
release: core v1.0.0 (#3554)
* chore: move changesets

* release: core v1.0.0

* chore: update workflow
2023-03-20 23:57:04 +08:00
Gao Sun
c2e4226292
refactor: update initial data (#3534) 2023-03-20 16:08:44 +08:00
Darcy Ye
0bfd8509fb
fix(console,core,toolkit): passwordless connector sender tester (#3492) 2023-03-19 14:35:38 +00:00
Gao Sun
169c4450eb
refactor: use essentials tryThat and trySafe 2023-03-18 13:02:51 +08:00
renovate[bot]
fa3c13a68d
chore(deps): update dependency @silverhand/essentials to v2.5.0 2023-03-17 18:41:13 +00:00
renovate[bot]
565a0aead2
chore(deps): update dependency @silverhand/essentials to v2.4.1 (#3421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 21:36:02 +08:00
wangsijie
63938d6d4b
feat(cli,core,shared): install demo connectors only in cloud (#3414) 2023-03-15 15:24:31 +08:00
wangsijie
d8d1cfeeb5
feat(cloud): send email (#3405) 2023-03-15 06:54:31 +00:00
wangsijie
2bd5f36fc3
refactor(core,toolkit): extract connector loading code to toolkit (#3400) 2023-03-14 20:26:42 +08:00
Gao Sun
fa85b7d0eb
refactor: remove withtyped in core (#3375)
Keeping withtyped will introduce an additional database pool per tenant,
which is not good for performance and it should be more like all-or-nothing choice.
So remove it for core, but keep it in cloud.
2023-03-13 04:01:14 +00:00
wangsijie
1f618a3a10
feat(cli,cloud,schemas): seed m2m app for each tenant (#3364) 2023-03-12 09:34:15 +08:00
Gao Sun
c5da152ddc
refactor: hide internal roles for user tenants
introduce internal roles which name starts with #internal:
with RLS policies to make them read-only.
2023-03-09 00:07:33 +08:00
Gao Sun
af4276e08e
test(cloud): init api tests 2023-03-08 10:49:51 +08:00
Gao Sun
3287c2c232
refactor: use URL class 2023-03-08 10:47:10 +08:00
wangsijie
822ef08bab
feat(cli): add system get and set commands (#3318) 2023-03-08 10:15:05 +08:00
renovate[bot]
4eb2d14762
chore(deps): update dependency @silverhand/essentials to v2.4.0 (#3284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 04:25:50 +00:00
Gao Sun
ac065ac60c
refactor: init cloud ui tests 2023-03-05 22:07:02 +08:00
Gao Sun
08e7b6c6c2
refactor: allow admin to create tenants 2023-03-04 14:52:02 +08:00
Gao Sun
afe39f6f46
refactor: fix cloud dev (#3281) 2023-03-03 11:04:22 +00:00
Gao Sun
5a337520cb
chore: add comment 2023-03-03 14:30:00 +08:00
Gao Sun
a76ce24bee
refactor: seed data for multi-tenancy 2 2023-03-03 14:11:19 +08:00
Gao Sun
9775db7af8
refactor: seed data for multi-tenancy 2023-03-02 22:25:13 +08:00
Gao Sun
237df1721c
release: version core packages 2023-02-26 15:03:37 +08:00
silverhand-bot
cda2c821cd
release: version core packages (#3225)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-02-25 23:15:42 +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
76a04d97b3
feat(cloud): POST /tenants 2023-02-20 00:27:12 +08:00
Gao Sun
ed4894a19f
feat: init cloud 2023-02-18 13:34:52 +08:00
Gao Sun
f339e86591
refactor: update tsconfig 2023-02-17 13:41:05 +08:00
Gao Sun
ed4db56254
chore: upgrade configs 2023-02-16 23:49:03 +08:00
Gao Sun
40173bb5e0
Merge branch 'master' into gao-add-admin-tenant 2023-02-15 15:00:04 +08:00
Gao Sun
c137768472
refactor: utilities -> utils (#3106) 2023-02-15 10:26:22 +08:00
Gao Sun
7a7d7f9f41
refactor: add alteration scripts 2023-02-12 18:43:02 +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
99837b4e48
refactor: use RLS 2023-02-08 18:58:45 +08:00
silverhand-bot
b2f4b728de
release: version core packages (#3054) 2023-02-03 09:45:53 +00:00
Gao Sun
2c19a83f0b
release: version packages 2023-02-02 22:21:34 +08:00
Gao Sun
f4b8063bed
chore: manually update to rc 2023-02-02 22:18:08 +08:00
Gao Sun
14482934f6
Merge pull request #3022 from logto-io/gao-log-5278-core-merge-settings-into-logto-configs
refactor!: drop settings table and add systems table
2023-01-31 11:57:21 +08:00
Gao Sun
72caefaaf2
refactor: update per review 2023-01-31 11:50:41 +08:00
Gao Sun
21e53e1528
refactor(cli): remove rimraf (#3015) 2023-01-30 12:41:06 +08:00
Gao Sun
06e7d6ea9d
refactor(schemas): reorg constants 2023-01-29 23:11:01 +08:00
Gao Sun
c2c3faa248
refactor!: add systems table for global configs 2023-01-29 22:20:31 +08:00
Gao Sun
d0399eb8a4
refactor!: merge settings into logto configs table 2023-01-29 19:42:19 +08:00
silverhand-bot
70e126c415
release: version toolkit packages (#3017)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-01-29 16:25:12 +08:00
renovate[bot]
1d0b286f82
fix(deps): update dependency inquirer to v9 (#2982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-29 12:56:44 +08:00
Gao Sun
de4b0bae16
refactor: add function and trigger to set tenant_id 2023-01-28 19:26:29 +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
Gao Sun
d868e6ee49
feat(cli): rollback command for alteration (#2975) 2023-01-18 05:12:57 +00:00
Gao Sun
f317a917c9
refactor: remove deprecated singleton instances 2023-01-12 16:34:06 +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
d0a81e76a8
refactor: remove unused files (#2877) 2023-01-09 11:39:56 +00: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
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
Gao Sun
8f809da308
refactor(core,cli): application query factory (#2853) 2023-01-09 15:29:01 +08:00
Gao Sun
6e2951fafc
chore!: drop Node 16 (#2848) 2023-01-07 20:42:10 +08:00
Gao Sun
4d9d16661d
release: version core packages 2023-01-06 16:48:18 +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
Gao Sun
2f42f746a4
refactor(cli): fix default download url with current package version 2022-12-30 23:56:18 +08:00
Gao Sun
bf3774d234
refactor(cli): remove official connectors inquiry 2022-12-30 23:56:18 +08:00
wangsijie
b5b1e5f258
ci: check alteration sequence (#2746) 2022-12-30 10:50:56 +08:00
Gao Sun
77bad4b1e7
refactor: add official connectors in dist (#2768) 2022-12-30 10:42:34 +08:00
Gao Sun
43de6258d1
refactor(cli): improved connector add command (#2764) 2022-12-29 22:53:35 +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
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
8879880feb
refactor: check alteration timestamp when seed database (#2721) 2022-12-24 09:18:37 +00:00
Gao Sun
c52a66a32d
refactor: remove lodash (#2715) 2022-12-23 15:19:49 +00:00
Gao Sun
df6eb9e942
chore(deps): upgrade prettier to v2.8.1 (#2709) 2022-12-22 16:52:39 +08:00
Gao Sun
f50509dfab
Merge pull request #2683 from logto-io/gao-log-4632-core-init-hooks-schemas
feat: hooks schema and APIs
2022-12-22 13:11:29 +08:00
Gao Sun
cc18103419
refactor: remove fs-extra (#2695) 2022-12-20 12:31:53 +00:00
Gao Sun
a023fe97e5
refactor: add alteration and integration test 2022-12-20 13:02:40 +08:00
Gao Sun
3a3a107811
refactor: schema export and id generator 2022-12-20 00:02:35 +08:00
Gao Sun
49682afdb5
test(toolkit): use native ESM 2022-12-15 01:50:29 +08:00
Gao Sun
32fa807d16
refactor: bring back toolkit packages 2022-12-14 16:40:22 +08:00
Gao Sun
48b777374f
chore: upgrade packages (#2648) 2022-12-13 18:11:51 +08:00
Gao Sun
a805124437
refactor: misc. issue fix 2022-12-12 21:53:39 +08:00
Gao Sun
51647cf4ca
test: update to native ESM (batch 2) 2022-12-12 21:53:38 +08:00
Gao Sun
1d1e6e3244
test: update to native ESM (batch 1) 2022-12-12 21:52:55 +08:00
Gao Sun
25f0a2e158
test: use native ESM (#2621) 2022-12-12 13:43:23 +08:00
Gao Sun
42f288d97b
refactor: fix workspace dep version (#2606) 2022-12-07 21:39:32 +08:00
Gao Sun
5a634a6683
test: mock esm modules if needed 2022-12-07 13:35:24 +08:00
renovate[bot]
924a9a47c1
fix(deps): update dependency chalk to v5 2022-12-07 04:41:22 +00:00
Gao Sun
73cb2360e0
Merge branch 'master' into gao-merge-beta-16 2022-11-30 19:41:02 +08:00
Gao Sun
66fbb4316a
release: version packages 2022-11-30 17:11:09 +08:00
Gao Sun
3b0aa43975
release: version packages 2022-11-29 20:06:17 +08:00
Gao Sun
b48bfd3762
refactor: upgrade toolkit and update test config 2022-11-22 16:47:17 +08:00
Gao Sun
e7b0de43b7
chore: fix build 2022-11-22 16:11:31 +08:00