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

209 commits

Author SHA1 Message Date
Xiao Yijun
1b6bb9b1cf
feat(console): add webhook creation limit reminder (#3852) 2023-05-17 16:17: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
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
1df4c91102
Merge pull request #3679 from logto-io/gao-implement-central-cache
feat: central cache
2023-04-11 00:07:34 +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
4a64d267b6
feat: implement central cache
with Redis as the default choice.
2023-04-07 14:29:35 +08:00
Gao Sun
0fbd31059f
refactor: fix ui import 2023-04-04 17:06:04 +08: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
simeng-li
1c431e7a59
feat(core): apply standard security headers 1/2 (#3590)
* feat(core): add some basic security headers

add some basic security headers

* chore(core): add some comments

add some comments

* chore(core): update the refererPolicy configs

update the refererPolicy configs

* chore(core): update helmet middleware

update helmet middleware

* feat(core): add csp headers to the mainflow and ac http requests 2/2 (#3613)

* feat(core): add csp headers to the mainflow requests

add csp headers to the mainflow requests

* chore(core): add ui and console security headers

add ui and console security headers

* fix(core): remove unused middleware

remove unused middleware

* fix(ui): set terms iframe sandbox

set terms iframe sandbox allow same origin

* fix(core): update security headers middleware

update security headers middleware

* chore(core): add changesets

* chore(core): address rebase conflict

address rebase conflict
2023-04-03 10:24:50 +08:00
silverhand-bot
ad13427c37
release: version core packages (#3644) 2023-03-30 19:44:40 +08:00
Gao Sun
c200169886
refactor: add app insights package (#3637)
* refactor: add app insights package

* refactor: fix dependencies
2023-03-30 13:36:46 +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
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
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
d27499c553
refactor(cloud,core): report exception to Applicaiton Insights
when status code >= 500 or other unhandled expcetions occurred.
2023-03-19 10:40:17 +08: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
Gao Sun
e0fad2dccd
refactor: implement ttl cache 2023-03-17 13:59:59 +08:00
Gao Sun
dd91ebddfa
refactor: cache well-known data 2023-03-17 13:59:53 +08:00
wangsijie
5b8d8c8c14
feat(cloud,schemas): add demo social connectors for tenant (#3444) 2023-03-17 10:21:48 +08: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
76b49de1f0
feat(core,console): display demo connectors (#3425) 2023-03-15 17:09:26 +08:00
Gao Sun
4ef49ed93c
Merge pull request #3391 from logto-io/gao-use-env-to-set-pg-pool
refactor: support setting pool sizes by env variable
2023-03-15 16:43:47 +08:00
wangsijie
0f2d5d56a1
feat(cloud): add demo connector configs on tenant create (#3422) 2023-03-15 16:26:36 +08:00
wangsijie
63938d6d4b
feat(cli,core,shared): install demo connectors only in cloud (#3414) 2023-03-15 15:24:31 +08:00
Gao Sun
9c48f98fa1
refactor: support setting pool sizes by env variable 2023-03-14 23:02:44 +08:00
Gao Sun
0b45c8f487
refactor: fix schema types (#3379)
by separating CreateSchema and Schema. also no need for explicitly
set generic type for database builders like `buildInsertIntoWithPool()`.
2023-03-14 12:45:13 +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
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
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
a76ce24bee
refactor: seed data for multi-tenancy 2 2023-03-03 14:11:19 +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
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
Darcy Ye
3a5ac1edc9
fix(core): should validate config when creating a new connector instance (#3068) 2023-02-08 06:35:03 +00:00
renovate[bot]
4a407ad4de
chore(deps): update logto js sdk monorepo packages to v1.0.0-rc.0 (#3057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-02-06 04:37:52 +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
95a44929a5
feat: init multi-tenancy environment (#2929) 2023-01-18 20:38:05 +08:00
wangsijie
5d862f617f
feat(core): list roles filter by userId (#2893) 2023-01-10 17:04:27 +08:00
Gao Sun
954664bd28
refactor(core,shared): EnvSet class 2023-01-07 17:22:15 +08:00
Gao Sun
da2b8cdbfe
chore!: drop Node 16 2023-01-06 22:24:39 +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
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
f993da8795
test: add integration tests for interaction hooks 2022-12-26 19:44:03 +08:00
Gao Sun
464a4a9133
feat: trigger interaction hooks 2022-12-26 10:26:25 +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
Gao Sun
df6eb9e942
chore(deps): upgrade prettier to v2.8.1 (#2709) 2022-12-22 16:52:39 +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
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
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
1a4101ca81
refactor: fix tests 2022-11-22 16:10:55 +08:00
Gao Sun
a7dbeb9c77
refactor: use esm (batch 1) 2022-11-22 16:06:04 +08:00
Gao Sun
47a6915bc4
release: version packages (beta) 2022-11-16 18:21:18 +08:00
silverhand-bot
38550e0c9b
release: version packages (beta) (#2329) 2022-11-15 04:31:13 +00:00
Gao Sun
60a23f1b19
refactor(core): throw proper error in OIDC functions (#2331) 2022-11-08 12:30:51 +00:00
Gao Sun
b3a91141a7
Merge pull request #2343 from logto-io/gao-log-4346-replace-dayjs-with-something-better
refactor: replace dayjs with date-fns
2022-11-08 16:54:34 +08:00
Gao Sun
cbf75359c8
chore: enable Node 18 2022-11-07 21:25:34 +08:00
Gao Sun
15bb084b6e
refactor: replace dayjs with date-fns 2022-11-07 14:33:47 +08:00
Gao Sun
f56b5b5c48
refactor: fix lint errors 2022-10-21 14:03:35 +08:00
renovate[bot]
4e74bcf0a4
chore(deps): update silverhand configs monorepo packages to v1.3.0 2022-10-21 14:03:31 +08:00
Gao Sun
19666e0401
chore: introduce changesets (#2215) 2022-10-21 13:59:08 +08:00
silverhand-bot
c0fb59881e
release: v1.0.0-beta.12 2022-10-19 08:28:21 +00:00
Gao Sun
e24fd0479b
fix: make packages public 2022-10-19 15:10:50 +08:00
silverhand-bot
33c10ce216
release: v1.0.0-beta.11 2022-10-19 06:19:36 +00:00
Gao Sun
24f8afaf80
chore(deps): upgrade jest 2022-10-14 14:57:27 +08:00
renovate[bot]
9ac4a77b33
chore(deps): update dependency @silverhand/jest-config to v1.2.2 2022-10-14 05:59:40 +00:00
Gao Sun
39a5347ac9
chore: upgrade Silverhand configs (#2153) 2022-10-14 03:46:33 +00:00
Gao Sun
0fbe261a6e
chore: revert lerna version bump (#2150) 2022-10-13 22:50:16 +08:00
Gao Sun
0843e8fdfc
refactor: fix dev script 2022-10-13 14:39:09 +08:00
Gao Sun
c16970f450
chore: using pnpm workspace 2022-10-13 11:15:10 +08:00
Gao Sun
36d26091e0
refactor: fix connector directory 2022-10-11 18:27:05 +08:00
Gao Sun
dddad56518
refactor(cli): fix package.json 2022-10-10 23:44:02 +08:00
Gao Sun
e36ed7bd1a
chore: upgrade essentials 2022-10-10 23:28:39 +08:00
Gao Sun
ba09de9b1e
refactor(core,cli): extract common utils to @logto/shared 2022-10-10 23:26:40 +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
Darcy Ye
66fc5f716b
chore: expose fallback() from shared/utilities/zod (#1942) 2022-09-15 20:52:49 +08:00
Gao Sun
8d22b5c468
refactor(core)!: update user scopes (#1922)
* refactor(core)!: update user scopes

* refactor(core): add tests

* refactor: update per review
2022-09-15 11:12:33 +08:00